/*
   LADHA brand refresh layer.
   This file overrides selected visual tokens while preserving existing templates.
*/

:root {
    --ladha-ink-900: #07152a;
    --ladha-ink-800: #0d2242;
    --ladha-ink-700: #163460;
    --ladha-sky-500: #2a8cff;
    --ladha-sky-300: #73b9ff;
    --ladha-coral-500: #e94a58;
    --ladha-coral-300: #ff8b94;
    --ladha-gold-400: #f6bb4a;
    --ladha-surface-0: #f4f8ff;
    --ladha-surface-1: #ffffff;
    --ladha-text-dark: #12233e;
    --ladha-text-soft: #4a5f82;
    --ladha-radius-m: 18px;
    --ladha-radius-l: 26px;
    --ladha-shadow-card: 0 16px 46px rgba(9, 31, 72, 0.14);
    --ladha-shadow-accent: 0 12px 36px rgba(42, 140, 255, 0.28);
}

body.ladha-brand-refresh {
    font-family: 'Outfit', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ecf4ff;
    background:
        radial-gradient(1200px 600px at 10% -20%, rgba(42, 140, 255, 0.3), rgba(42, 140, 255, 0) 60%),
        radial-gradient(900px 520px at 90% 0%, rgba(233, 74, 88, 0.2), rgba(233, 74, 88, 0) 60%),
        linear-gradient(180deg, #061326 0%, #081b35 32%, #0c264a 68%, #0a1f3f 100%);
    min-height: 100vh;
    line-height: 1.65;
}

body.ladha-brand-refresh::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.32;
    background-image:
        linear-gradient(rgba(115, 185, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(115, 185, 255, 0.08) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at 50% 20%, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.25) 60%, transparent 85%);
}

body.ladha-brand-refresh h1,
body.ladha-brand-refresh h2,
body.ladha-brand-refresh h3,
body.ladha-brand-refresh h4,
body.ladha-brand-refresh h5,
body.ladha-brand-refresh h6 {
    font-family: 'Bricolage Grotesque', 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

body.ladha-brand-refresh .container {
    width: min(1280px, calc(100% - 2.4rem));
}

body.ladha-brand-refresh .top-bar {
    border-bottom: 1px solid rgba(115, 185, 255, 0.2);
    background: linear-gradient(90deg, rgba(8, 27, 53, 0.94), rgba(15, 45, 87, 0.88));
}

body.ladha-brand-refresh .top-bar::before {
    background: linear-gradient(90deg, transparent, rgba(246, 187, 74, 0.22), transparent);
    animation-duration: 5.8s;
}

body.ladha-brand-refresh .contact-info span,
body.ladha-brand-refresh .user-link,
body.ladha-brand-refresh .social-links a {
    color: #e8f2ff;
}

body.ladha-brand-refresh .search-toggle,
body.ladha-brand-refresh .user-link,
body.ladha-brand-refresh .social-links a {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

body.ladha-brand-refresh .header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    border-bottom-color: rgba(15, 45, 87, 0.14);
}

body.ladha-brand-refresh .header.is-compact {
    box-shadow: 0 18px 40px rgba(7, 21, 42, 0.15);
}

body.ladha-brand-refresh .navbar .container {
    transition: height 0.25s ease;
}

body.ladha-brand-refresh .header.is-compact .navbar .container {
    height: 74px;
}

body.ladha-brand-refresh .logo img {
    filter: drop-shadow(0 8px 14px rgba(18, 35, 62, 0.16));
}

body.ladha-brand-refresh .nav-menu li a {
    color: var(--ladha-text-dark);
    font-weight: 600;
    font-size: 0.94rem;
}

body.ladha-brand-refresh .nav-menu li a:hover {
    color: var(--ladha-sky-500);
}

body.ladha-brand-refresh .nav-menu li a::before {
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ladha-coral-500), var(--ladha-sky-500));
}

body.ladha-brand-refresh .btn-donation {
    border-radius: 999px;
    border: none;
    background: linear-gradient(130deg, var(--ladha-coral-500), #ff6464 56%, #ff9a7f);
    color: #fff;
    padding: 0.74rem 1.2rem;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(233, 74, 88, 0.36);
}

body.ladha-brand-refresh .btn-donation:hover {
    transform: translateY(-2px);
    filter: saturate(1.05);
}

body.ladha-brand-refresh .hero {
    position: relative;
    isolation: isolate;
}

body.ladha-brand-refresh .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(56% 36% at 88% 10%, rgba(246, 187, 74, 0.17), rgba(246, 187, 74, 0)),
        radial-gradient(44% 33% at 8% 78%, rgba(115, 185, 255, 0.2), rgba(115, 185, 255, 0));
}

body.ladha-brand-refresh .hero-content,
body.ladha-brand-refresh .slider-nav,
body.ladha-brand-refresh .slide-indicators {
    position: relative;
    z-index: 1;
}

body.ladha-brand-refresh .hero-title {
    text-wrap: balance;
    text-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

body.ladha-brand-refresh .hero-subtitle {
    color: #d8e8ff;
    max-width: 720px;
}

body.ladha-brand-refresh .btn,
body.ladha-brand-refresh .btn-primary,
body.ladha-brand-refresh .btn-secondary,
body.ladha-brand-refresh .btn-footer,
body.ladha-brand-refresh .pillar-cta,
body.ladha-brand-refresh .sector-ctas .btn {
    border-radius: 999px;
    font-weight: 600;
}

body.ladha-brand-refresh .btn-primary,
body.ladha-brand-refresh .btn-footer-primary {
    background: linear-gradient(132deg, var(--ladha-sky-500), #4ea2ff 58%, #86c6ff);
    border: none;
    box-shadow: var(--ladha-shadow-accent);
}

body.ladha-brand-refresh .btn-primary:hover,
body.ladha-brand-refresh .btn-footer-primary:hover {
    transform: translateY(-2px);
}

body.ladha-brand-refresh .btn-secondary,
body.ladha-brand-refresh .btn-footer-secondary {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #eff6ff;
}

body.ladha-brand-refresh .stats-section,
body.ladha-brand-refresh .about-section,
body.ladha-brand-refresh .vision-section,
body.ladha-brand-refresh .sectors-section,
body.ladha-brand-refresh .projects-section,
body.ladha-brand-refresh .news-section,
body.ladha-brand-refresh .partners-section,
body.ladha-brand-refresh .newsletter-section,
body.ladha-brand-refresh .contact-section,
body.ladha-brand-refresh .search-section {
    background: var(--ladha-surface-0);
    color: var(--ladha-text-dark);
    border-radius: var(--ladha-radius-l);
    box-shadow: var(--ladha-shadow-card);
    margin: 1.25rem auto;
    width: min(1280px, calc(100% - 2.4rem));
    padding-left: 0;
    padding-right: 0;
    overflow: clip;
}

body.ladha-brand-refresh .stats-section .container,
body.ladha-brand-refresh .about-section .container,
body.ladha-brand-refresh .vision-section .container,
body.ladha-brand-refresh .sectors-section .container,
body.ladha-brand-refresh .projects-section .container,
body.ladha-brand-refresh .news-section .container,
body.ladha-brand-refresh .partners-section .container,
body.ladha-brand-refresh .newsletter-section .container,
body.ladha-brand-refresh .contact-section .container,
body.ladha-brand-refresh .search-section .container {
    width: min(1160px, calc(100% - 2.6rem));
    padding-top: 2.8rem;
    padding-bottom: 2.8rem;
}

body.ladha-brand-refresh .section-header-center h2,
body.ladha-brand-refresh .about-section h2,
body.ladha-brand-refresh .vision-section h2,
body.ladha-brand-refresh .sectors-section h2,
body.ladha-brand-refresh .projects-section h2,
body.ladha-brand-refresh .news-section h2,
body.ladha-brand-refresh .contact-section h2 {
    color: #10284e;
    line-height: 1.15;
}

body.ladha-brand-refresh .section-subtitle,
body.ladha-brand-refresh .about-content,
body.ladha-brand-refresh .sector-description,
body.ladha-brand-refresh .hero-card-text {
    color: var(--ladha-text-soft);
}

body.ladha-brand-refresh .stat-card,
body.ladha-brand-refresh .pillar,
body.ladha-brand-refresh .project-card,
body.ladha-brand-refresh .news-card,
body.ladha-brand-refresh .partner-card,
body.ladha-brand-refresh .contact-card,
body.ladha-brand-refresh .search-result-item,
body.ladha-brand-refresh .footer-grid > div {
    border-radius: var(--ladha-radius-m);
    border: 1px solid rgba(13, 34, 66, 0.08);
    box-shadow: 0 14px 30px rgba(12, 38, 74, 0.08);
}

body.ladha-brand-refresh .stat-card:hover,
body.ladha-brand-refresh .pillar:hover,
body.ladha-brand-refresh .project-card:hover,
body.ladha-brand-refresh .news-card:hover,
body.ladha-brand-refresh .partner-card:hover,
body.ladha-brand-refresh .search-result-item:hover {
    transform: translateY(-4px);
}

body.ladha-brand-refresh .footer {
    margin-top: 2rem;
    background:
        radial-gradient(58% 50% at 10% 8%, rgba(115, 185, 255, 0.18), rgba(115, 185, 255, 0)),
        linear-gradient(150deg, #081a33, #0e2b52 55%, #112f57);
    border-top: 1px solid rgba(115, 185, 255, 0.28);
}

body.ladha-brand-refresh .footer-grid > div {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

body.ladha-brand-refresh .back-to-top {
    background: linear-gradient(132deg, var(--ladha-coral-500), #ff6f74);
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(233, 74, 88, 0.34);
}

body.ladha-brand-refresh [data-reveal] {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    transition:
        opacity 0.56s ease,
        transform 0.56s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

body.ladha-brand-refresh [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    z-index: 2200;
    background: linear-gradient(90deg, var(--ladha-sky-500), var(--ladha-gold-400), var(--ladha-coral-500));
    box-shadow: 0 0 10px rgba(42, 140, 255, 0.42);
}

@media (max-width: 992px) {
    body.ladha-brand-refresh .container {
        width: min(100%, calc(100% - 1.4rem));
    }

    body.ladha-brand-refresh .stats-section,
    body.ladha-brand-refresh .about-section,
    body.ladha-brand-refresh .vision-section,
    body.ladha-brand-refresh .sectors-section,
    body.ladha-brand-refresh .projects-section,
    body.ladha-brand-refresh .news-section,
    body.ladha-brand-refresh .partners-section,
    body.ladha-brand-refresh .newsletter-section,
    body.ladha-brand-refresh .contact-section,
    body.ladha-brand-refresh .search-section {
        width: min(100%, calc(100% - 1.4rem));
        border-radius: 20px;
    }

    body.ladha-brand-refresh .top-bar .container {
        gap: 0.9rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    body.ladha-brand-refresh .header.is-compact .navbar .container,
    body.ladha-brand-refresh .navbar .container {
        height: 72px;
    }
}

@media (max-width: 680px) {
    body.ladha-brand-refresh .contact-info {
        flex-direction: column;
        gap: 0.35rem;
        width: 100%;
        align-items: center;
    }

    body.ladha-brand-refresh .top-bar-actions {
        width: 100%;
        justify-content: center;
        gap: 0.7rem;
    }

    body.ladha-brand-refresh .search-box.active {
        width: min(86vw, 300px);
    }
}

/*
   Home Redesign Concept: Ocean Current Editorial
   Intent: cinematic hero, clean typography contrast, and smooth section rhythm.
   Scope: homepage only (page-home / is-home classes).
*/

body.page-home {
    --home-ink-0: #050d1e;
    --home-ink-1: #081833;
    --home-ink-2: #0d2b54;
    --home-aqua: #53b6ff;
    --home-coral: #ff6b67;
    --home-sun: #f4c66f;
    --home-frost: rgba(255, 255, 255, 0.13);
    --home-frost-border: rgba(255, 255, 255, 0.28);
    --home-panel-shadow: 0 24px 56px rgba(3, 14, 32, 0.34);
    --home-ease: cubic-bezier(0.22, 1, 0.36, 1);
    background:
        radial-gradient(1200px 640px at 7% -5%, rgba(83, 182, 255, 0.22), rgba(83, 182, 255, 0)),
        radial-gradient(1200px 700px at 93% 0%, rgba(255, 107, 103, 0.14), rgba(255, 107, 103, 0)),
        linear-gradient(180deg, #050d1e 0%, #081a35 36%, #0b2a52 68%, #091f40 100%);
}

body.page-home .top-bar {
    background: linear-gradient(120deg, rgba(8, 20, 40, 0.92), rgba(12, 39, 76, 0.9));
    border-bottom-color: rgba(131, 198, 255, 0.28);
}

body.page-home .header {
    background: rgba(5, 14, 32, 0.78);
    border-bottom: 1px solid rgba(146, 205, 255, 0.22);
    backdrop-filter: blur(18px);
}

body.page-home .header .nav-menu li a {
    color: #eef6ff;
}

body.page-home .header .nav-menu li a:hover {
    color: #9fd4ff;
}

body.page-home .header .dropdown-menu li a {
    color: #173860;
}

body.page-home .header .dropdown-menu li a:hover,
body.page-home .header .dropdown-menu li a.active {
    color: #0a5fa9;
}

body.page-home .hero {
    width: min(1320px, calc(100% - 2rem));
    min-height: clamp(620px, 92svh, 920px);
    margin: 1rem auto 1.55rem;
    border-radius: 34px;
    overflow: clip;
    box-shadow: var(--home-panel-shadow);
    border: 1px solid rgba(150, 207, 255, 0.24);
    background:
        radial-gradient(90% 120% at 85% 0%, rgba(244, 198, 111, 0.2), rgba(244, 198, 111, 0)),
        radial-gradient(80% 100% at 15% 100%, rgba(83, 182, 255, 0.22), rgba(83, 182, 255, 0)),
        linear-gradient(145deg, #051024 0%, #0c2b55 52%, #143563 100%);
}

body.page-home .hero::after {
    background:
        radial-gradient(36% 44% at 90% 4%, rgba(255, 107, 103, 0.2), rgba(255, 107, 103, 0)),
        radial-gradient(44% 36% at 8% 92%, rgba(83, 182, 255, 0.24), rgba(83, 182, 255, 0)),
        linear-gradient(180deg, rgba(2, 8, 19, 0.16), rgba(2, 8, 19, 0.45));
}

body.page-home .hero .particle-canvas,
body.page-home .hero .hero-parallax-layer {
    display: none !important;
}

body.page-home .hero-slider {
    height: 100%;
    isolation: isolate;
}

body.page-home .hero-slide {
    align-items: flex-end;
    justify-content: flex-start;
    padding: clamp(3.4rem, 6.8vw, 7rem);
    overflow: hidden;
}

body.page-home .hero-slide::before {
    content: '';
    position: absolute;
    inset: -2%;
    z-index: -1;
    background: inherit;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    filter: saturate(1.06) contrast(1.08);
    transition: transform 9s var(--home-ease);
}

body.page-home .hero-slide.active::before {
    transform: scale(1);
}

body.page-home .hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(108deg, rgba(5, 13, 30, 0.9) 0%, rgba(6, 19, 42, 0.82) 35%, rgba(11, 36, 70, 0.58) 62%, rgba(11, 36, 70, 0.75) 100%),
        radial-gradient(32% 44% at 90% 22%, rgba(244, 198, 111, 0.18), rgba(244, 198, 111, 0));
}

body.page-home .hero-overlay {
    display: none;
}

body.page-home .hero-content {
    position: relative;
    z-index: 4;
    width: min(880px, 100%);
    text-align: left;
    margin: 0;
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.72s var(--home-ease), transform 0.72s var(--home-ease);
}

body.page-home .hero-slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

body.page-home .hero-card,
body.page-home .hero-impact {
    margin: 0;
    width: min(860px, 100%);
    padding: clamp(1.4rem, 2.6vw, 2.2rem);
    border-radius: 26px;
    border: 1px solid var(--home-frost-border);
    background:
        linear-gradient(170deg, rgba(9, 29, 58, 0.64), rgba(9, 29, 58, 0.42)),
        rgba(255, 255, 255, 0.04);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
}

body.page-home .hero-section-title {
    margin-bottom: 1.15rem;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    color: #9fd4ff;
    text-transform: uppercase;
    text-shadow: none;
}

body.page-home .slide-main .hero-section-title {
    color: #ffe6cf;
}

body.page-home .hero-title,
body.page-home .hero-card-title,
body.page-home .hero-impact .hero-title {
    margin: 0 0 1rem;
    max-width: 18ch;
    padding: 0;
    text-align: left !important;
    font-weight: 760;
    line-height: 1.03;
    letter-spacing: -0.03em;
    color: #f8fbff !important;
    text-shadow: 0 10px 28px rgba(2, 8, 18, 0.48);
    font-size: clamp(2.1rem, 5.8vw, 4.7rem) !important;
}

body.page-home .slide-main .hero-title {
    max-width: 14ch;
    font-size: clamp(2.5rem, 7.1vw, 5.7rem) !important;
}

body.page-home .hero-subtitle,
body.page-home .hero-card-text,
body.page-home .hero-impact .hero-subtitle {
    margin: 0;
    max-width: 58ch;
    text-align: left;
    font-size: clamp(1rem, 1.55vw, 1.28rem) !important;
    color: #dcecff;
    line-height: 1.65;
    text-shadow: none;
}

body.page-home .hero-buttons,
body.page-home .hero-card-actions {
    margin-top: 1.7rem;
    justify-content: flex-start;
    gap: 0.85rem;
}

body.page-home .hero-buttons .btn,
body.page-home .hero-card-actions .btn {
    min-height: 48px;
    padding: 0.72rem 1.35rem;
    border-radius: 999px;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    box-shadow: none;
}

body.page-home .hero-buttons .btn-primary,
body.page-home .hero-card-actions .btn-primary {
    color: #041022;
    background: linear-gradient(135deg, #9dd8ff, #f4c66f 64%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

body.page-home .hero-buttons .btn-primary:hover,
body.page-home .hero-card-actions .btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

body.page-home .hero-buttons .btn-secondary,
body.page-home .hero-card-actions .btn-secondary {
    color: #f7fbff;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(197, 227, 255, 0.46);
}

body.page-home .hero .btn:focus-visible,
body.page-home .hero .slider-nav:focus-visible,
body.page-home .hero .slide-indicator:focus-visible {
    outline: 2px solid #ffe3bb;
    outline-offset: 2px;
}

body.page-home .hero-badge.top-right {
    top: clamp(1rem, 2.2vw, 1.4rem);
    right: clamp(1rem, 2.2vw, 1.4rem);
    letter-spacing: 0.04em;
}

body.page-home .slider-nav {
    top: auto;
    bottom: 1.2rem;
    transform: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: #e6f3ff;
    background: rgba(6, 20, 40, 0.56);
    border: 1px solid rgba(173, 219, 255, 0.38);
    backdrop-filter: blur(8px);
}

body.page-home .slider-nav:hover {
    background: rgba(23, 57, 103, 0.82);
    color: #ffffff;
    transform: translateY(-2px);
}

body.page-home .prev-slide {
    left: clamp(1rem, 2vw, 1.6rem);
}

body.page-home .next-slide {
    left: clamp(4.3rem, 7vw, 5rem);
    right: auto;
}

body.page-home .hero-pager {
    position: absolute;
    left: clamp(7.6rem, 12vw, 8.7rem);
    bottom: 1.33rem;
    z-index: 8;
    min-width: 90px;
    text-align: center;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(173, 219, 255, 0.44);
    background: rgba(7, 22, 43, 0.55);
    color: #d9eeff;
    font-family: 'Bricolage Grotesque', 'Outfit', sans-serif;
    font-size: 0.86rem;
    letter-spacing: 0.09em;
}

body.page-home .hero-pager-caption {
    position: absolute;
    left: clamp(1.05rem, 2.2vw, 1.6rem);
    bottom: 1.26rem;
    z-index: 8;
    max-width: min(44vw, 560px);
    padding: 0.55rem 0.8rem;
    border-radius: 14px;
    border: 1px solid rgba(173, 219, 255, 0.26);
    background: rgba(6, 20, 39, 0.42);
    color: #cde7ff;
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.page-home .slide-indicators {
    left: auto;
    right: clamp(0.9rem, 2.1vw, 1.6rem);
    bottom: clamp(1rem, 2vw, 1.5rem);
    transform: none;
    gap: 0.48rem;
    padding: 0.55rem 0.42rem;
    border-radius: 999px;
    background: rgba(5, 15, 31, 0.42);
    border: 1px solid rgba(173, 218, 255, 0.3);
    flex-direction: column;
}

body.page-home .slide-indicator {
    width: 10px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(202, 233, 255, 0.48);
    background: rgba(188, 227, 255, 0.2);
}

body.page-home .slide-indicator.active {
    height: 58px;
    background: linear-gradient(180deg, #9ed9ff, #f4c66f 70%, #ff8e82);
    transform: none;
}

body.page-home .stats-section,
body.page-home .about-section,
body.page-home .vision-section,
body.page-home .sectors-section,
body.page-home .projects-section,
body.page-home .news-section,
body.page-home .partners-section,
body.page-home .newsletter-section,
body.page-home .contact-section,
body.page-home .search-section {
    width: min(1320px, calc(100% - 2rem));
    margin: 1rem auto;
    border-radius: 30px;
    border: 1px solid rgba(14, 47, 87, 0.12);
    box-shadow: 0 18px 42px rgba(8, 30, 62, 0.14);
    background:
        radial-gradient(140% 110% at 0% 0%, rgba(83, 182, 255, 0.08), rgba(83, 182, 255, 0)),
        #f9fcff;
}

body.page-home .section-header-center h2,
body.page-home .about-section h2,
body.page-home .vision-section h2,
body.page-home .sectors-section h2,
body.page-home .projects-section h2,
body.page-home .news-section h2,
body.page-home .contact-section h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.9rem);
    letter-spacing: -0.02em;
}

body.page-home .stat-card,
body.page-home .pillar,
body.page-home .project-card,
body.page-home .news-card,
body.page-home .partner-card {
    background: linear-gradient(180deg, #ffffff, #f5fbff);
    border-color: rgba(21, 62, 104, 0.1);
    box-shadow: 0 12px 28px rgba(10, 33, 68, 0.11);
}

@media (max-width: 1024px) {
    body.page-home .hero,
    body.page-home .stats-section,
    body.page-home .about-section,
    body.page-home .vision-section,
    body.page-home .sectors-section,
    body.page-home .projects-section,
    body.page-home .news-section,
    body.page-home .partners-section,
    body.page-home .newsletter-section,
    body.page-home .contact-section,
    body.page-home .search-section {
        width: min(100%, calc(100% - 1.25rem));
        border-radius: 24px;
    }

    body.page-home .hero-slide {
        padding: clamp(1.4rem, 6.5vw, 3rem);
        align-items: center;
    }

    body.page-home .hero-content,
    body.page-home .hero-card,
    body.page-home .hero-impact {
        width: 100%;
    }

    body.page-home .hero-title,
    body.page-home .hero-card-title,
    body.page-home .hero-impact .hero-title,
    body.page-home .slide-main .hero-title {
        max-width: 100%;
        text-align: left !important;
        font-size: clamp(2rem, 7vw, 4rem) !important;
    }
}

@media (max-width: 760px) {
    body.page-home .top-bar {
        padding: 0.6rem 0;
    }

    body.page-home .hero {
        min-height: clamp(620px, 84svh, 760px);
    }

    body.page-home .hero-slide {
        justify-content: center;
    }

    body.page-home .hero-content,
    body.page-home .hero-subtitle,
    body.page-home .hero-card-text,
    body.page-home .hero-impact .hero-subtitle {
        text-align: center;
    }

    body.page-home .hero-title,
    body.page-home .hero-card-title,
    body.page-home .hero-impact .hero-title {
        text-align: center !important;
        font-size: clamp(1.85rem, 8.2vw, 3rem) !important;
    }

    body.page-home .hero-buttons,
    body.page-home .hero-card-actions {
        justify-content: center;
    }

    body.page-home .hero-badge.top-right {
        position: static;
        margin-bottom: 0.85rem;
    }

    body.page-home .slide-indicators {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        gap: 0.5rem;
        padding: 0.45rem 0.55rem;
    }

    body.page-home .slide-indicator {
        width: 26px;
        height: 10px;
    }

    body.page-home .slide-indicator.active {
        width: 56px;
        height: 10px;
    }

    body.page-home .slider-nav {
        bottom: 3.9rem;
    }

    body.page-home .hero-pager {
        left: 50%;
        bottom: 1.15rem;
        transform: translateX(-50%);
    }

    body.page-home .hero-pager-caption {
        left: 50%;
        transform: translateX(-50%);
        bottom: 5.95rem;
        max-width: min(90vw, 420px);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.page-home .hero-slide,
    body.page-home .hero-slide::before,
    body.page-home .hero-content,
    body.page-home .slider-nav,
    body.page-home .slide-indicator {
        transition: none !important;
        animation: none !important;
    }
}

/*
   Homepage hero cleanup pass.
   Goal: simplify visuals, remove non-essential effects, and avoid display overlap.
*/
body.page-home .hero {
    min-height: clamp(520px, 78svh, 760px);
    margin: 1rem auto 1.25rem;
    border-radius: 24px;
    box-shadow: 0 10px 28px rgba(5, 18, 39, 0.2);
    background: linear-gradient(160deg, #07162f 0%, #0b2a52 55%, #14365f 100%);
}

body.page-home .hero::after,
body.page-home .hero-slide::before,
body.page-home .hero-slide::after {
    content: none !important;
    display: none !important;
}

body.page-home .hero-overlay,
body.page-home .hero-badge,
body.page-home .hero-section-title,
body.page-home .hero-pager,
body.page-home .hero-pager-caption,
body.page-home .visual-bg,
body.page-home .visual-circle,
body.page-home .visual-square,
body.page-home .visual-line {
    display: none !important;
}

body.page-home .hero-slide {
    align-items: center;
    justify-content: center;
    padding: clamp(1.4rem, 4.5vw, 3.2rem);
    background: transparent !important;
    background-image: none !important;
}

body.page-home .hero-content {
    width: min(980px, 100%);
    margin: 0 auto;
    text-align: center;
    opacity: 1 !important;
    transform: none !important;
}

body.page-home .hero-card,
body.page-home .hero-impact {
    width: min(980px, 100%);
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

body.page-home .hero-card[data-reveal],
body.page-home .hero-impact[data-reveal] {
    opacity: 1 !important;
    transform: none !important;
}

body.page-home .hero-title,
body.page-home .hero-card-title,
body.page-home .hero-impact .hero-title,
body.page-home .slide-main .hero-title {
    max-width: 24ch;
    margin: 0 auto 1rem;
    text-align: center !important;
    font-size: clamp(1.9rem, 5vw, 3.8rem) !important;
    line-height: 1.12;
    letter-spacing: -0.02em;
    text-shadow: none;
}

body.page-home .hero-subtitle,
body.page-home .hero-card-text,
body.page-home .hero-impact .hero-subtitle {
    max-width: 68ch;
    margin: 0 auto;
    text-align: center;
    font-size: clamp(1rem, 1.35vw, 1.2rem) !important;
    line-height: 1.6;
    color: #deebff;
    text-shadow: none;
}

body.page-home .hero-buttons,
body.page-home .hero-card-actions {
    margin-top: 1.25rem;
    justify-content: center;
}

body.page-home .hero-buttons .btn,
body.page-home .hero-card-actions .btn {
    min-height: 46px;
}

body.page-home .slider-nav {
    width: 42px;
    height: 42px;
    bottom: 1rem;
    border-radius: 999px;
    background: rgba(6, 20, 40, 0.72);
    border: 1px solid rgba(173, 219, 255, 0.35);
    backdrop-filter: none;
}

body.page-home .prev-slide {
    left: 1rem;
}

body.page-home .next-slide {
    right: 1rem;
    left: auto;
}

body.page-home .slide-indicators {
    left: 50%;
    right: auto;
    bottom: 1rem;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 0.45rem;
    padding: 0.35rem 0.45rem;
    border-radius: 999px;
    background: rgba(6, 20, 40, 0.5);
}

body.page-home .slide-indicator {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid rgba(202, 233, 255, 0.48);
    background: rgba(188, 227, 255, 0.3);
}

body.page-home .slide-indicator.active {
    width: 24px;
    height: 10px;
    background: #9fd4ff;
}

@media (max-width: 760px) {
    body.page-home .hero {
        min-height: clamp(460px, 72svh, 620px);
    }

    body.page-home .hero-slide {
        padding: 1.2rem;
    }

    body.page-home .hero-title,
    body.page-home .hero-card-title,
    body.page-home .hero-impact .hero-title,
    body.page-home .slide-main .hero-title {
        font-size: clamp(1.65rem, 7.4vw, 2.5rem) !important;
    }

    body.page-home .hero-subtitle,
    body.page-home .hero-card-text,
    body.page-home .hero-impact .hero-subtitle {
        font-size: 1rem !important;
    }

    body.page-home .slider-nav {
        display: none;
    }
}

/*
   Premium homepage hero pass v2.
   Full-bleed hero, no clipping container, content rendered directly on the page.
*/
body.page-home .hero {
    width: 100%;
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    background:
        radial-gradient(110% 80% at 12% 0%, rgba(124, 196, 255, 0.24), rgba(124, 196, 255, 0) 58%),
        radial-gradient(90% 70% at 88% 12%, rgba(255, 176, 128, 0.2), rgba(255, 176, 128, 0) 64%),
        linear-gradient(165deg, #051224 0%, #0a2b52 56%, #11385f 100%);
}

body.page-home .hero-slider {
    position: relative;
    height: clamp(700px, 84svh, 900px);
}

body.page-home .hero-slide {
    position: absolute;
    inset: 0;
    overflow: visible;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4.4rem) clamp(1.3rem, 4.5vw, 5rem) clamp(5.2rem, 10vw, 7.4rem);
    background: transparent;
}

body.page-home .hero-overlay {
    display: none !important;
}

body.page-home .hero-slide::before {
    content: '' !important;
    display: block !important;
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--slide-bg-image, none);
    background-size: var(--slide-bg-size, cover);
    background-position: var(--slide-bg-position, center center);
    background-repeat: var(--slide-bg-repeat, no-repeat);
    opacity: var(--slide-bg-opacity, 0);
}

body.page-home .hero-slide::after {
    content: '' !important;
    display: block !important;
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        var(--slide-gradient-angle, 165deg),
        var(--slide-gradient-start, #051224) 0%,
        var(--slide-gradient-mid, var(--slide-gradient-end, #0a2b52)) 52%,
        var(--slide-gradient-end, #11385f) 100%
    );
    opacity: var(--slide-gradient-opacity, 0.72);
}

body.page-home .hero-card,
body.page-home .hero-impact {
    display: contents !important;
}

body.page-home .hero-content {
    position: relative;
    z-index: 3;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.35rem;
    width: min(1120px, calc(100% - 0.6rem));
    min-height: clamp(300px, 46svh, 430px);
    margin: 0 auto;
    text-align: center;
    opacity: 1 !important;
    transform: none !important;
}

body.page-home .hero-content > * {
    margin-left: auto;
    margin-right: auto;
}

body.page-home .hero-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(200, 229, 255, 0.5);
    background: rgba(7, 22, 45, 0.34);
    color: #d8ebff;
    font-size: 0.74rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    font-weight: 700;
}

body.page-home .hero-title,
body.page-home .hero-card-title,
body.page-home .hero-impact .hero-title,
body.page-home .slide-main .hero-title {
    max-width: 22ch;
    margin: 0 auto 1.15rem;
    text-align: center !important;
    color: #f7fbff !important;
    font-size: clamp(2rem, 5.4vw, 4.45rem) !important;
    font-weight: 760;
    line-height: 1.09;
    letter-spacing: -0.028em;
    text-shadow: 0 8px 24px rgba(3, 11, 25, 0.24);
    text-wrap: balance;
}

body.page-home .hero-slide.slide-main .hero-title {
    max-width: 16ch;
}

body.page-home .hero-slide.slide-news .hero-title,
body.page-home .hero-slide.slide-project .hero-title,
body.page-home .hero-slide.slide-impact .hero-title,
body.page-home .hero-slide.slide-join .hero-title {
    max-width: 20ch;
}

body.page-home .hero-slide.slide-news .hero-subtitle,
body.page-home .hero-slide.slide-project .hero-subtitle,
body.page-home .hero-slide.slide-impact .hero-subtitle,
body.page-home .hero-slide.slide-join .hero-subtitle {
    max-width: 64ch;
}

/* Strict parity for the last two slides: Nos projets + Rejoignez-nous */
body.page-home .hero-slide.slide-project .hero-title,
body.page-home .hero-slide.slide-join .hero-title {
    max-width: 18.5ch;
    min-height: 2.2em;
}

body.page-home .hero-slide.slide-project .hero-subtitle,
body.page-home .hero-slide.slide-join .hero-subtitle {
    max-width: 60ch;
    min-height: 4.8em;
}

body.page-home .hero-slide.slide-project .hero-buttons,
body.page-home .hero-slide.slide-join .hero-buttons {
    margin-top: 1.4rem;
    min-height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
}

body.page-home .hero-slide.slide-project .hero-buttons .btn,
body.page-home .hero-slide.slide-join .hero-buttons .btn {
    min-width: 206px;
}

@media (max-width: 760px) {
    body.page-home .hero-slide.slide-project .hero-title,
    body.page-home .hero-slide.slide-join .hero-title,
    body.page-home .hero-slide.slide-project .hero-subtitle,
    body.page-home .hero-slide.slide-join .hero-subtitle {
        min-height: 0;
    }

    body.page-home .hero-slide.slide-project .hero-buttons .btn,
    body.page-home .hero-slide.slide-join .hero-buttons .btn {
        min-width: 0;
    }
}

body.page-home .hero-subtitle,
body.page-home .hero-card-text,
body.page-home .hero-impact .hero-subtitle {
    max-width: 70ch;
    margin: 0 auto;
    color: #ddedff;
    text-align: center;
    font-size: clamp(1rem, 1.35vw, 1.22rem) !important;
    line-height: 1.64;
    text-shadow: none;
    text-wrap: pretty;
}

body.page-home .hero-buttons,
body.page-home .hero-card-actions {
    margin-top: 1.5rem;
    justify-content: center;
    align-items: center;
    gap: 0.78rem;
}

body.page-home .hero-buttons .btn,
body.page-home .hero-card-actions .btn {
    min-height: 48px;
    padding: 0.75rem 1.35rem;
    border-radius: 999px;
    font-weight: 650;
    letter-spacing: 0.01em;
}

body.page-home .hero-buttons .btn-primary,
body.page-home .hero-card-actions .btn-primary {
    color: #051124;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: linear-gradient(135deg, #9ed8ff 0%, #f5cb7a 100%);
    box-shadow: 0 10px 24px rgba(6, 21, 44, 0.24);
}

body.page-home .hero-buttons .btn-secondary,
body.page-home .hero-card-actions .btn-secondary {
    color: #eef6ff;
    border: 1px solid rgba(203, 231, 255, 0.5);
    background: rgba(9, 30, 58, 0.42);
}

/* Remove unwanted square/highlight blocks over hero text */
body.page-home .hero .hero-kicker,
body.page-home .hero .hero-title,
body.page-home .hero .hero-subtitle,
body.page-home .hero .hero-buttons,
body.page-home .hero .hero-buttons .btn,
body.page-home .hero .hero-buttons .btn span {
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none;
}

body.page-home .hero .hero-kicker,
body.page-home .hero .hero-title,
body.page-home .hero .hero-subtitle {
    user-select: none;
}

body.page-home .hero .hero-kicker::selection,
body.page-home .hero .hero-title::selection,
body.page-home .hero .hero-subtitle::selection,
body.page-home .hero .hero-buttons .btn::selection,
body.page-home .hero .hero-buttons .btn *::selection {
    background: transparent;
    color: inherit;
}

body.page-home .hero .hero-kicker::-moz-selection,
body.page-home .hero .hero-title::-moz-selection,
body.page-home .hero .hero-subtitle::-moz-selection,
body.page-home .hero .hero-buttons .btn::-moz-selection,
body.page-home .hero .hero-buttons .btn *::-moz-selection {
    background: transparent;
    color: inherit;
}

body.page-home .slider-nav {
    display: none !important;
    width: 44px;
    height: 44px;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    border-radius: 999px;
    background: rgba(8, 26, 49, 0.72);
    border: 1px solid rgba(191, 225, 255, 0.42);
    color: #ecf7ff;
    z-index: 5;
}

body.page-home .slider-nav:hover {
    transform: translateY(-50%) scale(1.05) !important;
}

body.page-home .prev-slide {
    left: clamp(0.7rem, 2.4vw, 1.6rem) !important;
    right: auto !important;
}

body.page-home .next-slide {
    right: clamp(0.7rem, 2.4vw, 1.6rem) !important;
    left: auto !important;
}

body.page-home .slide-indicators {
    left: 50%;
    right: auto;
    bottom: 1rem;
    transform: translateX(-50%);
    padding: 0.34rem 0.42rem;
    gap: 0.45rem;
    flex-direction: row;
    border-radius: 999px;
    border: 1px solid rgba(193, 225, 255, 0.36);
    background: rgba(6, 20, 40, 0.56);
}

body.page-home .slide-indicator {
    width: 9px;
    height: 9px;
    border-radius: 999px;
}

body.page-home .slide-indicator.active {
    width: 24px;
    height: 9px;
    background: #a8d9ff;
}

@media (max-width: 1024px) {
    body.page-home .hero-slider {
        height: clamp(620px, 80svh, 760px);
    }

    body.page-home .hero-slide {
        padding: clamp(1.6rem, 5.6vw, 3rem) 1.15rem 5.1rem;
    }

    body.page-home .hero-title,
    body.page-home .hero-card-title,
    body.page-home .hero-impact .hero-title,
    body.page-home .slide-main .hero-title {
        font-size: clamp(1.82rem, 6.8vw, 3.3rem) !important;
    }

    body.page-home .slider-nav {
        display: none !important;
    }
}

@media (max-width: 760px) {
    body.page-home .hero-slider {
        height: clamp(560px, 76svh, 680px);
    }

    body.page-home .hero-slide {
        padding: 1.15rem 0.95rem 4.8rem;
    }

    body.page-home .hero-kicker {
        font-size: 0.68rem;
        letter-spacing: 0.11em;
    }

    body.page-home .hero-title,
    body.page-home .hero-card-title,
    body.page-home .hero-impact .hero-title,
    body.page-home .slide-main .hero-title {
        max-width: 100%;
        font-size: clamp(1.55rem, 7.4vw, 2.4rem) !important;
    }

    body.page-home .hero-subtitle,
    body.page-home .hero-card-text,
    body.page-home .hero-impact .hero-subtitle {
        font-size: 0.98rem !important;
    }

    body.page-home .slider-nav {
        display: none !important;
    }

    body.page-home .slide-indicators {
        bottom: 0.85rem;
    }

}

/* Final header/menu pass: white background + responsive nav links + premium classic donation button */
body.ladha-brand-refresh .header,
body.page-home .header {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(12, 38, 74, 0.12) !important;
    box-shadow: 0 10px 26px rgba(7, 21, 42, 0.08);
    backdrop-filter: none;
}

body.ladha-brand-refresh .header .navbar .container {
    height: auto;
    min-height: 78px;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    gap: 0.7rem;
}

body.ladha-brand-refresh .header .nav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.25rem;
}

body.ladha-brand-refresh .header .nav-menu li a {
    color: #122d51 !important;
    font-size: clamp(0.82rem, 1.05vw, 0.94rem);
    font-weight: 600;
    padding: 0.5rem 0.78rem;
    border-radius: 999px;
    white-space: nowrap;
}

body.ladha-brand-refresh .header .nav-menu li a:hover,
body.ladha-brand-refresh .header .nav-menu li a:focus-visible {
    color: #0b5b9f !important;
    background: #f2f7ff;
}

body.ladha-brand-refresh .header .btn-donation {
    background: #ffffff !important;
    color: #122d51 !important;
    border: 1px solid rgba(12, 38, 74, 0.28) !important;
    box-shadow: 0 8px 18px rgba(7, 21, 42, 0.12) !important;
    border-radius: 999px !important;
    padding: 0.56rem 0.95rem !important;
    line-height: 1.1;
}

body.ladha-brand-refresh .header .btn-donation:hover,
body.ladha-brand-refresh .header .btn-donation:focus-visible {
    background: #f6f9ff !important;
    color: #0a5b9f !important;
    border-color: rgba(11, 91, 159, 0.36) !important;
    box-shadow: 0 10px 22px rgba(11, 45, 82, 0.15) !important;
    transform: translateY(-1px);
}

@media (max-width: 1120px) {
    body.ladha-brand-refresh .header .nav-menu li a {
        padding: 0.46rem 0.66rem;
        font-size: 0.84rem;
    }

    body.ladha-brand-refresh .header .btn-donation {
        padding: 0.5rem 0.8rem !important;
        font-size: 0.82rem !important;
    }
}

@media (max-width: 992px) {
    body.ladha-brand-refresh .header .navbar .container {
        min-height: 70px;
    }

    body.ladha-brand-refresh .header .nav-menu.active {
        background: #ffffff;
        border: 1px solid rgba(12, 38, 74, 0.12);
        border-radius: 14px;
        padding: 0.7rem;
        box-shadow: 0 8px 24px rgba(6, 21, 42, 0.12);
    }

    body.ladha-brand-refresh .header .nav-menu.active li a,
    body.ladha-brand-refresh .header .nav-menu.active .btn-donation {
        width: 100%;
        justify-content: center;
    }
}

/*
   Hero final mode: decorative layers restored, no square artifact.
*/
body.page-home .hero {
    position: relative;
    overflow: hidden;
    border: 0 !important;
    box-shadow: none !important;
    background:
        radial-gradient(80% 70% at 8% 0%, rgba(112, 178, 238, 0.22), rgba(112, 178, 238, 0) 62%),
        radial-gradient(68% 62% at 92% 16%, rgba(248, 173, 132, 0.17), rgba(248, 173, 132, 0) 66%),
        linear-gradient(165deg, #0a2748 0%, #123e73 54%, #1a447b 100%) !important;
}

body.page-home .hero::before {
    content: '' !important;
    display: block !important;
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(5, 16, 34, 0.12), rgba(5, 16, 34, 0.28));
}

body.page-home .hero::after {
    content: '' !important;
    display: block !important;
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(44% 36% at 88% 20%, rgba(255, 153, 122, 0.08), rgba(255, 153, 122, 0)),
        radial-gradient(52% 42% at 14% 84%, rgba(132, 198, 255, 0.11), rgba(132, 198, 255, 0));
}

body.page-home .hero-slider {
    position: relative;
    z-index: 2;
    height: clamp(700px, 84svh, 900px);
}

body.page-home .hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem) clamp(4.2rem, 8vw, 5.8rem) !important;
    background: transparent !important;
    background-image: none !important;
}

body.page-home .hero-slide::before,
body.page-home .hero-slide::after,
body.page-home .hero-overlay {
    display: none !important;
    content: none !important;
}

body.page-home .particle-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block !important;
    pointer-events: none;
    opacity: 0.22;
}

body.page-home .hero-parallax-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block !important;
    pointer-events: none;
}

body.page-home .hero-parallax-layer[data-speed="0.3"] {
    background: radial-gradient(52% 44% at 14% 70%, rgba(124, 194, 255, 0.12), rgba(124, 194, 255, 0));
}

body.page-home .hero-parallax-layer[data-speed="0.5"] {
    background: radial-gradient(48% 38% at 84% 24%, rgba(246, 170, 122, 0.1), rgba(246, 170, 122, 0));
}

body.page-home .hero-content {
    position: relative;
    z-index: 3;
    display: grid !important;
    place-items: center;
    align-content: center;
    width: min(1020px, calc(100% - 0.8rem));
    min-height: clamp(300px, 44svh, 420px);
    text-align: center;
    margin: 0 auto;
    opacity: 1 !important;
    transform: none !important;
}

body.page-home .hero-slide.slide-project .hero-content,
body.page-home .hero-slide.slide-join .hero-content {
    width: min(980px, calc(100% - 0.8rem));
}

body.page-home .hero-slide.slide-project .hero-title,
body.page-home .hero-slide.slide-join .hero-title {
    max-width: 18ch;
    margin: 0 auto 1rem;
}

body.page-home .hero-slide.slide-project .hero-subtitle,
body.page-home .hero-slide.slide-join .hero-subtitle {
    max-width: 58ch;
    margin: 0 auto;
}

body.page-home .hero-slide.slide-project .hero-buttons,
body.page-home .hero-slide.slide-join .hero-buttons {
    margin-top: 1.45rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

body.page-home .hero .hero-kicker,
body.page-home .hero .hero-title,
body.page-home .hero .hero-subtitle,
body.page-home .hero .hero-buttons,
body.page-home .hero .hero-buttons .btn,
body.page-home .hero .hero-buttons .btn span {
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

body.page-home .hero .hero-title,
body.page-home .hero .hero-subtitle {
    text-shadow: none !important;
}

body.page-home .hero .hero-kicker::selection,
body.page-home .hero .hero-title::selection,
body.page-home .hero .hero-subtitle::selection,
body.page-home .hero .hero-buttons .btn::selection,
body.page-home .hero .hero-buttons .btn *::selection {
    background: transparent;
    color: inherit;
}

body.page-home .hero .hero-kicker::-moz-selection,
body.page-home .hero .hero-title::-moz-selection,
body.page-home .hero .hero-subtitle::-moz-selection,
body.page-home .hero .hero-buttons .btn::-moz-selection,
body.page-home .hero .hero-buttons .btn *::-moz-selection {
    background: transparent;
    color: inherit;
}

body.page-home .slide-indicators {
    display: flex !important;
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    z-index: 4;
    padding: 0.34rem 0.44rem;
    gap: 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(187, 223, 255, 0.34);
    background: rgba(6, 20, 40, 0.42);
}

body.page-home .slide-indicator {
    width: 9px;
    height: 9px;
    border-radius: 999px;
}

body.page-home .slide-indicator.active {
    width: 24px;
    height: 9px;
}

body.page-home .slider-nav {
    display: none !important;
}

@media (max-width: 760px) {
    body.page-home .hero-slider {
        height: clamp(560px, 76svh, 680px);
    }

    body.page-home .hero-slide {
        padding: 1.2rem 0.95rem 4.6rem !important;
    }

    body.page-home .hero-content {
        width: min(100%, calc(100% - 1rem));
        min-height: auto;
    }

    body.page-home .hero-slide.slide-project .hero-title,
    body.page-home .hero-slide.slide-join .hero-title,
    body.page-home .hero-slide.slide-project .hero-subtitle,
    body.page-home .hero-slide.slide-join .hero-subtitle {
        max-width: 100%;
        min-height: 0;
    }
}

/* Final lock: strict centering for the last two slides */
body.page-home .hero-slider .hero-slide.slide-project,
body.page-home .hero-slider .hero-slide.slide-join {
    align-items: center !important;
    justify-content: center !important;
}

body.page-home .hero-slider .hero-slide.slide-project .hero-content,
body.page-home .hero-slider .hero-slide.slide-join .hero-content {
    width: min(920px, calc(100% - 1rem)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    justify-items: center !important;
    align-content: center !important;
}

body.page-home .hero-slider .hero-slide.slide-project .hero-kicker,
body.page-home .hero-slider .hero-slide.slide-join .hero-kicker,
body.page-home .hero-slider .hero-slide.slide-project .hero-title,
body.page-home .hero-slider .hero-slide.slide-join .hero-title,
body.page-home .hero-slider .hero-slide.slide-project .hero-subtitle,
body.page-home .hero-slider .hero-slide.slide-join .hero-subtitle {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

body.page-home .hero-slider .hero-slide.slide-project .hero-title,
body.page-home .hero-slider .hero-slide.slide-join .hero-title {
    max-width: 17.5ch !important;
}

body.page-home .hero-slider .hero-slide.slide-project .hero-subtitle,
body.page-home .hero-slider .hero-slide.slide-join .hero-subtitle {
    max-width: 56ch !important;
}

body.page-home .hero-slider .hero-slide.slide-project .hero-buttons,
body.page-home .hero-slider .hero-slide.slide-join .hero-buttons {
    width: 100%;
    margin-top: 1.4rem !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

body.page-home .hero-slider .hero-slide.slide-project .hero-buttons .btn,
body.page-home .hero-slider .hero-slide.slide-join .hero-buttons .btn {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Final fix: neutralize generic section h2 effects in hero and force center on last two slides */
body.page-home .hero h2.hero-title {
    display: block !important;
    position: static !important;
    left: auto !important;
    transform: none !important;
    background: none !important;
    -webkit-background-clip: border-box !important;
    -webkit-text-fill-color: #f7fbff !important;
    background-clip: border-box !important;
}

body.page-home .hero h2.hero-title::after {
    content: none !important;
    display: none !important;
}

body.page-home .hero-slider .hero-slide.slide-project .hero-content,
body.page-home .hero-slider .hero-slide.slide-join .hero-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.32rem;
}

body.page-home .hero-slider .hero-slide.slide-project .hero-title,
body.page-home .hero-slider .hero-slide.slide-join .hero-title {
    position: static !important;
    left: auto !important;
    transform: none !important;
    max-width: 17.2ch !important;
    margin: 0 auto 1rem !important;
    text-align: center !important;
    text-shadow: none !important;
}

body.page-home .hero-slider .hero-slide.slide-project .hero-subtitle,
body.page-home .hero-slider .hero-slide.slide-join .hero-subtitle {
    position: static !important;
    left: auto !important;
    transform: none !important;
    max-width: 56ch !important;
    margin: 0 auto !important;
    text-align: center !important;
}

body.page-home .hero-slider .hero-slide.slide-project .hero-buttons,
body.page-home .hero-slider .hero-slide.slide-join .hero-buttons {
    margin-top: 1.38rem !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Header vertical alignment */
body.ladha-brand-refresh .header .navbar .container,
body.page-home .header .navbar .container {
    height: 82px !important;
    min-height: 82px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    align-items: center !important;
}

body.ladha-brand-refresh .header .logo,
body.page-home .header .logo {
    display: flex;
    align-items: center;
}

body.ladha-brand-refresh .header .logo img,
body.page-home .header .logo img {
    height: 56px;
    width: auto;
}

body.ladha-brand-refresh .header .nav-menu,
body.page-home .header .nav-menu {
    align-items: center;
    margin: 0;
}

body.ladha-brand-refresh .header .nav-menu li,
body.page-home .header .nav-menu li {
    display: flex;
    align-items: center;
}

body.ladha-brand-refresh .header .nav-menu li a,
body.page-home .header .nav-menu li a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

/* Donation button visibility: yellow/blue base, red/white on hover */
body.ladha-brand-refresh .header .btn-donation,
body.page-home .header .btn-donation {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffe18a 0%, #f4c66f 58%, #ffde84 100%) !important;
    color: #0d2f5a !important;
    border: 1px solid rgba(13, 47, 90, 0.2) !important;
    box-shadow: 0 10px 22px rgba(9, 31, 69, 0.16) !important;
}

body.ladha-brand-refresh .header .btn-donation::after,
body.page-home .header .btn-donation::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
    opacity: 0.75;
    pointer-events: none;
}

body.ladha-brand-refresh .header .btn-donation:hover,
body.ladha-brand-refresh .header .btn-donation:focus-visible,
body.page-home .header .btn-donation:hover,
body.page-home .header .btn-donation:focus-visible {
    background: linear-gradient(135deg, #d81d3f 0%, #ff2e58 100%) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.24) !important;
    box-shadow: 0 12px 26px rgba(216, 29, 63, 0.32) !important;
}

@media (max-width: 992px) {
    body.ladha-brand-refresh .header .navbar .container,
    body.page-home .header .navbar .container {
        height: 72px !important;
        min-height: 72px !important;
    }

    body.ladha-brand-refresh .header .logo img,
    body.page-home .header .logo img {
        height: 50px;
    }
}

/*
   Hero final polish.
   - first slide more classic
   - premium CTA
   - reduced hero vertical spacing
   - classic left/right navigation
   - donation button dark-red overlay on hover
*/
body.page-home .hero-slider {
    height: clamp(540px, 69svh, 740px) !important;
}

body.page-home .hero-slide {
    padding: clamp(1.1rem, 3vw, 2.2rem) clamp(1rem, 3.2vw, 2.3rem) clamp(3.2rem, 5.2vw, 4.5rem) !important;
}

body.page-home .hero-content {
    min-height: clamp(250px, 36svh, 360px) !important;
}

body.page-home .hero-slide.slide-main .hero-title {
    max-width: 18ch !important;
    font-size: clamp(2rem, 5.2vw, 4rem) !important;
    line-height: 1.14 !important;
    letter-spacing: -0.014em !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}

body.page-home .hero-slide.slide-main .hero-subtitle {
    max-width: 62ch !important;
    font-size: clamp(1rem, 1.35vw, 1.18rem) !important;
    line-height: 1.62 !important;
    color: #e8f2ff !important;
    text-shadow: none !important;
}

body.page-home .hero-buttons,
body.page-home .hero-card-actions {
    margin-top: 1.2rem !important;
    gap: 0.7rem !important;
}

body.page-home .hero-buttons .btn,
body.page-home .hero-card-actions .btn {
    min-height: 46px;
    padding: 0.7rem 1.2rem;
    font-size: 0.93rem;
    font-weight: 700;
    border-radius: 999px;
}

body.page-home .hero-buttons .btn-primary,
body.page-home .hero-card-actions .btn-primary {
    color: #071f3e !important;
    background: linear-gradient(135deg, #ffeaa2 0%, #f4c66f 58%, #ffd97d 100%) !important;
    border: 1px solid rgba(7, 31, 62, 0.2) !important;
    box-shadow: 0 8px 20px rgba(4, 25, 54, 0.2) !important;
}

body.page-home .hero-buttons .btn-primary:hover,
body.page-home .hero-card-actions .btn-primary:hover {
    transform: translateY(-2px);
    filter: saturate(1.06);
}

body.page-home .hero-buttons .btn-secondary,
body.page-home .hero-card-actions .btn-secondary {
    color: #ffffff !important;
    background: rgba(13, 45, 84, 0.48) !important;
    border: 1px solid rgba(214, 233, 255, 0.45) !important;
}

body.page-home .hero .slider-nav {
    display: flex !important;
    position: absolute;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(13, 45, 84, 0.24);
    background: rgba(255, 255, 255, 0.92);
    color: #103768;
    box-shadow: 0 8px 18px rgba(7, 28, 60, 0.2);
    z-index: 8;
}

body.page-home .hero .slider-nav:hover,
body.page-home .hero .slider-nav:focus-visible {
    background: #ffffff;
    color: #0a3c73;
    transform: translateY(-50%) scale(1.04) !important;
}

body.page-home .hero .prev-slide {
    left: 1rem !important;
    right: auto !important;
}

body.page-home .hero .next-slide {
    right: 1rem !important;
    left: auto !important;
}

body.ladha-brand-refresh .header .navbar .container,
body.page-home .header .navbar .container {
    height: 78px !important;
    min-height: 78px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    align-items: center !important;
}

body.ladha-brand-refresh .header .logo img,
body.page-home .header .logo img {
    height: 54px !important;
    width: auto;
}

body.ladha-brand-refresh .header .nav-menu li a,
body.page-home .header .nav-menu li a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
}

body.ladha-brand-refresh .header .btn-donation,
body.page-home .header .btn-donation {
    background-image: linear-gradient(135deg, #ffe18a 0%, #f4c66f 58%, #ffdd87 100%) !important;
    color: #0d2f5a !important;
    border: 1px solid rgba(13, 47, 90, 0.2) !important;
}

body.ladha-brand-refresh .header .btn-donation:hover,
body.ladha-brand-refresh .header .btn-donation:focus-visible,
body.page-home .header .btn-donation:hover,
body.page-home .header .btn-donation:focus-visible {
    background-image:
        linear-gradient(rgba(133, 16, 39, 0.9), rgba(133, 16, 39, 0.9)),
        linear-gradient(135deg, #ffe18a 0%, #f4c66f 58%, #ffdd87 100%) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
}

@media (max-width: 992px) {
    body.page-home .hero .slider-nav {
        width: 40px;
        height: 40px;
    }

    body.page-home .hero-slider {
        height: clamp(520px, 67svh, 680px) !important;
    }

    body.ladha-brand-refresh .header .navbar .container,
    body.page-home .header .navbar .container {
        height: 72px !important;
        min-height: 72px !important;
    }

    body.ladha-brand-refresh .header .logo img,
    body.page-home .header .logo img {
        height: 48px !important;
    }
}

@media (max-width: 760px) {
    body.page-home .hero-slide {
        padding: 1rem 0.9rem 4rem !important;
    }

    body.page-home .hero .prev-slide {
        left: 0.6rem !important;
    }

    body.page-home .hero .next-slide {
        right: 0.6rem !important;
    }
}
