/* ============================================
   BRAVEHEARTS NEPAL - AWARD WINNING DESIGN SYSTEM
   ============================================ */

/* === SMOOTH SCROLL === */
html {
    scroll-behavior: smooth;
}

/* ============================================
   GLOBAL TYPOGRAPHY OVERRIDES
   (defeats templatemo h2 { color: red } rule)
   ============================================ */

/* All h2 elements default to dark — section-specific
   styles will override where needed (e.g. white on dark bg) */
h2 {
    color: var(--dark-color, #0f172a) !important;
    font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em !important;
    line-height: 1.1 !important;
}

/* Hero h2 exceptions handled via .hero-cinematic h2 specificity */

/* ============================================
   HERO WORD-REVEAL ANIMATION
   ============================================ */

.word-reveal-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.word-reveal {
    display: inline-block;
    transform: translateY(115%) rotate(3deg);
    opacity: 0;
    transition:
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        opacity   0.6s ease;
}

/* Triggered by JS adding .words-visible to the h1 */
.hero-cinematic h1.words-visible .word-reveal {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
}

/* Stagger each word */
.hero-cinematic h1.words-visible .word-reveal:nth-child(1) { transition-delay: 0.10s; }
.hero-cinematic h1.words-visible .word-reveal:nth-child(2) { transition-delay: 0.22s; }
.hero-cinematic h1.words-visible .word-reveal:nth-child(3) { transition-delay: 0.34s; }
.hero-cinematic h1.words-visible .word-reveal:nth-child(4) { transition-delay: 0.46s; }
.hero-cinematic h1.words-visible .word-reveal:nth-child(5) { transition-delay: 0.58s; }
.hero-cinematic h1.words-visible .word-reveal:nth-child(6) { transition-delay: 0.70s; }
.hero-cinematic h1.words-visible .word-reveal:nth-child(7) { transition-delay: 0.82s; }
.hero-cinematic h1.words-visible .word-reveal:nth-child(8) { transition-delay: 0.94s; }

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure form elements don't fallback to system fonts */
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #fafbfc;
    color: #1a1a2e;
    overflow-x: hidden;
    line-height: 1.7;
}

h1,
h2 {
    font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    color: #0f172a;
    line-height: 1.08;
    letter-spacing: -0.025em;
    font-weight: 700;
}

h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* === PREMIUM BUTTON SYSTEM === */
.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem 2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
    line-height: 1;
}

.btn-premium:hover {
    transform: translateY(-3px);
    text-decoration: none;
}

.btn-premium-primary {
    background: linear-gradient(135deg, var(--secondary-color), #ff4b50);
    color: white !important;
    box-shadow: 0 8px 30px rgba(237, 31, 36, 0.35);
}

.btn-premium-primary:hover {
    box-shadow: 0 15px 45px rgba(237, 31, 36, 0.45);
    background: linear-gradient(135deg, #ff4b50, var(--secondary-color));
}

.btn-premium-secondary {
    background: linear-gradient(135deg, var(--primary-color), #3a5cc0);
    color: white !important;
    box-shadow: 0 8px 30px rgba(35, 64, 139, 0.25);
}

.btn-premium-secondary:hover {
    box-shadow: 0 15px 45px rgba(35, 64, 139, 0.35);
    background: linear-gradient(135deg, #3a5cc0, var(--primary-color));
}

.btn-premium-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white !important;
}

.btn-premium-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-premium-outline-dark {
    background: transparent;
    border: 1px solid rgba(15, 23, 42, 0.15);
    color: #0f172a !important;
}

.btn-premium-outline-dark:hover {
    background: rgba(15, 23, 42, 0.05);
    border-color: #0f172a;
}

.btn-premium-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white !important;
}

.btn-premium-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-premium-small {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

/* ============================================
   BREATHING CURSOR SYSTEM
   ============================================ */

/* Disable on touch/mobile */
@media (pointer: coarse) {
    #cursor-dot,
    #cursor-ring { display: none !important; }
}

/* Hide default cursor on desktop only */
@media (pointer: fine) {
    *,
    a,
    button,
    [role="button"] { cursor: none !important; }
}

#cursor-dot {
    position: fixed;
    width: 7px;
    height: 7px;
    background: var(--secondary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, height 0.25s ease, opacity 0.25s ease;
    will-change: left, top;
    opacity: 1;
}

#cursor-ring {
    position: fixed;
    width: 38px;
    height: 38px;
    border: 1.5px solid rgba(237, 31, 36, 0.45);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999998;
    transform: translate(-50%, -50%);
    transition:
        width  0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        height 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        border-color 0.3s ease,
        background  0.3s ease;
    will-change: left, top;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#cursor-ring.expanded {
    width: 78px;
    height: 78px;
    border-color: var(--secondary-color);
    background: rgba(237, 31, 36, 0.07);
}

#cursor-ring.cursor-link { border-color: var(--primary-color); }
#cursor-ring.cursor-link.expanded { background: rgba(35, 64, 139, 0.07); border-color: var(--primary-color); }

#cursor-label {
    font-family: 'Outfit', sans-serif;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--secondary-color);
    opacity: 0;
    transition: opacity 0.2s ease;
    white-space: nowrap;
    user-select: none;
}

#cursor-ring.cursor-link #cursor-label { color: var(--primary-color); }

#cursor-ring.expanded #cursor-label { opacity: 1; }

/* Dot hides when ring is expanded to avoid double-dot clutter */
#cursor-ring.expanded ~ #cursor-dot,
body:has(#cursor-ring.expanded) #cursor-dot { opacity: 0; }

/* ============================================
   FLOATING IMPACT PULSE PILL
   ============================================ */

@media (max-width: 900px) {
    .impact-pulse { display: none !important; }
}

.impact-pulse {
    position: fixed;
    right: -160px;   /* hidden off-screen initially */
    top: 50%;
    transform: translateY(-50%);
    z-index: 9000;
    background: linear-gradient(145deg, var(--primary-color), #1a2f6f);
    color: white;
    padding: 1.1rem 1.3rem 1.1rem 1.1rem;
    border-radius: 14px 0 0 14px;
    text-align: center;
    min-width: 148px;
    box-shadow:
        -6px 0 30px rgba(35, 64, 139, 0.35),
        -1px 0 0 rgba(255,255,255,0.08) inset;
    transition: right 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid rgba(255,255,255,0.12);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.impact-pulse.visible {
    right: 0;
}

.impact-pulse.hide-forced {
    right: -200px !important;
    opacity: 0;
    pointer-events: none;
}

.impact-pulse .pulse-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #4ade80;
    border-radius: 50%;
    vertical-align: middle;
    margin-bottom: 0.4rem;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
    50%      { box-shadow: 0 0 0 7px rgba(74,222,128,0); }
}

.impact-pulse .pulse-number {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.3rem;
    color: white;
    letter-spacing: -0.02em;
}

.impact-pulse .pulse-caption {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    line-height: 1.4;
}

/* === PRELOADER === */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    width: 80px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

/* === UTILITIES & LAYOUT === */
.desktop-only { display: inline !important; }
.mobile-only { display: none !important; }

@media (max-width: 800px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: inline !important; }
}

.container-custom {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container-custom {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .container-custom {
        padding: 0 1rem;
    }
}

/* === NAVBAR - AWARD WINNING === */
.navbar-premium {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 1rem 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
}

.navbar-premium.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 40px rgba(0, 0, 0, 0.06);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-premium .nav-container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 500px) {
    .navbar-premium .nav-container {
        padding: 0 1rem;
    }
}

.navbar-premium .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 10001;
    min-width: 0;
}

@media (max-width: 500px) {
    .navbar-premium .brand {
        gap: 6px;
    }
}

.navbar-premium .brand img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: all 0.3s;
    flex-shrink: 0;
}

@media (max-width: 500px) {
    .navbar-premium .brand img {
        width: 36px;
        height: 36px;
    }
}

.navbar-premium.scrolled .brand img {
    width: 42px;
    height: 42px;
}

@media (max-width: 500px) {
    .navbar-premium.scrolled .brand img {
        width: 32px;
        height: 32px;
    }
}

.navbar-premium .brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.navbar-premium .brand-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

@media (max-width: 500px) {
    .navbar-premium .brand-name {
        font-size: 1.1rem;
    }
}

.navbar-premium .brand-tagline {
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    color: var(--p-color);
    letter-spacing: 0px;
    font-weight: 500;
    white-space: normal; /* Allow wrapping */
    overflow: visible;
    text-overflow: clip;
    max-width: 280px; /* Allow more space */
    line-height: 1.3;
    transition: all 0.3s;
}

@media (max-width: 500px) {
    .navbar-premium .brand-tagline {
        font-size: clamp(8px, 2.2vw, 10px);
        max-width: 160px; /* Still keep it constrained but allow wrapping */
        line-height: 1.2;
    }
}

.navbar-premium .nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-premium .nav-links a {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-color);
    text-decoration: none;
    padding: 0.6rem 1.1rem;
    border-radius: 100px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.navbar-premium .nav-links a:hover {
    color: var(--secondary-color);
    background: rgba(237, 31, 36, 0.05);
}

/* === TRANSPARENT STATE — white text over dark hero === */
.navbar-premium:not(.scrolled) .nav-links a {
    color: rgba(255, 255, 255, 0.92);
}

.navbar-premium:not(.scrolled) .nav-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.12);
}

.navbar-premium:not(.scrolled) .brand-name {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: white;
    color: white;
}

.navbar-premium:not(.scrolled) .brand-tagline {
    color: rgba(255, 255, 255, 0.65);
}

.navbar-premium:not(.scrolled) .hamburger span {
    background: rgba(255, 255, 255, 0.9);
}

/* === SCROLLED STATE — restore dark text on white bg === */
.navbar-premium.scrolled .nav-links a {
    color: var(--dark-color);
}

.navbar-premium.scrolled .nav-links a:hover {
    color: var(--secondary-color);
    background: rgba(237, 31, 36, 0.05);
}

.navbar-premium.scrolled .brand-name {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-premium.scrolled .brand-tagline {
    color: var(--p-color);
}

.navbar-premium.scrolled .hamburger span {
    background: var(--dark-color);
}

.navbar-premium .nav-links .dropdown-nav {
    position: relative;
}

.navbar-premium .nav-links .dropdown-content {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    border-radius: 16px;
    padding: 0.75rem;
    min-width: 200px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.navbar-premium .nav-links .dropdown-nav:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.navbar-premium .nav-links .dropdown-content a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--dark-color);
    width: 100%;
}

.navbar-premium .nav-links .dropdown-content a:hover {
    background: linear-gradient(135deg, rgba(35, 64, 139, 0.06), rgba(237, 31, 36, 0.06));
    color: var(--primary-color);
}

.nav-cta {
    background: linear-gradient(135deg, var(--secondary-color), #ff4b50) !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 0.65rem 2rem !important;
    box-shadow: 0 4px 15px rgba(237, 31, 36, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(237, 31, 36, 0.4) !important;
    background: linear-gradient(135deg, #ff4b50, var(--secondary-color)) !important;
    color: white !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 10001;
    padding: 8px;
    background: none;
    border: none;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--dark-color);
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(30px);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-overlay a {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 600;
    color: white;
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.active a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-overlay a:hover {
    color: var(--secondary-color);
}

/* Close button — hidden until overlay is active */
.mobile-nav-close {
    opacity: 0;
    transform: scale(0.8) rotate(-45deg);
    transition: opacity 0.4s 0.1s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.4s 0.1s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.2s,
        border-color 0.2s;
    pointer-events: none;
}

.mobile-nav-overlay.active~.mobile-nav-close,
.mobile-nav-overlay.active .mobile-nav-close,
.mobile-nav-close.visible {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    pointer-events: auto;
}

/* === HERO SECTION - CINEMATIC === */
.hero-cinematic {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-cinematic .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-cinematic .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 30s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.06);
    }
}

.hero-cinematic .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.85) 0%,
            rgba(35, 64, 139, 0.7) 40%,
            rgba(237, 31, 36, 0.3) 100%);
    z-index: 1;
}

.hero-cinematic .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero-cinematic .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s 0.3s both;
}

.hero-cinematic .hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tertiary-color);
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero-cinematic h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(3rem, 7vw, 5.8rem);
    font-weight: 700;
    color: white;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    max-width: 750px;
    animation: fadeInUp 1s 0.5s both;
}

.hero-cinematic h1 .highlight {
    background: linear-gradient(135deg, var(--tertiary-color), #ffcc4d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-cinematic .hero-description {
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 540px;
    line-height: 2;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s 0.7s both;
}

.hero-cinematic .hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s 0.9s both;
}

.hero-cinematic .hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--secondary-color), #ff4b50);
    color: white;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 30px rgba(237, 31, 36, 0.35);
}

.hero-cinematic .hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(237, 31, 36, 0.45);
}

.hero-cinematic .hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-cinematic .hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.hero-stats-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats-bar .stats-inner {
    max-width: 1340px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.hero-stats-bar .stat-item {
    text-align: center;
    color: white;
}

.hero-stats-bar .stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    display: block;
    background: linear-gradient(135deg, white, var(--tertiary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stats-bar .stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    font-weight: 500;
    margin-top: 4px;
    display: block;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 120px;
    right: 2rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 1s 1.2s both;
}

.scroll-indicator span {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    writing-mode: vertical-rl;
}

.scroll-indicator .scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-indicator .scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    width: 100%;
    height: 60%;
    background: var(--tertiary-color);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        top: -60%;
    }

    100% {
        top: 100%;
    }
}

/* === SECTION TITLES === */
.section-title-block {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title-block .section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-title-block .section-label .line {
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.section-title-block h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 700;
    color: var(--dark-color);
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.section-title-block p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--p-color);
    max-width: 600px;
    margin: 0 auto;
}

.intro-section {
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
    background: white;
}

.intro-section .container-custom {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 2rem;
}

.intro-section .intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.intro-section .intro-image-stack {
    position: relative;
    height: 550px;
}

.intro-section .intro-image-stack img {
    position: absolute;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-section .intro-image-stack img:nth-of-type(1) {
    width: 65%;
    height: 80%;
    top: 0;
    left: 0;
    z-index: 1;
}

.intro-section .intro-image-stack img:nth-of-type(2) {
    width: 55%;
    height: 70%;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 6px solid white;
}

.intro-section .intro-image-stack:hover img:nth-of-type(1) {
    transform: translate(-5px, -5px);
}

.intro-section .intro-image-stack:hover img:nth-of-type(2) {
    transform: translate(5px, 5px);
}

.intro-section .experience-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    background: linear-gradient(135deg, var(--primary-color), #3a5cc0);
    color: white;
    padding: 1.2rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(35, 64, 139, 0.3);
}

.intro-section .experience-badge .exp-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    display: block;
}

.intro-section .experience-badge .exp-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.intro-section .intro-content .label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.intro-section .intro-content .label .line {
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.intro-section .intro-content h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.2rem, 3.8vw, 3.2rem);
    font-weight: 700;
    color: var(--dark-color);
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.intro-section .intro-content p {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: var(--p-color);
    line-height: 1.9;
    margin-bottom: 2rem;
}

.intro-section .mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.intro-section .mv-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-section .mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.intro-section .mv-card .mv-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 0;
}

.intro-section .mv-card:first-child .mv-icon {
    background: linear-gradient(135deg, rgba(35, 64, 139, 0.1), rgba(35, 64, 139, 0.05));
    color: var(--primary-color);
}

.intro-section .mv-card:last-child .mv-icon {
    background: linear-gradient(135deg, rgba(237, 31, 36, 0.1), rgba(237, 31, 36, 0.05));
    color: var(--secondary-color);
}

.intro-section .mv-card h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.intro-section .mv-card p {
    font-size: 0.85rem;
    color: var(--p-color);
    margin-bottom: 0;
    line-height: 1.6;
}

/* === PROGRAMS SECTION === */
.programs-section {
    padding: 3.5rem 0;
    background: #f8faf9;
    position: relative;
}

.programs-section .container-custom {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 2rem;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.program-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 420px;
    cursor: pointer;
}

.program-card .card-image {
    position: absolute;
    inset: 0;
}

.program-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.program-card:hover .card-image img {
    transform: scale(1.1);
}

.program-card .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(15, 23, 42, 0.98) 0%,
            rgba(15, 23, 42, 0.5) 60%,
            rgba(15, 23, 42, 0.2) 100%);
    z-index: 1;
    transition: all 0.5s;
}

.program-card:hover .card-overlay {
    background: linear-gradient(to top,
            rgba(15, 23, 42, 0.98) 0%,
            rgba(15, 23, 42, 0.6) 60%,
            rgba(15, 23, 42, 0.3) 100%);
}

.program-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 2rem;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.program-card:hover .card-content {
    transform: translateY(0);
}

.program-card .card-number {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    color: var(--tertiary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.program-card .card-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.program-card .card-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    height: 90px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s 0.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.program-card:hover .card-content p {
    opacity: 1;
    transform: translateY(0);
}

.program-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.program-card:hover .card-link {
    opacity: 1;
    transform: translateY(0);
}

.program-card .card-link .arrow {
    display: inline-block;
    transition: transform 0.3s;
}

.program-card:hover .card-link .arrow,
.program-card .card-link:hover .arrow {
    transform: translateX(4px);
}

/* === IMPACT / COUNTER SECTION === */
.impact-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2a5c 100%);
    position: relative;
    overflow: hidden;
}

.impact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(237, 31, 36, 0.1);
    filter: blur(80px);
}

.impact-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(248, 187, 19, 0.08);
    filter: blur(60px);
}

.impact-section .container-custom {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.impact-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.impact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.impact-card .impact-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.5rem;
    background: linear-gradient(135deg, rgba(248, 187, 19, 0.2), rgba(248, 187, 19, 0.05));
    color: var(--tertiary-color);
}

.impact-card .impact-number {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: white;
    display: block;
    line-height: 1;
    margin-bottom: 0.1rem;
}

.impact-card .impact-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* === TEAM SECTION === */
.team-section {
    padding: 3.5rem 0;
    background: white;
}

.team-section .container-custom {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.team-card {
    display: block;
    text-decoration: none;
    background: white;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    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;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--tertiary-color));
    opacity: 0;
    transition: opacity 0.3s;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.team-card:hover::before {
    opacity: 1;
}

.team-card .team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
}

.team-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.3rem;
}

.team-card .role {
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === GALLERY / IMAGE MOSAIC === */
.gallery-section {
    padding: 3.5rem 0;
    background: #f8faf9;
}

.gallery-section .container-custom {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 1rem;
}

.gallery-mosaic .gallery-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-mosaic .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-mosaic .gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-mosaic .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-mosaic .gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-mosaic .gallery-item:hover::after {
    opacity: 1;
}

/* === CTA / BANNER SECTION === */
.cta-section {
    padding: 3.5rem 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.cta-section .container-custom {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2a5c 100%);
    border-radius: 32px;
    padding: 5rem;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(237, 31, 36, 0.15);
    filter: blur(60px);
}

.cta-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 30%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(248, 187, 19, 0.1);
    filter: blur(40px);
}

.cta-card .cta-content {
    position: relative;
    z-index: 1;
}

.cta-card .cta-content h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1.2rem;
    line-height: 1.15;
}

.cta-card .cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-card .cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-card .cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--secondary-color), #ff4b50);
    color: white !important;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 100px;
    border: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 30px rgba(237, 31, 36, 0.35);
}

.cta-card .cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(237, 31, 36, 0.5);
    color: white !important;
}

.cta-card .cta-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 1rem 2rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white !important;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-card .cta-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    color: white !important;
}

.cta-card .cta-image {
    position: relative;
    z-index: 1;
}

.cta-card .cta-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

/* === CONTACT SECTION === */
/* The premium contact section stays as is, already good */

/* === FOOTER - AWARD WINNING === */
.footer-premium {
    background: #0f172a;
    color: white;
    position: relative;
    overflow: hidden;
}

.footer-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--tertiary-color), var(--primary-color));
}

.footer-premium .footer-top {
    padding: 5rem 0 3rem;
}

.footer-premium .container-custom {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-premium .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-premium .footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 1.2rem;
}

.footer-premium .footer-brand img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.footer-premium .footer-brand-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: white;
}

.footer-premium .footer-about p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-premium .social-links {
    display: flex;
    gap: 0.8rem;
}

.footer-premium .social-links a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
}

.footer-premium .social-links a:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-premium h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-premium .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-premium .footer-links li {
    margin-bottom: 0.75rem;
}

.footer-premium .footer-links a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-premium .footer-links a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-premium .contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-premium .contact-info-item i {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-top: 3px;
}

.footer-premium .contact-info-item p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.6;
}

.footer-premium .contact-info-item a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-premium .contact-info-item a:hover {
    color: white;
}

.footer-premium .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
}

.footer-premium .footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-premium .footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
    will-change: auto;
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
    will-change: auto;
}

/* Stagger children animations */
.stagger-children>* {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-children.visible>*:nth-child(1) {
    transition-delay: 0.1s;
}

.stagger-children.visible>*:nth-child(2) {
    transition-delay: 0.2s;
}

.stagger-children.visible>*:nth-child(3) {
    transition-delay: 0.3s;
}

.stagger-children.visible>*:nth-child(4) {
    transition-delay: 0.4s;
}

.stagger-children.visible>*:nth-child(5) {
    transition-delay: 0.5s;
}

.stagger-children.visible>*:nth-child(6) {
    transition-delay: 0.6s;
}

.stagger-children.visible>* {
    opacity: 1;
    transform: translateY(0);
}

/* === INNER PAGE HERO (Sub Pages) === */
.page-hero {
    height: 45vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-hero .hero-bg {
    position: absolute;
    inset: 0;
}

.page-hero .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(35, 64, 139, 0.7));
}

.page-hero .hero-text {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 700px;
    padding: 0 2rem;
}

.page-hero .hero-text .breadcrumb-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.8rem;
}

.page-hero .hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.page-hero .hero-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 500px;
    margin: 0 auto;
}

/* === PARTNERS (legacy stub kept for compat) === */
.partners-marquee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}

/* ==================================================
   NEW SECTIONS — ADDED FOR NGO LANDING PAGE UPDATE
   ================================================== */

/* Hero Donate Button */
.hero-btn-donate {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--secondary-color), #ff4b50);
    color: white !important;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 30px rgba(237, 31, 36, 0.4);
    letter-spacing: 0.01em;
}

.hero-btn-donate:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 45px rgba(237, 31, 36, 0.5);
    color: white !important;
}

/* Hero trust badges */
.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    animation: fadeInUp 1s 1.1s both;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Impact context text */
.impact-card .impact-context {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
    line-height: 1.5;
    letter-spacing: 0.2px;
}

/* CTA Donate Button */
.cta-btn-donate {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--secondary-color), #ff4b50);
    color: white !important;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 100px;
    border: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 30px rgba(237, 31, 36, 0.4);
}

.cta-btn-donate:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(237, 31, 36, 0.55);
    color: white !important;
}

/* ==========================================
   STORIES / TESTIMONIALS SECTION
   ========================================== */
.stories-section {
    padding: 3.5rem 0;
    background: #f8faf9;
    position: relative;
    overflow: hidden;
}

.stories-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(35, 64, 139, 0.04), transparent 70%);
}

.stories-section .container-custom {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.story-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: grid;
    grid-template-columns: 1fr;
}

.story-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.story-card--featured {
    display: flex;
    flex-direction: column;
}

.story-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    flex-shrink: 0;
}

.story-image--sm {
    height: 160px;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-card:hover .story-image img {
    transform: scale(1.04);
}

.story-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.5), transparent);
}

.story-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.story-quote-icon {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    opacity: 0.6;
}

.story-quote-icon.small {
    margin-bottom: 0.75rem;
}

.story-quote {
    font-size: 1.05rem;
    color: #2d3748;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
    flex: 1;
}

.story-card:not(.story-card--featured) .story-quote {
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
}

.story-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.story-author-photo,
.story-author-photos-stack {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid rgba(35, 64, 139, 0.1);
}

.story-author-photo img,
.story-author-photos-stack img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.story-author-info strong {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    display: block;
}

.story-author-info span {
    font-size: 0.78rem;
    color: #64748b;
    display: block;
}

.story-program-tag {
    display: inline-block;
    margin-top: 4px;
    background: rgba(35, 64, 139, 0.12);
    border: 1px solid rgba(35, 64, 139, 0.15);
    color: var(--primary-color) !important;
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
}

/* ==========================================
   TRANSPARENCY SECTION
   ========================================== */
.transparency-section {
    padding: 3.5rem 0;
    background: white;
}

.transparency-section .container-custom {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 2rem;
}

.transparency-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.transparency-left h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.transparency-left>p {
    font-size: 1.05rem;
    color: var(--p-color);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.transparency-docs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    background: #f8faf9;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.doc-item:hover {
    border-color: rgba(35, 64, 139, 0.15);
    background: rgba(35, 64, 139, 0.02);
    transform: translateX(4px);
}

.doc-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(35, 64, 139, 0.1), rgba(35, 64, 139, 0.04));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.doc-info {
    flex: 1;
    min-width: 0;
}

.doc-info strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.doc-info span {
    font-size: 0.78rem;
    color: #64748b;
}

.doc-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.doc-badge.verified {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.doc-badge.request {
    background: linear-gradient(135deg, var(--primary-color), #3a5cc0);
    color: white !important;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(35, 64, 139, 0.2);
}

.doc-badge.request:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(35, 64, 139, 0.3);
    color: white !important;
}

/* Registration Card */
.reg-card {
    background: linear-gradient(145deg, #0f172a, #1a2a5c);
    border-radius: 28px;
    padding: 2.5rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.2);
}

.reg-card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(237, 31, 36, 0.08);
    filter: blur(40px);
}

.reg-card::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(248, 187, 19, 0.06);
    filter: blur(40px);
}

.reg-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}

.reg-card-header img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.reg-card-header h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    margin: 0 0 2px;
}

.reg-card-header span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reg-details {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

.reg-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    gap: 1rem;
}

.reg-row:last-child {
    border-bottom: none;
}

.reg-key {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    flex-shrink: 0;
}

.reg-value {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    text-align: right;
}

.reg-active {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #34d399 !important;
}

.active-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    animation: blink 2s infinite;
    display: inline-block;
}

.reg-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.9rem 1.5rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    color: white;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.reg-cta:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    color: white;
}

/* ==========================================
   PARTNERS & SOCIAL PROOF SECTION
   ========================================== */
.partners-section {
    padding: 4.5rem 0;
    background: #f8faf9;
}

.partners-section .container-custom {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 2rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.partner-logo-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 1.8rem 1rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.partner-logo-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.partner-logo-inner span {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
    line-height: 1.3;
}

.partner-logo-inner small {
    font-size: 0.7rem;
    color: #64748b;
}

/* Partner icon: consistent, fluid sizing */
.partner-logo-icon {
    font-size: clamp(1.6rem, 3vw, 2rem);
    display: block;
    line-height: 1;
}

/* Social proof bar */
.social-proof-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    background: white;
    border-radius: 20px;
    padding: 1.5rem 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #475569;
    padding: 0.5rem 2rem;
}

.proof-divider {
    width: 1px;
    height: 24px;
    background: rgba(0, 0, 0, 0.08);
}

/* ==========================================
   CONTACT STRIP SECTION
   ========================================== */
.contact-strip {
    padding: 3.5rem 0;
    background: linear-gradient(135deg, #f0f4ff 0%, #fff5f5 100%);
}

.contact-strip .container-custom {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-strip-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: white;
    border-radius: 28px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-strip-left {
    flex: 0 0 260px;
}

.contact-strip-left h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.contact-strip-left p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

.contact-strip-items {
    display: flex;
    gap: 1rem;
    flex: 1;
}

.contact-strip-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    background: #f8faf9;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    text-decoration: none;
    flex: 1;
    transition: all 0.3s;
    cursor: pointer;
}

.contact-strip-item:hover {
    background: white;
    border-color: rgba(35, 64, 139, 0.15);
    box-shadow: 0 8px 25px rgba(35, 64, 139, 0.08);
    transform: translateY(-2px);
}

.contact-strip-item.non-link:hover {
    transform: none;
    box-shadow: none;
}

.csi-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(35, 64, 139, 0.1), rgba(35, 64, 139, 0.03));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
}

.csi-info strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.csi-info span {
    font-size: 0.78rem;
    color: #64748b;
}

.csi-cta-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.9rem 1.6rem;
    background: linear-gradient(135deg, var(--primary-color), #3a5cc0);
    color: white !important;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 100px;
    white-space: nowrap;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(35, 64, 139, 0.25);
    flex-shrink: 0;
}

.csi-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(35, 64, 139, 0.35);
    color: white !important;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .transparency-inner {
        gap: 3rem;
    }

    .contact-strip-inner {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .contact-strip-left {
        flex: 0 0 100%;
    }

    .contact-strip-items {
        flex: 1 1 100%;
    }
}

@media (max-width: 991px) {
    .hamburger {
        display: flex;
    }

    .navbar-premium .nav-links {
        display: none;
    }

    .intro-section {
        padding: 3.5rem 0;
    }

    .intro-section .intro-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .intro-section .intro-image-stack {
        width: 100%;
        max-width: 550px;
        margin: 0 auto;
        height: 450px;
    }

    .intro-section .intro-image-stack img:nth-of-type(1) {
        width: 75%;
        height: 75%;
    }

    .intro-section .intro-image-stack img:nth-of-type(2) {
        width: 60%;
        height: 60%;
    }

    .cta-card {
        grid-template-columns: 1fr;
        padding: 3rem;
    }

    .footer-premium .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .hero-stats-bar .stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .gallery-mosaic {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Stories */
    .stories-grid {
        grid-template-columns: 1fr;
    }

    .story-card--featured {
        grid-row: span 1;
    }

    /* Transparency */
    .transparency-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Partners */
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .social-proof-bar {
        flex-direction: column;
        gap: 0.5rem;
    }

    .proof-divider {
        display: none;
    }

    /* Contact strip */
    .contact-strip-inner {
        flex-direction: column;
    }

    .contact-strip-left {
        flex: 0 0 auto;
    }

    .contact-strip-items {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .hero-cinematic h1 {
        font-size: 2.2rem;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .program-card {
        height: 320px;
    }

    .impact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .intro-section .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .intro-section {
        padding: 4rem 0;
    }

    .intro-section .intro-image-stack {
        height: 350px;
    }

    .cta-card {
        padding: 2.5rem 1.5rem;
    }

    .footer-premium .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-mosaic {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gallery-mosaic .gallery-item:nth-child(1) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-mosaic .gallery-item {
        height: 250px;
    }

    .hero-stats-bar .stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem 1.5rem;
    }

    .scroll-indicator {
        display: none;
    }

    /* Partners mobile */
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact strip mobile */
    .contact-strip-inner {
        padding: 2rem 1.5rem;
    }

    .contact-strip-items {
        flex-direction: column;
    }

    /* Hero trust badges */
    .hero-trust-badges {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .impact-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .hero-cinematic .hero-actions {
        flex-direction: column;
    }

    .hero-cinematic .hero-btn-primary,
    .hero-btn-donate,
    .hero-cinematic .hero-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    /* Partners very small */
    .partners-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Social proof bar */
    .social-proof-bar {
        padding: 1rem;
    }

    .proof-item {
        padding: 0.4rem 0.5rem;
        font-size: 0.78rem;
    }

    /* Section headings at very small screens */
    .section-title-block h2 {
        font-size: clamp(1.6rem, 8vw, 2rem);
    }

    /* Card headings */
    .program-card .card-content h3 {
        font-size: 1.2rem;
    }

    .impact-card .impact-label {
        font-size: 0.78rem;
    }

    /* CTA card */
    .cta-card .cta-content h2 {
        font-size: clamp(1.6rem, 7vw, 2rem);
    }

    /* Footer heading */
    .footer-premium h4 {
        font-size: 0.78rem;
    }

    /* Contact strip */
    .contact-strip-inner {
        padding: 1.5rem 1rem;
    }

    .contact-strip-left h3 {
        font-size: 1.1rem;
    }
}

/* === UTILITY OVERRIDES === */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-tertiary {
    color: var(--tertiary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

/* Ensure new design system takes priority */

/* ============================================================
   PERFORMANCE OPTIMIZATIONS
   ============================================================ */

/* content-visibility: auto — browser skips layout/paint for
   off-screen sections until they near the viewport.           */
.impact-section,
.programs-section,
.stories-section,
.transparency-section,
.gallery-section,
.partners-section,
.team-section,
.team-full-section,
.profile-body-section,
.cta-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
    /* approx height hint */
}

/* Reduce paint area for cards to their own layer */
.member-card,
.program-card,
.story-card,
.impact-card,
.profile-block {
    contain: layout style paint;
}

/* Ensure images inside cards don't trigger reflow */
img {
    display: block;
    max-width: 100%;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal,
    .reveal-left,
    .reveal-right {
        opacity: 1 !important;
        transform: none !important;
    }

    .stagger-children>* {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* font-display: swap is set via the Google Fonts URL parameter &display=swap */

/* ============================================
   MARQUEE TICKER STRIP
   ============================================ */

.marquee-strip {
    width: 100%;
    overflow: hidden;
    background: var(--dark-color, #0f172a);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 0.85rem 0;
    position: relative;
    z-index: 1;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    animation: marqueeScroll 32s linear infinite;
    will-change: transform;
}

.marquee-strip:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-track span {
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    padding: 0 1.8rem;
    transition: color 0.3s;
    flex-shrink: 0;
}

.marquee-track span:hover {
    color: var(--tertiary-color);
}

.marquee-track .marquee-dot {
    color: var(--secondary-color);
    padding: 0;
    font-size: 0.5rem;
    opacity: 0.8;
}

@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
}

/* ============================================
   EDITORIAL IMPACT SECTION
   ============================================ */

.impact-editorial {
    background: #faf8f5;
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
}

/* Subtle background watermark number */
.impact-editorial::before {
    content: '9';
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 40vw;
    font-weight: 700;
    color: rgba(35,64,139,0.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.impact-ed-header {
    max-width: 1280px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.impact-ed-eyebrow {
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 1rem;
}

.impact-ed-header h2 {
    font-size: clamp(2.8rem, 5vw, 4.2rem) !important;
    color: var(--dark-color) !important;
    line-height: 1.05 !important;
    max-width: 500px;
}

.impact-ed-stats {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.impact-ed-item {
    border-top: 1px solid rgba(15,23,42,0.1);
    padding: 2.5rem 0 1.5rem;
    transition: all 0.4s ease;
}

.impact-ed-item:last-child {
    border-bottom: 1px solid rgba(15,23,42,0.1);
}

.impact-ed-item:hover {
    border-color: var(--primary-color);
}

.impact-ed-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.impact-ed-num {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(4.5rem, 10vw, 8rem);
    font-weight: 700;
    line-height: 0.9;
    color: var(--dark-color);
    letter-spacing: -0.04em;
    min-width: 220px;
    flex-shrink: 0;
    transition: color 0.4s ease;
}

.impact-ed-item:hover .impact-ed-num {
    color: var(--primary-color);
}

.impact-ed-meta {
    flex: 1;
}

.impact-ed-meta strong {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1;
    letter-spacing: -0.02em;
}

.impact-ed-meta span {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-top: 0.3rem;
    margin-bottom: 0.5rem;
}

.impact-ed-meta p {
    font-size: 0.88rem;
    color: #78716c;
    line-height: 1.5;
    margin: 0;
}

.impact-ed-bar {
    height: 2px;
    background: rgba(15,23,42,0.08);
    margin-top: 1.5rem;
    border-radius: 2px;
    overflow: hidden;
}

.impact-ed-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.impact-ed-item.visible .impact-ed-progress {
    transform: scaleX(1);
}

.impact-ed-since {
    max-width: 1280px;
    margin: 3rem auto 0;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.impact-ed-since span {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #78716c;
    white-space: nowrap;
}

.impact-ed-line {
    flex: 1;
    height: 1px;
    background: rgba(15,23,42,0.1);
}

@media (max-width: 768px) {
    .impact-ed-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .impact-ed-num {
        min-width: unset;
        font-size: clamp(3.5rem, 15vw, 5rem);
    }
    .impact-ed-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================
   HORIZONTAL SCROLL PROGRAMS STRIP
   ============================================ */

.programs-scroll-section {
    background: #0f172a;
    padding: 5rem 0 0;
    overflow: hidden;
}

.programs-scroll-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.programs-scroll-header h2 {
    color: white !important;
    font-size: clamp(2.2rem, 4vw, 3.2rem) !important;
}

.programs-scroll-header .section-label {
    color: rgba(255,255,255,0.5);
}
.programs-scroll-header .section-label .line {
    background: rgba(255,255,255,0.25);
}
.programs-scroll-header p {
    color: rgba(255,255,255,0.45);
    font-size: 0.9rem;
    margin: 0;
}

.programs-scroll-hint {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255,255,255,0.35);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    flex-shrink: 0;
    animation: hintBounce 2s ease-in-out infinite;
}

@keyframes hintBounce {
    0%,100% { transform: translateX(0); }
    50%      { transform: translateX(6px); }
}

.programs-scroll-track {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    scrollbar-width: none;
    padding-bottom: 0;
}

.programs-scroll-track:active { cursor: grabbing; }
.programs-scroll-track::-webkit-scrollbar { display: none; }

.psc-card {
    flex: 0 0 38vw;
    min-width: 320px;
    max-width: 540px;
    height: 72vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    display: block;
    transition: flex 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.psc-card:hover { flex: 0 0 46vw; }

.psc-img {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.psc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.psc-card:hover .psc-img img { transform: scale(1.06); }

.psc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.88) 0%,
        rgba(0,0,0,0.3) 50%,
        transparent 100%
    );
    transition: background 0.4s;
}

.psc-card:hover .psc-overlay {
    background: linear-gradient(
        to top,
        rgba(35,64,139,0.92) 0%,
        rgba(0,0,0,0.4) 60%,
        transparent 100%
    );
}

.psc-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 2rem;
    transform: translateY(8px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.psc-card:hover .psc-content { transform: translateY(0); }

.psc-num {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(255,255,255,0.12);
    letter-spacing: -0.03em;
    margin-bottom: -0.5rem;
    transition: color 0.4s;
}

.psc-card:hover .psc-num { color: rgba(255,255,255,0.2); }

.psc-content h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.psc-content p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.psc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tertiary-color);
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.psc-end-card {
    flex: 0 0 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(255,255,255,0.03);
    border-left: 1px solid rgba(255,255,255,0.06);
    gap: 0;
}

.psc-end-card span {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.4rem;
    color: rgba(255,255,255,0.4);
    text-align: center;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .psc-card {
        flex: 0 0 80vw;
        height: 60vw;
        min-height: 350px;
    }
    .psc-card:hover { flex: 0 0 85vw; }
}

/* ============================================
   CSS 3D FLIP STORY CARDS
   ============================================ */

.flip-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.flip-card {
    height: 440px;
    perspective: 1200px; /* Increased for better 3D effect */
    cursor: pointer;
    outline: none;
    position: relative;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.flip-card:focus .flip-front,
.flip-card:hover .flip-front {
    transform: rotateY(-180deg);
    -webkit-transform: rotateY(-180deg);
}
.flip-card:focus .flip-back,
.flip-card:hover .flip-back {
    transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
}

.flip-front,
.flip-back {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    /* Remove overflow: hidden from here as it breaks 3D in Safari iOS */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: transform 0.75s cubic-bezier(0.4, 0.2, 0.2, 1), z-index 0s 0.3s;
    -webkit-transition: -webkit-transform 0.75s cubic-bezier(0.4, 0.2, 0.2, 1), z-index 0s 0.3s;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

/* Inner wrappers for the content to apply the overflow hidden */
.flip-front::before,
.flip-back::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
    pointer-events: none; /* Let clicks pass through to actual content */
    z-index: -1;
}

/* Specific styling for front side */
.flip-front {
    transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
    z-index: 2; /* Keep front on top initially */
    background: #fff; /* Solid background prevents rendering glitches */
}

/* Front side child overflow wrap fix */
.flip-front > * {
    z-index: 1;
}

.flip-front img {
    /* To keep borders rounded despite removed overflow hidden */
    border-radius: 20px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.flip-card:hover .flip-front img { transform: scale(1.04); }

.flip-front-overlay {
    position: absolute;
    inset: 0;
    border-radius: 20px; /* Duplicate radius since overflow is gone */
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.1) 60%,
        transparent 100%
    );
}

.flip-front-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.8rem 1.5rem;
}

.flip-front-meta strong {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.flip-front-meta span {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.flip-hint {
    font-size: 0.72rem !important;
    color: rgba(255,255,255,0.4) !important;
    font-style: italic;
    letter-spacing: 0 !important;
    text-transform: none !important;
    margin: 0 !important;
}

/* Specific styling for back side */
.flip-back {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    z-index: 1; /* Back is underneath initially */
    background: linear-gradient(145deg, var(--primary-color) 0%, #1a2f6f 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.2rem 2rem;
}

/* When flipped, adjust z-index so back is interactable */
.flip-card:focus .flip-back,
.flip-card:hover .flip-back,
.flip-card.tapped .flip-back {
    z-index: 2;
    transition: transform 0.75s cubic-bezier(0.4, 0.2, 0.2, 1), z-index 0s 0.3s;
    -webkit-transition: -webkit-transform 0.75s cubic-bezier(0.4, 0.2, 0.2, 1), z-index 0s 0.3s;
}
.flip-card:focus .flip-front,
.flip-card:hover .flip-front,
.flip-card.tapped .flip-front {
    z-index: 1;
    transition: transform 0.75s cubic-bezier(0.4, 0.2, 0.2, 1), z-index 0s 0.3s;
    -webkit-transition: -webkit-transform 0.75s cubic-bezier(0.4, 0.2, 0.2, 1), z-index 0s 0.3s;
}

.flip-back-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--tertiary-color);
    margin-bottom: 1rem;
}

.flip-quote-mark {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 6rem;
    line-height: 0.6;
    color: rgba(255,255,255,0.12);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.flip-back p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.7;
    flex: 1;
    margin: 0 0 1.5rem;
    font-style: italic;
}

.flip-back-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 1rem;
}

.flip-back-author img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.2);
}

.flip-back-author strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
}

.flip-back-author span {
    display: block;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.55);
}

/* Touch devices — no hover; tap toggles */
@media (hover: none), (pointer: coarse) {
    .flip-card.tapped .flip-front { 
        transform: rotateY(-180deg) !important; 
        -webkit-transform: rotateY(-180deg) !important;
    }
    .flip-card.tapped .flip-back  { 
        transform: rotateY(0deg) !important; 
        -webkit-transform: rotateY(0deg) !important;
    }
    
    /* Disable hover flip if we are using tap logic */
    .flip-card:hover .flip-front { 
        transform: none; 
        -webkit-transform: none; 
    }
    .flip-card:hover .flip-back  { 
        transform: rotateY(180deg); 
        -webkit-transform: rotateY(180deg); 
    }
}

@media (max-width: 800px) {
    .stories-section {
        padding: 4rem 0 !important;
    }
    .stories-section .section-title-block {
        padding-right: 1.5rem;
    }
    .flip-cards-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 1.2rem !important;
        padding-bottom: 2.5rem !important;
        padding-left: 1.5rem !important; /* Balanced with container padding */
        padding-right: 1.5rem !important;
        -webkit-overflow-scrolling: touch;
        margin-top: 2rem !important;
        margin-left: -1.5rem !important; /* Bleed to edge */
        margin-right: -1.5rem !important;
        width: calc(100% + 3rem) !important;
        scrollbar-width: none;
    }
    .flip-cards-grid::-webkit-scrollbar { display: none; }

    .flip-card {
        flex: 0 0 82vw !important;
        height: 480px !important;
        scroll-snap-align: center;
        margin-bottom: 0 !important;
        perspective: 1200px !important;
        position: relative !important;
    }
    .flip-front, .flip-back {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        backface-visibility: hidden !important;
        -webkit-backface-visibility: hidden !important;
        transform-style: preserve-3d !important;
        -webkit-transform-style: preserve-3d !important;
    }
    .flip-front {
        transform: rotateY(0deg) !important; 
        -webkit-transform: rotateY(0deg) !important;
        z-index: 2;
    }
    .flip-back {
        background-color: #23408b !important; /* Total solid fallback */
        background: linear-gradient(145deg, #23408b 0%, #1a2f6f 100%) !important;
        color: white !important;
        padding: 2.22rem 1.88rem !important;
        transform: rotateY(180deg) !important; 
        -webkit-transform: rotateY(180deg) !important;
        z-index: 1;
    }
    .flip-card.tapped .flip-back {
        transform: rotateY(0deg) !important;
        -webkit-transform: rotateY(0deg) !important;
    }
    .flip-card.tapped .flip-front {
        transform: rotateY(-180deg) !important;
        -webkit-transform: rotateY(-180deg) !important;
    }
    .flip-hint { 
        display: block !important; 
        color: rgba(255,255,255,0.7) !important;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .flip-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   DONATION IMPACT CALCULATOR
   ============================================ */

.donation-calc-section {
    background: #faf8f5;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.donation-calc-section::before {
    content: '';
    position: absolute;
    right: -200px;
    top: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(35,64,139,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.donation-calc-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.donation-calc-left h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem) !important;
    color: var(--dark-color) !important;
    margin-bottom: 1.2rem;
}

.donation-calc-left p {
    font-size: 1rem;
    color: var(--p-color);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.donation-calc-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.dcalc-badge {
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(35,64,139,0.08);
    border: 1px solid rgba(35,64,139,0.15);
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
}

/* Right panel */
.donation-calc-right {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 8px 60px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.04);
}

.dcalc-amount-display {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.dcalc-currency {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--p-color);
    letter-spacing: 0.05em;
    padding-bottom: 0.4rem;
}

.dcalc-amount {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1;
    letter-spacing: -0.03em;
    transition: all 0.3s ease;
}

/* Custom range slider */
.dcalc-slider-wrap {
    position: relative;
    margin-bottom: 1.5rem;
}

.dcalc-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(15,23,42,0.08);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.dcalc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 12px rgba(35,64,139,0.35);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.dcalc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 20px rgba(35,64,139,0.45);
}

.dcalc-track-fill {
    position: absolute;
    top: 1px;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    pointer-events: none;
    z-index: 1;
    transition: width 0.2s ease;
}

.dcalc-ticks {
    display: flex;
    justify-content: space-between;
    margin-top: 0.6rem;
}

.dcalc-ticks span {
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    color: rgba(15,23,42,0.35);
    font-weight: 500;
}

/* Impact card */
.dcalc-impact-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    background: linear-gradient(135deg, rgba(35,64,139,0.05), rgba(237,31,36,0.03));
    border: 1px solid rgba(35,64,139,0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dcalc-impact-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dcalc-impact-icon.pop { transform: scale(1.3) rotate(10deg); }

.dcalc-impact-text strong {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.dcalc-impact-text p {
    font-size: 0.85rem;
    color: var(--p-color);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 900px) {
    .donation-calc-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ============================================
   HOME CONTACT SECTION
   ============================================ */

.home-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    overflow: hidden;
}

.hc-info-panel {
    padding: 4rem;
    background: var(--primary-color);
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hc-info-panel h2 {
    color: white !important;
}

.hc-info-panel p {
    color: rgba(255,255,255,0.95) !important;
}

.hc-form-panel {
    padding: 4rem 4rem 4rem 0;
}

@media (max-width: 991px) {
    .home-contact-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .hc-info-panel {
        padding: 3rem 2rem;
    }
    .hc-form-panel {
        padding: 3rem 2rem;
    }
}

.hc-input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
    .hc-input-grid {
        grid-template-columns: 1fr;
    }
}

.hc-input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    background: #fafafa;
    transition: all 0.3s ease;
}

.hc-input:focus {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(35, 64, 139, 0.1);
}

/* ============================================
   GLOBAL ACTION MODAL
   ============================================ */

.action-modal {
    position: fixed;
    inset: 0;
    z-index: 100100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.action-modal.show {
    display: flex;
}

.action-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.action-modal.show .action-modal-overlay {
    opacity: 1;
}

.action-modal-card {
    position: relative;
    background: white;
    width: 100%;
    max-width: 520px;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.5);
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.action-modal.show .action-modal-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.action-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #f1f5f9;
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    transition: all 0.2s;
}

.action-modal-close:hover {
    background: #e2e8f0;
    transform: rotate(90deg);
}

.action-modal-header {
    margin-bottom: 2rem;
}

.action-modal-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem !important;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-color) !important;
}

.action-modal-header p {
    color: var(--p-color) !important;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.2s;
    background: #f8fafc;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(35, 64, 139, 0.05);
}

.action-feedback {
    text-align: center;
    padding: 1rem 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.action-feedback h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem !important;
    color: var(--dark-color) !important;
}

@media (max-width: 480px) {
    .action-modal-card {
        padding: 2rem 1.5rem;
    }
}
