/*
Theme Name: Extendable
Theme URI: https://github.com/extendify/extendable
Author: Extendify
Author URI: https://extendify.com
Description: Extendable is a distinct, dynamic block theme designed as a canvas for your next online venture. Sporting multiple style variations, Extendable is the most expressive block theme yet. Go fresh, bold, bohemian or minimal — with a single click.
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 7.4
Version: 2.1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: extendable
Tags: one-column, custom-colors, custom-menu, custom-logo, e-commerce, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments

Extendable is a derivative work of the code from the
Twenty Twenty-Two WordPress Theme, which is licensed GPLv2.

Extendable WordPress Theme, Copyright (C) 2021-2025 Extendify Inc.
Extendable therefore is also distributed under the terms of the GNU GPL.
*/


/* Fallback for deprecate variables.
---------------------------------------------------------------------------- */
:root {
	--wp--custom--spacing--small: var(--wp--preset--spacing--30, clamp(1.5rem, 5vw, 2rem));
	--wp--custom--spacing--medium: var(--wp--preset--spacing--50, clamp(2.5rem, 8vw, 4rem));
	--wp--custom--spacing--large: var(--wp--preset--spacing--60, clamp(2.5rem, 8vw, 6rem));
	--wp--custom--spacing--outer: max(1.25rem, 4vw);
    --wp--preset--spacing--80: min(8rem, 12vw);
}

/*
 * Smooth scrolling
 */

 html {
	scroll-behavior: smooth;
  }

/*
 * Font smoothing.
 * This is a niche setting that will not be available via Global Styles.
 * https://github.com/WordPress/gutenberg/issues/35934
 */

body {
	-moz-osx-font-smoothing: var(--wp--custom--typography--font-smoothing--moz, auto);
	-webkit-font-smoothing: var(--wp--custom--typography--font-smoothing--webkit, auto);
}

/*
 * Text and navigation link styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */

a {
	text-decoration-style: var(--wp--custom--elements--link--static--text-decoration-style, solid);
	text-decoration-thickness: var(--wp--custom--elements--link--text-decoration-thickness, 1px);
	text-underline-offset: var(--wp--custom--elements--link--text-underline-offset, 0.25ch);
}

a:hover,
a:focus {
	text-decoration-style: var(--wp--custom--elements--link--interactive--text-decoration-style, dashed);
}

:where(.wp-site-blocks *:focus) {
	outline-width:1px;
	outline-style:solid
}

a:active {
	text-decoration: none;
}

/*
 * Navigation Block
 */

 @media (min-width: 600px) {
    .site-logo-title {
        display:none
    }

	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item, 
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container, 
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list {
		align-items: flex-start !important;
	}
}

 @media (max-width: 600px) {
	.has-modal-open .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item, 
	.has-modal-open .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container, 
	.has-modal-open .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list {
		align-items: flex-start !important;
	}
}

.wp-block-navigation__responsive-container.has-modal-open.is-menu-open .site-logo-title {
    display: flex;
	flex-wrap: nowrap;
	max-width: 100%;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: var(--wp--preset--spacing--30);
    position: relative;
	padding-inline-end: 52px;
}

.wp-block-navigation__responsive-container.has-modal-open.is-menu-open .site-logo-title::after {
    content: "";
    position: absolute;
    left: calc(-1 * var(--wp--preset--spacing--30));
    right: calc(-1 * var(--wp--preset--spacing--30));
    bottom: 0;
    height: 1px;
    background: #8080801d;
}

.wp-block-navigation__responsive-container.has-modal-open.is-menu-open .site-logo-title img {
	max-height: 42px !important;
	height: auto !important;
	width: auto !important;

}

.wp-block-navigation__responsive-container.has-modal-open.is-menu-open .site-logo-title .site-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--wp--preset--color--foreground);
	text-transform: uppercase;
    letter-spacing: -0.02em;
    box-sizing: border-box;
    line-height: 1.15;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: var(--wp--preset--spacing--30);
}

.has-modal-open .wp-block-navigation__responsive-container-close {
	background-color:var(--wp--preset--color--tertiary);
	padding: 0.625rem;
	border-radius: 100%;
    top: -2.5px !important;
}

.has-modal-open .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
	gap: 0 !important;
	width: 100%;
}

.has-modal-open .wp-block-navrigation__containe, .has-modal-open .wp-block-navigation__container ul {
    row-gap: 0.75rem !important;
    width: -webkit-fill-available;
  	max-width: 100%;
}

.has-modal-open .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content > ul.wp-block-navigation__container > li.wp-block-navigation-item:not(.wp-block-navigation__submenu-container) {
	border-bottom: 1px solid #8080801d;
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
	width: -webkit-fill-available;
	max-width: 100%;
}

.has-modal-open .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container {
	padding: 0.75rem 0.75rem 0 0.75rem !important;
    gap: 0.75rem !important;
 }

.has-modal-open .wp-block-navigation__responsive-dialog ul.wp-block-navigation__container > li:not(.wp-block-navigation__submenu-container) > a.wp-block-navigation-item__content {
    font-size: 1.25rem;
	font-weight: 600;
}

.has-modal-open .wp-block-navigation__submenu-container {
   padding-top: 0.75rem !important;
}

.has-modal-open .wp-block-navigation__responsive-dialog ul.wp-block-navigation__container .wp-block-navigation-submenu .wp-block-navigation-item a {
    font-size: 1rem !important;
}

.wp-block-navigation .wp-block-navigation-item a:hover,
.wp-block-navigation .wp-block-navigation-item a:focus {
	text-decoration: underline;
	text-decoration-style: solid;
}

/* Don't display the homepage in the Page List block, when located inside a navigation element. */
nav .wp-block-pages-list__item.wp-block-navigation-item.menu-item-home {
	display: none;
}

/*
 * Responsive menu container padding.
 * This ensures the responsive container inherits the same
 * spacing defined above. This behavior may be built into
 * the Block Editor in the future.
 */

.wp-block-navigation__responsive-container.is-menu-open {
	padding-top: var(--wp--preset--spacing--30);
	padding-bottom: var(--wp--preset--spacing--30);
	padding-right: var(--wp--preset--spacing--30);
	padding-left: var(--wp--preset--spacing--30);
}

/*
 * --------------------------------------------------------
 *  Custom - blocks
 * --------------------------------------------------------
 */

 /* Button
----------------------------------------------------------*/
.wp-element-button {
	transition: background-color 0.15s ease;
}
.wp-block-button .wp-block-button__link.is-style-outline:not(.has-background):hover,
.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background):hover {
	background-color: rgba(159, 159, 159, 0.2);
}

/* Table
----------------------------------------------------------*/
.wp-block-table.is-style-stripes tbody tr:nth-child(odd){
	background-color: var(--wp--custom--blocks--core-table--variant-stripes--color--background, var(--wp--preset--color--tertiary));
}

/* Template Part Block
----------------------------------------------------------*/

/* Temporary fix until template-part blocks support spacing */

footer.wp-block-template-part:not([style*="margin-top"]) {
	margin-top: 0;
}

/* Quote - 'Plain' variation
----------------------------------------------------------*/
blockquote:is(.is-style-plain) {
	border: none;
	padding-left: 0;
}

/* Search Block
----------------------------------------------------------*/
:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {
	border-color: var(--wp--custom--elements--input--border--color);
	border-radius: var(--wp--custom--elements--button--border--radius);
	border-width: var(--wp--custom--elements--input--border--width);
}
:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-block-search__input {
	border-color: transparent;
}
.wp-block-search .wp-block-search__input {
	border-radius: var(--wp--custom--elements--button--border--radius);
}

/* Image
----------------------------------------------------------*/
.wp-block-image[style*="-radius"]:not([style*="overflow"]) { overflow: hidden }

/*
 * --------------------------------------------------------
 *  Custom - experimental
 * --------------------------------------------------------
 */

.block-editor-block-list__block.wp-block.is-default-size.wp-block-site-logo .components-resizable-box__container,
.wp-block-site-logo.is-default-size img {
    max-height: 42px !important;
    height: auto !important;
    width: auto !important;
}

/* Ensure default logo works well on light and dark backgrounds
----------------------------------------------------------*/
.wp-block-site-logo img[src*="extendify-demo-"],
.wp-block-site-logo img[src*="ext-custom-logo-"] {
	filter: var(--wp--preset--duotone--primary-foreground);
}


/*
 * Remove all animations, transitions and smooth scroll
 * for people that prefer not to see them.
 */
@media (prefers-reduced-motion: reduce) {
	html:focus-within {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/*
 * Matching caret and focus outline colors.
 */
input, textarea {
	caret-color: inherit;
	outline-color: inherit;
}

/*
 * Matching input with outline button style.
 */
:where(.wp-block-post-comments-form) input:not([type=submit]),
:where(.wp-block-post-comments-form) textarea {
	background-color: var(--wp--preset--color--background);
	color: var(--wp--preset--color--foreground);
	border-color: inherit;
}


/*
 * Woocommerce temporarily customization until the woo blocks offer support
 */

.woocommerce-Tabs-panel--description h2, .woocommerce-Reviews-title {
	font-size: var(--wp--preset--font-size--medium);
}

.wp-block-button.wc-block-components-product-button {
	flex-direction: row;
    flex-wrap: wrap;
    justify-content: start;
	gap: 1rem;
}
.wp-block-button.wc-block-components-product-button a.added_to_cart {
	margin-top: 0;
}

.woocommerce-checkout.woocommerce-page header.wp-block-template-part nav.wp-block-navigation {
	visibility: hidden;
}

.wp-site-blocks .wp-block-group.woocommerce.product {
	margin-top: 0;
	margin-bottom: 0; 
}
.wc-block-product-template__responsive {
	grid-row-gap: 2rem;
}
.wc-block-components-product-button__button {
	z-index: 1;
}
/*
 * Adds offset for sticky header overlap
 */

 .sticky-header-offset-container .entry-content > .wp-block-group {
	scroll-margin-top: var(--wp--preset--spacing--60);
}

/*
 * Avoids parent/child color collision when child has no custom background.
 */

:not(.block-editor-block-preview__content-iframe)
.has-tertiary-background-color.has-background 
[class*='is-style-ext-preset--group--'][class*='item-card-1']:not(.has-background)
{
    background-color: var(--wp--preset--color--background);
}

:not(.block-editor-block-preview__content-iframe)
.has-tertiary-background-color.has-background 
[class*='is-style-ext-preset--group--'][class*='item-card-1']:not(.has-background)::before {
    background-color: var(--wp--preset--color--background) !important;
}

:not(.block-editor-block-preview__content-iframe)
.has-tertiary-background-color.has-background 
[class*='is-style-ext-preset--image--']:not(.has-background)::before {
    background-color: var(--wp--preset--color--tertiary) !important;
}

:not(.block-editor-block-preview__content-iframe)
.has-tertiary-background-color.has-background 
[class*='is-style-ext-preset--group--'][class*='item-card-1']::before,:not(.block-editor-block-preview__content-iframe)
.has-tertiary-background-color.has-background 
[class*='is-style-ext-preset--media-text--']:before {
    background-color: var(--wp--preset--color--background) !important;
}

.block-editor-block-preview__content-iframe 
[class*='is-style-ext-preset--group--natural-1'][class*='item-card-1'] {
    background-color: transparent !important;
}

:root {
	--grid-vector-bg: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTQ0MCAxMDI0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxnIG9wYWNpdHk9IjAuMDkiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2Utb3BhY2l0eT0iMC43IiBzdHJva2Utd2lkdGg9IjEuMjYwNyI+CiAgICA8bGluZSB4MT0iLTUwLjYxNzIiIHkxPSI2MjQuOTk1IiB4Mj0iMTQ2MC45NiIgeTI9IjYyNC45OTUiIC8+CiAgICA8bGluZSB4MT0iLTUwLjYxNzIiIHkxPSI5NDcuNzMzIiB4Mj0iMTQ2MC45NiIgeTI9Ijk0Ny43MzMiIC8+CiAgICA8bGluZSB4MT0iLTUwLjYxNzIiIHkxPSIzMDIuMjU2IiB4Mj0iMTQ2MC45NiIgeTI9IjMwMi4yNTYiIC8+CiAgICA8bGluZSB4MT0iLTUwLjYxNzIiIHkxPSI0NjMuNjI0IiB4Mj0iMTQ2MC45NiIgeTI9IjQ2My42MjQiIC8+CiAgICA8bGluZSB4MT0iLTUwLjYxNzIiIHkxPSI3ODYuMzYyIiB4Mj0iMTQ2MC45NiIgeTI9Ijc4Ni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jE4IiAvPgogICAgPHJlY3QgeD0iNzYuOTQzNCIgeT0iMTM5LjkxIiB3aWR0aD0iODEuMzcyMyIgaGVpZ2h0PSI4Mi41MTg0IiBmaWxsLW9wYWNpdHk9IjAuMTgiIC8+CiAgICA8cmVjdCB4PSI0MDAuMTQxIiB5PSItMjAuNTQzIiB3aWR0aD0iODEuMzcyMyIgaGVpZ2h0PSI4MC4yMjYyIiBmaWxsLW9wYWNpdHk9IjAuMiIgLz4KICAgIDxyZWN0IHg9IjE1OC4zMTUiIHk9IjMwMS41MDgiIHdpZHRoPSI4MC4yMjYyIiBoZWlnaHQ9IjgxLjM3MjMiIGZpbGwtb3BhY2l0eT0iMC4xOCIgLz4KICAgIDxyZWN0IHg9IjExMjYuNzYiIHk9IjcwNi4wNzgiIHdpZHRoPSI4MC4yMjYyIiBoZWlnaHQ9IjgwLjIyNjIiIGZpbGwtb3BhY2l0eT0iMC4xMyIgLz4KICAgIDxyZWN0IHg9IjEyMDYuOTkiIHk9Ijc4Ni4zMDUiIHdpZHRoPSI4MC4yMjYyIiBoZWlnaHQ9IjgwLjIyNjIiIGZpbGwtb3BhY2l0eT0iMC4xMyIgLz4KICA8L2c+Cjwvc3ZnPg==");
}

/*
 * CSS related to prism vibe
 */

/*
 * CSS related to wave vibe
 */

[class*="is-style-ext-preset--group--"][class*="--section"].has-tertiary-background-color:has(
  + .has-background-background-color > .wp-block-cover.alignfull
)::after {
  content: none !important;
}

[class*="is-style-ext-preset--group--"][class*="--section"].has-tertiary-background-color:has(
  + .has-background-background-color > .wp-block-cover.alignfull
) {
  margin-bottom: 0 !important;
}

[class*="is-style-ext-preset--group--"][class*="--section"].has-background-background-color:has(.wp-block-cover.alignfull)
+ .has-tertiary-background-color::before {
  content: none !important;
}

[class*="is-style-ext-preset--group--"][class*="--section"].has-background-background-color:has(.wp-block-cover.alignfull)
+ .has-tertiary-background-color {
  margin-top: 0 !important;
}

/*
 * utilities
 */

 .m-0 {
	margin: 0 !important;
}

.z-0 {
	z-index: 0 !important;
}

.z-10 {
	z-index: 10 !important;
}
.z-20 {
	z-index: 20 !important;
}
.z-30 {
	z-index: 30 !important;
}


.d-none {
  display: none;
}

.d-block {
  display: block;
}

@media (min-width: 640px) {
  .sm-d-none {
    display: none;
  }

  .sm-d-block {
    display: block;
  }
}

@media (min-width: 768px) {
  .md-d-none {
    display: none;
  }

  .md-d-block {
    display: block;
  }
}

@media (min-width: 1024px) {
  .lg-d-none {
    display: none;
  }

  .lg-d-block {
    display: block;
  }
}

/* RTL-only fix for Gutenberg Group left justification */

[dir="rtl"] [class*="wp-container-core-group-is-layout-"].ext-is-logical-start.is-content-justification-left
	> :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	margin-inline-start: 0 !important;
	margin-inline-end: auto !important;
}


/* ==========================================================================
   KEY FOUNDATION — Custom Homepage Styles
   Version: 1.5
   Last Updated: 2026-02-27 @ 11:00 PM EST
   ========================================================================== */

/* ── Reset & Base ──────────────────────────────────────────────────────── */

/* Override any stray body backgrounds on blank template pages */
html body.page-template-blank,
html body.page-template-blank.page,
html body.page-template-blank.page-template {
	background: #fff !important;
}

/* Remove WordPress wrapper gaps so sections sit flush */
html body.page-template-blank .wp-site-blocks {
	padding: 0 !important;
	margin: 0 !important;
}

html body.page-template-blank .wp-site-blocks > * {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.kf-page *,
.kf-page *::before,
.kf-page *::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.kf-page {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	color: #1a1a2e;
	overflow-x: hidden;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background: #fff;
}

.kf-page a {
	text-decoration: none !important;
	color: inherit;
}

.kf-container {
	max-width: 1100px;
	margin: 0 auto;
}

/* ── Scroll Reveal Animation ──────────────────────────────────────────── */
.kf-reveal {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
				transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.kf-reveal.kf-visible {
	opacity: 1;
	transform: translateY(0);
}

.kf-reveal-delay-1 { transition-delay: 0.1s; }
.kf-reveal-delay-2 { transition-delay: 0.2s; }
.kf-reveal-delay-3 { transition-delay: 0.3s; }
.kf-reveal-delay-4 { transition-delay: 0.4s; }

/* ── Navigation ───────────────────────────────────────────────────────── */
.kf-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 48px;
	background: rgba(15, 26, 74, 0.85);
	backdrop-filter: blur(24px) saturate(180%);
	-webkit-backdrop-filter: blur(24px) saturate(180%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.kf-nav.kf-nav-scrolled {
	padding: 12px 48px;
	background: rgba(15, 26, 74, 0.95);
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.kf-nav-logo {
	display: flex;
	align-items: center;
}

.kf-nav-logo img {
	height: 42px;
	width: auto;
	transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.kf-nav.kf-nav-scrolled .kf-nav-logo img {
	height: 34px;
}

.kf-nav-links {
	display: flex;
	gap: 32px;
	align-items: center;
	list-style: none;
}

.kf-nav-links a {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.65);
	transition: color 0.2s ease;
	position: relative;
}

.kf-nav-links a::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 2px;
	background: #DC0000;
	transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.kf-nav-links a:hover {
	color: #fff;
}

.kf-nav-links a:hover::after {
	width: 100%;
}

.kf-nav-donate {
	background: #DC0000 !important;
	color: #fff !important;
	padding: 10px 26px;
	border-radius: 6px;
	font-weight: 700 !important;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
	letter-spacing: 0.06em;
}

.kf-nav-donate::after {
	display: none !important;
}

.kf-nav-donate:hover {
	background: #ff1a1a !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 24px rgba(220, 0, 0, 0.4);
}

/* Mobile nav toggle */
.kf-nav-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}

.kf-nav-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: #fff;
	margin: 5px 0;
	transition: all 0.3s ease;
}

@media (max-width: 768px) {
	.kf-nav {
		padding: 16px 20px;
	}

	.kf-nav-toggle {
		display: block;
	}

	.kf-nav-links {
		position: fixed;
		top: 0;
		right: -100%;
		width: 280px;
		height: 100vh;
		background: #0f1a4a;
		flex-direction: column;
		justify-content: center;
		gap: 24px;
		padding: 40px;
		transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
		box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
	}

	.kf-nav-links.kf-nav-open {
		right: 0;
	}

	.kf-nav-links a {
		font-size: 16px;
	}
}

/* ── Hero Section ─────────────────────────────────────────────────────── */
.kf-hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #0a1235 0%, #1B2A6B 35%, #243580 65%, #1a2d70 100%);
	position: relative;
	text-align: center;
	padding: 140px 24px 100px;
	overflow: hidden;
}

/* Ambient glow effects */
.kf-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 600px 500px at 25% 20%, rgba(220, 0, 0, 0.1) 0%, transparent 70%),
		radial-gradient(ellipse 500px 600px at 75% 75%, rgba(42, 61, 180, 0.2) 0%, transparent 70%),
		radial-gradient(ellipse 400px 300px at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
	pointer-events: none;
}

/* Subtle noise texture overlay */
.kf-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	opacity: 0.035;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	background-size: 128px;
	pointer-events: none;
}

/* Floating geometric accents */
.kf-hero-shapes {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
}

.kf-hero-shape {
	position: absolute;
	border-radius: 50%;
	opacity: 0.07;
	animation: kf-float 20s ease-in-out infinite;
}

.kf-hero-shape:nth-child(1) {
	width: 300px;
	height: 300px;
	background: #DC0000;
	top: 10%;
	left: -5%;
	animation-delay: 0s;
}

.kf-hero-shape:nth-child(2) {
	width: 200px;
	height: 200px;
	background: #fff;
	bottom: 15%;
	right: -3%;
	animation-delay: -7s;
}

.kf-hero-shape:nth-child(3) {
	width: 150px;
	height: 150px;
	background: #4a6cf7;
	top: 60%;
	left: 15%;
	animation-delay: -14s;
}

@keyframes kf-float {
	0%, 100% { transform: translate(0, 0) scale(1); }
	33% { transform: translate(30px, -20px) scale(1.05); }
	66% { transform: translate(-20px, 15px) scale(0.95); }
}

.kf-hero-content {
	position: relative;
	z-index: 2;
	max-width: 780px;
}

.kf-hero-logo {
	height: 80px;
	width: auto;
	max-width: 280px;
	object-fit: contain;
	margin-bottom: 36px;
}

.kf-hero-badge {
	display: inline-block;
	padding: 8px 22px;
	border-radius: 50px;
	background: rgba(220, 0, 0, 0.12);
	border: 1px solid rgba(220, 0, 0, 0.25);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #ff8a8a;
	margin-bottom: 36px;
}

.kf-hero h1 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(42px, 7vw, 78px);
	font-weight: 700;
	line-height: 1.08;
	color: #fff;
	margin-bottom: 28px;
	letter-spacing: -0.01em;
}

.kf-hero h1 .kf-accent {
	color: #DC0000;
}

.kf-hero-line {
	width: 52px;
	height: 3px;
	background: linear-gradient(90deg, #DC0000, #ff4444);
	margin: 0 auto 28px;
	border-radius: 2px;
}

.kf-hero p {
	font-size: clamp(16px, 2vw, 19px);
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.65);
	max-width: 560px;
	margin: 0 auto 44px;
	font-weight: 300;
}

.kf-hero-btns {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

/* ── Buttons ──────────────────────────────────────────────────────────── */
.kf-btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 16px 38px;
	background: #DC0000;
	color: #fff !important;
	font-family: 'Barlow Condensed', 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border-radius: 8px;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	border: none;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.kf-btn-primary::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
	opacity: 0;
	transition: opacity 0.3s;
}

.kf-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 32px rgba(220, 0, 0, 0.35);
}

.kf-btn-primary:hover::before {
	opacity: 1;
}

.kf-btn-outline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 16px 38px;
	background: transparent;
	color: rgba(255, 255, 255, 0.9);
	font-family: 'Barlow Condensed', 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border-radius: 8px;
	border: 1.5px solid rgba(255, 255, 255, 0.2);
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	cursor: pointer;
}

.kf-btn-outline:hover {
	border-color: rgba(255, 255, 255, 0.5);
	background: rgba(255, 255, 255, 0.06);
	transform: translateY(-2px);
}

/* ── Section Shared Styles ────────────────────────────────────────────── */
.kf-section {
	padding: 110px 24px;
}

.kf-section-label {
	display: block;
	font-family: 'Barlow Condensed', 'Inter', sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: #DC0000;
	margin-bottom: 14px;
}

.kf-section-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 700;
	line-height: 1.15;
	color: #1B2A6B;
	margin-bottom: 18px;
	letter-spacing: -0.01em;
}

.kf-section-subtitle {
	font-size: clamp(15px, 1.5vw, 17px);
	line-height: 1.75;
	color: #666;
	max-width: 600px;
	font-weight: 400;
}

/* ── Mission Section ──────────────────────────────────────────────────── */
.kf-mission {
	background: #fafafa;
	text-align: center;
}

.kf-mission .kf-section-subtitle {
	margin: 0 auto;
}

/* ── Cards Section ────────────────────────────────────────────────────── */
.kf-cards {
	background: #fff;
}

.kf-cards-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin-top: 56px;
}

.kf-card {
	background: #fff;
	border-radius: 16px;
	padding: 44px 32px;
	border: 1px solid rgba(0, 0, 0, 0.06);
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
	overflow: hidden;
}

/* Gradient top border on hover */
.kf-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #DC0000, #1B2A6B);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.kf-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 24px 64px rgba(27, 42, 107, 0.1);
	border-color: transparent;
}

.kf-card:hover::before {
	transform: scaleX(1);
}

.kf-card-icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
}

.kf-card-icon svg {
	width: 28px;
	height: 28px;
}

.kf-card-icon.kf-icon-blue {
	background: rgba(27, 42, 107, 0.08);
	color: #1B2A6B;
}

.kf-card-icon.kf-icon-red {
	background: rgba(220, 0, 0, 0.08);
	color: #DC0000;
}

.kf-card-icon.kf-icon-green {
	background: rgba(22, 120, 70, 0.08);
	color: #167846;
}

.kf-card h3 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 22px;
	font-weight: 700;
	color: #1B2A6B;
	margin-bottom: 12px;
}

.kf-card p {
	font-size: 15px;
	line-height: 1.75;
	color: #666;
}

/* ── Impact Stats Section ─────────────────────────────────────────────── */
.kf-stats {
	background: linear-gradient(135deg, #0a1235 0%, #1B2A6B 100%);
	text-align: center;
	position: relative;
}

/* Noise texture on dark sections */
.kf-stats::after {
	content: '';
	position: absolute;
	inset: 0;
	opacity: 0.03;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	background-size: 128px;
	pointer-events: none;
}

.kf-stats .kf-container {
	position: relative;
	z-index: 1;
}

.kf-stats .kf-section-label {
	color: #ff8a8a;
}

.kf-stats .kf-section-title {
	color: #fff;
}

.kf-stats .kf-section-subtitle {
	color: rgba(255, 255, 255, 0.55);
	margin: 0 auto;
}

.kf-stats-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin-top: 56px;
}

.kf-stat-card {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 16px;
	padding: 44px 24px;
	border: 1px solid rgba(255, 255, 255, 0.07);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.kf-stat-card:hover {
	background: rgba(255, 255, 255, 0.09);
	transform: translateY(-6px);
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.kf-stat-num {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(40px, 5vw, 52px);
	font-weight: 700;
	color: #fff;
	line-height: 1;
	margin-bottom: 10px;
}

.kf-stat-num .kf-accent {
	color: #DC0000;
}

.kf-stat-label {
	font-family: 'Barlow Condensed', 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.45);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* ── Community Partners Cloud ─────────────────────────────────────────── */
.kf-partners {
	background: #fff;
	text-align: center;
}

.kf-partners .kf-section-subtitle {
	margin: 0 auto;
}

.kf-partner-cloud {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 48px;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.kf-partner-pill {
	display: inline-block;
	padding: 10px 22px;
	border-radius: 50px;
	background: #f5f5f7;
	border: 1px solid rgba(27, 42, 107, 0.08);
	font-size: 13px;
	font-weight: 500;
	color: #1B2A6B;
	letter-spacing: 0.01em;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	white-space: nowrap;
}

.kf-partner-pill:hover {
	background: #1B2A6B;
	color: #fff;
	border-color: #1B2A6B;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(27, 42, 107, 0.2);
}

/* ── CTA Section ──────────────────────────────────────────────────────── */
.kf-cta {
	background: #f5f5f7;
	text-align: center;
}

.kf-cta-box {
	background: linear-gradient(135deg, #1B2A6B, #2a3d8f, #1B2A6B);
	background-size: 200% 200%;
	animation: kf-gradient-shift 8s ease-in-out infinite;
	border-radius: 24px;
	padding: 80px 48px;
	max-width: 820px;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
}

@keyframes kf-gradient-shift {
	0%, 100% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
}

/* Ambient glow in CTA box */
.kf-cta-box::before {
	content: '';
	position: absolute;
	top: -40%;
	right: -15%;
	width: 350px;
	height: 350px;
	border-radius: 50%;
	background: rgba(220, 0, 0, 0.12);
	filter: blur(80px);
	pointer-events: none;
}

.kf-cta-box::after {
	content: '';
	position: absolute;
	bottom: -30%;
	left: -10%;
	width: 250px;
	height: 250px;
	border-radius: 50%;
	background: rgba(74, 108, 247, 0.1);
	filter: blur(60px);
	pointer-events: none;
}

.kf-cta-box > * {
	position: relative;
	z-index: 1;
}

.kf-cta-box h2 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(26px, 4vw, 40px);
	font-weight: 700;
	color: #fff;
	margin-bottom: 18px;
}

.kf-cta-box p {
	font-size: clamp(15px, 1.5vw, 17px);
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.65);
	max-width: 520px;
	margin: 0 auto 36px;
}

.kf-cta-box .kf-btn-primary {
	font-size: 16px;
	padding: 18px 48px;
}

.kf-cta-tax {
	font-size: 12px !important;
	color: rgba(255, 255, 255, 0.3) !important;
	margin-top: 22px !important;
	font-weight: 400;
	letter-spacing: 0.02em;
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.kf-footer {
	background: #0d1117;
	padding: 72px 24px 36px;
	color: rgba(255, 255, 255, 0.5);
	position: relative;
}

.kf-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(220, 0, 0, 0.3), rgba(27, 42, 107, 0.3), transparent);
}

.kf-footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 48px;
	max-width: 1100px;
	margin: 0 auto;
}

.kf-footer-brand {
	display: inline-block;
	margin-bottom: 16px;
}

.kf-footer-brand img {
	height: 38px;
	width: auto;
}

.kf-footer-heading {
	font-family: 'Barlow Condensed', 'Inter', sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.25);
	margin-bottom: 18px;
}

.kf-footer p,
.kf-footer a {
	font-size: 14px;
	line-height: 2;
}

.kf-footer a:hover {
	color: rgba(255, 255, 255, 0.8);
}

.kf-footer-copy {
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	text-align: center;
	padding-top: 28px;
	margin-top: 56px;
	font-size: 13px;
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
}

/* ── Inner Page Hero (shorter) ────────────────────────────────────────── */
.kf-page-hero {
	background: linear-gradient(135deg, #0a1235 0%, #1B2A6B 35%, #243580 65%, #1a2d70 100%);
	text-align: center;
	padding: 160px 24px 80px;
	position: relative;
	overflow: hidden;
}

.kf-page-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	opacity: 0.035;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	background-size: 128px;
	pointer-events: none;
}

.kf-page-hero h1 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(36px, 5vw, 56px);
	font-weight: 700;
	color: #fff;
	margin-bottom: 16px;
	position: relative;
	z-index: 1;
}

.kf-page-hero p {
	font-size: clamp(15px, 1.8vw, 18px);
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.6);
	max-width: 560px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

/* ── Inner Page Content ──────────────────────────────────────────────── */
.kf-content {
	background: #fff;
}

.kf-content .kf-container {
	max-width: 800px;
}

.kf-content h2 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 700;
	color: #1B2A6B;
	margin-bottom: 18px;
	line-height: 1.2;
}

.kf-content h3 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 22px;
	font-weight: 700;
	color: #1B2A6B;
	margin-bottom: 12px;
	margin-top: 36px;
}

.kf-content p {
	font-size: 16px;
	line-height: 1.85;
	color: #444;
	margin-bottom: 20px;
}

.kf-content p:last-child {
	margin-bottom: 0;
}

.kf-content-divider {
	width: 48px;
	height: 3px;
	background: linear-gradient(90deg, #DC0000, #1B2A6B);
	border-radius: 2px;
	margin: 48px 0;
}

/* ── Contact Info Grid ───────────────────────────────────────────────── */
.kf-contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	margin-top: 40px;
}

.kf-contact-item h3 {
	font-size: 18px;
	margin-top: 0;
	margin-bottom: 8px;
}

.kf-contact-item p {
	font-size: 15px;
	color: #555;
	margin-bottom: 0;
}

.kf-contact-item a {
	color: #1B2A6B;
	font-weight: 500;
	transition: color 0.2s;
}

.kf-contact-item a:hover {
	color: #DC0000;
}

/* ── Form embed container ────────────────────────────────────────────── */
.kf-form-section {
	background: #fafafa;
}

.kf-form-section .kf-container {
	max-width: 700px;
}

.kf-form-section h2 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 700;
	color: #1B2A6B;
	margin-bottom: 12px;
	text-align: center;
}

.kf-form-section > .kf-container > p {
	text-align: center;
	font-size: 16px;
	color: #666;
	margin-bottom: 36px;
}

/* ── Donate page specifics ───────────────────────────────────────────── */
.kf-content:has(.kf-donate-options) .kf-container {
	max-width: 1000px;
}

.kf-donate-options {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 40px;
}

.kf-donate-option {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 16px;
	padding: 36px 28px;
	border: 1px solid rgba(0, 0, 0, 0.06);
	text-align: center;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.kf-donate-option:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 48px rgba(27, 42, 107, 0.1);
	border-color: transparent;
}

.kf-donate-option h3 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 20px;
	font-weight: 700;
	color: #1B2A6B;
	margin-top: 0;
	margin-bottom: 10px;
}

.kf-donate-option p {
	font-size: 14px;
	line-height: 1.7;
	color: #666;
	margin-bottom: 20px;
}

.kf-donate-option .kf-btn-primary {
	margin-top: auto;
}

/* Recurring gift – price display */
.kf-donate-price {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 42px;
	font-weight: 700;
	color: #1B2A6B;
	margin-bottom: 20px;
	line-height: 1;
}

.kf-donate-price span {
	font-size: 18px;
	font-weight: 400;
	color: #666;
	font-family: 'Inter', -apple-system, sans-serif;
}

/* Impact page - expanded stats */
.kf-impact-highlights {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-top: 40px;
}

.kf-impact-card {
	background: #f5f5f7;
	border-radius: 16px;
	padding: 32px;
}

.kf-impact-card h3 {
	margin-top: 0;
}

.kf-impact-card p {
	margin-bottom: 0;
}

@media (max-width: 768px) {
	.kf-contact-grid,
	.kf-donate-options,
	.kf-impact-highlights {
		grid-template-columns: 1fr;
	}

	.kf-page-hero {
		padding: 130px 20px 60px;
	}
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
	.kf-section {
		padding: 72px 20px;
	}

	.kf-cards-grid,
	.kf-stats-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.kf-footer-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.kf-cta-box {
		padding: 56px 28px;
		border-radius: 16px;
	}

	.kf-hero {
		padding: 120px 20px 80px;
	}
}

/* ── Reduced Motion ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	.kf-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.kf-hero-shape {
		animation: none;
	}

	.kf-cta-box {
		animation: none;
	}
}
