/* =========================================
   BASE STYLES & CORE VARIABLES (Modern Premium Aesthetic)
   ========================================= */
:root {
    --bg-main: #fcfbfa;               /* Sophisticated Warm Off-White */
    --bg-secondary: #f4f1ea;          /* Warm Cream Background */
    --brand-orange: #ef6b1d;          /* High-end Vibrant Orange/Coral */
    --brand-orange-hover: #d3530c;    /* Rich Darker Orange for Hover */
    --brand-dark: #121511;            /* Clean Premium Midnight Black */
    --text-main: #191c18;             /* Rich charcoal for primary body */
    --text-muted: #575e54;            /* Slate muted for readable paragraphs */
    --card-bg: #ffffff;               /* Pure white for modern elevated cards */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.03);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 45px rgba(0,0,0,0.07);
    --glass-bg: rgba(252, 251, 250, 0.85);
    --glass-border: rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    padding-top: 110px; /* Space for fixed sticky header */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-title, .section-title {
    font-family: 'Outfit', 'Inter', sans-serif;
    color: var(--brand-dark);
    font-weight: 700;
}

/* =========================================
   HEADER & NAVIGATION (Premium Glassmorphism)
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 9000;
    transition: all 0.3s ease;
    overflow: visible;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 90px;
}

/* --- Brand Area --- */
.brand-area {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--brand-dark);
}

.brand-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand-area:hover .brand-logo-img {
    transform: scale(1.05);
}

.brand-text-stack {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-title {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.8px;
    line-height: 1.2;
}

.brand-sanskrit {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--brand-orange);
    line-height: 1.3;
    margin-top: 1px;
}

.brand-iso {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* --- Navigation (Middle) --- */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.desktop-nav a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.desktop-nav a:hover {
    color: var(--brand-orange);
}

/* Dropdown styling */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle svg {
    transition: transform 0.3s ease;
}
.dropdown:hover .dropdown-toggle svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--card-bg);
    min-width: 260px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    padding: 10px 0;
    z-index: 9999;
    border: 1px solid var(--glass-border);
}

.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-main);
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: 14.5px;
}

.dropdown-menu a:hover {
    background-color: var(--bg-secondary);
    color: var(--brand-orange);
}

/* --- Buttons (Right) --- */
.desktop-btn-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.action-btn {
    background-color: var(--brand-orange);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.action-btn:hover {
    background-color: var(--brand-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 107, 29, 0.25);
}

/* =========================================
   MOBILE MENU (Fixed and High-visibility)
   ========================================= */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--brand-dark);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hamburger svg {
    width: 30px;
    height: 30px;
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-main);
    border-bottom: 1px solid var(--glass-border);
    max-height: 0;
    overflow-y: auto;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
}

.mobile-menu.open {
    max-height: calc(100vh - 100px);
}

.mobile-nav {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav a {
    color: var(--brand-dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    transition: background 0.3s ease, color 0.3s ease;
}

.mobile-nav a:hover {
    background: var(--bg-secondary);
    color: var(--brand-orange);
}

.mobile-btn-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 10px 14px;
}

.mobile-btn-group .action-btn {
    text-align: center;
    padding: 14px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .desktop-nav, .desktop-btn-group { display: none; }
    .hamburger { display: block; }
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background-color: var(--brand-dark);
    padding: 80px 24px 30px;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.footer-col p {
    color: #a3ad9f;
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: #a3ad9f;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--brand-orange);
    padding-left: 6px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #8c9488;
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

/* =========================================
   COMMON LAYOUT & UTILITY STYLES
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.section-padding { padding: 90px 0; }
.bg-secondary { background-color: var(--bg-secondary); }

.section-title {
    font-size: 2.75rem;
    line-height: 1.25;
    margin-bottom: 24px;
    color: var(--brand-dark);
}

.highlight {
    color: var(--brand-orange);
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 820px;
    margin: 0 auto 50px auto;
    line-height: 1.8;
    font-size: 1.15rem;
}

/* =========================================
   HERO SECTION FIXES (Premium Dark Gradient)
   ========================================= */
.hero {
    height: 75vh;
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(18, 21, 17, 0.65), rgba(18, 21, 17, 0.75)), url('https://kalkifoundation.in/wp-content/uploads/2024/03/IMG_8229-1024x682.jpg') center/cover;
    background-position: center;
    position: relative;
    overflow: hidden; /* Ensure zoom effects don't spill out */
}

/* Dynamic background slider elements */
.hero.js-loaded {
    background: none !important;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1);
}

.hero-bg-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 21, 17, 0.65), rgba(18, 21, 17, 0.75));
}

/* Match the volunteer/register page dark overlay if applicable */
.volunteer-hero .hero-bg-slide::after {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7));
}

.hero-bg-slide.active {
    opacity: 1;
    animation: kenBurnsZoom 12s ease-in-out infinite alternate;
}

@keyframes kenBurnsZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

.hero-content {
    max-width: 840px;
    padding: 0 24px;
    animation: fadeInUp 1s ease both;
    position: relative;
    z-index: 2; /* Layer on top of background slider */
}

.hero h1 { 
    color: #ffffff;
    font-size: 3.8rem; 
    font-weight: 800; 
    margin-bottom: 18px; 
    line-height: 1.15;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.4);
}

.hero p { 
    color: #f1f5ef;
    font-size: 1.4rem; 
    margin-bottom: 40px; 
    font-weight: 400;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.5);
}

.hero-buttons .action-btn {
    padding: 16px 36px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- BUTTONS --- */
.outline-btn {
    display: inline-block;
    padding: 12px 26px;
    border: 2.5px solid var(--brand-orange);
    color: var(--brand-orange);
    text-decoration: none;
    font-weight: 700;
    border-radius: var(--radius-sm);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 15px;
}

.outline-btn:hover {
    background: var(--brand-orange);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 107, 29, 0.25);
}

.theme-btn {
    display: inline-block;
    text-decoration: none;
    border-radius: var(--radius-sm);
}

.theme-btn.inverse {
    background: #ffffff;
    color: var(--brand-orange);
    border: 2px solid #ffffff;
    padding: 14px 34px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
}

.theme-btn.inverse:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* =========================================
   ABOUT GALLERY
   ========================================= */
.about-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.about-gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}

.about-gallery img:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* =========================================
   PARTNER TRUST STRIP
   ========================================= */

.partner-strip {
    padding: 48px 24px;
    background: var(--card-bg);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.partner-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.partner-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.partner-logo-item img {
    height: 56px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.4s ease;
}

.partner-logo-item:hover img {
    filter: grayscale(0%) opacity(1);
}

.partner-logo-item span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-align: center;
}

@media (max-width: 600px) {
    .partner-logos { gap: 24px; }
    .partner-logo-item img { height: 40px; }
    .partner-logo-item span { font-size: 0.62rem; }
}

/* =========================================
   IMPACT COUNTERS
   ========================================= */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.impact-card {
    background: var(--card-bg);
    padding: 28px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.impact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--brand-orange);
}

.impact-card .counter {
    font-size: 3.2rem;
    color: var(--brand-orange);
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1;
}

.impact-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .impact-card .counter {
        font-size: 2.2rem;
    }
    .impact-card {
        padding: 20px 12px;
    }
}

/* =========================================
   OUR WORKS SECTION
   ========================================= */
.work-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--glass-border);
}

.work-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.work-row.reverse { flex-direction: row-reverse; }

.work-image, .work-text { flex: 1; }

.work-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.work-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}

.work-text h3 {
    font-size: 2.1rem;
    color: var(--brand-dark);
    margin-bottom: 16px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    position: relative;
    padding-bottom: 16px;
}

.work-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--brand-orange);
    border-radius: 99px;
}

.work-row.reverse .work-text h3::after {
    left: 0;
}

.work-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .work-row, .work-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 32px;
        margin-bottom: 48px;
        padding-bottom: 48px;
    }
    .work-text h3::after { left: 50%; transform: translateX(-50%); }
}

/* =========================================
   INITIATIVE PHOTO GALLERY (Auto-Scroll)
   ========================================= */

.initiative-gallery-section {
    background-color: var(--bg-secondary);
    overflow: hidden;
    padding: 60px 0;
}

.initiative-gallery-section .gallery-header {
    text-align: center;
    padding: 0 24px;
    margin-bottom: 40px;
}

.gallery-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.gallery-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: galleryScroll 30s linear infinite;
}

.gallery-carousel-wrapper:hover .gallery-track {
    animation-play-state: paused;
}

@keyframes galleryScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.gallery-slide {
    flex: 0 0 280px;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--card-bg);
    border: 2px dashed #d4c9b5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: transform 0.4s ease;
}

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

.gallery-slide.placeholder {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    padding: 20px;
}

.gallery-slide.placeholder .ph-icon { font-size: 2.2rem; margin-bottom: 6px; }
.gallery-slide.placeholder .ph-text { font-size: 10.5px; color: var(--text-muted); }

/* =========================================
   FINAL CTA SECTION
   ========================================= */
.cta-section {
    background-color: var(--brand-orange);
    color: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 40px auto 90px;
    max-width: 1200px;
    box-shadow: var(--shadow-lg);
}

.cta-grid {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0;
}

.cta-image { flex: 1; }
.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-content {
    flex: 1.1;
    padding: 72px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.cta-content h2 { 
    font-size: 2.7rem; 
    margin-bottom: 18px; 
    color: #ffffff;
}

.cta-content p { 
    font-size: 1.12rem; 
    line-height: 1.8; 
    margin-bottom: 36px;
    color: #f1f5ef;
}

@media (max-width: 768px) {
    .cta-grid { flex-direction: column; }
    .cta-content { padding: 48px 24px; text-align: center; }
}

/* =========================================
   TEAM PAGE STYLES
   ========================================= */
.team-hero-image {
    max-width: 960px;
    margin: 48px auto 0 auto;
}

.team-hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 36px;
    margin-top: 54px;
}

.team-card {
    background-color: #ffffff;
    border-radius: var(--radius-md);
    padding: 42px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-bottom: 4px solid var(--brand-orange);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-img {
    width: 144px;
    height: 144px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 24px auto;
    border: 4px solid var(--bg-main);
    box-shadow: var(--shadow-md);
}

.team-name {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 6px;
}

.team-role {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 22px;
}

.team-quote {
    font-style: italic;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.team-quote::before {
    content: '"';
    font-size: 4.5rem;
    color: rgba(239, 107, 29, 0.08);
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-family: Georgia, serif;
    z-index: -1;
}

/* =========================================
   ABOUT PAGE STYLES
   ========================================= */
.about-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-row.reverse {
    flex-direction: row-reverse;
}

.about-image, .about-text {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.about-text h2 {
    font-size: 2.65rem;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.12rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 36px;
    margin-top: 54px;
}

.mission-card {
    background-color: #ffffff;
    padding: 44px 34px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--brand-orange);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: left;
    display: flex;
    flex-direction: column;
}

.mission-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 2.85rem;
    margin-bottom: 22px;
}

.mission-card h3 {
    font-size: 1.55rem;
    color: var(--brand-dark);
    margin-bottom: 16px;
}

.mission-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.02rem;
}

@media (max-width: 900px) {
    .about-row, .about-row.reverse {
        flex-direction: column;
        text-align: center;
    }
    .mission-card {
        text-align: center;
    }
}

/* =========================================
   VOLUNTEER & REGISTER PAGE
   ========================================= */
.quote-container {
    max-width: 820px;
    margin: 0 auto;
}

.main-quote {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--brand-orange);
    font-style: italic;
    line-height: 1.45;
    position: relative;
    font-family: 'Outfit', 'Inter', sans-serif;
}

.impact-banner {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #ffffff 100%);
    padding: 72px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 36px;
    text-align: center;
}

.stat-box h3 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 6px;
}

.stat-box p {
    font-size: 1.15rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--brand-orange);
}

.lists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 40px;
}

.list-card {
    background: #ffffff;
    padding: 44px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.list-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.list-card.border-orange {
    border-top: 4.5px solid var(--brand-orange);
}

.custom-list {
    list-style: none;
    padding: 0;
}

.custom-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.custom-list li::before {
    content: '→';
    color: var(--brand-orange);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: var(--shadow-sm);
}

.gallery-grid img:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Testimonial Native CSS Scroll */
.testimonial-scroller {
    display: flex;
    overflow-x: auto;
    gap: 24px;
    padding-bottom: 24px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.testimonial-scroller::-webkit-scrollbar {
    height: 8px;
}

.testimonial-scroller::-webkit-scrollbar-thumb {
    background-color: rgba(239, 107, 29, 0.3);
    border-radius: 10px;
}

.testimonial-card {
    flex: 0 0 310px;
    scroll-snap-align: center;
    background: #ffffff;
    padding: 34px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-bottom: 4px solid var(--brand-orange);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-card img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 18px auto;
    border: 3.5px solid var(--bg-main);
    box-shadow: var(--shadow-sm);
}

.testimonial-card h4 {
    font-size: 1.25rem;
    margin-bottom: 2px;
}

.testimonial-card span {
    font-size: 0.88rem;
    color: var(--brand-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    display: block;
}

.testimonial-card p {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.7;
}

/* Final CTA Banner */
.cta-banner {
    background-color: var(--brand-orange);
    padding: 84px 24px;
}

.cta-banner h2 {
    color: #ffffff;
    font-size: 2.75rem;
    margin-bottom: 24px;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   AWARDS & HONORS AUTO-SCROLL CAROUSEL
   ========================================= */

.awards-section {
    background-color: var(--bg-secondary);
    overflow: hidden;
    padding-bottom: 60px;
}

.awards-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 48px;
    /* Fade edges for a premium "infinite" feel */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.awards-track {
    display: flex;
    gap: 28px;
    width: max-content;
    animation: awardsScroll 28s linear infinite;
}

/* Pause on hover */
.awards-carousel-wrapper:hover .awards-track {
    animation-play-state: paused;
}

@keyframes awardsScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Individual card */
.award-card {
    flex: 0 0 300px;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.award-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* Image placeholder */
.award-img-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #f4f1ea 0%, #e8e2d6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px dashed #d4c9b5;
    position: relative;
    overflow: hidden;
}

.award-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.award-img-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
}

.upload-icon {
    font-size: 2.8rem;
    line-height: 1;
}

.upload-hint {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    background: rgba(255,255,255,0.8);
    padding: 4px 10px;
    border-radius: 99px;
    border: 1px dashed var(--text-muted);
}

/* Card body */
.award-body {
    padding: 22px 22px 26px;
}

.award-body h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 4px;
}

.award-by {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand-orange);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

.award-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* =========================================
   TESTIMONIALS AUTO-SCROLL CAROUSEL
   ========================================= */
.testimonials-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 48px;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.testimonials-track {
    display: flex;
    gap: 28px;
    width: max-content;
    animation: testimonialsScroll 32s linear infinite;
}

.testimonials-carousel-wrapper:hover .testimonials-track {
    animation-play-state: paused;
}

@keyframes testimonialsScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}