/* ============================================
   Melt3D - Shadcn-inspired Black & Green Theme
   ============================================ */

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

:root {
    /* Black & Teal Color Palette */
    --background: 0 0% 5%;
    --foreground: 0 0% 98%;
    --card: 0 0% 10%;
    --card-foreground: 0 0% 98%;
    --primary: 177 51% 30%;
    --primary-foreground: 0 0% 98%;
    --secondary: 0 0% 15%;
    --secondary-foreground: 0 0% 98%;
    --muted: 0 0% 15%;
    --muted-foreground: 0 0% 60%;
    --accent: 177 51% 30%;
    --accent-foreground: 0 0% 98%;
    --border: 0 0% 20%;
    --input: 0 0% 20%;
    --ring: 177 51% 30%;

    /* Base colors */
    --color-black: #0a0a0a;
    --color-black-light: #1a1a1a;
    --color-teal: #287474;
    --color-teal-light: #3a9a9a;
    --color-teal-dark: #1a5555;
    --color-coral: #e87c68;
    --color-coral-light: #f0a090;
    --color-white: #fafafa;
    --color-gray: #737373;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: hsl(var(--foreground));
    background-color: hsl(var(--background));
    font-size: 30px;
}

.container {
    max-width: 1470px;
    /* 15% larger */
    margin: 0 auto;
    padding: 0 2rem;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
    background: hsl(var(--background));
    border-bottom: 1px solid hsl(var(--border));
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(10, 10, 10, 0.8);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
}

.nav-menu a {
    color: hsl(var(--muted-foreground));
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-menu a:hover {
    color: hsl(var(--foreground));
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: hsl(var(--primary));
    transition: width 0.2s ease;
}

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

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: 1px solid hsl(var(--border));
    color: hsl(var(--foreground));
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    background: hsl(var(--secondary));
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/product/hero-bg.webp') center/cover no-repeat;
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
    transform: translateY(0);
    will-change: transform;
    animation: fadeInBackground 0.8s ease-out forwards;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at center, transparent 0%, hsl(var(--background)) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: fadeInHero 0.8s ease-out 0.6s forwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: hsla(var(--primary), 0.1);
    border: 1px solid hsla(var(--primary), 0.3);
    border-radius: 9999px;
    font-size: 0.875rem;
    color: hsl(var(--primary));
    margin-bottom: 2rem;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: hsl(var(--primary));
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes fadeInBackground {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.3;
    }
}

@keyframes fadeInHero {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 7.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    line-height: 1.15;
    background: linear-gradient(to bottom, hsl(var(--foreground)), hsl(var(--muted-foreground)));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content h2 {
    font-size: 2.85rem;
    font-weight: 400;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.hero-content h2 span {
    color: hsl(var(--primary));
    display: inline-block;
}

/* Non-planar 3D text effect */
.nonplanar-text {
    perspective: 800px;
    display: inline-block;
}

.nonplanar-text span {
    display: inline-block;
    transform: rotateZ(5deg);
    transform-style: preserve-3d;
    text-shadow:
        2px 2px 0 hsla(var(--primary), 0.5),
        4px 4px 0 hsla(var(--primary), 0.3),
        6px 6px 0 hsla(var(--primary), 0.2),
        8px 8px 20px hsla(var(--primary), 0.4);
    animation: tilt3D 4s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.nonplanar-text:hover span {
    animation-play-state: paused;
    transform: rotateZ(8deg) scale(1.05);
}

@keyframes tilt3D {
    0% {
        transform: rotateZ(5deg);
    }

    50% {
        transform: rotateZ(-5deg);
    }

    100% {
        transform: rotateZ(5deg);
    }
}

.hero-content p {
    font-size: 2.1rem;
    color: hsl(var(--muted-foreground));
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
    background: hsl(var(--primary));
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px hsla(var(--primary), 0.4);
}

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

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

.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ============================================
   SECTION STYLES
   ============================================ */
section {
    padding: 6rem 0;
}

.section-title {
    font-size: 3.1rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    color: hsl(var(--muted-foreground));
    font-size: 1.4rem;
    max-width: 600px;
    margin: 0 auto 4rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: hsl(var(--background));
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.4rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.about-card p {
    text-align: left;
}

.doi-link {
    color: hsl(var(--primary));
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.about-card small {
    display: block;
    margin-top: 0.5rem;
}

.doi-link:hover {
    color: hsl(var(--foreground));
    text-decoration: underline;
}

.about-highlight {
    background: hsl(var(--secondary));
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 3rem;
}

.about-highlight h3 {
    font-size: 1.55rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.about-highlight p {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    text-align: left;
    margin-bottom: 0;
}

.about-founding {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid hsl(var(--border));
}

.founding-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
}

.founding-content h3 {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: hsl(var(--foreground));
}

.founding-content>p {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: left;
}

.about-mission {
    background: hsla(var(--primary), 0.1);
    border: 1px solid hsla(var(--primary), 0.3);
    border-radius: 1rem;
    padding: 2rem;
}

.about-story {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.about-story h3 {
    font-size: 1.55rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.about-mission h4 {
    font-size: 1.55rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: hsl(var(--primary));
}

.founding-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 2rem;
}

.founding-content h3 {
    font-size: 1.55rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.founding-content h4 {
    font-size: 1.55rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 2rem;
    color: hsl(var(--primary));
}

.founding-content p {
    margin-bottom: 0;
}

.about-mission p {
    font-size: 1.17rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
    margin: 0;
}

.founding-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 60px hsla(var(--primary), 0.2);
    object-fit: cover;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    background: hsl(var(--background));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
}

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

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, hsla(var(--primary), 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, hsl(var(--primary)), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.feature-card:hover {
    border-color: hsl(var(--primary));
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 60px hsla(var(--primary), 0.15),
        0 0 0 1px hsla(var(--primary), 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover::after {
    transform: translateX(100%);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px hsla(var(--primary), 0.3);
}

.feature-card:nth-child(1) {
    transition-delay: 0ms;
}

.feature-card:nth-child(2) {
    transition-delay: 100ms;
}

.feature-card:nth-child(3) {
    transition-delay: 200ms;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: hsla(var(--primary), 0.1);
    border: 1px solid hsla(var(--primary), 0.3);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: hsl(var(--primary));
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.feature-card h3 {
    font-size: 1.55rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: hsl(var(--foreground));
}

.feature-card p {
    color: hsl(var(--muted-foreground));
    font-size: 1.17rem;
    line-height: 1.7;
}

.feature-image {
    margin-top: 1.5rem;
    border-radius: 0.5rem;
    width: 100%;
    height: 280px;
    object-fit: cover;
    border: 1px solid hsl(var(--border));
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team {
    background: hsl(var(--background));
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.team-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    border-color: hsl(var(--primary));
    transform: translateY(-4px);
    box-shadow: 0 12px 40px hsla(var(--primary), 0.1);
}

.team-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid hsl(var(--border));
    transition: border-color 0.3s ease;
}

.team-card:hover .team-avatar {
    border-color: hsl(var(--primary));
}

.team-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}

.team-role {
    color: hsl(var(--primary));
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.team-link {
    color: hsl(var(--muted-foreground));
    font-size: 1rem;
    transition: color 0.2s ease;
}

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

.team-socials {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.team-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: hsl(var(--secondary));
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    color: hsl(var(--muted-foreground));
    transition: all 0.2s ease;
}

.team-social svg {
    width: 20px;
    height: 20px;
}

.team-social:hover {
    background: hsl(var(--primary));
    border-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    transform: translateY(-2px);
}

.team-achievements {
    margin-top: 4rem;
    text-align: center;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 2.5rem 3rem;
    position: relative;
    overflow: hidden;
}

.team-achievements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, hsl(var(--primary)), transparent);
}

.team-achievements p {
    font-size: 1.17rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* ============================================
   SPONSORS SECTION
   ============================================ */
.sponsors {
    background: hsl(var(--background));
}

.sponsors-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.sponsor {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0.85;
    transition: all 0.3s ease;
    filter: grayscale(50%);
}

.sponsor:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.sponsor img {
    max-height: 200px;
    width: auto;
    margin-bottom: 1rem;
}

.sponsor-description {
    font-size: 1rem;
    color: hsl(var(--muted-foreground));
    max-width: 400px;
    line-height: 1.6;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: hsl(var(--background));
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    text-align: left;
}

.contact-info p {
    font-size: 1.4rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.contact-link {
    color: hsl(var(--foreground));
    text-decoration: none;
    transition: color 0.2s ease;
}

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

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

.contact-form-inline {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 2rem;
}

/* Remove duplicate social-links, already defined above */

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 0.75rem;
    color: hsl(var(--foreground));
    transition: all 0.3s ease;
}

.social-link:hover {
    background: hsl(var(--primary));
    border-color: hsl(var(--primary));
    transform: translateY(-4px);
    box-shadow: 0 8px 24px hsla(var(--primary), 0.3);
}

.social-link img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.social-link:hover img {
    filter: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: hsl(var(--background));
    border-top: 1px solid hsl(var(--border));
    color: hsl(var(--muted-foreground));
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    font-size: 1.1rem;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-gradient {
    background: linear-gradient(135deg, hsl(var(--foreground)) 0%, hsl(var(--primary)) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.border-gradient {
    position: relative;
}

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

/* ============================================
   CONTACT MODAL
   ============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex !important;
}

.modal-content {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    position: relative;
    z-index: 10000;
    animation: modalSlideIn 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin: 0;
}

.modal-close {
    background: transparent;
    border: none;
    color: hsl(var(--muted-foreground));
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: hsl(var(--secondary));
    color: hsl(var(--foreground));
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: hsl(var(--background));
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    color: hsl(var(--foreground));
    font-size: 1.17rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 3px hsla(var(--primary), 0.1);
}

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

.form-submit {
    width: 100%;
    padding: 0.875rem;
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border: none;
    border-radius: 0.5rem;
    font-size: 1.17rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-submit:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px hsla(var(--primary), 0.4);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

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

    .nav-menu {
        position: fixed;
        top: 73px;
        left: 0;
        right: 0;
        background: hsl(var(--card));
        border-bottom: 1px solid hsl(var(--border));
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        z-index: 999;
    }

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

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid hsl(var(--border));
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
        width: 100%;
        font-size: 1rem;
    }

    .nav-menu a::after {
        display: none;
    }

    .hero-content h1 {
        font-size: 3.75rem;
        letter-spacing: -1px;
    }

    .hero-content h2 {
        font-size: 1.69rem;
    }

    .hero {
        padding: 4rem 0 3rem;
    }

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

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    .features-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-card,
    .team-card {
        padding: 1.25rem;
    }

    .team-avatar {
        width: 130px;
        height: 130px;
    }

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

    .founding-image {
        order: -1;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-inline {
        padding: 1.5rem;
    }

    .btn-group {
        flex-direction: column;
    }

    .sponsors-grid {
        gap: 2rem;
    }

    .sponsor img {
        max-height: 120px;
    }

    .modal-content {
        margin: 1rem;
        max-height: 85vh;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

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

    .feature-card,
    .team-card {
        padding: 1rem;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .feature-image {
        height: 160px;
    }

    .team-avatar {
        width: 110px;
        height: 110px;
    }

    .team-social {
        width: 28px;
        height: 28px;
    }

    .team-social svg {
        width: 14px;
        height: 14px;
    }

    .team-achievements {
        padding: 2rem 1.5rem;
        margin-top: 3rem;
    }

    .team-achievements p {
        font-size: 1.1rem;
    }

    .contact-info p {
        font-size: 1rem;
    }

    .contact-form-inline {
        padding: 1rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .logo-img {
        height: 32px;
    }
}