/* --- GLOBAL STYLES & RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-teal: #172f4f;
    --dark-teal: #0f1f35;
    --light-bg: #f9fbfb;
    --text-color: #333333;
    --white: #ffffff;
    --footer-dark: #141414;
    --border-color: rgba(23, 47, 79, 0.15);
}

body {
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 45px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.text-center {
    text-align: center;
}

.shadow {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.rounded-img {
    border-radius: 12px;
    width: 100%;
    height: auto;
    display: block;
}

/* --- GRID SYSTEM --- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    align-items: center;
}

/* --- HEADINGS & LABELS --- */
.section-title-badge {
    background: linear-gradient(135deg, rgba(23, 47, 79, 0.08) 0%, rgba(23, 47, 79, 0.02) 100%);
    color: var(--primary-teal);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 25px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 30px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid rgba(23, 47, 79, 0.1);
    box-shadow: 0 4px 15px rgba(23, 47, 79, 0.05);
}

.section-title-badge::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--primary-teal);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(23, 47, 79, 0.2);
}

.section-main-title {
    color: var(--dark-teal);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 50px;
    position: relative;
    line-height: 1.2;
}

.section-main-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: var(--primary-teal);
    border-radius: 4px;
}

.section-sub-title {
    color: var(--primary-teal);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: inline-block;
    background: rgba(23, 47, 79, 0.05);
    padding: 6px 20px;
    border-radius: 30px;
    border: 1px solid rgba(23, 47, 79, 0.1);
}

/* --- TOP BAR --- */
.top-bar {
    background: linear-gradient(90deg, var(--dark-teal) 0%, var(--primary-teal) 100%);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-email {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
}

.top-socials a {
    color: var(--white);
    margin-left: 15px;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.top-socials a:hover {
    opacity: 0.8;
}

/* --- HEADER --- */
.main-header {
    background-color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 45px;
    width: auto;
    max-width: 160px;
    display: block;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.5rem;
    color: var(--primary-teal);
    line-height: 1.1;
}

.logo-text p {
    font-size: 0.75rem;
    color: #666;
    font-weight: 600;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-right: auto;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-teal);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-teal);
}

/* --- DROPDOWN MENUS --- */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    visibility: hidden;
    opacity: 0;
    transform: translateY(15px);
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    border-top: 3px solid var(--primary-teal);
    padding: 10px 0;
    z-index: 1001;
    /* Keeps it above the hero slider */
    transition: all 0.3s ease;
}

.nav-dropdown:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu a {
    color: var(--text-color);
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    font-size: 0.9rem;
    transition: background-color 0.3s, color 0.3s;
}

.dropdown-menu a:hover {
    background-color: var(--light-bg);
    color: var(--primary-teal);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-btn {
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    color: var(--primary-teal);
    font-size: 1.1rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background-color: var(--primary-teal);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.menu-btn {
    background: none;
    border: none;
    font-weight: 700;
    color: var(--text-color);
    cursor: pointer;
    display: none;
    align-items: center;
    gap: 5px;
    font-size: 1.5rem;
}

.mobile-menu-close {
    display: none;
}

.contact-btn {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--dark-teal) 100%);
    color: var(--white);
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 18px rgba(23, 47, 79, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contact-btn i {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(23, 47, 79, 0.3);
}

.contact-btn:hover i {
    transform: rotate(-15deg) scale(1.1);
}

.desktop-only-btn {
    display: inline-flex; /* Default state for desktop */
}

/* --- HERO SLIDER (MODERNIZED) --- */
.hero-slider {
    position: relative;
    height: 80vh;
    background-color: #000;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 1;
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 8s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide.active img {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 31, 53, 0.8) 0%, rgba(23, 47, 79, 0.5) 50%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    z-index: 3;
    color: var(--white);
    max-width: 650px;
    padding-right: 20px;
}

.slide-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #172f4f;
    /* gold highlight -> updated to teal */
    margin-bottom: 18px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    /* light background for teal text readability */
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(23, 47, 79, 0.18);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide.active .slide-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.slide-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -1px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide.active .slide-content h2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.slide-content p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide.active .slide-content p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.slide-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide.active .slide-actions {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.slide-btn {
    padding: 13px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-btn-primary {
    background: #172f4f;
    color: var(--white);
    box-shadow: 0 6px 15px rgba(23, 47, 79, 0.2);
}

.slide-btn-primary:hover {
    transform: translateY(-3px);
    background: var(--dark-teal);
    box-shadow: 0 10px 22px rgba(23, 47, 79, 0.3);
}

.slide-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.slide-btn-secondary:hover {
    background: var(--white);
    color: var(--primary-teal);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(255, 255, 255, 0.12);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.slider-arrow:hover {
    background: var(--white);
    color: var(--primary-teal);
    border-color: var(--white);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.prev-arrow {
    left: 30px;
}

.next-arrow {
    right: 30px;
}

/* Dots Indicators */
.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-dot.active {
    background: #172f4f;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(23, 47, 79, 0.4);
    width: 26px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .hero-slider {
        height: 65vh;
        min-height: 440px;
    }

    .slide-content {
        left: 6%;
        right: 6%;
        width: 88%;
        max-width: 100%;
        text-align: center;
        padding-right: 0;
        top: 48%;
    }

    .slide-content h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .slide-content p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .slide-actions {
        justify-content: center;
    }

    .slider-arrow {
        display: none !important;
    }
}

.watermark-logo {
    position: absolute;
    top: 30px;
    right: 5%;
    opacity: 0.6;
    z-index: 5;
}

/* --- WHO WE ARE (MODERNIZED) --- */
.modern-who-we-are {
    padding: 55px 0;
    position: relative;
    background-color: var(--white);
    overflow: hidden;
}

.modern-who-we-are .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 60px;
    align-items: center;
}

.who-we-are-visual {
    position: relative;
}

.image-frame-container {
    position: relative;
    padding: 20px 20px 20px 0;
    z-index: 1;
}

.frame-backdrop {
    position: absolute;
    top: 40px;
    left: -20px;
    right: 40px;
    bottom: 0px;
    border: 3px solid var(--border-color);
    border-radius: 20px;
    z-index: -2;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.frame-dots {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--primary-teal) 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.2;
    z-index: -1;
}

.who-we-are-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    box-shadow: 0 20px 40px rgba(23, 47, 79, 0.08);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-frame-container:hover .who-we-are-img {
    transform: scale(1.02);
}

.image-frame-container:hover .frame-backdrop {
    transform: translate(-5px, -5px);
    border-color: var(--primary-teal);
}

.floating-badge-card {
    position: absolute;
    bottom: 40px;
    right: -10px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(23, 47, 79, 0.1);
    animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.badge-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--dark-teal) 0%, var(--primary-teal) 100%);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-num {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark-teal);
    line-height: 1;
}

.badge-lbl {
    font-size: 0.75rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.who-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--dark-teal);
}

.who-description {
    font-size: 1.02rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 18px;
    text-align: justify;
}

.who-we-are-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(23, 47, 79, 0.05);
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
    border: 1px solid rgba(23, 47, 79, 0.05);
}

.feature-item:hover .feature-icon {
    background: var(--primary-teal);
    color: var(--white);
    transform: scale(1.05);
}

.feature-info h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-teal);
    margin: 0 0 4px 0;
}

.feature-info p {
    font-size: 0.92rem;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

.read-more-btn-modern {
    background: linear-gradient(135deg, var(--dark-teal) 0%, var(--primary-teal) 100%);
    color: var(--white);
    padding: 12px 30px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 18px rgba(23, 47, 79, 0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.read-more-btn-modern i {
    transition: transform 0.3s ease;
}

.read-more-btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(23, 47, 79, 0.25);
}

.read-more-btn-modern:hover i {
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .modern-who-we-are .grid-2 {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .who-we-are-visual {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .who-title {
        font-size: 1.8rem;
    }

    .image-frame-container {
        padding: 15px 15px 15px 0;
    }

    .frame-backdrop {
        top: 30px;
        left: -15px;
        right: 30px;
    }

    .floating-badge-card {
        bottom: 25px;
        right: -5px;
        padding: 10px 14px;
        gap: 10px;
    }

    .badge-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .badge-num {
        font-size: 1.05rem;
    }
}

/* --- WHAT WE DO (PILLARS) --- */
.pillars-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.pillar-card {
    flex: 1;
    min-width: 180px;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pillar-icon {
    font-size: 3rem;
    color: var(--primary-teal);
    margin-bottom: 15px;
}

.pillar-card h3 {
    font-size: 0.95rem;
    color: var(--primary-teal);
    font-weight: 600;
}

/* --- OUR IMPACT (MODERNIZED) --- */
.modern-impact-section {
    position: relative;
    overflow: hidden;
    padding: 55px 0;
    background-color: var(--light-bg);
    z-index: 1;
}

.modern-impact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(23, 47, 79, 0.04) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    z-index: -1;
    opacity: 0.8;
}

.impact-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
}

.glow-1 {
    top: -10%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-teal) 0%, transparent 70%);
}

.glow-2 {
    bottom: -10%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--dark-teal) 0%, transparent 70%);
}

.impact-header {
    margin-bottom: 50px;
}

.impact-header .section-description {
    max-width: 600px;
    margin: 15px auto 0 auto;
    color: #666;
    font-size: 1.05rem;
    line-height: 1.6;
}

.gradient-text {
    background: linear-gradient(135deg, var(--dark-teal) 0%, var(--primary-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.impact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: stretch;
}

/* Left Side: Main Outreach Panel */
.main-panel-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(23, 47, 79, 0.08);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(23, 47, 79, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.main-panel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(23, 47, 79, 0.08);
    border-color: rgba(23, 47, 79, 0.15);
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.panel-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(23, 47, 79, 0.08) 0%, rgba(23, 47, 79, 0.03) 100%);
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border: 1px solid rgba(23, 47, 79, 0.1);
}

.panel-header h4 {
    font-size: 1.25rem;
    color: var(--dark-teal);
    font-weight: 700;
    margin: 0 0 4px 0;
}

.panel-header p {
    font-size: 0.88rem;
    color: #666;
    margin: 0;
}

.panel-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.panel-stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(23, 47, 79, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.panel-stat-item:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(23, 47, 79, 0.12);
    transform: translateX(6px);
    box-shadow: 0 10px 25px rgba(23, 47, 79, 0.04);
}

.panel-stat-item .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(23, 47, 79, 0.05);
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.panel-stat-item:hover .stat-icon {
    background: var(--primary-teal);
    color: var(--white);
    transform: scale(1.05);
}

.panel-stat-item .stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.85rem;
    color: #777;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.panel-footer-visual {
    margin-top: auto;
}

.progress-bar-container {
    height: 6px;
    background: rgba(23, 47, 79, 0.08);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-bar-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--primary-teal) 0%, #3a7bd5 100%);
    border-radius: 10px;
}

.progress-text {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-teal);
    display: block;
    letter-spacing: 0.5px;
}

/* Right Side: Demographic Grid */
.impact-demographics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.demographic-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 35px 25px;
    box-shadow: 0 10px 30px rgba(23, 47, 79, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.demographic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    transition: background 0.4s ease;
}

.item-women::before {
    background: linear-gradient(90deg, #f8a5c2, #eb5757);
}

.item-men::before {
    background: linear-gradient(90deg, #70a1ff, #2d9cdb);
}

.item-girls::before {
    background: linear-gradient(90deg, rgba(23, 47, 79, 0.5), #172f4f);
}

.item-boys::before {
    background: linear-gradient(90deg, #55efc4, #27ae60);
}

.demographic-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 40px rgba(23, 47, 79, 0.1);
    border-color: rgba(23, 47, 79, 0.12);
}

.card-icon-wrapper {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.item-women .card-icon-wrapper {
    background: rgba(235, 87, 87, 0.08);
    color: #eb5757;
}

.item-men .card-icon-wrapper {
    background: rgba(45, 156, 219, 0.08);
    color: #2d9cdb;
}

.item-girls .card-icon-wrapper {
    background: rgba(23, 47, 79, 0.08);
    color: #172f4f;
}

.item-boys .card-icon-wrapper {
    background: rgba(39, 174, 96, 0.08);
    color: #27ae60;
}

.demographic-card:hover .card-icon-wrapper {
    transform: scale(1.1) rotate(8deg);
}

.item-women:hover .card-icon-wrapper {
    background: #eb5757;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(235, 87, 87, 0.3);
}

.item-men:hover .card-icon-wrapper {
    background: #2d9cdb;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(45, 156, 219, 0.3);
}

.item-girls:hover .card-icon-wrapper {
    background: #172f4f;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(23, 47, 79, 0.3);
}

.item-boys:hover .card-icon-wrapper {
    background: #27ae60;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(39, 174, 96, 0.3);
}

.counter-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    color: var(--dark-teal);
}

.counter-wrapper .counter {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin: 0 0 4px 0;
    line-height: 1.1;
}

.counter-wrapper .plus {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-teal);
}

.card-label {
    font-size: 0.82rem;
    color: #777;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
}

@media (max-width: 992px) {
    .impact-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .modern-impact-section {
        padding: 60px 0;
    }
}

/* --- NEWS & BLOGS (MODERNIZED CAROUSEL) --- */
.news-blog {
    position: relative;
    background-color: var(--light-bg);
    padding: 55px 0;
    overflow: hidden;
}

.blog-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 40px;
}

.blog-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
    padding: 20px 10px;
    width: 100%;
    scroll-snap-type: x mandatory;
}

.blog-grid::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome/Safari */
}

.blog-card {
    flex: 0 0 calc((100% - 60px) / 3);
    min-width: 340px;
    scroll-snap-align: start;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(23, 47, 79, 0.02);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(23, 47, 79, 0.05);
    position: relative;
}

@media (max-width: 1100px) {
    .blog-card {
        flex: 0 0 calc((100% - 30px) / 2);
    }
}

@media (max-width: 768px) {
    .blog-card {
        flex: 0 0 100%;
        min-width: 290px;
    }
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(23, 47, 79, 0.09);
    border-color: rgba(23, 47, 79, 0.12);
}

.blog-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 230px;
}

.blog-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-image-wrapper img {
    transform: scale(1.06);
}

.blog-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--primary-teal);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 2;
}

.blog-body {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-body h3 {
    font-size: 1.25rem;
    color: var(--dark-teal);
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 700;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-body h3 {
    color: var(--primary-teal);
}

.blog-body p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.btn-outline-sm {
    border: 2px solid var(--primary-teal);
    background: transparent;
    padding: 10px 24px;
    text-decoration: none;
    color: var(--primary-teal);
    font-size: 0.85rem;
    font-weight: 700;
    align-self: flex-start;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.btn-outline-sm i {
    transition: transform 0.3s ease;
}

.btn-outline-sm:hover {
    background-color: var(--primary-teal);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(23, 47, 79, 0.15);
}

.btn-outline-sm:hover i {
    transform: translateX(4px);
}

/* Premium Anniversary Layout */
.anniversary-card {
    background: linear-gradient(135deg, var(--dark-teal) 0%, var(--primary-teal) 100%);
    color: var(--white);
    padding: 40px 30px;
    justify-content: space-between;
    border: none;
    box-shadow: 0 15px 40px rgba(12, 27, 48, 0.2);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.anniversary-card::after {
    content: '\f10d';
    /* Quote icon in background */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: -10px;
    right: 20px;
    font-size: 7.5rem;
    opacity: 0.06;
    color: var(--white);
    pointer-events: none;
}

.anniversary-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.anniversary-badge .big-num {
    font-size: 4.5rem;
    font-weight: 800;
    color: #172f4f;
    /* gold -> updated to teal */
    line-height: 1;
    text-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 4px 10px rgba(0, 0, 0, 0.15);
}

.anniversary-badge .badge-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.anniversary-badge .badge-text small {
    font-size: 0.75rem;
    opacity: 0.8;
    letter-spacing: 1.5px;
    display: block;
}

.director-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.director-img {
    width: 62px !important;
    height: 62px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #172f4f;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    margin-bottom: 0 !important;
}

.director-profile h4 {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 700;
    margin: 0 0 2px 0;
}

.director-profile .title {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-weight: 500;
}

.anniversary-card blockquote {
    font-style: italic;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-left: 20px;
    border-left: 3px solid #172f4f;
    line-height: 1.6;
    margin: 0;
}

.blog-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid rgba(23, 47, 79, 0.08);
    color: var(--primary-teal);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    box-shadow: 0 4px 15px rgba(23, 47, 79, 0.08);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-arrow:hover {
    background: var(--primary-teal);
    color: var(--white);
    border-color: var(--primary-teal);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(23, 47, 79, 0.18);
}

.left-arrow {
    left: -24px;
}

.right-arrow {
    right: -24px;
}

@media (max-width: 1200px) {
    .left-arrow {
        left: -10px;
    }

    .right-arrow {
        right: -10px;
    }
}

@media (max-width: 768px) {
    .blog-arrow {
        display: none !important;
    }
}

/* --- MAIN FOOTER (MODERNIZED & STYLED) --- */
.main-footer {
    background: linear-gradient(135deg, var(--dark-teal) 0%, #060e18 100%);
    color: var(--white);
    padding-top: 75px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.main-footer::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 159, 67, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.main-footer::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 156, 219, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr;
    gap: 55px;
    padding-bottom: 60px;
    position: relative;
    z-index: 1;
}

/* Brand Column */
.footer-brand-col {
    display: flex;
    flex-direction: column;
}

.footer-brand-col .footer-logo {
    max-width: 140px;
    margin-bottom: 22px;
}

.footer-brand-col .footer-logo-img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
    display: block;
}

.footer-brand-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: justify;
}

.footer-social-row {
    display: flex;
    gap: 12px;
}

.footer-social-row a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.footer-social-row a:hover {
    background: var(--white);
    color: var(--dark-teal);
    border-color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

/* Quick Links Column */
.footer-links-col h3,
.footer-contact-col h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 25px 0;
    position: relative;
    letter-spacing: 0.8px;
}

.footer-links-col h3::after,
.footer-contact-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 35px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
}

.footer-links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-col ul li {
    margin-bottom: 12px;
}

.footer-links-col ul li a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.footer-links-col ul li a i {
    font-size: 0.7rem;
    opacity: 0.4;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-links-col ul li a:hover {
    color: var(--white);
}

.footer-links-col ul li a:hover i {
    transform: translateX(4px);
    opacity: 1;
    color: #ffffff;
}

/* Contact Column */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.footer-contact-item i {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.footer-contact-item:hover i {
    background: #ffffff;
    color: var(--white);
    border-color: #ffffff;
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 5px 15px rgba(255, 159, 67, 0.25);
}

.footer-contact-info h4 {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 4px 0;
}

.footer-contact-info p,
.footer-contact-info a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.footer-contact-info a:hover {
    color: #ffffff;
}

/* LOWER BOTTOM BAR */
.footer-bottom {
    background-color: #040910;
    padding: 24px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    flex: 1;
    min-width: 280px;
}

.copyright span {
    color: var(--white);
    font-weight: 600;
}

.dev-link {
    color: var(--white);
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.dev-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--white);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.dev-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.dev-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
    background: rgba(255, 255, 255, 0.8);
}

.privacy-note {
    font-style: normal;
    color: rgba(255, 255, 255, 0.4);
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .hero-slider {
        height: 50vh;
    }

    .blog-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .header-content {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .header-actions {
        gap: 10px;
    }

    .menu-btn {
        display: flex;
    }

    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-right: 0;
        padding-top: 15px;
        border-top: 1px solid var(--border-color);
    }

    .main-nav.show-menu {
        display: flex;
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--primary-teal);
        padding: 5px 0 5px 15px;
        visibility: visible;
        opacity: 1;
        transform: none;
        display: none;
        min-width: 100%;
        margin-top: 10px;
    }

    .dropdown-menu.show-dropdown {
        display: block !important;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 8px 0;
    }

    .contact-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

/* --- MOBILE ENHANCEMENTS FOR SMALL SCREENS --- */
@media (max-width: 480px) {
    .container {
        width: 95%;
    }

    .section {
        padding: 30px 0;
    }

    /* Headings / typography adjustments */
    .section-main-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .section-sub-title {
        font-size: 0.8rem;
    }

    /* Top bar - keep it compact */
    .top-bar {
        padding: 6px 0;
    }

    .top-bar .top-email {
        display: none;
    }

    .desktop-only-btn {
        display: none !important;
    }


    /* hide email to save space */
    .top-socials a {
        margin-left: 10px;
        font-size: 1rem;
    }

    /* Header / logo */
    .logo-img {
        width: 80px;
        height: auto;
    }

    /* Touch targets: make buttons slightly larger and circular */
    .search-btn,
    .menu-btn,
    .cart-btn {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .menu-btn {
        font-size: 1.5rem;
    }

    /* Mobile nav adjustments */
    .main-nav {
        width: 90%;
        max-width: 320px;
        right: -100%;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav .nav-link {
        padding: 18px 16px;
        font-size: 1rem;
    }

    .dropdown-menu {
        padding-left: 20px;
    }

    .dropdown-menu.show-dropdown a {
        padding: 10px 0;
    }

    /* Make donate/contact button prominent in menu */
    .main-nav .contact-btn,
    .contact-btn {
        display: block;
        width: calc(100% - 40px);
        margin: 10px 20px;
        padding: 12px;
        border-radius: 10px;
        text-align: center;
    }

    /* Hero slider smaller height for small screens */
    .hero-slider {
        height: 70vh;
        min-height: 480px;
    }

    .slide-content {
        left: 5%;
        right: 5%;
        width: 90%;
        max-width: 100%;
        text-align: center;
        padding-right: 0;
        top: 48%;
    }

    .slide-subtitle {
        font-size: 0.75rem;
        margin-bottom: 12px;
        padding: 4px 12px;
    }

    .slide-content h2 {
        font-size: 1.7rem;
        max-width: 100%;
        margin-bottom: 12px;
        line-height: 1.25;
    }

    .slide-content p {
        font-size: 0.85rem;
        margin-bottom: 22px;
        line-height: 1.5;
    }

    .slide-actions {
        justify-content: center;
        gap: 10px;
    }

    .slide-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    /* Search box font size */
    .search-box input {
        font-size: 1.4rem;
    }

    /* Blog cards stack and image height reduced */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-card img {
        height: 180px;
    }

    /* Modern Impact Section Small Screen Adjustments */
    .impact-demographics-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .demographic-card {
        padding: 20px 12px !important;
    }

    .counter-wrapper .counter {
        font-size: 1.8rem !important;
    }

    .counter-wrapper .plus {
        font-size: 1.2rem !important;
    }

    .card-icon-wrapper {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.3rem !important;
        margin-bottom: 12px !important;
    }

    .main-panel-card {
        padding: 25px 20px !important;
    }

    .panel-header {
        margin-bottom: 20px !important;
    }

    .panel-stats {
        gap: 15px !important;
        margin-bottom: 20px !important;
    }

    .panel-stat-item {
        padding: 15px !important;
    }

    /* SDG wrapper minor padding to fit small screens */
    .sdg-wrapper {
        max-width: 100%;
        padding: 8px;
    }

    /* Buttons and CTAs slightly smaller but tappable */
    .btn-outline-sm,
    .btn-primary,
    .btn-primary-sm {
        padding: 10px 18px;
        font-size: 0.95rem;
    }

    /* Footer: stack content and center */
    .footer-bottom-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Improve visibility of mobile close button for menu */
    .mobile-menu-close {
        display: flex !important;
    }

    /* Make interactive elements have clearer active feedback */
    .nav-link:active,
    .btn-text:active,
    .btn-outline-sm:active {
        transform: translateY(1px);
        opacity: 0.95;
    }

    /* Reduce large paddings on complex components */
    .contact-wrapper,
    .history-wrapper,
    .partner-content-wrapper,
    .partner-text {
        padding: 20px;
    }
}

/* --- SDG SECTION --- */
.sdg-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(23, 47, 79, 0.1);
}

.sdg-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.sdg-wrapper:hover img {
    transform: scale(1.02);
}

/* --- SEARCH OVERLAY --- */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 31, 53, 0.95);
    /* Dark teal with opacity */
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.search-overlay.active {
    visibility: visible;
    opacity: 1;
}

.search-box {
    position: relative;
    width: 90%;
    max-width: 600px;
    transform: translateY(-50px);
    transition: transform 0.4s ease;
}

.search-overlay.active .search-box {
    transform: translateY(0);
}

.search-box form {
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--white);
    padding-bottom: 10px;
}

.search-box input {
    width: 100%;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    outline: none;
    font-weight: 300;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.submit-search {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.submit-search:hover {
    color: var(--primary-teal);
}

.close-search {
    position: absolute;
    top: -60px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-search:hover {
    transform: rotate(90deg);
}

/* --- OUR TEAM SECTION --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(23, 47, 79, 0.05);
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(23, 47, 79, 0.12);
}

.team-img {
    position: relative;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img img {
    transform: scale(1.08);
}

.team-social {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px 10px;
    background: linear-gradient(to top, rgba(15, 31, 53, 0.95), transparent);
    transition: bottom 0.4s ease;
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-social a {
    width: 36px;
    height: 36px;
    background: var(--white);
    color: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--primary-teal);
    color: var(--white);
    transform: translateY(-3px);
}

.team-info {
    padding: 25px 15px;
}

.team-info h4 {
    font-size: 1.25rem;
    color: var(--dark-teal);
    margin-bottom: 5px;
    font-weight: 700;
}

.team-info>p {
    font-size: 0.85rem;
    color: var(--primary-teal);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-read-bio {
    background: none;
    border: none;
    color: var(--dark-teal);
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
    padding: 0;
}

.btn-read-bio:hover {
    color: var(--primary-teal);
}

.btn-read-bio i {
    transition: transform 0.3s ease;
}

.btn-read-bio.active i {
    transform: rotate(180deg);
}

.team-bio {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s ease, opacity 0.5s ease, margin-top 0.3s ease, padding-top 0.3s ease;
    opacity: 0;
    text-align: left;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
}

.team-bio.show {
    max-height: 1500px;
    opacity: 1;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed rgba(23, 47, 79, 0.1);
}

/* --- PAGE HEADER --- */
.page-header {
    background: linear-gradient(135deg, var(--dark-teal) 0%, var(--primary-teal) 100%);
    padding: 80px 0;
    color: var(--white);
    margin-bottom: 0;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* --- CONTACT FORM SECTION --- */
.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(23, 47, 79, 0.08);
    border: 1px solid rgba(23, 47, 79, 0.05);
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
}

.contact-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    text-align: left;
}

.contact-form label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-teal);
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(23, 47, 79, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--light-bg);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(23, 47, 79, 0.1);
}

.btn-primary {
    background-color: var(--primary-teal);
    color: var(--white);
    border: none;
    padding: 15px 35px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(23, 47, 79, 0.2);
}

.btn-primary:hover {
    background-color: var(--dark-teal);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(23, 47, 79, 0.3);
}

@media (max-width: 768px) {
    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-wrapper {
        padding: 30px 20px;
    }
}

/* --- HISTORY SECTION --- */
.history-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(23, 47, 79, 0.05);
    border: 1px solid rgba(23, 47, 79, 0.05);
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.history-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--light-bg);
    padding: 25px 30px;
    border-radius: 12px;
    transition: all 0.4s ease;
    border-left: 4px solid var(--primary-teal);
}

.history-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(23, 47, 79, 0.08);
    background: var(--white);
}

.history-icon {
    background: linear-gradient(135deg, var(--dark-teal) 0%, var(--primary-teal) 100%);
    color: var(--white);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.history-content p {
    margin: 0;
    font-size: 1.05rem;
    color: #444;
    line-height: 1.7;
    font-weight: 500;
}

@media (max-width: 768px) {
    .history-wrapper {
        padding: 30px 20px;
    }

    .history-item {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
}

/* --- STORY SECTION --- */
.story-content {
    padding: 0 15px;
}

.story-content p {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

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

/* --- VISION & MISSION SECTION --- */
.vision-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(23, 47, 79, 0.05);
    border-top: 4px solid var(--primary-teal);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(23, 47, 79, 0.12);
}

.vision-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(23, 47, 79, 0.1) 0%, rgba(23, 47, 79, 0.02) 100%);
    color: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
}

.vision-card h3 {
    font-size: 1.6rem;
    color: var(--dark-teal);
    margin-bottom: 15px;
    font-weight: 800;
}

.vision-card .highlight-text {
    font-size: 1.1rem;
    color: var(--primary-teal);
    margin-bottom: 15px;
    font-style: italic;
    border-left: 3px solid var(--primary-teal);
    padding-left: 15px;
}

.vision-card p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
    flex-grow: 1;
}

/* --- VALUES SECTION --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(23, 47, 79, 0.04);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(23, 47, 79, 0.04);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(23, 47, 79, 0.1);
    border-color: rgba(23, 47, 79, 0.15);
}

.value-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px auto;
    background: var(--light-bg);
    color: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: all 0.4s ease;
}

.value-card:hover .value-icon {
    background: var(--primary-teal);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.value-card h4 {
    font-size: 1.25rem;
    color: var(--dark-teal);
    margin-bottom: 12px;
    font-weight: 700;
}

.value-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* --- PARTNERS SECTION --- */
.partner-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(23, 47, 79, 0.05);
    border: 1px solid rgba(23, 47, 79, 0.05);
}

.partner-text p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.partner-text p strong {
    color: var(--primary-teal);
    font-size: 1.15rem;
}

.partner-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .partner-content-wrapper {
        padding: 30px 20px;
    }
}

/* --- MOBILE MENU OVERLAY (NATIVE APP STYLE) --- */
.menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 31, 53, 0.7);
    /* تاریککردنی پشتەوە */
    backdrop-filter: blur(5px);
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-header,
.mobile-nav-footer {
    display: none;
}

@media (max-width: 768px) {
    .main-nav {
        display: flex !important;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--white);
        z-index: 2000;
        flex-direction: column;
        align-items: flex-start !important;
        justify-content: flex-start;
        padding: 40px 20px 30px !important;
        /* Adjusted top padding to make room for brand header */
        margin: 0;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        border-top: none !important;
        overflow-y: auto;
    }

    .main-nav.active {
        right: 0;
    }

    /* Mobile Brand Header */
    .mobile-nav-header {
        display: flex;
        align-items: center;
        gap: 15px;
        border-bottom: 2px solid rgba(23, 47, 79, 0.06);
        padding-bottom: 20px;
        margin-bottom: 20px;
        width: 100%;
        flex-shrink: 0;
    }

    .mobile-nav-logo {
        width: 55px;
        height: auto;
        object-fit: contain;
    }

    .mobile-nav-brand h4 {
        font-size: 1.15rem;
        font-weight: 800;
        color: var(--dark-teal);
        margin: 0;
        line-height: 1.2;
    }

    .mobile-nav-brand p {
        font-size: 0.75rem;
        color: #777;
        margin: 2px 0 0 0;
        font-weight: 600;
    }

    .main-nav .nav-link {
        width: 100%;
        padding: 15px 10px;
        font-size: 1.05rem;
        border-bottom: 1px solid rgba(23, 47, 79, 0.06);
        display: block;
        transition: padding-left 0.3s ease, background-color 0.3s ease, color 0.3s ease;
        position: relative;
    }

    .main-nav .nav-link i {
        float: right;
        font-size: 0.8rem;
        margin-top: 5px;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .main-nav .nav-link.active {
        padding-left: 15px;
        color: var(--primary-teal);
        font-weight: 800;
    }

    .main-nav .nav-link.active i {
        transform: rotate(180deg);
        color: #ffffff;
    }

    .main-nav .nav-link:hover {
        padding-left: 15px;
        background-color: var(--light-bg);
        border-radius: 6px;
    }

    .main-nav .nav-link::after {
        display: none;
    }

    /* Sub-menu dropdown list styling */
    .dropdown-menu {
        border-left: 2px solid rgba(23, 47, 79, 0.15) !important;
        padding-left: 15px !important;
        margin: 5px 0 10px 0 !important;
    }

    .dropdown-menu a {
        padding: 10px 0;
        font-size: 0.95rem;
        color: #555;
        border-bottom: none;
    }

    /* Mobile Brand Footer actions */
    .mobile-nav-footer {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin-top: auto;
        /* Pushes action section to the bottom of drawer */
        padding-top: 25px;
        border-top: 2px solid rgba(23, 47, 79, 0.06);
        flex-shrink: 0;
    }

    .mobile-nav-action-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 12px;
        border-radius: 12px;
        font-size: 0.9rem;
        font-weight: 700;
        text-decoration: none;
        text-align: center;
        transition: all 0.3s ease;
    }

    .mobile-nav-action-btn.email-btn {
        background: var(--light-bg);
        border: 1px solid rgba(23, 47, 79, 0.10);
        color: var(--primary-teal);
    }

    .mobile-nav-action-btn.email-btn:hover {
        background: rgba(23, 47, 79, 0.05);
    }

    .mobile-nav-action-btn.donate-btn {
        background: linear-gradient(135deg, var(--primary-teal) 0%, var(--dark-teal) 100%);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: var(--white);
        box-shadow: 0 4px 15px rgba(23, 47, 79, 0.2);
    }

    .mobile-nav-action-btn.donate-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(23, 47, 79, 0.3);
    }

    /* Close (X) Button */
    .mobile-menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 1.8rem;
        color: var(--dark-teal);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        transition: background-color 0.3s ease;
        z-index: 10;
    }

    .mobile-menu-close:hover {
        background-color: var(--light-bg);
    }
}

/* --- PROJECT CARDS --- */
.project-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.project-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.08);
}

.project-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-teal);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.project-body {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.project-date i {
    color: var(--primary-teal);
}

.project-body h3 {
    font-size: 1.3rem;
    color: var(--dark-teal);
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 800;
}

.project-body p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
    flex-grow: 1;
    line-height: 1.7;
}

.project-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
    margin-top: auto;
}

.btn-text {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-text:hover {
    color: var(--dark-teal);
    gap: 12px;
}

/* --- DOCUMENT CARDS (Published Documents Page) --- */
.document-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.document-card .project-img-wrapper {
    position: relative;
}

.document-card .download-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-teal);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    transform: scale(0);
    opacity: 0;
}

.document-card-link:hover .download-icon {
    transform: scale(1);
    opacity: 1;
}

.document-card-link:hover .download-icon:hover {
    background-color: var(--primary-teal);
    color: var(--white);
    transform: scale(1.1);
}

.document-card .project-body {
    padding-bottom: 30px;
    /* Remove footer padding */
}

/* --- VIDEO SECTION --- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
}

.video-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.video-thumbnail {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.08);
}

.video-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-teal);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 10;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
}

.video-card:hover .play-icon {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.video-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.video-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.video-date i {
    color: var(--primary-teal);
}

.video-body h3 {
    font-size: 1.3rem;
    color: var(--dark-teal);
    margin-bottom: 10px;
    font-weight: 800;
}

.video-body p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
}

/* --- VIDEO LIGHTBOX --- */
.video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 31, 53, 0.9);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.video-lightbox.active {
    visibility: visible;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 900px;
}

.close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--white);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-lightbox:hover {
    transform: rotate(90deg);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- DONATION MODAL --- */
.donation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 31, 53, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.donation-overlay.active {
    visibility: visible;
    opacity: 1;
}

.donation-box {
    background: var(--white);
    border-radius: 24px;
    width: 95%;
    max-width: 450px;
    max-height: 90vh;
    box-shadow: 0 25px 60px rgba(15, 31, 53, 0.25);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.donation-overlay.active .donation-box {
    transform: translateY(0) scale(1);
}

.close-donation {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.15rem;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.close-donation:hover {
    background: #ee5253;
    color: var(--white);
    transform: rotate(90deg);
}

.donation-header {
    background: linear-gradient(135deg, var(--dark-teal) 0%, var(--primary-teal) 100%);
    color: var(--white);
    padding: 35px 25px 25px 25px;
    text-align: center;
    flex-shrink: 0;
}

.header-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #ffffff;
    margin: 0 auto 15px auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.donation-header h2 {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.donation-header p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 330px;
    margin: 0 auto;
    line-height: 1.4;
}

.donation-body {
    padding: 25px;
    overflow-y: auto;
    flex-grow: 1;
}

/* Preset Buttons Grid */
.donation-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.preset-btn {
    background: var(--light-bg);
    border: 1px solid rgba(23, 47, 79, 0.08);
    color: var(--dark-teal);
    padding: 10px 5px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.preset-btn:hover {
    border-color: var(--primary-teal);
    color: var(--primary-teal);
}

.preset-btn.active {
    background: var(--primary-teal);
    border-color: var(--primary-teal);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(23, 47, 79, 0.15);
}

/* Modern Form Group Styles */
.form-group-modern {
    margin-bottom: 18px;
}

.form-group-modern label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark-teal);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-icon-wrapper {
    position: relative;
    width: 100%;
}

.currency-prefix {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: var(--primary-teal);
    font-size: 1.05rem;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    font-size: 1rem;
}

.input-icon-wrapper input {
    width: 100%;
    border: 1px solid rgba(23, 47, 79, 0.12);
    background: var(--white);
    border-radius: 12px;
    padding: 12px 15px 12px 38px;
    font-size: 0.95rem;
    color: var(--dark-teal);
    font-weight: 600;
    transition: all 0.3s ease;
}

.input-icon-wrapper input:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 159, 67, 0.15);
}

/* Payment Grid */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.method-card-label {
    cursor: pointer;
}

.method-card-label input {
    display: none;
}

.method-card-inner {
    background: var(--light-bg);
    border: 1px solid rgba(23, 47, 79, 0.08);
    padding: 12px 5px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--dark-teal);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.method-card-label input:checked+.method-card-inner,
.method-card-inner:hover {
    border-color: #ffffff;
    background: rgba(255, 159, 67, 0.04);
    color: var(--primary-teal);
}

.method-card-inner i {
    font-size: 1.2rem;
}

.secure-checkout-note {
    text-align: center;
    font-size: 0.75rem;
    color: #888;
    margin: 20px 0 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.secure-checkout-note i {
    color: #10b981;
}

.btn-donate-submit {
    background: linear-gradient(90deg, var(--dark-teal), var(--primary-teal));
    color: var(--white);
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(23, 47, 79, 0.15);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-donate-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(23, 47, 79, 0.25);
    background: linear-gradient(90deg, #ffffff, #ffb84d);
}

/* --- VOLUNTEER PAGE --- */
.volunteer-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(23, 47, 79, 0.08);
    border: 1px solid rgba(23, 47, 79, 0.05);
    text-align: center;
}

.volunteer-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px auto;
    background: linear-gradient(135deg, var(--dark-teal) 0%, var(--primary-teal) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
}

.volunteer-content-wrapper h2 {
    font-size: 1.8rem;
    color: var(--dark-teal);
    margin-bottom: 20px;
    font-weight: 800;
}

.volunteer-content-wrapper p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.volunteer-content-wrapper .tagline {
    font-style: italic;
    font-weight: 600;
    color: var(--primary-teal);
    border-top: 1px dashed rgba(23, 47, 79, 0.2);
    padding-top: 20px;
    margin-top: 30px;
}

.volunteer-action {
    margin-top: 30px;
}

/* --- SUPPORT US PAGE --- */
.support-us-text {
    text-align: center;
    margin-bottom: 40px;
}

.support-us-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

/* --- CAREERS PAGE (NO OPENINGS) --- */
.no-openings-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--light-bg);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px dashed rgba(23, 47, 79, 0.2);
}

.no-openings-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px auto;
    background: var(--white);
    color: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(23, 47, 79, 0.08);
}

.no-openings-wrapper h2 {
    font-size: 1.6rem;
    color: var(--dark-teal);
    margin-bottom: 15px;
}

.no-openings-wrapper p {
    font-size: 1.1rem;
    color: #666;
}

/* --- PARTNER WITH US PAGE --- */
.partner-with-us-text {
    text-align: center;
    margin-bottom: 40px;
}

.partner-with-us-text h2 {
    font-size: 1.8rem;
    color: var(--dark-teal);
    margin-bottom: 20px;
}

.partner-with-us-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

/* --- SHOP / PRODUCT PAGE --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(15, 31, 53, 0.8), transparent);
    text-align: center;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.4s ease;
}

.product-card:hover .product-overlay {
    transform: translateY(0);
    opacity: 1;
}

.btn-primary-sm {
    background-color: var(--white);
    color: var(--primary-teal);
    border: none;
    padding: 12px 25px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-primary-sm:hover {
    background-color: var(--primary-teal);
    color: var(--white);
    transform: translateY(-2px);
}

/* --- HISTORY VIDEO SECTION --- */
.history-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.history-video {
    margin-top: 0;
    text-align: left;
}

.video-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-teal);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.video-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-teal);
    border-radius: 3px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(23, 47, 79, 0.15);
    border: 3px solid rgba(23, 47, 79, 0.08);
    width: 100%;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.video-wrapper:hover {
    box-shadow: 0 20px 50px rgba(23, 47, 79, 0.25);
    transform: translateY(-2px);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 13px;
}

@media (max-width: 992px) {
    .history-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .history-video {
        text-align: center;
    }

    .video-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* --- ORGANOGRAM SECTION --- */
.organogram-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(23, 47, 79, 0.06);
    border: 1px solid rgba(23, 47, 79, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
}

.organogram-wrapper:hover {
    box-shadow: 0 15px 50px rgba(23, 47, 79, 0.12);
    transform: translateY(-3px);
}

.organogram-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* --- MAP ANIMATION & HOVER EFFECTS --- */
@keyframes mapReveal {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(45px);
        box-shadow: 0 5px 15px rgba(23, 47, 79, 0.04);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        box-shadow: 0 20px 45px rgba(23, 47, 79, 0.12);
    }
}

.map-wrapper {
    animation: mapReveal 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(23, 47, 79, 0.05);
}

.map-wrapper:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 30px 60px rgba(23, 47, 79, 0.18);
    border-color: rgba(23, 47, 79, 0.12);
}

.map-wrapper img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-wrapper:hover img {
    transform: scale(1.015);
}

/* --- DONATION PAGE STYLES --- */
.donate-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: start;
}

.donate-info-side {
    padding-right: 10px;
}

.donate-card-badge {
    background: rgba(23, 47, 79, 0.08);
    color: var(--primary-teal);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 30px;
    margin-bottom: 20px;
}

.donate-info-side h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark-teal);
    margin-bottom: 20px;
    line-height: 1.25;
}

.donate-lead-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 35px;
}

.donation-impact-examples {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.impact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-teal);
    box-shadow: 0 4px 15px rgba(23, 47, 79, 0.03);
}

.impact-item i {
    font-size: 1.4rem;
    color: var(--primary-teal);
    background: rgba(23, 47, 79, 0.05);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.impact-item strong {
    font-size: 1rem;
    color: var(--dark-teal);
    display: block;
    margin-bottom: 4px;
}

.impact-item p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.security-assurance {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #eef7f6;
    border: 1px solid rgba(23, 47, 79, 0.1);
    padding: 15px 20px;
    border-radius: 12px;
    color: var(--dark-teal);
    font-size: 0.9rem;
}

.security-assurance i {
    font-size: 1.6rem;
    color: #10b981;
}

.donate-form-side {
    position: sticky;
    top: 110px;
}

.payment-card-box {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(23, 47, 79, 0.07);
    border: 1px solid rgba(23, 47, 79, 0.05);
}

/* Premium Credit Card Graphic */
.interactive-credit-card {
    width: 100%;
    max-width: 360px;
    height: 210px;
    margin: 0 auto 30px auto;
    position: relative;
    border-radius: 20px;
    background: linear-gradient(135deg, #172f4f 0%, #0c1b30 100%);
    box-shadow: 0 15px 35px rgba(12, 27, 48, 0.25);
    color: var(--white);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    z-index: 1;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.card-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-front {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-chip {
    width: 46px;
    height: 34px;
    background: linear-gradient(135deg, #ffdf00 0%, #d4af37 100%);
    border-radius: 6px;
    position: relative;
}

.card-logo {
    font-size: 2.5rem;
    opacity: 0.9;
}

.card-number-display {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.45rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-align: center;
    margin: 15px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.card-holder-row {
    align-items: flex-end;
}

.card-col {
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.card-value {
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Form Styles */
.donate-payment-form .form-step {
    border-bottom: 1px solid rgba(23, 47, 79, 0.08);
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.donate-payment-form .form-step:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-teal);
    margin-bottom: 15px;
}

.amount-presets {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.preset-btn {
    background: var(--light-bg);
    border: 1px solid rgba(23, 47, 79, 0.1);
    color: var(--dark-teal);
    padding: 12px 5px;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.preset-btn:hover,
.preset-btn.active {
    background: var(--primary-teal);
    color: var(--white);
    border-color: var(--primary-teal);
    box-shadow: 0 4px 10px rgba(23, 47, 79, 0.15);
}

/* Method Selector */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.method-label {
    cursor: pointer;
}

.method-label input {
    display: none;
}

.method-card {
    background: var(--light-bg);
    border: 1px solid rgba(23, 47, 79, 0.1);
    padding: 15px 10px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark-teal);
    transition: all 0.3s ease;
}

.method-label input:checked+.method-card,
.method-card:hover {
    border-color: var(--primary-teal);
    background: rgba(23, 47, 79, 0.03);
    color: var(--primary-teal);
}

.method-card i {
    font-size: 1.4rem;
}

/* Submit and Secure */
.btn-donate-submit {
    background: linear-gradient(90deg, var(--dark-teal), var(--primary-teal));
    color: var(--white);
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(23, 47, 79, 0.2);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-donate-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(23, 47, 79, 0.3);
}

.secure-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #888;
    margin-top: 12px;
}

.secure-footer i {
    color: #10b981;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Responsive */
@media (max-width: 992px) {
    .donate-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .donate-info-side {
        padding-right: 0;
    }

    .donate-form-side {
        position: static;
    }
}

/* --- SCROLL REVEAL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal.fade-left {
    transform: translateX(-50px);
}

.reveal.fade-right {
    transform: translateX(50px);
}

.reveal.fade-up {
    transform: translateY(50px);
}

.reveal.zoom-in {
    transform: scale(0.9);
}

.reveal.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* --- WHAT WE DO (MODERNIZED HOME PAGE) --- */
.modern-what-we-do {
    padding: 55px 0;
    position: relative;
    background-color: var(--light-bg);
    z-index: 1;
}

.modern-what-we-do::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(23, 47, 79, 0.04) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    z-index: -1;
    opacity: 0.8;
}

.modern-what-we-do .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 60px;
    align-items: center;
}

.what-we-do-title {
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.what-we-do-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.what-we-do-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.expertise-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(23, 47, 79, 0.06);
    border-radius: 24px;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(23, 47, 79, 0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.expertise-card .card-index {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(23, 47, 79, 0.04);
    font-family: 'Outfit', 'Segoe UI', sans-serif;
    transition: all 0.4s ease;
    user-select: none;
    z-index: 0;
}

.expertise-card:hover .card-index {
    color: rgba(23, 47, 79, 0.08);
    transform: translateY(-5px);
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: background 0.4s ease;
    z-index: 2;
}

.item-edu::before {
    background: linear-gradient(90deg, #70a1ff, #2d9cdb);
}

.item-emp::before {
    background: linear-gradient(90deg, #e18a17, #ffd32a);
}

.item-peace::before {
    background: linear-gradient(90deg, #ff6b6b, #ee5253);
}

.item-sust::before {
    background: linear-gradient(90deg, #1dd1a1, #10ac84);
}

.expertise-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.98);
}

.item-edu:hover {
    box-shadow: 0 25px 50px rgba(45, 156, 219, 0.08), 0 0 0 1px rgba(45, 156, 219, 0.08);
    border-color: rgba(45, 156, 219, 0.2);
}

.item-emp:hover {
    box-shadow: 0 25px 50px rgba(225, 138, 23, 0.08), 0 0 0 1px rgba(225, 138, 23, 0.08);
    border-color: rgba(225, 138, 23, 0.2);
}

.item-peace:hover {
    box-shadow: 0 25px 50px rgba(238, 82, 83, 0.08), 0 0 0 1px rgba(238, 82, 83, 0.08);
    border-color: rgba(238, 82, 83, 0.2);
}

.item-sust:hover {
    box-shadow: 0 25px 50px rgba(16, 172, 132, 0.08), 0 0 0 1px rgba(16, 172, 132, 0.08);
    border-color: rgba(16, 172, 132, 0.2);
}

.expertise-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.item-edu .expertise-icon {
    background: rgba(45, 156, 219, 0.08);
    color: #2d9cdb;
}

.item-emp .expertise-icon {
    background: rgba(225, 138, 23, 0.08);
    color: #e18a17;
}

.item-peace .expertise-icon {
    background: rgba(238, 82, 83, 0.08);
    color: #ee5253;
}

.item-sust .expertise-icon {
    background: rgba(16, 172, 132, 0.08);
    color: #10ac84;
}

.expertise-card:hover .expertise-icon {
    transform: scale(1.1) rotate(6deg);
}

.item-edu:hover .expertise-icon {
    background: #2d9cdb;
    color: var(--white);
    box-shadow: 0 6px 15px rgba(45, 156, 219, 0.25);
}

.item-emp:hover .expertise-icon {
    background: #e18a17;
    color: var(--white);
    box-shadow: 0 6px 15px rgba(225, 138, 23, 0.25);
}

.item-peace:hover .expertise-icon {
    background: #ee5253;
    color: var(--white);
    box-shadow: 0 6px 15px rgba(238, 82, 83, 0.25);
}

.item-sust:hover .expertise-icon {
    background: #10ac84;
    color: var(--white);
    box-shadow: 0 6px 15px rgba(16, 172, 132, 0.25);
}

.expertise-text {
    position: relative;
    z-index: 1;
}

.expertise-text h4 {
    font-size: 1.15rem;
    font-weight: 750;
    color: var(--dark-teal);
    margin: 0 0 8px 0;
}

.expertise-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

@media (max-width: 992px) {
    .modern-what-we-do .grid-2 {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 576px) {
    .what-we-do-title {
        font-size: 1.8rem;
    }

    .what-we-do-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* --- HOMEPAGE TEAM & ORGANOGRAM (ADVANCED LAYOUT) --- */
.home-team-section {
    padding: 55px 0;
    position: relative;
    z-index: 1;
}

.home-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.home-team-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(23, 47, 79, 0.06);
    box-shadow: 0 10px 30px rgba(23, 47, 79, 0.02);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.home-team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(23, 47, 79, 0.08);
    border-color: rgba(23, 47, 79, 0.12);
}

.home-team-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #eee;
}

.home-team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-team-card:hover .home-team-img-wrapper img {
    transform: scale(1.08) rotate(0.5deg);
}

.home-team-social-overlay {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 2;
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-team-card:hover .home-team-social-overlay {
    opacity: 1;
    transform: translateY(0);
}

.home-team-social-overlay .social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.home-team-social-overlay .social-icon:hover {
    background: var(--primary-teal);
    color: var(--white);
    transform: translateY(-2px);
}

.home-team-info {
    padding: 25px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.home-team-info h4 {
    font-size: 1.15rem;
    font-weight: 750;
    color: var(--dark-teal);
    margin: 0 0 6px 0;
}

.home-team-info .role {
    font-size: 0.85rem;
    font-weight: 600;
    color: #777;
    margin-bottom: 20px;
    line-height: 1.3;
}

.btn-read-bio-modal {
    background: transparent;
    border: 1px solid rgba(23, 47, 79, 0.15);
    color: var(--primary-teal);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-read-bio-modal:hover {
    background: var(--primary-teal);
    color: var(--white);
    border-color: var(--primary-teal);
    box-shadow: 0 5px 15px rgba(23, 47, 79, 0.15);
}

.btn-read-bio-modal i {
    transition: transform 0.3s ease;
}

.btn-read-bio-modal:hover i {
    transform: translateX(3px);
}

/* --- DYNAMIC BIO MODAL --- */
.team-bio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 31, 53, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.team-bio-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.team-bio-modal .modal-card {
    background: var(--white);
    border-radius: 24px;
    width: 92%;
    max-width: 820px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    transform: translateY(40px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-bio-modal.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: #333;
    font-size: 1.25rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close-btn:hover {
    background: #ee5253;
    color: var(--white);
    transform: rotate(90deg);
}

.modal-left {
    position: relative;
    overflow: hidden;
    min-height: 380px;
}

.modal-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.modal-right {
    padding: 40px;
    overflow-y: auto;
    max-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-right h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-teal);
    margin: 0 0 6px 0;
}

.modal-member-role {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-teal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    display: block;
}

.modal-bio-text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #555;
    margin-bottom: 25px;
    text-align: justify;
}

.modal-bio-text p {
    margin-bottom: 12px;
}

.modal-bio-text p:last-child {
    margin-bottom: 0;
}

.modal-socials-row {
    display: flex;
    gap: 20px;
    border-top: 1px solid rgba(23, 47, 79, 0.1);
    padding-top: 20px;
}

.modal-socials-row a {
    color: var(--primary-teal);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.modal-socials-row a:hover {
    color: #ffffff;
}

/* --- HOMEPAGE ORGANOGRAM --- */
.home-organogram-section {
    padding: 55px 0;
    background-color: var(--white);
    position: relative;
}

.home-organogram-wrapper {
    margin-top: 50px;
    display: inline-block;
    max-width: 1000px;
    width: 100%;
}

.home-organogram-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 1px solid rgba(23, 47, 79, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-organogram-wrapper:hover .home-organogram-img {
    transform: scale(1.02);
    box-shadow: 0 20px 45px rgba(23, 47, 79, 0.1) !important;
    border-color: rgba(23, 47, 79, 0.15);
}

/* --- RESPONSIVENESS OVERRIDES --- */
@media (max-width: 992px) {
    .home-team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .team-bio-modal .modal-card {
        grid-template-columns: 1fr;
    }

    .modal-left {
        min-height: 280px;
        max-height: 350px;
    }

    .modal-right {
        padding: 30px;
        max-height: 400px;
    }
}

@media (max-width: 576px) {
    .home-team-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 40px auto 0 auto;
    }

    .modal-right h3 {
        font-size: 1.5rem;
    }

    .floating-donate-btn {
        padding: 0 !important;
        border-radius: 50% !important;
        width: 54px !important;
        height: 54px !important;
        justify-content: center !important;
        bottom: 25px !important;
        left: 25px !important;
        top: auto !important;
        transform: none !important;
        box-shadow: 0 10px 25px rgba(23, 47, 79, 0.45) !important;
        border: 1px solid rgba(255, 255, 255, 0.35) !important;
    }

    .floating-donate-btn span {
        display: none !important;
    }

    .floating-donate-btn:hover {
        padding-left: 0 !important;
        transform: scale(1.08) !important;
    }
}

/* --- FLOATING DONATE BUTTON (LEFT SIDE) --- */
.floating-donate-btn {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1500;
    background: #172f4f;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 0 30px 30px 0;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    box-shadow: 4px 0 25px rgba(23, 47, 79, 0.25);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-left: none;
}

.floating-donate-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.floating-donate-btn:hover {
    padding-left: 28px;
    color: var(--white);
    background: #172f4f;
    border-color: rgba(23, 47, 79, 0.2);
    box-shadow: 6px 0 30px rgba(23, 47, 79, 0.25);
}

.floating-donate-btn:hover i {
    transform: scale(1.2) rotate(-10deg);
}

/* --- PARTNER LOGO SLIDER --- */
.logo-slider {
    background: transparent;
    height: 100px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.logo-slider::before,
.logo-slider::after {
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 100px;
    position: absolute;
    width: 150px;
    z-index: 2;
}

.logo-slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.logo-slider::before {
    left: 0;
    top: 0;
}

.logo-slide-track {
    display: flex;
    width: calc(250px * 12);
    animation: scrollLogos 25s linear infinite;
}

.logo-slide {
    height: 100px;
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    border: 1px solid rgba(23, 47, 79, 0.08);
    padding: 12px 24px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(23, 47, 79, 0.02);
    transition: all 0.3s ease;
    width: 210px;
    justify-content: center;
}

.partner-logo-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(23, 47, 79, 0.08);
    border-color: var(--primary-teal);
}

.partner-logo-box .logo-icon {
    font-size: 1.5rem;
    color: var(--primary-teal);
}

.partner-logo-box .logo-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark-teal);
    letter-spacing: 0.5px;
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 6)); }
}

@media (max-width: 768px) {
    .logo-slider::before,
    .logo-slider::after {
        width: 50px;
    }
}

/* --- PROJECTS VERTICAL GRID --- */
.projects-vertical-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 0;
    width: 100%;
}

@media (max-width: 992px) {
    .projects-vertical-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-vertical-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- CUSTOM MOUSE CURSOR --- */
@media (min-width: 1025px) {
    body, a, button, select, input, textarea, [role="button"], .slider-arrow, .preset-btn {
        cursor: none !important;
    }
}

.custom-cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-teal);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 99999;
    transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
}

.custom-cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(23, 47, 79, 0.4);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 99998;
    transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

/* Hover state styling */
.custom-cursor-dot.hover {
    width: 12px;
    height: 12px;
    background-color: var(--dark-teal);
}

.custom-cursor-outline.hover {
    width: 60px;
    height: 60px;
    border-color: var(--primary-teal);
    background-color: rgba(23, 47, 79, 0.05);
}

/* Light cursor styling for dark backgrounds like #0f1f35 */
.custom-cursor-dot.light-bg {
    background-color: var(--white);
}

.custom-cursor-outline.light-bg {
    border-color: rgba(255, 255, 255, 0.5);
}

/* Hover state on dark backgrounds - turns gold/white */
.custom-cursor-dot.light-bg.hover {
    background-color: #ffd700;
}

.custom-cursor-outline.light-bg.hover {
    border-color: #ffd700;
    background-color: rgba(255, 215, 0, 0.08);
}

/* Hide on mobile/touch devices */
@media (max-width: 1024px) {
    .custom-cursor-dot,
    .custom-cursor-outline {
        display: none !important;
    }
}

/* --- DYNAMIC AUTO-SLIDING PHOTO GALLERY --- */
.home-gallery {
    background-color: var(--light-bg);
    padding: 85px 0;
    position: relative;
    overflow: hidden;
}

/* Decorative backdrop glows for the gallery */
.home-gallery::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(23, 47, 79, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.home-gallery::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 172, 132, 0.02) 0%, transparent 75%);
    pointer-events: none;
    z-index: 0;
}

.home-gallery .container {
    position: relative;
    z-index: 1;
}

/* Slider Layout */
.gallery-slider-wrapper {
    position: relative;
    width: 100%;
    margin: 20px 0 35px 0;
    display: flex;
    align-items: center;
}

.gallery-slider-container {
    width: 100%;
    overflow: hidden;
    padding: 15px 0;
}

.gallery-slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.gallery-slide-item {
    flex: 0 0 calc(33.333% - 16px); /* 3 items visible on desktop */
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 10px 30px rgba(23, 47, 79, 0.03);
    border: 1px solid rgba(23, 47, 79, 0.06);
    cursor: pointer;
    background-color: #f0f0f0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s ease;
}

.gallery-slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Elegant visual zoom and outline glow on hover */
.gallery-slide-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(23, 47, 79, 0.1);
    border-color: rgba(23, 47, 79, 0.15);
}

.gallery-slide-item:hover img {
    transform: scale(1.06);
}

/* Slide arrows */
.gallery-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 1px solid rgba(23, 47, 79, 0.08);
    color: var(--primary-teal);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.15rem;
    box-shadow: 0 8px 20px rgba(23, 47, 79, 0.06);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-slider-arrow:hover {
    background: var(--primary-teal);
    color: var(--white);
    border-color: var(--primary-teal);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 12px 25px rgba(23, 47, 79, 0.18);
}

.gallery-slider-arrow.prev-slide {
    left: -26px;
}

.gallery-slider-arrow.next-slide {
    right: -26px;
}

/* Dots Indicators */
.gallery-slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.gallery-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(23, 47, 79, 0.15);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-dot.active {
    background: var(--primary-teal);
    transform: scale(1.1);
    width: 24px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(23, 47, 79, 0.25);
}

/* Lightbox overlay styling */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 31, 53, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-wrapper {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 16px;
    object-fit: contain;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.gallery-lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-caption {
    color: var(--white);
    text-align: center;
    margin-top: 20px;
    max-width: 600px;
    padding: 0 20px;
}

.lightbox-caption h4 {
    margin: 0 0 6px 0;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.lightbox-caption p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.lightbox-close {
    position: absolute;
    top: -55px;
    right: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: #ee5253;
    color: var(--white);
    border-color: #ee5253;
    transform: rotate(90deg);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.15rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.lightbox-arrow:hover {
    background: var(--white);
    color: var(--primary-teal);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.lightbox-prev {
    left: -85px;
}

.lightbox-next {
    right: -85px;
}

@media (max-width: 992px) {
    .gallery-slide-item {
        flex: 0 0 calc(50% - 12px); /* 2 items visible on tablet */
    }
    
    .gallery-slider-arrow.prev-slide {
        left: -15px;
    }
    
    .gallery-slider-arrow.next-slide {
        right: -15px;
    }
    
    .lightbox-prev {
        left: -65px;
    }
    
    .lightbox-next {
        right: -65px;
    }
}

@media (max-width: 768px) {
    .home-gallery {
        padding: 60px 0;
    }
    
    .lightbox-prev {
        left: -15px;
    }
    
    .lightbox-next {
        right: -15px;
    }
    
    .lightbox-arrow {
        width: 44px;
        height: 44px;
        background: rgba(15, 31, 53, 0.7);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
}

@media (max-width: 576px) {
    .gallery-slide-item {
        flex: 0 0 100%; /* 1 item visible on mobile */
    }
    
    .gallery-slider-arrow {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    .gallery-slider-arrow.prev-slide {
        left: -8px;
    }
    
    .gallery-slider-arrow.next-slide {
        right: -8px;
    }
    
    .lightbox-close {
        top: -50px;
        right: 10px;
    }
    
    .lightbox-caption {
        padding: 0 15px;
    }
}

/* --- PUBLISHED DOCUMENTS PAGE --- */
.published-documents-section {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.archive-group {
    margin-bottom: 75px;
}

.archive-group:last-child {
    margin-bottom: 0;
}

.archive-group-header {
    margin-bottom: 35px;
    border-bottom: 2px solid rgba(23, 47, 79, 0.08);
    padding-bottom: 18px;
}

.archive-title {
    color: var(--dark-teal);
    font-size: 1.85rem;
    font-weight: 800;
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.archive-title .en-sub {
    font-size: 1.05rem;
    color: #777;
    font-weight: 500;
}

.pdf-list-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.pdf-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    border: 1px solid rgba(23, 47, 79, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    text-decoration: none;
    color: inherit;
}

.pdf-card.rtl-card {
    flex-direction: row-reverse;
    direction: rtl;
    text-align: right;
}

.pdf-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(23, 47, 79, 0.1);
    border-color: rgba(23, 47, 79, 0.15);
}

/* PDF Thumbnail Side */
.pdf-thumbnail-side {
    position: relative;
    width: 210px;
    height: 250px;
    background: linear-gradient(135deg, var(--dark-teal) 0%, #c62828 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    transition: background 0.4s ease;
}

.pdf-thumbnail-side::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

/* Glossy sweep sheen on hover */
.pdf-thumbnail-side::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25) 50%, transparent);
    transform: skewX(-20deg);
    transition: none;
}

.pdf-card:hover .pdf-thumbnail-side::after {
    left: 150%;
    transition: all 0.9s ease-in-out;
}

.pdf-card:hover .pdf-thumbnail-side {
    background: linear-gradient(135deg, var(--primary-teal) 0%, #d32f2f 100%);
}

/* Simulated 3D white document page */
.pdf-mock-page {
    position: relative;
    width: 120px;
    height: 160px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px 14px;
    overflow: hidden;
}

/* Page fold corner */
.pdf-mock-page::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 22px 22px 0;
    border-color: transparent transparent rgba(0, 0, 0, 0.08) transparent;
    box-shadow: -2px 2px 4px rgba(0,0,0,0.1);
}

.pdf-card:hover .pdf-mock-page {
    transform: translateY(-8px) rotate(2deg) scale(1.05);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.32);
}

.pdf-mock-brand {
    font-size: 9px;
    font-weight: 800;
    color: var(--primary-teal);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(23, 47, 79, 0.1);
    padding-bottom: 4px;
}

.pdf-mock-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 12px 0;
}

.pdf-mock-line {
    height: 4px;
    background: #eaeaea;
    border-radius: 2px;
    width: 100%;
}

.pdf-mock-line.short {
    width: 65%;
}

.pdf-mock-icon-wrapper {
    align-self: center;
    background: #ffebee;
    color: #d32f2f;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.18);
    margin-top: 6px;
    transition: transform 0.3s ease;
}

.pdf-card:hover .pdf-mock-icon-wrapper {
    transform: scale(1.1);
}

.pdf-file-badge {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(211, 47, 47, 0.95);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 6px 15px rgba(211, 47, 47, 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* PDF Card Content Side */
.pdf-content-side {
    flex-grow: 1;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pdf-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
}

.pdf-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pdf-meta-item i {
    color: var(--primary-teal);
    font-size: 0.95rem;
}

.pdf-card.rtl-card .pdf-meta-item i {
    color: #d32f2f;
}

.pdf-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--dark-teal);
    margin-bottom: 12px;
    line-height: 1.35;
    transition: color 0.3s ease;
}

.pdf-card:hover .pdf-title {
    color: var(--primary-teal);
}

.pdf-description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.pdf-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.pdf-download-btn {
    background: var(--primary-teal);
    color: var(--white);
    border-radius: 30px;
    padding: 10px 28px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(23, 47, 79, 0.15);
    text-decoration: none;
}

.pdf-card:hover .pdf-download-btn {
    background: var(--dark-teal);
    box-shadow: 0 8px 25px rgba(23, 47, 79, 0.25);
    transform: translateY(-2px);
}

.pdf-download-btn i {
    transition: transform 0.3s ease;
}

.pdf-download-btn:hover i {
    transform: translateY(3px);
}

.pdf-format-info {
    font-size: 0.85rem;
    color: #888;
    font-weight: 600;
}

/* Responsiveness */
@media (max-width: 992px) {
    .pdf-content-side {
        padding: 25px 30px;
    }
}

@media (max-width: 768px) {
    .pdf-card, .pdf-card.rtl-card {
        flex-direction: column !important;
        text-align: left !important;
        direction: ltr !important;
    }
    
    .pdf-card.rtl-card {
        text-align: right !important;
        direction: rtl !important;
    }
    
    .pdf-thumbnail-side {
        width: 100%;
        height: 190px;
    }
    
    .pdf-mock-page {
        width: 100px;
        height: 130px;
        padding: 12px 10px;
    }
    
    .pdf-mock-lines {
        margin: 6px 0;
        gap: 4px;
    }
    
    .pdf-mock-icon-wrapper {
        width: 38px;
        height: 38px;
        font-size: 1.25rem;
        margin-top: 4px;
    }
}