/* Reset and base styles */
:root {
    --primary-cyan: #00c1c1;
    --primary-yellow: #fbca13;
    --primary-red: #f10101;
    --primary-black: #000000;
    --surface: #ffffff;
    --surface-cream: #fffcf5;
    --surface-muted: rgba(255, 255, 255, 0.92);
    --border-soft: rgba(0, 0, 0, 0.08);
    --shadow-soft: 0 14px 32px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 18px 40px rgba(0, 0, 0, 0.16);
    --radius-large: 24px;
    --radius-medium: 18px;
    --radius-small: 12px;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Roboto:wght@300;400;500;700&display=swap');

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.65;
    color: var(--primary-black);
    background-color: var(--surface);
    -webkit-font-smoothing: antialiased;
}

.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bangers', sans-serif;
    font-weight: 400;
    letter-spacing: 0.05em;
}

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

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

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

.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 {
    font-family: 'Bangers', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--primary-black);
    letter-spacing: 0.05em;
}

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

.nav-link {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    letter-spacing: 0.04em;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg,
        var(--primary-red) 0%,
        var(--primary-red) 33.33%,
        var(--primary-yellow) 33.33%,
        var(--primary-yellow) 66.66%,
        var(--primary-cyan) 66.66%,
        var(--primary-cyan) 100%);
    transition: width 0.3s ease;
}

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

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

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
}

.header.scrolled .nav-logo h1 {
    color: var(--primary-cyan);
}

.header.scrolled .hamburger .bar {
    background-color: var(--primary-black);
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-yellow);
    margin: 3px 0;
    transition: 0.3s;
}

/* Welcome Section */
.welcome-section {
    padding: 120px 0 100px;
    color: var(--primary-black);
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--surface);
}

.welcome-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(241, 1, 1, 0.2) 0%,
            rgba(251, 202, 19, 0.22) 48%,
            rgba(0, 193, 193, 0.2) 100%),
        url('../images/TeamPhoto.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    transition: filter 0.45s ease, transform 0.45s ease, opacity 0.45s ease;
    z-index: 0;
}

.welcome-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55));
    color: var(--surface);
    z-index: 1;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.welcome-overlay-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.overlay-number {
    font-family: 'Bangers', sans-serif;
    font-size: clamp(5rem, 16vw, 11rem);
    letter-spacing: 0.14em;
    text-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}

.welcome-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: row;
    gap: 4rem;
    align-items: center;
    min-height: 400px;
    flex-wrap: nowrap;
    position: relative;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    transform: translateY(24px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.welcome-section:hover .welcome-container,
.welcome-section:focus-within .welcome-container {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.welcome-section:hover .welcome-overlay,
.welcome-section:focus-within .welcome-overlay {
    opacity: 0;
    visibility: hidden;
}

.welcome-section:hover::before,
.welcome-section:focus-within::before {
    filter: blur(6px) brightness(0.9);
    transform: scale(1.05);
}

@media (hover: none), (pointer: coarse) {
    .welcome-overlay {
        display: none;
    }

    .welcome-container {
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .welcome-section::before {
        filter: blur(6px) brightness(0.9);
    }
}

.welcome-content {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 50%;
    gap: 1.5rem;
    padding: 2.5rem;
    background: rgba(0, 0, 0, 0.68);
    border-radius: var(--radius-large);
    color: var(--surface);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.welcome-image {
    flex: 0 0 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 50%;
}

.welcome-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
    background: var(--surface);
    padding: 12px;
}

/* Force side-by-side layout on larger screens */
@media screen and (min-width: 481px) {
    .welcome-container {
        flex-direction: row !important;
    }
}

@media screen and (max-width: 968px) {
    .welcome-container {
        gap: 2rem;
    }
}

.welcome-title {
    font-family: 'Bangers', sans-serif;
    font-size: clamp(3rem, 6vw, 4rem);
    font-weight: 400;
    margin-bottom: 1.2rem;
    line-height: 1.05;
    letter-spacing: 0.05em;
    color: var(--surface);
}

.highlight {
    color: var(--primary-cyan);
}

.welcome-description {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 2.5rem;
}

.section-title {
    font-family: 'Bangers', sans-serif;
    font-size: clamp(2.6rem, 5vw, 3.4rem);
    font-weight: 400;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-black);
    letter-spacing: 0.05em;
}
.section-description {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
    color: rgba(0, 0, 0, 0.72);
    line-height: 1.8;
    font-weight: 400;
}

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

.btn {
    padding: 14px 28px;
    border-radius: var(--radius-medium);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    letter-spacing: 0.02em;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg,
        var(--primary-red) 0%,
        var(--primary-red) 33.33%,
        var(--primary-yellow) 33.33%,
        var(--primary-yellow) 66.66%,
        var(--primary-cyan) 66.66%,
        var(--primary-cyan) 100%);
    color: var(--surface);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    background: linear-gradient(135deg,
        var(--primary-red) 0%,
        var(--primary-red) 33.33%,
        var(--primary-yellow) 33.33%,
        var(--primary-yellow) 66.66%,
        var(--primary-cyan) 66.66%,
        var(--primary-cyan) 100%);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: var(--surface);
    color: var(--primary-black);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
    color: var(--primary-cyan);
    box-shadow: var(--shadow-hover);
}

.image-placeholder {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
}

.robot-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
}

/* Section Dividers - Simple White Line */
.section-divider {
    height: 1px;
    background-color: var(--border-soft);
    margin: 0;
    border: none;
}
.about,
.robot-showcase,
.team-section,
.achievements,
.contact {
    background-color: var(--surface-cream);
    color: var(--primary-black);
    padding: 6rem 0;
}

.robot-showcase,
.achievements,
.contact {
    background-color: var(--surface-cream);
}

.section-title {
    font-family: 'Bangers', sans-serif;
    font-size: clamp(2.6rem, 5vw, 3.4rem);
    font-weight: 400;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-black);
    letter-spacing: 0.05em;
}

.section-description {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
    color: rgba(4, 4, 4, 0.72);
    line-height: 1.8;
    font-weight: 400;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature-card {
    background-color: var(--surface);
    padding: 2.25rem;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.feature-card:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 193, 193, 0.16), var(--shadow-hover);
}

.innovation-card {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    z-index: 0;
}

.innovation-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-large);
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-yellow), var(--primary-cyan));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.innovation-card .feature-summary {
    margin-bottom: 0.25rem;
}

.innovation-card .feature-details {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(4, 4, 4, 0.75);
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: max-height 0.8s ease, opacity 0.7s ease;
}

.innovation-card .feature-details h4 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
    font-size: 0.95rem;
}

.innovation-card .feature-details ul {
    list-style: disc;
    margin-left: 1.25rem;
    display: grid;
    gap: 0.35rem;
}

.innovation-card .feature-details ul li {
    opacity: 0;
    animation: slideInListItem 0.4s ease forwards;
}

.innovation-card .feature-details ul li:nth-child(1) {
    animation-delay: 0.2s;
}

.innovation-card .feature-details ul li:nth-child(2) {
    animation-delay: 0.35s;
}

.innovation-card .feature-details ul li:nth-child(3) {
    animation-delay: 0.5s;
}

.innovation-card .feature-details ul li:nth-child(4) {
    animation-delay: 0.65s;
}

.innovation-card:not(.expanded) .feature-details ul li {
    animation: none;
    opacity: 0;
}

@keyframes slideInListItem {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hover-hint {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.5);
    margin-top: 1rem;
    font-style: italic;
    opacity: 1;
    transition: opacity 0.8s ease;
}

.innovation-card.expanded .hover-hint {
    opacity: 0;
    pointer-events: none;
}

.innovation-card.expanded .feature-details {
    max-height: 320px;
    opacity: 1;
    visibility: visible;
}

.innovation-card.expanded {
    box-shadow: var(--shadow-hover);
}

.innovation-card.expanded::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background-color: var(--surface);
    color: var(--primary-cyan);
}

.feature-card h3 {
    font-family: 'Bangers', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: var(--primary-black);
    letter-spacing: 0.05em;
}

.feature-card p {
    font-family: 'Roboto', sans-serif;
    color: rgba(4, 4, 4, 0.72);
    line-height: 1.8;
    font-size: 1rem;
}

/* Robot Showcase */
.robot-showcase .section-title {
    color: var(--primary-black);
}

.robot-showcase .section-description {
    color: var(--primary-black);
}

.robot-feature {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.robot-content h3 {
    font-family: 'Bangers', sans-serif;
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: var(--primary-black);
    letter-spacing: 0.05em;
}

.robot-content p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    color: rgba(4, 4, 4, 0.72);
    line-height: 1.8;
}

.robot-specs {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.spec-item {
    padding: 1.5rem;
    background-color: var(--surface);
    border-radius: var(--radius-medium);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.spec-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-medium);
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-yellow), var(--primary-cyan));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
        mask-composite: exclude;
}

.spec-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.spec-item h4 {
    font-family: 'Bangers', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
    letter-spacing: 0.05em;
}

.spec-item p {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    color: rgba(4, 4, 4, 0.72);
    font-size: 0.95rem;
    line-height: 1.6;
}

.robot-visual .image-placeholder {
    background-color: var(--primary-yellow);
    border: 2px dashed var(--primary-black);
    color: var(--primary-black);
    height: 350px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.robot-showcase-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center 20%;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
}

/* Team Stats */
.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.stat-card {
    text-align: center;
    padding: 2.25rem;
    background-color: var(--surface);
    border-radius: var(--radius-large);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.stat-number {
    font-family: 'Bangers', sans-serif;
    font-size: 3.2rem;
    font-weight: 400;
    color: var(--primary-cyan);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: rgba(4, 4, 4, 0.7);
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
}

/* Team Tabs */
.team-tabs {
    margin-top: 4rem;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.tab-button {
    background-color: var(--surface);
    border: 1px solid var(--border-soft);
    color: var(--primary-black);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.tab-button:hover {
    background-color: rgba(0, 193, 193, 0.1);
    border-color: rgba(0, 193, 193, 0.3);
    color: var(--primary-cyan);
    transform: translateY(-2px);
}

.tab-button.active {
    background: linear-gradient(135deg,
        var(--primary-red) 0%,
        var(--primary-red) 33.33%,
        var(--primary-yellow) 33.33%,
        var(--primary-yellow) 66.66%,
        var(--primary-cyan) 66.66%,
        var(--primary-cyan) 100%);
    color: var(--surface);
    border-color: transparent;
    box-shadow: 0 16px 32px rgba(0, 193, 193, 0.25);
}

.tab-content {
    position: relative;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-panel.active {
    display: block;
}

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

/* Team Members */

.team-subsection-title {
    font-family: 'Bangers', sans-serif;
    font-size: 2.2rem;
    font-weight: 400;
    text-align: center;
    margin: 3rem 0 2rem 0;
    color: var(--primary-black);
    letter-spacing: 0.05em;
}

.team-subsection-title:first-of-type {
    margin-top: 4rem;
}

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

.member-card {
    background-color: var(--surface);
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-soft);
}

.member-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

/* Mentor cards have a different color scheme */
.mentor-card {
    border-color: rgba(0, 193, 193, 0.25);
    background-color: var(--surface);
}

.mentor-card .member-name {
    color: var(--primary-black);
}

.mentor-card .member-role {
    color: var(--primary-cyan);
}

.mentor-card .member-description {
    color: rgba(4, 4, 4, 0.7);
}

.member-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-card:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 2rem;
}

.member-name {
    font-family: 'Bangers', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
    letter-spacing: 0.05em;
}

.member-role {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-cyan);
    margin-bottom: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.member-description {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(4, 4, 4, 0.72);
}

.role-card h4 {
    font-family: 'Bangers', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--primary-black);
    letter-spacing: 0.05em;
}

.role-card p {
    font-family: 'Roboto', sans-serif;
    color: var(--primary-black);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Achievements */
.achievements .section-title {
    color: var(--primary-black);
}

.achievements .section-description {
    color: var(--primary-black);
}

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

.achievement-card {
    background-color: var(--surface);
    border-radius: var(--radius-large);
    padding: 2.5rem;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.achievement-card::before {
    content: '🏆';
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 1.8rem;
}

.achievement-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.achievement-year {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 193, 193, 0.12);
    color: var(--primary-cyan);
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.achievement-card h4 {
    font-family: 'Bangers', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: var(--primary-black);
    letter-spacing: 0.05em;
}

.achievement-card p {
    font-family: 'Roboto', sans-serif;
    color: rgba(4, 4, 4, 0.72);
    line-height: 1.8;
    font-size: 1rem;
}

/* Sponsors */
.sponsors-section {
    background-color: var(--surface-cream);
    color: var(--primary-black);
    padding: 6rem 0;
}

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

.sponsor-card {
    position: relative;
    padding: 2.25rem;
    background-color: var(--surface);
    border-radius: var(--radius-large);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.sponsor-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg,
        rgba(241, 1, 1, 0.28) 0%,
        rgba(251, 202, 19, 0.28) 50%,
        rgba(0, 193, 193, 0.28) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
        mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sponsor-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

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

.sponsor-name {
    font-family: 'Bangers', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--primary-black);
    margin-bottom: 0.75rem;
    letter-spacing: 0.06em;
}

.sponsor-support {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(4, 4, 4, 0.72);
    margin: 0;
}

/* Camps Card */
.camps-card {
    max-width: 600px;
    margin: 0 auto 2rem;
    background-color: var(--surface);
    border-radius: var(--radius-large);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.camps-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.camps-card .flyer-image {
    width: 100%;
    height: auto;
    display: block;
}

.camps-signup {
    text-align: center;
    margin: 0 auto 4rem;
}

.camps-signup .btn {
    font-size: 1.1rem;
    padding: 16px 36px;
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(4, 4, 4, 0.08);
}

.contact-item {
    text-align: left;
    padding: 2.25rem;
    background-color: var(--surface);
    border-radius: var(--radius-large);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item::before {
    content: '📧';
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 1.5rem;
}

.contact-item:nth-child(2)::before {
    content: '📍';
}

.contact-item:nth-child(3)::before {
    content: '🤖';
}

.contact-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.contact-item h4 {
    font-family: 'Bangers', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: var(--primary-black);
    letter-spacing: 0.05em;
}

.contact-item p {
    font-family: 'Roboto', sans-serif;
    color: rgba(4, 4, 4, 0.72);
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 400;
}

/* Contact Form */
.contact-form {
    max-width: 720px;
    margin: 0 auto 4rem;
    padding: 3rem;
    background-color: var(--surface);
    border-radius: var(--radius-large);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.05);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.contact-form:hover::before {
    opacity: 1;
}

.contact-form > * {
    position: relative;
    z-index: 1;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    color: var(--primary-black);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea,
.form-group select {
    font-family: 'Roboto', sans-serif;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-small);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--surface);
    font-weight: 400;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(0, 193, 193, 0.6);
    box-shadow: 0 0 0 4px rgba(0, 193, 193, 0.1);
}

/* Footer */
.footer {
    background-color: var(--primary-black);
    color: rgba(255, 255, 255, 0.78);
    padding: 72px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-family: 'Bangers', sans-serif;
    font-weight: 400;
    letter-spacing: 0.05em;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-cyan);
}

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

.social-links a {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.06);
    transition: background 0.3s ease;
}

.social-links a:hover {
    background-color: rgba(0, 193, 193, 0.18);
}

.sponsors ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sponsors ul li a {
    color: rgba(255, 255, 255, 0.78);
}

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

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

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

    .hamburger {
        display: flex;
    }

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

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

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

    .welcome-container {
        flex-direction: column !important;
        text-align: center;
        gap: 2rem;
        padding: 0 15px;
    }
    
    .welcome-content, .welcome-image {
        flex: none !important;
        max-width: 100% !important;
    }

    .welcome-content {
        padding: 2rem;
        gap: 1.25rem;
    }

    .welcome-title {
        font-size: 2.8rem;
    }

    .welcome-description {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

    .welcome-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .robot-feature {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .features-grid, .team-stats, .team-members, .achievements-grid, .sponsors-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tab-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .tab-button {
        width: 100%;
        max-width: 300px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

    .section-description {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .about, .robot-showcase, .team-section, .achievements, .contact {
        padding: 60px 0;
    }

    .container {
        padding: 0 15px;
    }

    .contact-form {
        margin: 0 15px 3rem;
        padding: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .welcome-title {
        font-size: 2.2rem;
    }

    .welcome-content {
        padding: 1.75rem;
    }

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

    .welcome-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 15px 20px;
        font-size: 1.1rem;
    }

    .feature-card, .stat-card, .role-card, .achievement-card, .sponsor-card {
        padding: 2rem;
    }

    .stat-number {
        font-size: 2.8rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .about, .robot-showcase, .team-section, .achievements, .contact {
        padding: 40px 0;
    }

    .welcome-section {
        padding: 60px 0;
        min-height: 70vh;
    }
}
