:root {
    /* Brand Colors */
    --primary: #4A148C;
    /* Deep Purple - Wisdom & Independence */
    --primary-light: #7C43BD;
    /* Light Purple */
    --secondary: #1565C0;
    /* Blue - Trust & Loyalty */
    --accent: #42A5F5;
    /* Sky Blue - Highlights */

    /* Neutrals */
    --cream: #FFFFFF;
    /* Pure White */
    --sand: #F3F4F6;
    /* Cool Light Gray */
    --dark: #1A1A1A;
    /* Nearly black */
    --light: #FFFFFF;
    --gray: #4A4A4A;
    --gray-light: #E5E7EB;
    /* RGB Values for rgba usage */
    --primary-rgb: 74, 20, 140;
    --primary-light-rgb: 124, 67, 189;
    --secondary-rgb: 21, 101, 192;
    --accent-rgb: 66, 165, 245;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

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

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-padding {
    padding: 8rem 5%;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Typography Constraints */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
}

header.scrolled {
    padding: 1rem 5%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    /* Keep neutral shadow */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    /* Adjusted for longer text */
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    line-height: 1.2;
}

.logo img {
    height: 60px;
    /* Reduced specific size so it acts as an icon */
    width: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

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

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    list-style: none;
    /* Ensure no bullets */
}

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

.dropdown-menu li {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--dark);
    font-size: 0.95rem;
    white-space: nowrap;
    /* Prevent wrapping */
}

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

.dropdown-menu a::after {
    display: none;
    /* Remove underline effect for dropdown items if unwanted */
}

/* Hero Section (Home Page) */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cream) 0%, var(--sand) 100%);
    padding: 8rem 5% 4rem;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.15), transparent);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: float 20s infinite ease-in-out;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1), transparent);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    animation: float 15s infinite ease-in-out reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--primary);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero-text h1 .highlight {
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

.hero-text h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 15px;
    background: rgba(var(--accent-rgb), 0.2);
    z-index: -1;
    animation: expand 1s ease forwards 0.5s;
    transform-origin: left;
    transform: scaleX(0);
}

@keyframes expand {
    to {
        transform: scaleX(1);
    }
}

.hero-text p {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.3s;
}

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

    from {
        opacity: 0;
        transform: translateY(30px);
    }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.6s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.3);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(var(--primary-rgb), 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.hero-visual {
    position: relative;
    opacity: 0;
    animation: fadeIn 1.5s ease forwards 0.8s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.hero-image {
    width: 100%;
    height: 600px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.4), rgba(var(--primary-rgb), 0.2)),
        url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(var(--primary-rgb), 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: movePattern 20s linear infinite;
}

@keyframes movePattern {
    to {
        transform: translate(50px, 50px);
    }
}

.hero-image-text {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-image h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-image p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Stats Section */
.stats {
    background: var(--primary);
    color: white;
    padding: 4rem 5%;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.stat-item {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Page Header (For internal pages) */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 10rem 5% 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.page-header-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease forwards;
    color: white;
    /* Force white text */
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease forwards 0.2s;
    color: white;
    /* Force white text */
}

/* Section Styles */
section {
    padding: 6rem 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-subtitle {
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Overview Section (Home Page) */
.overview {
    background: white;
    padding: 8rem 5%;
}

.overview-container {
    max-width: 1400px;
    margin: 0 auto;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.overview-card {
    background: linear-gradient(135deg, var(--cream), white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(30px);
    cursor: pointer;
}

.overview-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.overview-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: 0 15px 40px rgba(var(--accent-rgb), 0.2);
}

.overview-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    transition: all 0.4s ease;
}

.overview-card:hover .overview-icon {
    transform: rotateY(360deg);
}

.overview-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.overview-description {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.overview-link {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.overview-link:hover {
    color: var(--accent);
}

/* Featured Impact Section */
.featured-impact {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 8rem 5%;
    position: relative;
    overflow: hidden;
}

.featured-impact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.featured-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.featured-text {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.featured-text.visible {
    opacity: 1;
    transform: translateX(0);
}

.featured-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.featured-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.featured-visual {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.featured-visual.visible {
    opacity: 1;
    transform: translateX(0);
}

.featured-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.featured-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.5), rgba(var(--accent-rgb), 0.7)),
        url('impact-bg.png');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.featured-image:hover {
    transform: scale(1.05);
    border-color: var(--secondary);
}

/* Story Section (About Page) */
.story-section {
    padding: 8rem 5%;
    background: white;
}

.story-container {
    max-width: 1400px;
    margin: 0 auto;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.story-text {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.story-text.visible {
    opacity: 1;
    transform: translateX(0);
}

.story-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.story-text p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-visual {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.story-visual.visible {
    opacity: 1;
    transform: translateX(0);
}

.story-image {
    height: 500px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.5), rgba(var(--primary-rgb), 0.3)),
        url('story-image.png');
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-image-overlay {
    text-align: center;
    color: white;
    z-index: 1;
}

.story-image-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* Values Section (About Page) */
.values-section {
    background: var(--cream);
    padding: 8rem 5%;
}

.values-container {
    max-width: 1400px;
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.value-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    border: 2px solid transparent;
}

.value-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.15);
    border-color: var(--secondary);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Team Section (About Page) */
.team-section {
    background: white;
    padding: 8rem 5%;
}

.team-container {
    max-width: 1400px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.team-card {
    background: var(--cream);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.team-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.15);
}

.team-image {
    height: 250px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
}

.team-info {
    padding: 2rem 1.5rem;
}

.team-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-bio {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mission Statement (Mission Page) */
.mission-statement {
    background: white;
    padding: 8rem 5%;
}

.mission-statement-container {
    max-width: 1200px;
    margin: 0 auto;
}

.mission-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.mission-main {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.mission-main.visible {
    opacity: 1;
    transform: translateY(0);
}

.mission-main h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.mission-text {
    font-size: 1.2rem;
    color: var(--gray);
    line-height: 1.8;
}

.vision-box {
    background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.9), rgba(var(--accent-rgb), 0.9)),
        url('vision-box.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s ease;
}

.vision-box.visible {
    opacity: 1;
    transform: scale(1);
}

.vision-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.vision-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.vision-box p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Focus Areas (Mission Page) */
.focus-areas {
    background: var(--cream);
    padding: 8rem 5%;
}

.focus-container {
    max-width: 1400px;
    margin: 0 auto;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.pillar-card {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(30px);
}

.pillar-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pillar-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: 0 20px 50px rgba(var(--accent-rgb), 0.15);
}

.pillar-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.pillar-card:hover .pillar-icon {
    transform: rotateY(360deg);
}

.pillar-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.pillar-description {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.pillar-list {
    list-style: none;
    padding-left: 0;
}

.pillar-list li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
    color: var(--gray);
}

.pillar-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Approach Section (Mission Page) */
.approach-section {
    background: white;
    padding: 8rem 5%;
}

.approach-container {
    max-width: 1400px;
    margin: 0 auto;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.approach-card {
    background: var(--cream);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    border: 2px solid transparent;
}

.approach-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.approach-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.1);
}

.approach-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.approach-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.approach-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Goals Section (Mission Page) */
.goals-section {
    background: linear-gradient(135deg, var(--cream) 0%, white 100%);
    padding: 8rem 5%;
}

.goals-container {
    max-width: 1400px;
    margin: 0 auto;
}

.goals-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.goals-text {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.goals-text.visible {
    opacity: 1;
    transform: translateX(0);
}

.goals-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 3rem;
    line-height: 1.2;
}

.goals-list {
    display: grid;
    gap: 2rem;
}

.goal-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.goal-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
}

.goal-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.goal-content p {
    color: var(--gray);
    line-height: 1.8;
}

.goals-visual {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.goals-visual.visible {
    opacity: 1;
    transform: translateX(0);
}

.goals-stats {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 4rem 3rem;
    border-radius: 30px;
    display: grid;
    gap: 3rem;
}

.goal-stat {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.goal-stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.goal-stat-label {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Programs Section (Programs Page) */
.programs-intro {
    background: white;
    padding: 6rem 5%;
}

.programs-intro-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.programs-intro-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.programs-intro-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.programs-intro-container p {
    font-size: 1.2rem;
    color: var(--gray);
    line-height: 1.8;
}

.programs-section {
    background: var(--cream);
    padding: 6rem 5%;
}

.programs-container {
    max-width: 1400px;
    margin: 0 auto;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.program-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    border: 2px solid transparent;
}

.program-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(var(--primary-rgb), 0.15);
    border-color: var(--secondary);
}

.program-image {
    height: 250px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.7), rgba(var(--primary-light-rgb), 0.7)),
        url('program-bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.program-image-overlay {
    position: relative;
    z-index: 1;
}

.program-tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.program-content {
    padding: 2.5rem;
}

.program-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.program-description {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.program-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.highlight-badge {
    background: var(--cream);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
}

.program-link {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.program-link:hover {
    color: var(--accent);
}

/* Participate Section (Programs Page) */
.participate-section {
    background: white;
    padding: 8rem 5%;
}

.participate-container {
    max-width: 1400px;
    margin: 0 auto;
}

.participate-grid {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.participate-card {
    background: var(--cream);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    border: 2px solid transparent;
    flex: 0 1 300px;
    min-width: 280px;
}

.participate-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.participate-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.15);
}

.participate-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.participate-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.participate-card p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Contact Section (Contact Page) */
.contact-section {
    background: white;
    padding: 8rem 5%;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-info {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.contact-info.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.contact-info>p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.contact-details {
    display: grid;
    gap: 2.5rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.contact-text p,
.contact-text a {
    color: var(--gray);
    line-height: 1.8;
    text-decoration: none;
}

.contact-text a:hover {
    color: var(--secondary);
}

.contact-form-wrapper {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.contact-form-wrapper.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-form-card {
    background: linear-gradient(135deg, var(--cream), white);
    padding: 3rem;
    border-radius: 25px;
    border: 2px solid rgba(var(--primary-rgb), 0.1);
}

.contact-form-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid rgba(var(--primary-rgb), 0.1);
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Quick Actions (Contact Page) */
.quick-actions {
    background: var(--cream);
    padding: 8rem 5%;
}

.quick-actions-container {
    max-width: 1400px;
    margin: 0 auto;
}

.quick-actions-grid {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.action-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    border: 2px solid transparent;
    flex: 0 1 300px;
    /* Base width */
    min-width: 280px;
}

.action-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.action-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.15);
}

.action-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.action-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.action-card p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.action-link {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.action-link:hover {
    color: var(--accent);
}

/* CTA Section */
.cta-section {
    padding: 6rem 5%;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.cta-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #1E88E5 0%, #42A5F5 100%);
    border-radius: 30px;
    padding: 5rem 3rem;
    text-align: center;
    box-shadow: 0 30px 60px rgba(66, 165, 245, 0.3);
}

.cta-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--primary);
    /* Purple Title */
}

.cta-container p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: white;
    color: var(--secondary);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    background: transparent;
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--secondary);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 4rem 5% 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(var(--accent-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-3px);
    border-color: var(--secondary);
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--gray);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* About Intro Section */
.about-intro {
    background: white;
    padding: 8rem 5%;
}

.about-intro-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.about-intro-image {
    min-width: 300px;
}

.about-intro-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.about-intro-image:hover img {
    transform: scale(1.02);
}

.about-intro-content {
    padding-right: 2rem;
}

.btn-text {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
    font-size: 1.1rem;
}

.btn-text:hover {
    color: var(--secondary);
    gap: 0.8rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-content,
    .story-content,
    .goals-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .programs-grid,
    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid,
    .participate-grid,
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
        animation: fadeIn 0.3s ease;
    }

    .nav-links li {
        margin: 0;
        margin-bottom: 1.5rem;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: transparent;
        padding-left: 1.5rem;
        transform: none;
        display: none;
        /* Hidden by default */
        min-width: auto;
        padding-top: 1rem;
        padding-bottom: 0;
        border-radius: 0;
    }

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

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .page-header h1 {
        font-size: 3rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .overview-grid,
    .values-grid,
    .team-grid,
    .participate-grid,
    .quick-actions-grid,
    .approach-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .mission-content {
        grid-template-columns: 1fr;
    }

    .hero-image {
        height: 400px;
        padding: 2rem;
    }

    .hero-image h2 {
        font-size: 2rem;
    }

    .about-intro-container {
        grid-template-columns: 1fr;
    }

    .about-intro-content {
        padding-right: 0;
    }
}



/* Quote Section */
.quote-section {
    background: var(--primary);
    color: white;
    padding: 8rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quote-section blockquote {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    line-height: 1.4;
    max-width: 1000px;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 1;
}

.quote-section blockquote::before {
    content: '"';
    font-size: 10rem;
    color: rgba(229, 163, 68, 0.2);
    /* Accent color with low opacity */
    position: absolute;
    top: -6rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    font-family: serif;
}

.quote-section cite {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    display: block;
    margin-top: 2rem;
    font-style: normal;
}

@media (max-width: 768px) {
    .quote-section blockquote {
        font-size: 1.8rem;
    }
}

/* Specific Mobile Fixes for Logo - 480px and below */
@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
        gap: 0.5rem;
        max-width: 65%;
        line-height: 1.1;
    }

    .logo img {
        height: 40px;
    }

    .cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    header {
        padding: 0.8rem 5%;
    }
}