/* CSS Variables matching the React app */
:root {
  --background: 0, 0%, 100%;
  --foreground: 20, 14.3%, 4.1%;
  --muted: 60, 4.8%, 95.9%;
  --muted-foreground: 25, 5.3%, 44.7%;
  --primary: 207, 90%, 54%;
  --primary-foreground: 211, 100%, 99%;
  --secondary: 160, 84%, 39%;
  --secondary-foreground: 0, 0%, 98%;
  --accent: 43, 96%, 56%;
  --accent-foreground: 24, 9.8%, 10%;
  --charcoal: 217, 19%, 35%;
  --border: 20, 5.9%, 90%;
  --card: 0, 0%, 100%;
  --card-foreground: 20, 14.3%, 4.1%;
  --radius: 0.5rem;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: hsl(var(--foreground));
    background: hsl(var(--background));
    scroll-behavior: smooth;
    font-feature-settings: 'cv11', 'ss01';
    font-variation-settings: 'opsz' 32;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h1 {
    color: hsl(var(--primary));
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--foreground);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: hsl(var(--primary));
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(to right, hsl(var(--primary)), hsl(221, 83%, 53%));
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: left;
    padding: 100px 20px 50px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-inner {
    max-width: 48rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    color: hsl(var(--accent));
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgb(243 244 246);
    line-height: 1.75;
}

@media (min-width: 768px) {
    .hero p {
        font-size: 1.5rem;
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

@media (max-width: 639px) {
    .hero-buttons {
        flex-direction: column;
    }
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: hsl(var(--accent));
    color: white;
    font-weight: 600;
}

.btn-primary:hover {
    background: hsl(45, 93%, 47%);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    font-weight: 600;
}

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

/* About Section */
.about {
    padding: 100px 20px;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: hsl(var(--charcoal));
}

@media (min-width: 768px) {
    .about-text h2 {
        font-size: 2.5rem;
    }
}

.about-text p {
    font-size: 1.125rem;
    color: rgb(107 114 128);
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    color: hsl(var(--primary));
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    margin-top: 1rem;
}

.read-more-link:hover {
    color: hsl(221, 83%, 45%);
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mission-card {
    background: hsl(var(--card));
    padding: 2rem;
    border-radius: calc(var(--radius) + 2px);
    text-align: center;
    border: 1px solid hsl(var(--border));
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mission-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: hsl(var(--charcoal));
}

.mission-card p {
    color: rgb(107 114 128);
    margin-bottom: 1rem;
}

.mission-card ul {
    list-style: none;
    color: rgb(107 114 128);
    text-align: left;
}

.mission-card li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

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

/* Initiatives Section */
.initiatives {
    padding: 100px 20px;
    background: hsl(var(--muted));
}

.initiatives h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: hsl(var(--charcoal));
}

@media (min-width: 768px) {
    .initiatives h2 {
        font-size: 2.5rem;
    }
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: rgb(107 114 128);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

.initiatives-grid {
    display: grid;
    gap: 3rem;
}

.initiative-card {
    background: hsl(var(--card));
    border-radius: calc(var(--radius) + 6px);
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    border: 1px solid hsl(var(--border));
}

.initiative-card:nth-child(even) {
    direction: rtl;
}

.initiative-card:nth-child(even) .initiative-content {
    direction: ltr;
}

.initiative-image img {
    width: 300px;
    height: 300px;
    object-fit: fill;
}

.initiative-content {
    padding: 2.5rem;
}

.initiative-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: hsl(var(--charcoal));
}

.initiative-content > p {
    font-size: 1.125rem;
    color: rgb(107 114 128);
    margin-bottom: 2rem;
    line-height: 1.75;
}

.initiative-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.checkmark {
    color: hsl(var(--secondary));
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.feature strong {
    color: hsl(var(--charcoal));
    display: block;
    margin-bottom: 0.25rem;
}

.feature p {
    color: rgb(107 114 128);
    font-size: 0.875rem;
}

/* Team Section */
.team {
    padding: 100px 20px;
    background: white;
}

.team h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

@media (min-width: 768px) {
    .team h2 {
        font-size: 2.5rem;
    }
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.team-member {
    text-align: center;
    background: var(--card);
    padding: 2rem;
    border-radius: calc(var(--radius) + 6px);
    border: 1px solid var(--border);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.member-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid hsl(var(--primary));
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
}

.member-role {
    color: hsl(var(--primary));
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-description {
    color: rgb(107 114 128);
    font-size: 0.95rem;
    line-height: 1.5;
}

.advisory-board {
    background: var(--muted);
    padding: 3rem;
    border-radius: calc(var(--radius) + 6px);
    text-align: center;
}

.advisory-board h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.advisory-board > p {
    color: rgb(107 114 128);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

.advisors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.advisor-card {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.advisor-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
}

.advisor-role {
    color: hsl(var(--primary));
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.advisor-card p:last-child {
    color: rgb(107 114 128);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Contact Section */
.contact {
    padding: 100px 20px;
    background: var(--muted);
}

.contact h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

@media (min-width: 768px) {
    .contact h2 {
        font-size: 2.5rem;
    }
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--card);
    padding: 2rem;
    border-radius: calc(var(--radius) + 6px);
    border: 1px solid var(--border);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.contact-icon {
    font-size: 2rem;
    background: hsl(var(--primary));
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
}

.contact-item p {
    color: rgb(107 114 128);
    margin-bottom: 0.25rem;
}

.contact-hours {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--charcoal);
    color: white;
    padding: 50px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: hsl(var(--accent));
}

.footer-info p {
    color: rgb(209 213 219);
    max-width: 300px;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

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

.footer-links a {
    color: rgb(209 213 219);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: hsl(var(--accent));
}

.footer-contact p {
    color: rgb(209 213 219);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgb(55 65 81);
    padding-top: 1.5rem;
    text-align: center;
    color: rgb(156 163 175);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .initiative-card {
        grid-template-columns: 1fr;
        direction: ltr !important;
    }

    .initiative-card:nth-child(even) {
        direction: ltr;
    }

    .initiative-image {
        order: -1;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 80px 15px 40px;
    }

    .about,
    .initiatives,
    .team,
    .contact {
        padding: 60px 15px;
    }

    .initiative-content,
    .team-member,
    .advisory-board {
        padding: 1.5rem;
    }
}

/* Smooth scrolling and animations */
@media (prefers-reduced-motion: no-preference) {
    .btn,
    .nav-link,
    .team-member,
    .initiative-card,
    .mission-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .team-member:hover,
    .initiative-card:hover,
    .mission-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    }
}