:root {
    /* Colors */
    --bg-color: #FAF9F6;  /* Cream/Off-white */
    --text-color: #1A1A1A; /* Near-black */
    --text-muted: #4A4A4A; /* Dark gray */
    --accent-color: #6D28D9; /* Deep Purple */
    --accent-hover: #5b21b6;
    --dark-bg: #1A1A2E; /* Rich Charcoal */
    --darker-bg: #0F0F1A;
    --divider-color: #E8E4DE; /* Warm Gray */
    --white: #FFFFFF;

    /* Typography */
    --font-heading: 'Libre Baskerville', serif;
    --font-body: 'Source Sans 3', sans-serif;

    /* Spacing */
    --container-width: 1100px;
    --section-spacing: 120px;
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
}

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

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.3s ease;
    background-color: transparent;
}

header.scrolled {
    background-color: rgba(250, 249, 246, 0.98);
    padding: 16px 0;
    border-bottom: 1px solid var(--divider-color);
}

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

.logo {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.serif-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-color);
}

.sans-logo {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: -0.5px;
}

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

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-color);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

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

#header-cta {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero-section {
    padding: 200px 0 120px;
    background-color: var(--bg-color);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
}

.hero-divider {
    width: 60px;
    height: 2px;
    background-color: var(--text-color);
    margin-bottom: 32px;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    font-weight: 300;
}

/* Sections Global */
.section {
    padding: var(--section-spacing) 0;
}

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

.eyebrow {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 16px;
}

.section-title {
    font-size: 3rem;
    font-weight: 400;
}

.section-divider {
    width: 100%;
    height: 1px;
    background-color: var(--divider-color);
    margin-top: 80px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.about-quote blockquote {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-style: italic;
    line-height: 1.4;
    color: var(--text-color);
    border-left: 2px solid var(--accent-color);
    padding-left: 24px;
}

/* Activities Section */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.activity-card {
    background-color: var(--white);
    padding: 40px 32px;
    border: 1px solid var(--divider-color);
    border-radius: var(--border-radius);
    transition: border-color 0.3s ease;
}

.activity-card:hover {
    border-color: var(--accent-color);
}

.card-icon {
    color: var(--accent-color);
    margin-bottom: 24px;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.card-text {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

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

.team-photo-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto 24px;
    overflow: hidden;
    border-radius: 50%; /* Circular photo */
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-photo {
    transform: scale(1.05);
}

.team-name {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

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

.team-bio {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.team-linkedin {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.team-linkedin:hover {
    color: var(--accent-color);
}

/* Contact Section */
.contact-section {
    background-color: var(--dark-bg);
    color: var(--bg-color);
    text-align: center;
    padding: 160px 0;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-title {
    color: var(--bg-color);
    margin-bottom: 24px;
}

.contact-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 48px;
    font-weight: 300;
}

.contact-email {
    margin-top: 24px;
}

.contact-email a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-email a:hover {
    color: var(--white);
    border-bottom-color: var(--white);
}

/* Footer */
.footer {
    background-color: var(--darker-bg);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 32px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 64px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-left {
    max-width: 300px;
}

.footer-logo {
    margin-bottom: 16px;
    color: var(--white);
    font-size: 1.25rem;
}

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

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-links a, .social-links a {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.4);
}

.separator {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.2);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .hamburger {
        display: block;
    }

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

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

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background-color: var(--bg-color);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        padding-top: 100px;
    }

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

    .nav-links {
        flex-direction: column;
        margin-bottom: 40px;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .about-grid, .activities-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
        display: block;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
