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

:root {
    --primary-blue: #81039d;
    --secondary-blue: #a530c4;
    --accent-blue: #c85ef0;
    --deep-navy: #5a0270;
    --light-sky: #f8f0ff;
    --text-primary: #2d0a3a;
    --text-muted: #7a5a8a;
    --border-soft: #e8d0f5;
    
    /* Projects Section - Cool Teal Palette */
    --project-primary: #0f8c8c;
    --project-secondary: #14b5b5;
    --project-accent: #6cede3;
    --project-light: #e6fbfb;
    --project-muted: #3c5d5d;

    /* Events Section - Warm Complementary Palette */
    --event-primary: #d45a2a;
    --event-secondary: #e87a4a;
    --event-accent: #ff9d6b;
    --event-light: #fff4f0;
    --event-text: #6b2e1a;
    --event-muted: #a85d3f;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #ffffff;
}

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

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 50%, var(--accent-blue) 100%);
    color: white;
    padding: 80px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(200, 94, 240, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(200, 94, 240, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.header-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.branding {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.logo-mark {
    width: 110px;
    height: auto;
    border-radius: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.title-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wordmark {
    font-size: 3.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 2px 4px 16px rgba(0, 0, 0, 0.25);
}

.tagline {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.95;
}

.subtitle {
    font-size: 1rem;
    opacity: 0.85;
    font-weight: 300;
}

/* Navigation */
nav {
    background-color: var(--deep-navy);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 20px 30px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 500;
}

.nav-menu a:hover {
    background-color: rgba(200, 94, 240, 0.2);
    color: #ffffff;
}

.nav-menu a.active {
    background-color: rgba(200, 94, 240, 0.3);
    color: #ffffff;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section h2 {
    font-size: 2.8rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--primary-blue);
    position: relative;
    padding-bottom: 25px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue), var(--primary-blue));
    border-radius: 3px;
}

/* Mission Section */
.mission-section {
    background: linear-gradient(180deg, var(--light-sky) 0%, #ffffff 100%);
    position: relative;
}

.mission-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-text {
    font-size: 1.25rem;
    line-height: 1.9;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 900px;
    margin: 0 auto;
}

/* Projects Section */
.projects-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--project-light) 100%);
    position: relative;
}

.projects-section h2 {
    color: var(--project-primary);
}

.projects-section h2::after {
    background: linear-gradient(90deg, var(--project-primary), var(--project-accent), var(--project-primary));
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background: linear-gradient(135deg, #ffffff 0%, #f3fffe 100%);
    border: 2px solid rgba(15, 140, 140, 0.2);
    border-radius: 12px;
    padding: 35px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--project-primary), var(--project-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(20, 181, 181, 0.25);
    border-color: var(--project-secondary);
}

.project-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--project-primary), var(--project-secondary));
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-card h3 {
    color: var(--project-primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.project-card p {
    color: var(--project-muted);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-top: 10px;
}

/* Project-specific colorways */
.project-card--impact {
    background: linear-gradient(135deg, #ffffff 0%, rgba(20, 181, 181, 0.08) 100%);
    border-color: rgba(15, 140, 140, 0.35);
    box-shadow: 0 10px 35px rgba(15, 140, 140, 0.15);
}

.project-card--impact .project-badge {
    background: linear-gradient(135deg, #0f8c8c, #14b5b5);
}

.project-card--student {
    background: linear-gradient(135deg, #ffffff 0%, rgba(119, 57, 202, 0.1) 100%);
    border-color: rgba(119, 57, 202, 0.35);
    box-shadow: 0 10px 35px rgba(119, 57, 202, 0.15);
}

.project-card--student .project-badge {
    background: linear-gradient(135deg, #6f2edb, #a458ff);
}

.project-card--public {
    background: linear-gradient(135deg, #ffffff 0%, rgba(230, 109, 82, 0.1) 100%);
    border-color: rgba(230, 109, 82, 0.35);
    box-shadow: 0 10px 35px rgba(230, 109, 82, 0.15);
}

.project-card--public .project-badge {
    background: linear-gradient(135deg, #d45a2a, #ff8d5a);
}

.project-card--justice {
    background: linear-gradient(135deg, #ffffff 0%, rgba(73, 149, 85, 0.12) 100%);
    border-color: rgba(73, 149, 85, 0.35);
    box-shadow: 0 10px 35px rgba(73, 149, 85, 0.15);
}

.project-card--justice .project-badge {
    background: linear-gradient(135deg, #2f8f4f, #52c173);
}

/* Events Section */
.events-section {
    background: linear-gradient(180deg, var(--event-light) 0%, #ffffff 100%);
    position: relative;
}

.events-section h2 {
    color: var(--event-primary);
}

.events-section h2::after {
    background: linear-gradient(90deg, var(--event-primary), var(--event-accent), var(--event-primary));
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 800px;
    margin: 40px auto 0;
}

.event-card {
    background: linear-gradient(135deg, #ffffff 0%, #fffaf7 100%);
    border-left: 5px solid var(--event-secondary);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 4px 15px rgba(212, 90, 42, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.event-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--event-primary), var(--event-accent));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.event-card:hover::after {
    transform: scaleY(1);
}

.event-card:hover {
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 8px 25px rgba(212, 90, 42, 0.25);
    border-left-color: var(--event-accent);
}

.event-date {
    background: linear-gradient(135deg, var(--event-primary) 0%, var(--event-secondary) 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    min-width: 80px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(212, 90, 42, 0.3);
}

.date-day {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.9rem;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-content h3 {
    color: var(--event-primary);
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.event-content p {
    color: var(--event-muted);
}

.teams-section {
    background: linear-gradient(180deg, #ffffff 0%, rgba(129, 3, 157, 0.04) 100%);
    text-align: center;
}

.teams-intro {
    max-width: 760px;
    margin: 0 auto 40px;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

.team-banners {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.team-banner {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 15px 45px rgba(129, 3, 157, 0.1);
    border: 1px solid rgba(129, 3, 157, 0.12);
    width: 100%;
}

.team-banner img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

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

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

.footer-section h3 {
    margin-bottom: 15px;
    color: var(--accent-blue);
    font-size: 1.3rem;
}

.footer-section p {
    margin-bottom: 8px;
    opacity: 0.9;
    line-height: 1.8;
}

.footer-logo {
    width: 80px;
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background-color: rgba(200, 94, 240, 0.25);
    border-color: var(--accent-blue);
    color: white;
    transform: translateX(5px);
}

.social-link svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.social-link span {
    font-size: 1rem;
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wordmark {
        font-size: 3.2rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .branding {
        gap: 16px;
    }

    .section {
        padding: 50px 0;
    }

    .section h2 {
        font-size: 2rem;
    }

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

    .event-card {
        flex-direction: column;
        text-align: center;
    }

    .nav-menu {
        flex-direction: column;
    }

    .nav-menu a {
        padding: 15px 20px;
    }

    .social-links {
        gap: 10px;
    }

    .social-link {
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .wordmark {
        font-size: 2.7rem;
    }

    .mission-text {
        font-size: 1rem;
    }

    .logo-mark {
        width: 90px;
        padding: 12px;
    }
}

