﻿/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Advanced Purple Palette */
    --primary-dark: #4c1d95;
    /* Deep Violet */
    --primary-main: #6b46c1;
    /* Rich Purple */
    --primary-light: #9f7aea;
    /* Soft Purple */
    --accent-pink: #d53f8c;
    /* Pink */

    /* Backgrounds */
    --bg-body: #ffffff;
    /* pure white */
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-card: rgba(255, 255, 255, 0.85);

    /* Text */
    --text-dark: #1a202c;
    --text-muted: #4a5568;

    /* Gradients */
    --gradient-brand: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-warm: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(107, 70, 193, 0.4);

    --radius-md: 16px;
    --radius-lg: 24px;
    --font-primary: 'Outfit', sans-serif;
}

/* Global Media Reset */
img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-body);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* GLASSMORPHISM NAVBAR */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Old style cleaned up */

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text span {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--primary-dark);
    letter-spacing: -1px;
    line-height: 1;
    text-transform: uppercase;
}

.logo-text small {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

#nav-menu {
    display: none;
}

.menu-toggle {
    font-size: 1.4rem;
    color: #333;
    cursor: pointer;
    display: block;
}

/* Mobile Menu Active State */
#nav-menu.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    padding-bottom: 30px;
    z-index: 999;
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#nav-menu.active ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 25px;
    list-style: none;
}

#nav-menu.active ul li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    padding-bottom: 5px;
}

#nav-menu.active ul li:last-child {
    border-bottom: none;
}

#nav-menu.active ul li a {
    display: block;
    padding: 12px 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

#nav-menu.active ul li a:hover {
    color: var(--primary-main);
    padding-left: 15px;
    background: rgba(107, 70, 193, 0.05);
    border-radius: 8px;
}

/* Hide nested menus on mobile, show only when toggled */
#nav-menu.active .dropdown-menu {
    display: none;
    position: static;
    box-shadow: none;
    background: transparent;
    padding: 0;
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0;
    transition: none;
}

/* Show when parent has active-dropdown class */
#nav-menu.active li.dropdown.active-dropdown .dropdown-menu {
    display: block;
    background: rgba(0, 0, 0, 0.03);
    padding-left: 20px;
    border-radius: 8px;
    margin-top: 5px;
    margin-bottom: 10px;
    animation: fadeIn 0.3s ease;
}

#nav-menu.active li.dropdown.active-dropdown .dropdown-toggle i {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

/* Ensure icons rotate back when closed */
#nav-menu.active li.dropdown .dropdown-toggle i {
    transition: transform 0.3s ease;
}

/* Adjust nested items styling */
#nav-menu.active .dropdown-menu li a {
    font-size: 1rem;
    padding: 10px;
    font-weight: 500;
}



.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-donate-btn {
    background: linear-gradient(135deg, #805ad5, #b83280);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 10px 25px rgba(128, 90, 213, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    display: none;
}

.nav-donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(128, 90, 213, 0.4);
}

.ml-2 {
    margin-left: 8px;
}

/* Donate Dropdown */
.donate-dropdown {
    position: relative;
    display: none;
    /* Inherits display logic from btn usually, but needs wrapper */
}

@media (min-width: 768px) {
    .donate-dropdown {
        display: inline-block;
    }
}

.donate-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 220px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    margin-top: 15px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
    border: 1px solid rgba(107, 70, 193, 0.1);
}

.donate-dropdown:hover .donate-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Bridge for hover */
.donate-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
}

.donate-menu li {
    padding: 0 10px;
}

.donate-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.donate-menu li a:hover {
    background: rgba(107, 70, 193, 0.08);
    color: var(--primary-main);
    padding-left: 25px;
}

.donate-menu li a i {
    width: 20px;
    text-align: center;
    color: var(--primary-main);
}


/* HERO SECTION WITH CURVE */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    color: white;
    display: flex;
    align-items: center;
    text-align: left;
    margin-bottom: 0;
    z-index: 10;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(85, 60, 154, 0.0) 0%, rgba(184, 50, 128, 0.8) 100%);
    z-index: -1;
}

/* Curve Divider at Bottom of Hero - Tweaked for structure */
.hero::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    background: #faf5ff;
    /* Match body bg */
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    transform: scaleX(1.5);
    z-index: 11;
}


.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
    padding-bottom: 150px;
    /* Increased for overlap safety */
}

.hero-content h1 {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 0.95rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 500px;
    line-height: 1.8;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #805ad5;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: #f7fafc;
}

.carousel-indicators {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary-light);
    transform: scale(1.3);
}

/* STATS SECTION (Floating Glass Panel) */
.stats-section {
    position: relative;
    z-index: 20;
    /* Above Hero */
    padding: 0 20px 80px;
    margin-top: -100px;
    /* Overlap Hero */
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;

    /* Glassmorphism Panel */
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 cols on desktop looks better for 6 items */
        padding: 60px;
    }
}

.stat-item h2 {
    background: var(--gradient-brand);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 5px;
}

@media (min-width: 768px) {
    .stat-item h2 {
        font-size: 3rem;
    }
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CARDS COMMON STYLES */
.focus-card,
.program-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.focus-card:hover,
.program-card:hover {
    transform: translateY(-10px) !important;
}

/* FOCUS AREAS */
.focus-section {
    padding: 60px 20px 80px;
    background: transparent;
    /* Let body gradient show */
    margin-top: 0;
    position: relative;
    z-index: 8;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    color: #1a202c;
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 800;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.focus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1200px;
    /* Constrain width for better 2-up appearance */
    margin: 0 auto;
}

@media (min-width: 768px) {
    .focus-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .focus-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.focus-card {
    position: relative;
    border-radius: var(--radius-lg);
    background: white;
    /* Keep white for contrast inside cards */
    overflow: hidden;
    height: 240px;
    color: white;
    box-shadow: var(--shadow-soft);
}

.card-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s;
}

.focus-card:hover .card-bg-img {
    transform: scale(1.1);
}

/* Bright Gradients */
.focus-card .card-overlay {
    transition: opacity 0.3s;
    opacity: 0.85;
    position: absolute;
    inset: 0;
    z-index: 2;
}

.focus-card:hover .card-overlay {
    opacity: 0.9;
}

/* Gradients */
.highlight-blue {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.highlight-orange {
    background: linear-gradient(135deg, #f57f5c 0%, #f7b733 100%);
}

.highlight-pink {
    background: linear-gradient(135deg, #f77062 0%, #fe5196 100%);
}

.highlight-green {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.card-content {
    position: relative;
    z-index: 3;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.focus-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.focus-card p {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 1;
    margin-bottom: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.tag {
    background: rgba(255, 255, 255, 0.25);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* IMPACT SECTION AESTHETICS (VIDEO) */
.impact-section {
    background: var(--gradient-brand);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-top: 0;
    position: relative;
    clip-path: none;
    /* Removed complex clip paths for cleaner structure */
}

.impact-header h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 800;
}

@media (min-width: 768px) {
    .impact-header h2 {
        font-size: 2.8rem;
    }
}

.video-card {
    max-width: 1000px;
    margin: 40px auto 60px;
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
    position: relative;
    overflow: hidden;
    /* Ensures video respects border-radius */
}

.video-card video,
.video-card iframe {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    /* Enforce standard video aspect ratio */
}

.play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9f7aea, #d53f8c);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 0 0 15px rgba(159, 122, 234, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    z-index: 10;
}

.play-btn-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 0 20px rgba(159, 122, 234, 0.3);
}

.video-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* Ensure caption spans full width */
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    text-align: left;
    z-index: 5;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.impact-stat-item h3 {
    font-size: 2.5rem;
    background: linear-gradient(to right, #fff, #ffe3d3);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.impact-stat-item p {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* PROGRAMS SECTION CLEAN */
.programs-section {
    padding: 60px 20px;
    background: #fcfaff;
    /* Light lavender tint */
}

.programs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.program-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: none;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    box-shadow: var(--shadow-hover);
}

.program-img-wrapper {
    height: 220px;
    position: relative;
}

.program-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    bottom: -30px;
    left: 30px;
    background: linear-gradient(135deg, #805ad5, #b83280);
    box-shadow: 0 10px 20px rgba(128, 90, 213, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 10;
}

.program-content {
    padding: 50px 30px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.program-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* INNER PAGE HEADER */
.page-header {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 0;
    z-index: 10;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(76, 29, 149, 0.5) 0%, rgba(107, 70, 193, 0.4) 100%);
    z-index: -1;
}

/* Curve for inner pages */
.page-header::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 50px;
    background: var(--bg-body);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    transform: scaleX(1.5);
    z-index: 11;
}

.page-header-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 20px;
    padding-bottom: 60px;
}

.page-header-content h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #FFD700;
    /* Gold/Yellow */
    text-transform: uppercase;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .page-header-content h1 {
        font-size: 3.5rem;
    }
}

.page-header-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ABOUT PAGE GRID */
.content-section {
    padding: 60px 20px;
    background: var(--bg-body);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

/* CONTACT PAGE */
.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr 1.5fr;
        gap: 60px;
    }
}

.contact-info {
    background: linear-gradient(135deg, #805ad5, #b83280);
    color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.info-item p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.contact-form h2 {
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #4a5568;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #9f7aea;
    box-shadow: 0 0 0 3px rgba(159, 122, 234, 0.1);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #805ad5, #b83280);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 20px rgba(128, 90, 213, 0.2);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(128, 90, 213, 0.3);
}

.about-img {
    position: relative;
}

.about-img img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    border: 5px solid white;
}

/* Decorative backdrop for image */
.about-img::before {
    content: "";
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #9f7aea, #d53f8c);
    z-index: -1;
    opacity: 0.3;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 25px;
    font-weight: 800;
}

.about-text p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 20px;
}

/* MISSION GRIDS */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .mission-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.mission-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    color: #2d3748;
}

/* OBJECTIVES & DEMOGRAPHICS (New Sections) */
.objectives-section {
    margin-top: 80px;
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.custom-list {
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
}

.custom-list li {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.demographics-section {
    margin-top: 80px;
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}



.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.mission-card i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #9f7aea, #d53f8c);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.mission-card p {
    color: #718096;
}

/* Specific gradients for different cards if needed, or uniform */
.mission-card.highlight-blue {
    border-top: 4px solid #4facfe;
}

.mission-card.highlight-extra {
    border-top: 4px solid #667eea;
}

.mission-card.highlight-orange {
    border-top: 4px solid #f57f5c;
}

@media (min-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-img {
        order: 1;
        /* Image right for variety or standard left */
    }
}

.learn-more {
    margin-top: auto;
    font-weight: 600;
    color: var(--icon-orange);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

/* FOOTER */
footer {
    background: #1a202c;
    color: #a0aec0;
    padding: 80px 20px 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-col h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: white;
}

.copyright {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* RESPONSIVE DESIGN */
@media (min-width: 768px) {
    #nav-menu {
        display: block;
    }

    .menu-toggle {
        display: none;
    }

    .nav-donate-btn {
        display: inline-block;
    }

    #nav-menu ul {
        display: flex;
        list-style: none;
    }

    #nav-menu ul li {
        margin-left: 20px;
    }

    #nav-menu ul li a {
        font-weight: 600;
        font-size: 1.05rem;
        white-space: nowrap;
    }

    .hero-content h1 {
        font-size: 4.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .focus-card {
        height: 280px;
    }

    /* Restore desktop padding */
    .impact-section,
    .programs-section,
    .testimonial-section {
        padding: 100px 20px;
    }

    .content-section,
    .footprints-section {
        padding: 80px 20px;
    }

    .focus-section {
        padding: 80px 20px 100px;
    }
}

/* GALLERY SECTION */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile default */
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    /* Wider for 3 cols */
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 cols requested */
    }
}

.gallery-item {
    height: 300px;
    /* Standard height for grid */
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    /* Stronger shadow */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
    /* Zoom effect */
    z-index: 10;
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s;
}

.gallery-item:hover img {
    transform: scale(1.1);
    /* Inner image pan */
}

/* Typography Enhancements */
.section-header h2 {
    background: var(--gradient-brand);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-pink);
    border-radius: 2px;
}

/* MAP SECTION */
.map-section {
    padding: 60px 20px;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.4);
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* TESTIMONIALS SECTION */
.testimonial-section {
    padding: 60px 0;
    background: transparent;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .testimonial-grid.grid-3 {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1300px;
    }
}

.testimonial-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 3rem;
    color: var(--primary-light);
    opacity: 0.1;
}

.testimonial-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-style: italic;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 25px;
}

.author-img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-light);
    flex-shrink: 0;
    background: var(--bg-body);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-img i {
    font-size: 1.5rem;
    color: var(--primary-main);
}

.author-details h4 {
    font-size: 1.15rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 2px;
}

.author-details p {
    font-size: 0.85rem;
    color: var(--primary-main);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-section h2.subsection-title {
    text-align: center;
    font-size: 2.25rem;
    color: var(--primary-dark);
    margin-bottom: 60px;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
    margin-top: 40px;
}

.testimonial-section h2.subsection-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-brand);
    border-radius: 2px;
}

/* Custom 2-col grid for About page Vision/Mission */
@media (min-width: 768px) {
    .mission-grid-2-col {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 900px !important;
    }
}

/* FOOTPRINTS SECTION */
.footprints-section {
    padding: 60px 20px;
    background: white;
}

.footprints-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 900px) {
    .footprints-content {
        grid-template-columns: 1fr 1fr;
    }
}

.footprints-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.footprints-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.fp-stat h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    line-height: 1;
    margin-bottom: 5px;
    font-weight: 800;
    white-space: nowrap;
}

.fp-stat p {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-main);
    letter-spacing: 1px;
}

.footprints-map {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footmap-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.footmap-img:hover {
    transform: scale(1.02);
}

/* SDGs SECTION */
.sdg-section {
    padding: 80px 20px;
    background: #4c1d95;
    /* Deep Purple theme */
    background: linear-gradient(135deg, #4c1d95 0%, #6b46c1 100%);
    color: white;
}

.sdg-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 60px;
}

@media (min-width: 900px) {
    .sdg-content {
        grid-template-columns: 1fr 1fr;
    }
}

.sdg-text-col p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 500;
}

.wheel-placeholder {
    width: 350px;
    height: 350px;
    background: white;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.wheel-placeholder i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.sdg-stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Mobile: 2 cols */
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .sdg-stats-row {
        grid-template-columns: repeat(5, 1fr);
        /* Desktop: 5 cols */
    }
}

.sdg-stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Fix SECTION HEADER in SDG to be white */
.sdg-section .section-header h2 {
    color: white;
    background: none;
    -webkit-text-fill-color: initial;
}

.sdg-section .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.sdg-stat-item i {
    font-size: 2rem;
    color: #ffcc00;
    /* Yellow icons for contrast */
    margin-bottom: 5px;
}

.sdg-stat-item h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    font-weight: 800;
}

.sdg-stat-item p {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
}

/* IDEOLOGIES SECTION */
.ideologies-section {
    padding: 80px 20px;
    background: #ffffff;
    text-align: center;
}

.ideology-title {
    color: var(--primary-dark);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 50px;
    font-family: var(--font-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    /* Essential for overlay */
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/3;
    /* Enforce consistent aspect ratio */
}

.text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 15px;
    background: linear-gradient(to top, rgba(76, 29, 149, 0.9), transparent);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .text-overlay {
    opacity: 1;
    transform: translateY(0);
}

.ideology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.ideology-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ideology-icon-wrapper {
    width: 120px;
    height: 120px;
    background: #eedfff;
    /* Light purple */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.ideology-icon-wrapper i {
    font-size: 3rem;
    color: var(--primary-main);
}

.ideology-item:hover .ideology-icon-wrapper {
    transform: translateY(-10px);
    background: var(--primary-main);
    box-shadow: 0 10px 20px rgba(107, 70, 193, 0.2);
}

.ideology-item:hover .ideology-icon-wrapper i {
    color: white;
}

.ideology-item h3 {
    font-size: 1.6rem;
    color: var(--text-dark);
    font-weight: 800;
    margin-bottom: 15px;
}

/* NAVBAR DROPDOWN STYLES */
.navbar #nav-menu ul li.dropdown {
    position: relative;
}

.navbar #nav-menu ul li.dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar #nav-menu ul li.dropdown .dropdown-toggle i {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.navbar #nav-menu ul li.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

/* Multi-level Dropdown Premium Styling */
.navbar #nav-menu ul li.dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    min-width: 220px;
    padding: 12px 0;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
    border: 1px solid rgba(107, 70, 193, 0.1);
}

.navbar #nav-menu ul li.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(8px);
}

.navbar #nav-menu ul li.dropdown .dropdown-menu li {
    width: 100%;
    margin: 0;
    padding: 0 12px;
}

.navbar #nav-menu ul li.dropdown .dropdown-menu li a {
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.navbar #nav-menu ul li.dropdown .dropdown-menu li a:hover {
    background: rgba(107, 70, 193, 0.08);
    color: var(--primary-main);
    transform: translateX(5px);
}

.navbar #nav-menu ul li.dropdown .dropdown-menu li.nested-dropdown {
    position: relative;
}

.nested-menu {
    position: absolute;
    top: -5px;
    left: calc(100% + 5px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    min-width: 210px;
    padding: 12px 0;
    border-radius: 16px;
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1001;
    border: 1px solid rgba(107, 70, 193, 0.1);
}

.navbar #nav-menu ul li.dropdown .dropdown-menu li.nested-dropdown:hover .nested-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.nested-dropdown>a i.fa-chevron-right {
    font-size: 0.7rem;
    margin-left: auto;
    opacity: 0.5;
    transition: transform 0.3s;
}

.nested-dropdown:hover>a i.fa-chevron-right {
    transform: translateX(3px);
    opacity: 1;
}

/* Mobile Dropdown adjustment */
@media (max-width: 991px) {
    .navbar #nav-menu ul li.dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none !important;
        box-shadow: none;
        background: rgba(76, 29, 149, 0.03);
        margin-top: 10px;
        padding: 5px 0;
        border: none;
        border-left: 2px solid rgba(107, 70, 193, 0.2);
        margin-left: 15px;
    }

    .nested-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none !important;
        box-shadow: none;
        background: transparent;
        min-width: unset;
        padding: 0;
        margin-left: 15px;
        border: none;
        border-left: 1px dashed rgba(107, 70, 193, 0.2);
    }

    .nested-dropdown>a i.fa-chevron-right {
        transform: rotate(90deg);
    }
}




/* REDESIGNED MAIN FOOTER */
.main-footer {
    background: #4c1d95;
    /* Deep Purple */
    color: white;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

@media (min-width: 992px) {
    .footer-content-wrapper {
        grid-template-columns: 350px 1fr;
    }
}

.footer-sidebar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    margin-bottom: 40px;
}

.f-logo {
    height: 80px;
    /* Larger logo for footer as per ref */
    filter: brightness(0) invert(1);
    /* Assume white logo for deep purple background */
}

.footer-donate-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: #ffcc00;
    color: #4c1d95;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 50px;
    text-transform: uppercase;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.footer-donate-btn:hover {
    transform: translateY(-5px);
    background: #ffd700;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
}

.footer-links-col h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: #ffcc00;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links-col ul {
    list-style: none;
}

.footer-links-col ul li {
    margin-bottom: 12px;
}

.footer-links-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
}

.footer-links-col ul li a:hover {
    color: white;
    padding-left: 10px;
    color: #ffcc00;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
    background: rgba(0, 0, 0, 0.2);
    padding: 30px 0;
}

.f-bottom-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

@media (min-width: 768px) {
    .f-bottom-flex {
        flex-direction: row;
    }
}

.f-copyright p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.f-socials {
    display: flex;
    gap: 20px;
}

.f-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.f-socials a:hover {
    background: #ffcc00;
    color: #4c1d95;
    transform: translateY(-5px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.highlight-purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.highlight-teal {
    background: linear-gradient(135deg, #20E2D7 0%, #F9FEA5 100%);
}

/* HERO CAROUSEL STYLES */
.hero-carousel {
    position: relative;
    height: 80vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
    color: white;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
    display: flex;
    align-items: center;
    padding-bottom: 50px;
    /* Space for paper edge */
}

.hero-slide.active {
    opacity: 1;
    z-index: 5;
}

.slide-container {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.slide-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    width: 100%;
    align-items: center;
    padding: 0 20px;
}

@media (min-width: 992px) {
    .slide-content {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 80px;
    }

    .slide-content.reverse-layout {
        grid-template-columns: 0.8fr 1.2fr;
    }

    .slide-content.reverse-layout .slide-text {
        order: 2;
    }

    .slide-content.reverse-layout .slide-image-wrapper {
        order: 1;
    }
}

/* Typography & Text Block - MATCHING REFERENCE */
.slide-text {
    z-index: 10;
}

.accent-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #ffcc00;
    /* Yellow */
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
}

.accent-title span.highlight-yellow {
    color: white;
    /* Alternate color */
}

/* Box around sub-text like reference */
.sub-text-box {
    border-left: 5px solid #ffcc00;
    padding-left: 20px;
    margin-bottom: 35px;
}

.sub-text-box p {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    color: white;
    text-transform: capitalize;
}

/* Call to Action Button */
.hero-cta-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #ffcc00;
    color: #4c1d95;
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 8px;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.hero-cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: #ffe066;
}

/* Image Wrapper with Yellow Circle */
.slide-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.yellow-circle-bg {
    position: absolute;
    width: 450px;
    height: 450px;
    border: 15px solid #ffcc00;
    border-radius: 50%;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.slide-img {
    position: relative;
    z-index: 2;
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 50%;
    /* Initial circle cut */
    /* Remove border-radius to match full cut-out look if transparent PNG, 
       but for JPGs, circle crop is best */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 5px solid white;
}

/* Controls */
.carousel-nav {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 20;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dots .dot.active {
    background: #ffcc00;
    transform: scale(1.2);
}

/* TORN PAPER EFFECT */
.torn-paper-bottom {
    position: absolute;
    bottom: -5px;
    /* Slight overlap */
    left: 0;
    width: 100%;
    height: 50px;
    background: #ffffff;
    /* pure white */
    -webkit-mask-image: radial-gradient(circle at 10px bottom, transparent 10px, black 11px);
    mask-image: radial-gradient(circle at 10px bottom, transparent 10px, black 11px);
    -webkit-mask-size: 20px 20px;
    mask-size: 20px 20px;
    -webkit-mask-position: bottom;
    mask-position: bottom;
    -webkit-mask-repeat: repeat-x;
    mask-repeat: repeat-x;
    z-index: 30;
    transform: rotate(180deg);
    /* Flip to make jagged top edge for mask */
}

/* Alternate simple torn edge using clip-path if mask fails */
/*
.torn-paper-bottom {
    background: #f3f0ff; 
    clip-path: polygon(0 40%, 2% 100%, 5% 40%, 8% 100%, 10% 40%, ...);
}
*/


/* UPDATED HERO SLIDE - FULL BACKGROUND */
.hero-slide {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    /* Base Overlay */
    background: rgba(0, 0, 0, 0.5);
}

/* Gradient Variants */
.gradient-purple {
    background: linear-gradient(135deg, rgba(76, 29, 149, 0.5) 0%, rgba(107, 70, 193, 0.4) 100%);
}

.gradient-teal {
    background: linear-gradient(135deg, rgba(40, 94, 97, 0.85) 0%, rgba(56, 178, 172, 0.75) 100%);
}

.gradient-pink {
    background: linear-gradient(135deg, rgba(151, 38, 109, 0.85) 0%, rgba(213, 63, 140, 0.75) 100%);
}

.gradient-orange {
    background: linear-gradient(135deg, rgba(156, 66, 33, 0.85) 0%, rgba(221, 107, 32, 0.75) 100%);
}

.centered-content {
    display: flex;
    justify-content: center;
    /* Center horizontally if desired, or left aligned */
    align-items: center;
    text-align: left;
    /* Keep text aligned left */
    grid-template-columns: 1fr !important;
    /* Force single column */
    max-width: 800px;
    /* Constrain width for readability */
}

/* Adjust text size for readability on images if needed */
.accent-title {
    font-size: 4rem;
    /* Slightly larger */
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* =========================================
   ABOUT US PAGE REDESIGN
   ========================================= */

/* About Hero Specifics */
.about-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.about-hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #FFD700;
    text-transform: uppercase;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    /* Removed gradients to match request */
}



.about-hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Intro Section */
.intro-section {
    padding: 100px 20px;
    background: var(--bg-body);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

@media (min-width: 992px) {
    .intro-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.intro-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
}

.intro-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-light);
    border-radius: var(--radius-lg);
    opacity: 0.3;
    z-index: 0;
}

.intro-img {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 1;
    transition: transform 0.5s ease;
}

.intro-image-wrapper:hover .intro-img {
    transform: scale(1.02);
}

.intro-badge {
    display: inline-block;
    padding: 8px 16px;
    background: #f3e8ff;
    color: var(--primary-dark);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.8rem;
    color: var(--primary-dark);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.section-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Mission & Vision Cards */
.mission-vision-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--bg-body) 0%, #fdfbff 100%);
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .mv-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.mv-card {
    background: white;
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(139, 92, 246, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(139, 92, 246, 0.3);
}

.mv-bg-icon {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 10rem;
    color: rgba(107, 70, 193, 0.03);
    z-index: 0;
    transition: transform 0.5s ease;
}

.mv-card:hover .mv-bg-icon {
    transform: rotate(15deg) scale(1.1);
}

.mv-icon-box {
    width: 70px;
    height: 70px;
    background: var(--primary-main);
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(107, 70, 193, 0.3);
}

.mv-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.mv-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Objectives Grid */
.objectives-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.obj-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
}

@media (min-width: 768px) {
    .obj-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.obj-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-top: 5px solid transparent;
    transition: all 0.3s ease;
}

.obj-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.obj-card.purple {
    border-color: var(--primary-main);
}

.obj-card.pink {
    border-color: var(--accent-pink);
}

.obj-card.blue {
    border-color: #4facfe;
}

.obj-icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.obj-card.purple .obj-icon {
    color: var(--primary-main);
}

.obj-card.pink .obj-icon {
    color: var(--accent-pink);
}

.obj-card.blue .obj-icon {
    color: #4facfe;
}

.obj-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

/* Demographics Section */
.demo-section {
    padding: 80px 20px;
    background: #fdfbff;
    border-top: 1px solid #f3e8ff;
    border-bottom: 1px solid #f3e8ff;
}

.demo-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.demo-text-col {
    flex: 1;
    min-width: 300px;
}

.demo-image-col {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.demo-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.demo-stat-float {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: white;
    padding: 15px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 5px solid var(--accent-pink);
}

.demo-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.demo-stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Video Section */
.video-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #1a0b2e 0%, #2d1b4e 100%);
    color: white;
    text-align: center;
    margin-bottom: 0px;
}

.video-container {
    max-width: 1000px;
    margin: 50px auto 0;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   VISION MISSION GOAL - CLEAN DESIGN
   ========================================================================== */
.vision-mission-goal {
    padding: 0;
    overflow: hidden;
}

.clean-row {
    display: flex;
    min-height: 280px;
    flex-wrap: wrap;
}

.clean-image-container {
    flex: 0.7;
    min-height: 180px;
    max-width: 400px;
    overflow: hidden;
}

.clean-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.clean-row:hover .clean-image-container img {
    transform: scale(1.03);
}

.clean-content {
    flex: 1;
    background: var(--primary-dark);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px;
    min-width: 280px;
}

.clean-text-inner {
    max-width: 420px;
}

.clean-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.clean-text-inner p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .clean-row {
        flex-direction: column;
    }

    .clean-image-container,
    .clean-content {
        flex: none;
        width: 100%;
    }

    .clean-content {
        padding: 40px 25px;
    }

    .clean-title {
        font-size: 1.8rem;
    }
}

/* Timeline Styles */
.objectives-timeline-section {
    padding: 100px 20px;
    background: #fdfbff;
}

.timeline-container {
    max-width: 1100px;
    margin: 80px auto 0;
    position: relative;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-main), var(--accent-pink));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 60px;
    width: 100%;
}

.timeline-item.right {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-dot {
    position: absolute;
    top: 30px;
    left: 50%;
    width: 24px;
    height: 24px;
    background: white;
    border: 5px solid var(--primary-main);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 0 15px rgba(107, 70, 193, 0.3);
}

.timeline-content-box {
    width: 85%;
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    border: 1px solid rgba(107, 70, 193, 0.05);
    transition: transform 0.3s ease;
}

.timeline-content-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(107, 70, 193, 0.1);
}

.timeline-item.left .timeline-content-box {
    margin-right: 50px;
    text-align: right;
}

.timeline-item.right .timeline-content-box {
    margin-left: 50px;
    text-align: left;
}

.timeline-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(107, 70, 193, 0.05);
    position: absolute;
    top: 15px;
    left: 20px;
    line-height: 1;
}

.timeline-item.right .timeline-number {
    left: auto;
    right: 20px;
}

.timeline-main-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.timeline-title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.divider-line {
    height: 2px;
    width: 80px;
    background: linear-gradient(to right, transparent, var(--primary-main), transparent);
}

.timeline-title-divider i {
    color: var(--primary-main);
    font-size: 1.5rem;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .torn-row {
        flex-direction: column;
    }

    .torn-image,
    .torn-content {
        flex: none;
        width: 100%;
    }

    .torn-image::after {
        display: none;
    }

    .torn-content {
        padding: 40px 20px;
    }

    .timeline-line {
        left: 30px;
    }

    .timeline-item {
        padding-left: 60px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .timeline-item.right {
        padding-left: 60px;
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-item.left .timeline-content-box,
    .timeline-item.right .timeline-content-box {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        text-align: left;
    }

    .timeline-number {
        font-size: 2rem;
    }
}

/* Goal Card - Centered */
.mv-goal-center {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.mv-goal-center .mv-card {
    max-width: 500px;
}

/* Purple background for Vision Mission section */
.mission-vision-section {
    background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
    padding: 80px 20px;
    border-radius: 0;
}

/* Purple background for Life at Advaya section */
.life-at-advaya-section {
    background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
}

/* Milestone list styles */

/* Presence Image Styling */
.presence-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 15px;
}

.milestone-desc {
    text-align: left;
    padding-left: 20px;
    margin: 0;
}

.milestone-desc li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

/* Navbar Dropdown Vertical Alignment */
.dropdown-menu {
    display: flex;
    flex-direction: column;
}

.dropdown-menu li {
    display: block;
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    width: 100%;
}

/* =========================================
   FOOTER STYLES (Added for Consistency)
   ========================================= */
footer {
    background: var(--primary-dark);
    color: white;
    padding: 80px 20px 30px;
    margin-top: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-weight: 700;
    color: #f3e8ff;
    /* Soft purple-white */
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-pink);
    border-radius: 2px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}

.footer-col ul li a:hover {
    color: white;
    transform: translateX(5px);
    color: var(--primary-light);
}

.footer-col i {
    margin-right: 10px;
    width: 20px;
}

.copyright {
    margin-top: 70px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* NESTED DROPDOWN STYLES - Vertical Flyout */
#nav-menu .nested-menu {
    position: absolute;
    top: 0;
    left: 100%;
    width: 220px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    list-style: none;
    display: none;
    /* Hidden by default */
    flex-direction: column;
    /* Safety net if flex persists */
    border-radius: 16px;
    border: 1px solid rgba(107, 70, 193, 0.1);
    z-index: 1002;
}

.nested-dropdown {
    position: relative;
}

.nested-dropdown:hover .nested-menu,
#nav-menu .nested-dropdown:hover .nested-menu {
    display: block;
    /* Show on hover - override flex */
}

#nav-menu .nested-menu li {
    display: block;
    /* Ensure vertical stacking */
    width: 100%;
    margin-left: 0;
    /* Override potential nav margins */
}

#nav-menu .nested-menu li a {
    display: block;
    /* Full width links */
    padding: 10px 20px;
    color: var(--primary-dark);
    font-size: 0.95rem;
    /* Consistent font size */
    background: transparent;
    /* Reset */
}

#nav-menu .nested-menu li a:hover {
    background: rgba(107, 70, 193, 0.08);
    /* Highlight on hover */
    color: var(--primary-main);
    padding-left: 25px;
    /* Hover animation matches main menu */
}

/* Mobile Donate Button Visibility */
.mobile-only-nav {
    display: block;
    margin-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 5px;
}

@media (min-width: 768px) {
    .mobile-only-nav {
        display: none !important;
    }
}


/* Gallery Section Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}
/* MOBILE REPONSIVENESS TWEAKS */
@media (max-width: 768px) {
    /* General Typography */
    h1 {
        font-size: 2.5rem !important;
    }
    
    .section-title h2 {
        font-size: 2rem !important;
    }

    /* Page Header */
    .page-header {
        height: 60vh;
        min-height: 400px;
    }

    .page-header-content h1 {
        font-size: 2.8rem !important;
    }

    .page-header-content p {
        font-size: 1.1rem !important;
    }

    /* Sections */
    section {
        padding: 40px 20px !important;
    }
    
    .intro-section .container {
        padding: 40px 20px !important;
    }

    /* Video Section */
    .video-section .container {
        padding: 0 !important; /* Allow video to be wider on small screens */
    }
    
    .video-wrapper {
        border-width: 2px !important;
        border-radius: 12px !important;
    }

    /* Grid Layouts to 1 column */
    .stats-grid, 
    .focus-grid,
    .intro-section div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Navbar Fixes */
    .nav-container {
        padding: 0 10px;
    }
    
    .logo-icon {
        width: 50px;
        height: 50px;
    }
    
    .logo-text span {
        font-size: 1.4rem;
    }
    
    .logo-text small {
        font-size: 0.7rem;
    }
}

/* Fix for Tablet/Small Laptop to ensure menu doesn't break */
@media (min-width: 769px) {
    #nav-menu {
        display: block !important;
    }
    .menu-toggle {
        display: none !important; 
    }
}
