/* Khyber Nature Society (KNS) - Premium main Stylesheet */

/* ==========================================================================
   1. Design System & Variables
   ========================================================================== */
:root {
    /* Color Palette */
    --primary-green: #0F3223;
    --primary-green-rgb: 15, 50, 35;
    --secondary-green: #1D543B;
    --sage-green: #7D9D82;
    --sage-green-rgb: 125, 157, 130;
    
    --accent-gold: #DF9A28;
    --accent-gold-rgb: 223, 154, 40;
    --accent-gold-hover: #C68119;
    
    --bg-cream: #FAF9F5;
    --bg-white: #FFFFFF;
    --bg-dark: #0A1B13;
    --bg-dark-rgb: 10, 27, 19;
    
    --text-dark: #1C2721;
    --text-light: #F2F4F3;
    --text-muted: #5C6B63;
    --border-color: rgba(15, 50, 35, 0.08);
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Layout & Premium Shadows */
    --container-width: 1200px;
    --shadow-sm: 0 4px 10px rgba(15, 50, 35, 0.03);
    --shadow-md: 0 10px 30px rgba(15, 50, 35, 0.05), 0 1px 8px rgba(15, 50, 35, 0.02);
    --shadow-lg: 0 20px 40px rgba(15, 50, 35, 0.08), 0 1px 15px rgba(15, 50, 35, 0.03);
    --shadow-glass: 0 8px 32px 0 rgba(10, 27, 19, 0.06);
    --border-glass: 1px solid rgba(255, 255, 255, 0.08);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. Reset & Global Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-green);
    letter-spacing: -0.5px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

.section-padding {
    padding: 100px 0;
}

.section-padding-small {
    padding: 50px 0;
}

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

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

.sub-title {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.section-lead {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto;
}

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

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

.section-header {
    margin-bottom: 70px;
}

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), #EFAC3F);
    color: var(--bg-white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-gold-hover), var(--accent-gold));
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(223, 154, 40, 0.3);
}

.btn-outline-white {
    border-color: var(--bg-white);
    color: var(--bg-white);
    background-color: transparent;
}

.btn-outline-white:hover {
    background-color: var(--bg-white);
    color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.2);
}

.btn-outline {
    border-color: var(--primary-green);
    color: var(--primary-green);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-green);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15, 50, 35, 0.2);
}

.btn-text-link {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--accent-gold);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.btn-text-link:hover {
    color: var(--accent-gold-hover);
}

.btn-text-link svg {
    transition: transform var(--transition-fast);
}

.btn-text-link:hover svg {
    transform: translateX(4px);
}

/* ==========================================================================
   4. Sticky Header Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: padding var(--transition-normal), background-color var(--transition-normal);
}

.site-header.scrolled {
    background-color: rgba(10, 27, 19, 0.75);
    backdrop-filter: blur(16px);
    padding: 16px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.nav-logo {
    height: 52px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
    transition: height var(--transition-normal);
}

.site-header.scrolled .nav-logo {
    height: 44px;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding: 8px 0;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: width var(--transition-fast);
}

.nav-link:hover {
    color: var(--bg-white);
}

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

.nav-link.active {
    color: var(--accent-gold);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--bg-white);
    position: relative;
    transition: background var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--bg-white);
    transition: transform var(--transition-fast);
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    bottom: -6px;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: translateY(6px) rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: translateY(-6px) rotate(-45deg);
}

/* ==========================================================================
   5. Hero Section (Home page)
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    color: var(--bg-white);
    background-image: url('/assets/home_bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 27, 19, 0.75), rgba(10, 27, 19, 0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-top: 60px;
}



.hero h1 {
    font-size: 54px;
    line-height: 1.2;
    color: var(--bg-white);
    margin-bottom: 24px;
    font-family: var(--font-heading);
    font-weight: 800;
}

.hero .lead {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 3;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: var(--bg-white);
}

/* ==========================================================================
   6. Statistics & Opening quote (Home page)
   ========================================================================== */
.stats-section {
    position: relative;
    z-index: 5;
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--bg-cream);
    border-radius: 12px;
    border: 1px solid rgba(15, 50, 35, 0.04);
    transition: transform var(--transition-normal);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px auto;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}



.stat-card:hover {
    transform: translateY(-4px);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 12px;
}

.stat-desc {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-green);
    line-height: 1.4;
}

.opening-statement {
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.intro-tagline {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.intro-tagline .tag-word {
    display: inline-block;
    transition: transform var(--transition-fast);
}

.intro-tagline .tag-word:hover {
    transform: scale(1.08) translateY(-1px);
    cursor: default;
}

.intro-tagline .tag-learn {
    color: var(--accent-gold); /* Brand Gold */
}

.intro-tagline .tag-lead {
    color: #1F6E43; /* Intermediate Green */
}

.intro-tagline .tag-conserve {
    color: var(--primary-green); /* Brand Dark Green */
}

@media (max-width: 600px) {
    .intro-tagline {
        font-size: 26px;
        gap: 12px;
        letter-spacing: 3px;
        margin-bottom: 16px;
    }
}

.opening-statement blockquote {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1.4;
    font-style: italic;
    position: relative;
}

/* ==========================================================================
   7. Carousel Styling (Core Actions slider)
   ========================================================================== */
.home-carousel-section {
    background-color: var(--bg-cream);
}

.carousel-container-outer {
    position: relative;
    max-width: 1200px;
    margin: 50px auto 0 auto;
    padding: 0 60px;
}

.carousel-track-wrapper {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.carousel-card {
    flex: 0 0 calc((100% - 60px) / 3);
    background: var(--bg-white);
    border: 1px solid rgba(15, 50, 35, 0.05);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 300px;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.carousel-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(15, 50, 35, 0.06);
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, color 0.3s ease;
}

.carousel-card:hover .carousel-card-icon {
    background-color: var(--primary-green);
    color: var(--bg-white);
}

.carousel-card h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
}

.carousel-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.carousel-control-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(15, 50, 35, 0.1);
    background: var(--bg-white);
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.carousel-control-btn:hover {
    background: var(--primary-green);
    color: var(--bg-white);
    border-color: var(--primary-green);
    transform: scale(1.05);
}

/* Biodiversity Carousel Customizations */
.bio-carousel-card {
    padding: 24px !important;
    gap: 16px !important;
}

.carousel-card-img-box {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
}

.carousel-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.bio-carousel-card:hover .carousel-card-img {
    transform: scale(1.04);
}

.carousel-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 12px;
}

.carousel-card-content .card-badge {
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
}

.carousel-card-content h4 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    color: var(--primary-green);
}

.carousel-card-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    flex-grow: 1;
}

/* ==========================================================================
   8. Previews & Spotlights (Home landing preview cards)
   ========================================================================== */
.spotlight-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.spotlight-preview-card {
    background: var(--bg-white);
    border: 1px solid rgba(15, 50, 35, 0.05);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.spotlight-preview-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.spotlight-preview-img-container {
    height: 250px;
    overflow: hidden;
}

.spotlight-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform var(--transition-slow);
}

.spotlight-preview-card:hover .spotlight-preview-img {
    transform: scale(1.04);
}

.spotlight-preview-text {
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-grow: 1;
}

.spotlight-preview-text h4 {
    font-size: 22px;
    font-weight: 700;
}

.spotlight-preview-text p {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
}

.team-preview-deck {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-preview-member {
    background-color: var(--bg-white);
    border: 1px solid rgba(15, 50, 35, 0.05);
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.team-preview-member:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.team-member-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--sage-green);
    margin-bottom: 5px;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-preview-member h4 {
    font-size: 18px;
    margin: 0;
}

.role-desc {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.media-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

/* ==========================================================================
   9. Subpage headers & generic subpage layouts
   ========================================================================== */
.site-header.subpage-header {
    background-color: transparent !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: none;
    padding: 30px 0;
    transition: padding var(--transition-normal), background-color var(--transition-normal);
}

.site-header.subpage-header.scrolled {
    background-color: rgba(10, 27, 19, 0.75) !important;
    backdrop-filter: blur(16px);
    padding: 16px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header.subpage-header .nav-logo {
    height: 52px;
    transition: height var(--transition-normal);
}

.site-header.subpage-header.scrolled .nav-logo {
    height: 44px;
}

.site-header.subpage-header .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

.site-header.subpage-header .nav-link:hover {
    color: var(--bg-white);
}

.site-header.subpage-header .nav-link.active {
    color: var(--accent-gold);
}

.subpage-main {
    background-color: var(--bg-white);
    padding-top: 0 !important; /* subpage banners handle their own top space for fixed header */
}

.subpage-banner {
    position: relative;
    padding: 160px 0 100px 0;
    background: linear-gradient(135deg, var(--bg-dark), var(--primary-green));
    color: var(--bg-white);
    text-align: center;
    overflow: hidden;
}

.subpage-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/home_bg.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    mix-blend-mode: overlay;
    z-index: 1;
    pointer-events: none;
}

.subpage-banner .container {
    position: relative;
    z-index: 2;
}

.subpage-banner h1 {
    font-size: 52px;
    color: var(--bg-white);
    margin: 12px 0;
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.subpage-banner .sub-title {
    color: var(--accent-gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.subpage-banner .section-lead {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
}

.subpage-banner-divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 16px auto 24px auto;
    border-radius: 2px;
}

.subpage-banner-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 40px;
    z-index: 2;
}

.subpage-banner-wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

.fill-cream {
    fill: var(--bg-cream);
}

.fill-white {
    fill: var(--bg-white);
}

/* ==========================================================================
   10. About Us page & Pakistan Map
   ========================================================================== */
.about-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 80px;
}

.about-main-text {
    background: var(--bg-white);
    border: 1px solid rgba(15, 50, 35, 0.05);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.about-main-text p {
    font-size: 16px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

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

.about-mv-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mv-card {
    background: var(--bg-white);
    border: 1px solid rgba(15, 50, 35, 0.05);
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
}

.mv-card:hover {
    transform: translateY(-4px);
}

.mv-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(223, 154, 40, 0.1);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.mv-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.mv-card p {
    font-size: 15px;
    color: var(--text-muted);
}

.story-section {
    margin-bottom: 80px;
}

.story-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 1.1fr;
    gap: 40px;
    align-items: stretch;
}

.story-image-box {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(15, 50, 35, 0.06);
    display: flex;
    height: 100%;
    min-height: 280px;
}

.story-field-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-normal);
}

.story-image-box:hover .story-field-img {
    transform: scale(1.05);
}

.story-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.story-text p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

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

.story-box-highlights {
    background-color: var(--primary-green);
    color: var(--bg-white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.highlight-box h4 {
    color: var(--accent-gold);
    font-size: 22px;
    margin-bottom: 16px;
}

.highlight-box p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.highlight-box p.text-muted {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

/* Pakistan svg map */
.where-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.where-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.where-info p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.work-hubs {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hub-bullet-item {
    display: flex;
    gap: 16px;
}

.bullet-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accent-gold);
    margin-top: 8px;
    flex-shrink: 0;
    position: relative;
}

.bullet-dot::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 1px solid var(--accent-gold);
    opacity: 0.5;
}

.hub-bullet-item h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.hub-bullet-item p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.where-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

.where-image-box {
    width: 100%;
    max-width: 520px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(15, 50, 35, 0.06);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.where-image-box:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.where-field-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.map-blob-backdrop {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--accent-gold);
    opacity: 0.05;
    filter: blur(40px);
    top: 25%;
    left: 45%;
}

.mini-map-label {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-green);
    background-color: var(--bg-white);
    padding: 6px 12px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 50, 35, 0.06);
}

/* ==========================================================================
   11. Actions page
   ========================================================================== */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.action-card {
    background: var(--bg-white);
    border: 1px solid rgba(15, 50, 35, 0.05);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.action-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background-color: rgba(15, 50, 35, 0.06);
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, color 0.3s;
    flex-shrink: 0;
}

.action-card:hover .action-icon-wrapper {
    background-color: var(--primary-green);
    color: var(--bg-white);
}

.action-card h3 {
    font-size: 20px;
    font-weight: 700;
}

.action-card p {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
}

.sdg-badge {
    align-self: flex-start;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-gold);
    background-color: rgba(223, 154, 40, 0.08);
    padding: 6px 14px;
    border-radius: 50px;
    margin-top: auto;
}

.sdg-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

/* ==========================================================================
   12. Biodiversity Focus page & Citizen science Form
   ========================================================================== */
.biodiversity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 70px;
}

.biodiversity-main-card {
    background: var(--bg-white);
    border: 1px solid rgba(15, 50, 35, 0.05);
    border-radius: 16px;
    padding: 0;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.biodiversity-card-img-box {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(15, 50, 35, 0.05);
}

.biodiversity-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.biodiversity-main-card:hover .biodiversity-card-img {
    transform: scale(1.05);
}

.biodiversity-card-content {
    padding: 35px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.biodiversity-main-card h3 {
    font-size: 24px;
    margin-bottom: 18px;
}

.biodiversity-main-card p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.biodiversity-main-card p:last-child {
    margin-bottom: 0;
}

.initiatives-subgrid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-bottom: 80px;
}

.initiative-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    background: var(--bg-white);
    border: 1px solid rgba(15, 50, 35, 0.04);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.initiative-card:nth-child(even) {
    grid-template-columns: 0.9fr 1.1fr;
}

.initiative-card:nth-child(even) .init-img-box {
    order: 2;
}

.initiative-card:nth-child(even) .init-text {
    order: 1;
}

.init-img-box {
    border-radius: 12px;
    overflow: hidden;
    height: 320px;
}

.init-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.init-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.init-badge {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
}

.init-text h4 {
    font-size: 26px;
    font-weight: 700;
}

.init-text p {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
}

/* Yellow Tab records form */
.contribute-record-card {
    background-color: #FCFAF2;
    border: 1px solid rgba(223, 154, 40, 0.3);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-md);
}

.record-header {
    margin-bottom: 35px;
}

.badge-amber {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-gold);
    background-color: rgba(223, 154, 40, 0.08);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.record-header h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.record-header p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.warning-alert {
    display: flex;
    gap: 16px;
    background-color: rgba(223, 154, 40, 0.05);
    border-left: 4px solid var(--accent-gold);
    padding: 20px;
    border-radius: 0 8px 8px 0;
}

.warning-icon {
    color: var(--accent-gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.warning-alert p {
    font-size: 14px;
    color: #8C6116;
    line-height: 1.5;
    margin: 0;
}

.record-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

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

.form-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.form-grid-4 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: 0.5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(15, 50, 35, 0.12);
    font-family: var(--font-body);
    font-size: 14px;
    background-color: var(--bg-white);
    color: var(--text-dark);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(15, 50, 35, 0.05);
}

.file-input {
    padding: 8px !important;
}

.sample-details-group {
    background-color: rgba(15, 50, 35, 0.02);
    border: 1px dashed rgba(15, 50, 35, 0.1);
    border-radius: 12px;
    padding: 24px;
}

.sample-details-group .sub-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary-green);
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.form-checkbox-group {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.form-checkbox-group input[type="checkbox"] {
    margin-top: 6px;
    width: 16px;
    height: 16px;
    accent-color: var(--accent-gold);
    flex-shrink: 0;
}

.form-checkbox-group label {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.form-feedback {
    display: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.form-feedback.error {
    display: block;
    background-color: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
}

.form-feedback.success {
    display: block;
    background-color: #D1FAE5;
    color: #065F46;
    border: 1px solid #6EE7B7;
}

/* ==========================================================================
   13. Publications Library page
   ========================================================================== */
.filter-tabs-wrapper {
    margin-bottom: 45px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.filter-tabs {
    display: flex;
    gap: 12px;
    white-space: nowrap;
}

.filter-tab-btn,
.filter-media-btn {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-green);
    background-color: var(--bg-white);
    border: 1px solid rgba(15, 50, 35, 0.08);
    padding: 10px 22px;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-tab-btn:hover,
.filter-media-btn:hover {
    background-color: rgba(15, 50, 35, 0.04);
}

.filter-tab-btn.active,
.filter-media-btn.active {
    background-color: var(--accent-gold);
    color: var(--bg-white);
    border-color: var(--accent-gold);
    box-shadow: 0 4px 10px rgba(223, 154, 40, 0.2);
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.pub-card {
    background: var(--bg-white);
    border: 1px solid rgba(15, 50, 35, 0.05);
    border-radius: 16px;
    padding: 35px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.pub-card.hide {
    display: none !important;
}

.pub-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pub-type {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
}

.pub-date {
    font-size: 13px;
    color: var(--text-muted);
}

.pub-card h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.pub-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.pub-card-authors {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
    margin-top: 15px;
    margin-bottom: 12px;
}

.pub-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid rgba(15, 50, 35, 0.06);
    padding-top: 15px;
}

.pub-journal {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-green);
    max-width: 65%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pub-status-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.pub-status-badge.status-review {
    color: #b25e00;
    background-color: #fff3e0;
    border: 1px solid #ffe0b2;
}

.pub-status-badge.status-published {
    color: var(--primary-green);
    background-color: rgba(22, 62, 43, 0.08);
    border: 1px solid rgba(22, 62, 43, 0.15);
}

/* ==========================================================================
   14. Team & Become a Member Form
   ========================================================================== */
.team-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 70px;
}

.team-profile-card {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    background: var(--bg-white);
    border: 1px solid rgba(15, 50, 35, 0.05);
    border-radius: 16px;
    padding: 35px;
    box-shadow: var(--shadow-sm);
    align-items: center;
}

.profile-img-container {
    width: 240px;
    height: 240px;
    border-radius: 12px;
    overflow: hidden;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.profile-details-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-details-content h4 {
    font-size: 24px;
}

.profile-role {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-details-content p {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
}

/* Member sign up card */
.become-member-card {
    background-color: var(--primary-green);
    color: var(--bg-white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

.become-member-card label {
    color: rgba(255, 255, 255, 0.9);
}

.become-member-card input[type="text"],
.become-member-card select,
.become-member-card textarea {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--bg-white);
}

.become-member-card input:focus,
.become-member-card select:focus,
.become-member-card textarea:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(223, 154, 40, 0.2);
}

.badge-white {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-gold);
    background-color: rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.member-header {
    margin-bottom: 35px;
}

.member-header h3 {
    font-size: 28px;
    color: var(--bg-white);
    margin-bottom: 12px;
}

.member-header p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.member-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ==========================================================================
   15. Media Feed
   ========================================================================== */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.media-card-item {
    background: var(--bg-white);
    border: 1px solid rgba(15, 50, 35, 0.05);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.media-card-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.media-card-item.hide {
    display: none !important;
}

.media-img-box {
    height: 230px;
    overflow: hidden;
}

.media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform var(--transition-slow);
}

.media-card-item:hover .media-img {
    transform: scale(1.04);
}

.media-text-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

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

.media-category-tag {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
}

.media-date {
    font-size: 13px;
    color: var(--text-muted);
}

.media-text-content h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.media-text-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   16. Opportunities & Career Listings
   ========================================================================== */
.opp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.opp-box {
    background: var(--bg-white);
    border: 1px solid rgba(15, 50, 35, 0.05);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.opp-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.opp-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background-color: rgba(15, 50, 35, 0.06);
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.opp-box h3 {
    font-size: 20px;
    font-weight: 700;
}

.opp-box p {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   17. Contact Details & message forms
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info-block h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.contact-info-block p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.method-item {
    display: flex;
    gap: 20px;
}

.method-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background-color: rgba(15, 50, 35, 0.06);
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-item h5 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.method-item p {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
}

.method-item p a {
    color: var(--primary-green);
    font-weight: 600;
}

.method-item p a:hover {
    color: var(--accent-gold);
}

.contact-form-card {
    background: var(--bg-white);
    border: 1px solid rgba(15, 50, 35, 0.05);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form-card h4 {
    font-size: 22px;
    margin-bottom: 24px;
}

/* ==========================================================================
   18. Shared Footer & Pakistan Mini Outline
   ========================================================================== */
.site-footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 0 0 40px;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-wave {
    width: 100%;
    height: 60px;
    margin-top: -1px;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: var(--bg-white);
    transform: rotate(180deg);
}

.footer-content {
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.footer-brand h3 {
    color: var(--bg-white);
    font-size: 20px;
    margin: 0;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-hours {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-links h4,
.footer-contact h4,
.footer-minimap h4 {
    font-family: var(--font-heading);
    color: var(--bg-white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links ul a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-links ul a:hover {
    color: var(--accent-gold);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-contact p a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.footer-contact p a:hover {
    color: var(--accent-gold);
}

.social-title {
    margin-top: 24px;
    margin-bottom: 12px !important;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--accent-gold);
    color: var(--bg-white);
    transform: translateY(-2px);
}



.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   19. Intersection Observer Reveal Classes
   ========================================================================== */
.appear {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ==========================================================================
   20. Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 44px;
    }
    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1.2fr;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .section-padding {
        padding: 80px 0;
    }
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .where-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .initiative-card,
    .initiative-card:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .initiative-card:nth-child(even) .init-img-box {
        order: 1;
    }
    .initiative-card:nth-child(even) .init-text {
        order: 2;
    }
    .init-img-box {
        height: 260px;
    }
    .team-profile-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .profile-img-container {
        margin: 0 auto;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .carousel-container {
        padding: 0 30px;
    }
    .carousel-card {
        flex: 0 0 calc((100% - 30px) / 2);
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 20px 0;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--primary-green);
        padding: 100px 40px 40px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
        transition: right var(--transition-normal);
        z-index: 999;
    }
    .nav-menu.open {
        right: 0;
    }
    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .nav-link {
        font-size: 18px;
        color: rgba(255, 255, 255, 0.85);
    }
    .hero {
        height: auto;
        padding: 140px 0 100px;
        text-align: center;
    }
    .hero-content {
        margin-top: 0;
    }
    .hero-actions {
        justify-content: center;
    }
    .opening-statement blockquote {
        font-size: 24px;
    }
    .contribute-record-card,
    .become-member-card {
        padding: 30px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 32px;
    }
    .hero .lead {
        font-size: 16px;
    }
    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .subpage-banner h1 {
        font-size: 32px;
    }
    .form-grid-2,
    .form-grid-3,
    .form-grid-4 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .sample-details-group {
        padding: 16px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .carousel-container {
        padding: 0 15px;
    }
    .carousel-card {
        flex: 0 0 100%;
        min-width: 0;
    }
}

/* ==========================================================================
   21. Alternating Action Strip Styles
   ========================================================================== */
.action-strip {
    border-bottom: 1px solid rgba(15, 50, 35, 0.05);
}

.action-strip-row {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.action-strip-row.reverse {
    grid-template-columns: 0.9fr 1.1fr;
}

.action-strip-row.reverse .action-strip-text {
    order: 2;
}

.action-strip-row.reverse .action-strip-media {
    order: 1;
}

.strip-pillar-num {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.action-strip-text h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.25;
}

.action-strip-text p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.action-strip-text p:last-of-type {
    margin-bottom: 30px;
}

.action-strip-img-box {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(15, 50, 35, 0.06);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.action-strip-img-box:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.action-strip-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

/* Media query adaptation for action strip */
@media (max-width: 992px) {
    .action-strip-row,
    .action-strip-row.reverse {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }
    
    .action-strip-row.reverse .action-strip-text {
        order: 1;
    }
    
    .action-strip-row.reverse .action-strip-media {
        order: 2;
    }
    
    .action-strip-text h2 {
        font-size: 28px;
    }
    
    .action-strip-img-box {
        aspect-ratio: 16 / 10;
    }
}

.empty-state-notice {
    grid-column: 1 / -1;
    text-align: center;
    background-color: var(--white);
    padding: 60px 40px;
    border-radius: 16px;
    border: 1px dashed rgba(22, 62, 43, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 650px;
    margin: 20px auto;
    width: 100%;
    box-sizing: border-box;
    box-shadow: var(--shadow-sm);
}

.empty-state-notice.hide {
    display: none !important;
}

.empty-state-notice .notice-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-green);
    margin: 0 0 12px 0;
    font-family: var(--font-heading);
}

.empty-state-notice p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   Featured Stories Section
   ========================================================================== */
.featured-stories {
    background-color: var(--bg-cream);
    border-top: 1px solid rgba(15, 50, 35, 0.05);
}

.featured-stories-row {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.stories-intro .sub-title {
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-gold);
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
}

.stories-intro h2 {
    font-size: 38px;
    color: var(--primary-green);
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-weight: 850;
    line-height: 1.2;
}

.stories-intro .intro-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

.featured-story-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(15, 50, 35, 0.05);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.story-card-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-gold);
    display: inline-block;
    margin-bottom: 15px;
    padding: 4px 10px;
    background-color: rgba(212, 175, 55, 0.08);
    border-radius: 4px;
}

.featured-story-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.story-card-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.story-card-btn {
    display: inline-block;
}

/* Responsive override */
@media (max-width: 992px) {
    .featured-stories-row {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .story-card-label {
        margin-left: auto;
        margin-right: auto;
    }
}

