/* Mentor Card Customization */


.player-card.mentor .player-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
}

.player-card.mentor .player-name {
    font-weight: bold;
    color: #fff;
    font-size: 1.02rem;
    text-align: center;
    margin-bottom: 0.3em;
    line-height: 1.2;
}

.player-card.captain .player-name {
    font-weight: bold;
    color: #fff;
    font-size: 1.02rem;
    text-align: center;
    margin-bottom: 0.3em;
    line-height: 1.2;
}

.player-card.mentor .player-role-title {
    color: #ffe14a;
    font-size: 1.05rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.3em;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.player-card.mentor .player-role-description {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 0.3em;
    letter-spacing: 0.5px;
}

/* Ensure all mentor text is vertically stacked and centered */
.player-card.mentor {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Captain/Lead Highlight */
.player-card.captain .player-role {
    color: #ffe14a;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.05rem;
    margin-top: 8px;
    letter-spacing: 1px;
}
/* ===== RESET & ROOT ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --orange: #FF6B35;
    --orange-light: #FF8555;
    --orange-dark: #E55A25;
    --black: #0A0A0A;
    --black-light: #1A1A1A;
    --white: #FFFFFF;
    --white-dim: #F5F5F5;
    --gray: #808080;
    --gray-light: #B8B8B8;
    --gray-dark: #2A2A2A;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

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

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

/* ===== UTILITIES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    display: inline-block;
    color: var(--orange);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    color: var(--gray-light);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--orange);
}

.btn-secondary:hover {
    background: var(--orange);
    transform: translateY(-2px);
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

/* Particles removed */

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

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.logo-img {
    height: 35px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-q {
    color: var(--orange);
}

.logo-text {
    color: var(--white);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    color: var(--gray-light);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

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

.nav-cta {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem 2rem 4rem;
    overflow: hidden;
    background: url('images/rover website background.png') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInLeft 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid var(--orange);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--orange);
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.title-line {
    display: block;
}

.title-highlight {
    color: var(--orange);
    display: block;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray-light);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--orange);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-light);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-dark);
}

.rover-placeholder,
.gallery-placeholder,
.about-placeholder {
    background: var(--black-light);
    border: 2px dashed var(--gray-dark);
    border-radius: 20px;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    transition: all 0.3s ease;
}

.rover-placeholder:hover,
.gallery-placeholder:hover,
.about-placeholder:hover {
    border-color: var(--orange);
    background: rgba(255, 107, 53, 0.05);
}

.rover-placeholder i,
.gallery-placeholder i,
.about-placeholder i {
    font-size: 5rem;
    margin-bottom: 1rem;
    color: var(--orange);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-light);
    font-size: 0.85rem;
    z-index: 2;
}

.scroll-arrow {
    width: 20px;
    height: 30px;
    border: 2px solid var(--orange);
    border-radius: 15px;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--orange);
    border-radius: 2px;
    animation: scroll-down 2s infinite;
}

@keyframes scroll-down {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(10px);
        opacity: 0;
    }
}

/* ===== IRC SECTION ===== */
.irc-section {
    padding: 4rem 0;
    padding-top: 8rem;
    background: var(--black-light);
}

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

.irc-card {
    background: var(--black);
    border: 1px solid var(--gray-dark);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.irc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--orange);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.irc-card:hover {
    transform: translateY(-5px);
    border-color: var(--orange);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

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

.irc-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--orange);
}

.irc-number {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.irc-label {
    color: var(--gray-light);
    font-size: 1rem;
}

.achievement-card {
    background: linear-gradient(135deg, var(--orange-dark), var(--orange));
    border-radius: 15px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.achievement-icon {
    font-size: 4rem;
    color: var(--white);
}

.achievement-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.achievement-content p {
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ===== INSTITUTION SECTION ===== */
.institution-section {
    padding: 4rem 0 3rem;
    position: relative;
    z-index: 2;
    background: transparent;
}

.institution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.institution-card {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid var(--gray-dark);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.institution-card:hover {
    transform: translateY(-5px);
    border-color: var(--orange);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.15);
}

.institution-logo {
    width: 100%;
    height: 180px;
    margin: 0 0 1.5rem 0;
    margin-top: -2.5rem;
    margin-left: -2.5rem;
    margin-right: -2.5rem;
    width: calc(100% + 5rem);
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    position: relative;
}

.institution-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: 0;
}

.kumaraguru-logo {
    background-image: url('images/kumaraguru logo background.png');
}

.iqube-logo {
    background-image: url('images/iqube logo background.jpg');
}

.institution-logo img {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.institution-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.institution-content p {
    color: var(--gray-light);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.institution-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-dark);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--orange);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(255, 107, 53, 0.2);
    transform: translateX(5px);
}

.highlight-item i {
    font-size: 1rem;
}

.highlight-item span {
    color: var(--gray-light);
}

/* ColorBends Background Container */
#colorbends-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    display: block;
}

#colorbends-bg canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100%;
    display: block;
}

/* ===== ABOUT IRC HERO SECTION (REVAMPED) ===== */
.about-irc-hero {
    padding: 6rem 0 4rem;
    min-height: 100vh;
    background: transparent;
    position: relative;
    z-index: 2;
}

/* IRC Main Content */
.irc-main-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 4rem;
    background: rgba(10, 10, 10, 0.5);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--gray-dark);
    backdrop-filter: blur(5px);
}

.page-main-title {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--orange-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.page-main-description {
    font-size: 1.2rem;
    color: var(--gray-light);
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 3rem;
}

/* IRC Stats Grid */
.irc-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.irc-stat-card {
    background: var(--black-light);
    border: 1px solid var(--gray-dark);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.irc-stat-card:hover {
    border-color: var(--orange);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.3);
}

.stat-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 107, 53, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--orange);
    flex-shrink: 0;
}

.stat-info-large h3 {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 0.3rem;
}

.stat-info-large p {
    color: var(--gray-light);
    font-size: 1rem;
}

/* IRC Missions Overview */
.irc-missions-overview {
    background: var(--black-light);
    border: 1px solid var(--gray-dark);
    border-radius: 25px;
    padding: 3rem;
    margin-top: 3rem;
}

.missions-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--white);
}

.missions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.mission-overview-card {
    background: var(--black);
    border: 1px solid var(--gray-dark);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.mission-overview-card:hover {
    border-color: var(--orange);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.2);
}

.mission-icon-wrap {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 107, 53, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    color: var(--orange);
}

.mission-overview-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--orange);
}

.mission-overview-card p {
    font-size: 0.9rem;
    color: var(--gray-light);
}

.irc-website-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--orange);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.irc-website-btn:hover {
    background: var(--orange-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

/* ===== HORIZONTAL TIMELINE SECTION ===== */
.horizontal-timeline-section {
    padding: 1rem 0 3rem;
    background: transparent;
    position: relative;
    z-index: 2;
}

.horizontal-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 4rem;
    padding: 0 2rem;
}

.timeline-track {
    position: absolute;
    top: 20px;
    left: 2rem;
    right: 2rem;
    height: 3px;
    background: var(--gray-dark);
}

.timeline-track::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    background: var(--orange);
    transition: width 1s ease;
}

.h-timeline-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.h-timeline-dot {
    width: 40px;
    height: 40px;
    background: var(--black);
    border: 3px solid var(--gray-dark);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.h-timeline-item:hover .h-timeline-dot,
.h-timeline-item.active .h-timeline-dot {
    border-color: var(--orange);
    background: var(--orange);
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.6);
}

.h-timeline-card {
    background: var(--black-light);
    border: 1px solid var(--gray-dark);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.h-timeline-item:hover .h-timeline-card,
.h-timeline-item.active .h-timeline-card {
    border-color: var(--orange);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.3);
}

.h-timeline-date {
    display: inline-block;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid var(--orange);
    color: var(--orange);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.h-timeline-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--white);
}

.h-timeline-card p {
    font-size: 0.9rem;
    color: var(--gray-light);
    line-height: 1.5;
}

/* Vertical timeline for mobile */
@media screen and (max-width: 768px) {
    .horizontal-timeline {
        display: block;
        padding-left: 20px;
        position: relative;
    }

    .horizontal-timeline::before {
        content: '';
        position: absolute;
        left: 20px;
        top: 0;
        bottom: 0;
        width: 3px;
        background: var(--gray-dark);
    }
    
    .timeline-track {
        display: none;
    }

    .h-timeline-item {
        display: block;
        position: relative;
        padding-left: 40px;
        margin-bottom: 3rem;
    }

    .h-timeline-dot {
        position: absolute;
        left: 0;
        top: 0;
        transform: translateX(-50%);
        margin-bottom: 0;
        width: 20px;
        height: 20px;
    }
    
    .h-timeline-item.active .h-timeline-dot {
         transform: translateX(-50%) scale(1.2);
    }

    .h-timeline-card {
        min-height: auto;
        text-align: left;
    }

    /* Institution Section Mobile */
    .institution-section {
        padding: 2rem 0 2rem;
    }

    .institution-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .institution-card {
        padding: 1.5rem;
    }

    .institution-logo {
        width: calc(100% + 3rem);
        height: 140px;
        margin-top: -1.5rem;
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        margin-bottom: 1.5rem;
    }

    .institution-logo img {
        max-width: 50%;
        max-height: 50%;
    }

    .institution-content h3 {
        font-size: 1.4rem;
    }

    .institution-content p {
        font-size: 0.95rem;
    }

    .institution-highlights {
        flex-direction: column;
        gap: 0.75rem;
    }

    .highlight-item {
        width: fit-content;
    }

    .hero-description {
        display: none;
    }
}


.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* SDDR Achievement Banner */
.sddr-achievement-banner {
    background: linear-gradient(135deg, var(--orange-dark), var(--orange));
    border-radius: 20px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.4);
}

.achievement-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.sddr-badge {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.sddr-content {
    position: relative;
    z-index: 1;
}

.sddr-content h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.sddr-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
}

/* Main Content Layout */

/* ===== RESPONSIVE: HORIZONTAL TIMELINE ===== */
.why-mars-section {
    padding: 4rem 0;
    background: transparent;
}

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

.why-mars-card {
    background: var(--black-light);
    border: 1px solid var(--gray-dark);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.why-mars-card:hover {
    transform: translateY(-10px);
    border-color: var(--orange);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
}

.mars-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 107, 53, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--orange);
    margin-bottom: 1.5rem;
}

.why-mars-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.why-mars-card p {
    color: var(--gray-light);
    line-height: 1.7;
}

/* ===== TIMELINE SECTION ===== */
.timeline-section {
    padding: 4rem 0;
    background: transparent;
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-dark);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--orange);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 6px var(--black-light);
}

.timeline-content {
    width: calc(50% - 40px);
    background: var(--black);
    border: 1px solid var(--gray-dark);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    text-align: left;
}

.timeline-content:hover {
    border-color: var(--orange);
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.timeline-date {
    color: var(--orange);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--white);
}

.timeline-content p {
    color: var(--gray-light);
    line-height: 1.7;
}

/* ===== TEAM HERO SECTION ===== */
.team-hero-section {
    padding: 6rem 0 4rem;
    padding-top: 8rem;
    background: var(--black-light);
}

.team-overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}

.team-overview-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.team-stats-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.compact-stat {
    background: var(--black);
    border: 1px solid var(--gray-dark);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.compact-stat:hover {
    border-color: var(--orange);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.compact-stat h3 {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.compact-stat p {
    color: var(--gray-light);
    font-size: 0.95rem;
}

.team-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--gray-dark);
    background: var(--black);
    transition: all 0.3s ease;
}

.team-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(255, 107, 53, 0.3);
    border-color: var(--orange);
}

.team-image-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.05));
}

.team-image-placeholder i {
    font-size: 4rem;
    color: var(--orange);
}

.team-image-placeholder p {
    color: var(--gray-light);
    font-size: 1.1rem;
}

.team-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95), transparent);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--white);
    font-weight: 600;
}

.team-image-caption i {
    color: var(--orange);
    font-size: 1.2rem;
}

.team-overview-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sddr-video-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--gray-dark);
    transition: all 0.3s ease;
}

.sddr-video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(255, 107, 53, 0.3);
    border-color: var(--orange);
}

.sddr-video {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
    border: none;
    border-radius: 20px;
}

.video-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95), transparent);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--white);
    font-weight: 600;
}

.video-caption i {
    color: var(--orange);
    font-size: 1.2rem;
}

.team-description-card {
    background: var(--black);
    border: 1px solid var(--gray-dark);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.team-description-card:hover {
    border-color: var(--orange);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
}

.team-description-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.team-description-card p {
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.team-description-card p:last-child {
    margin-bottom: 0;
}

/* ===== TEAM DOMAINS SECTION ===== */
.team-section {
    padding: 4rem 0;
    background: var(--black-light);
}

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

.domain-card {
    background: var(--black);
    border: 1px solid var(--gray-dark);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.domain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--orange);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.domain-card:hover {
    transform: translateY(-5px);
    border-color: var(--orange);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

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

.domain-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 107, 53, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--orange);
    margin-bottom: 1.5rem;
}

.domain-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.domain-card > p {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.domain-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.domain-list li {
    color: var(--gray-light);
    padding-left: 1.5rem;
    position: relative;
}

.domain-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: bold;
}

/* ===== RECRUITMENT SECTION ===== */
.recruitment-section {
    padding: 4rem 0;
    background: var(--black);
}

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

.recruitment-step {
    background: var(--black-light);
    border: 1px solid var(--gray-dark);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.recruitment-step:hover {
    transform: translateY(-10px);
    border-color: var(--orange);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.step-content {
    margin-top: 25px;
}

.step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.step-content p {
    color: var(--gray-light);
    line-height: 1.7;
}

.looking-for-section {
    background: var(--black-light);
    border: 1px solid var(--gray-dark);
    border-radius: 20px;
    padding: 2.5rem;
}

.looking-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--orange);
}

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

.quality-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem;
    background: var(--black);
    border: 1px solid var(--gray-dark);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.quality-item:hover {
    border-color: var(--orange);
    transform: scale(1.05);
}

.quality-item i {
    font-size: 2.5rem;
    color: var(--orange);
}

.quality-item span {
    color: var(--white);
    font-weight: 600;
    text-align: center;
}

/* ===== CULTURE SECTION ===== */
.culture-section {
    padding: 4rem 0;
    background: var(--black-light);
}

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

.culture-card {
    background: var(--black);
    border: 1px solid var(--gray-dark);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.culture-card:hover {
    border-color: var(--orange);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
}

.culture-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 107, 53, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--orange);
    margin-bottom: 1.5rem;
}

.culture-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.culture-card > p {
    color: var(--gray-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.culture-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.culture-features li {
    color: var(--gray-light);
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.culture-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: bold;
}

.stats-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    background: linear-gradient(135deg, var(--orange-dark), var(--orange));
    border-radius: 20px;
    padding: 2.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--white);
    opacity: 0.9;
}

/* ===== ROVER SECTION ===== */
.rover-section {
    padding-top: 5.5rem;
    padding-bottom: 1rem;
    background: #000000;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 100vh;
}

.rover-section > .container {
    position: relative;
    z-index: 10;
}

#floating-lines-bg {
    opacity: 0.5;
    pointer-events: all;
}

#floating-lines-bg canvas {
    display: block;
    filter: blur(0.5px);
}

.rover-section .section-header {
    margin-bottom: 1.5rem;
}

.rover-section .section-title {
    margin-bottom: 0.5rem;
}

.rover-section .section-description {
    margin-bottom: 0;
}

.rover-showcase {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 0;
    align-items: center;
    max-height: calc(100vh - 8rem);
}

.rover-main {
    border-radius: 20px;
    overflow: hidden;
    max-height: calc(100vh - 8rem);
}

.rover-image {
    width: 100%;
    height: 100%;
    max-height: calc(100vh - 8rem);
    object-fit: contain;
    display: block;
}

.rover-placeholder {
    width: 100%;
    height: 100%;
    min-height: 280px;
    max-height: calc(100vh - 8rem);
}

.rover-specs-card {
    background: var(--black-light);
    border: 1px solid var(--gray-dark);
    border-radius: 20px;
    padding: 1.25rem;
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.rover-specs-card::-webkit-scrollbar {
    display: none;
}

.rover-specs-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.9rem;
    color: var(--orange);
}

.specs-grid {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem;
    background: var(--black);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.spec-item:hover {
    transform: translateX(5px);
    background: rgba(255, 107, 53, 0.05);
}

.spec-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 107, 53, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.spec-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.8rem;
    color: var(--gray);
}

.spec-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
}

/* Component Explorer Section */
.component-explorer-section {
    margin: 2rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--gray-dark);
    border-bottom: 1px solid var(--gray-dark);
}

.explorer-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--orange);
}

.explorer-subtitle {
    text-align: center;
    color: var(--gray-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.component-explorer {
    display: grid;
    grid-template-columns: 280px 40% 1fr;
    gap: 1rem;
    align-items: stretch;
    height: 480px;
}

/* Component Menu (Left) */
.component-menu {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-right: 10px;
    box-sizing: border-box;
    overflow-y: auto;
}

.component-menu::-webkit-scrollbar {
    display: none;
}

.component-menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.25rem;
    background: var(--black-light);
    border: 1px solid var(--gray-dark);
    border-radius: 12px;
    color: var(--gray-light);
    font-weight: 500;
    font-family: 'Space Grotesk', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    flex-shrink: 0;
}

.component-menu-item i:first-child {
    font-size: 1.2rem;
    color: var(--orange);
    transition: all 0.3s ease;
}

.component-menu-item span {
    flex: 1;
}

.component-menu-item i:last-child {
    font-size: 0.9rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.component-menu-item:hover,
.component-menu-item.active {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 107, 53, 0.05));
    border-color: var(--orange);
    color: var(--white);
    transform: translateX(5px);
}

.component-menu-item:hover i:last-child,
.component-menu-item.active i:last-child {
    opacity: 1;
    transform: translateX(0);
}

.component-menu-item.active {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 107, 53, 0.1));
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.2);
}

/* Component Display (Center) */
.component-display {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--gray-dark);
    background: var(--black-light);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.component-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.component-image-container.hidden {
    opacity: 0;
    pointer-events: none;
}

.component-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 3rem;
    text-align: center;
}

.component-placeholder i {
    font-size: 5rem;
    color: var(--orange);
    opacity: 0.7;
}

.component-placeholder p {
    font-size: 1.3rem;
    color: var(--gray-light);
    font-weight: 500;
}

/* Component Details (Right) */
.component-details {
    background: var(--black-light);
    border: 1px solid var(--gray-dark);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--orange) var(--black);
    box-sizing: border-box;
    text-align: left;
}

.component-details::-webkit-scrollbar {
    display: none;
}

.component-details::-webkit-scrollbar-track {
    background: var(--black);
}

.component-details::-webkit-scrollbar-thumb {
    background: var(--orange);
    border-radius: 3px;
}

.component-detail-content {
    display: none;
    animation: slideInRight 0.4s ease;
    flex-shrink: 0;
}

.component-detail-content.active {
    display: block;
    flex-shrink: 0;
}


.component-detail-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.detail-badge {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.detail-description {
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.detail-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.detail-spec-item {
    background: var(--black);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--gray-dark);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-spec-item .spec-label {
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-spec-item .spec-value {
    font-size: 1rem;
    color: var(--white);
    font-weight: 600;
}

.detail-features {
    border-top: 1px solid var(--gray-dark);
    padding-top: 1.5rem;
}

.detail-features h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.detail-features li {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
}

.detail-features ul li i {
    color: var(--orange);
}
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.missions-section {
    margin-top: 0;
    margin-bottom: 3rem;
}

.missions-title {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
    color: var(--orange);
}

.mission-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.mission-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--black-light);
    border: 1px solid var(--gray-dark);
    border-radius: 50px;
    color: var(--gray-light);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mission-tab i {
    font-size: 1.2rem;
}

.mission-tab:hover,
.mission-tab.active {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
    transform: translateY(-2px);
}

.mission-contents {
    position: relative;
}

.mission-content {
    display: none;
    background: var(--black-light);
    border: 1px solid var(--gray-dark);
    border-radius: 20px;
    padding: 2rem;
    animation: fadeIn 0.5s ease;
}

.mission-content.active {
    display: block;
}

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

.mission-header h4 {
    font-size: 1.8rem;
}

.mission-badge {
    background: var(--orange);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.mission-objective {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.mission-features .feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--black);
    border-radius: 10px;
    color: var(--gray-light);
}

.mission-features .feature-item i {
    color: var(--orange);
    font-size: 1.2rem;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    padding-top: 6rem;
    padding-bottom: 4rem;
    background: var(--black-light);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    background: var(--black);
    border: 1px solid var(--gray-dark);
    border-radius: 50px;
    color: var(--gray-light);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: var(--black-light);
    border: 1px solid var(--gray-dark);
    transition: all 0.3s ease;
    aspect-ratio: 16 / 9; /* 16:9 ratio for images */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95), transparent);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--orange);
}

.gallery-overlay p {
    font-size: 0.9rem;
    color: var(--gray-light);
}

/* ===== BEHIND SCENES SECTION ===== */
.behind-scenes-section {
    padding: 4rem 0;
    background: var(--black);
}

.scenes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.scene-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: var(--black-light);
    border: 1px solid var(--gray-dark);
    transition: all 0.3s ease;
    min-height: 250px; /* Adjust as needed */
    display: flex;
    flex-direction: column;
}

.scene-card img,
.scene-card video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.scene-card.large {
    grid-column: span 2;
    grid-row: span 2;
}

.scene-card:hover {
    transform: translateY(-5px);
    border-color: var(--orange);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.scene-placeholder {
    aspect-ratio: 16/9;
    background: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
}

.scene-placeholder i {
    font-size: 3rem;
    color: var(--orange);
}

.scene-placeholder p {
    color: var(--gray-light);
    font-size: 0.9rem;
}

.scene-info {
    padding: 1.5rem;
}

.scene-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--white);
}

.scene-info p {
    color: var(--gray-light);
    line-height: 1.6;
}

/* ===== MILESTONES GALLERY SECTION ===== */
.milestones-gallery-section {
    padding: 4rem 0;
    background: var(--black-light);
}

.milestones-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.milestone-card {
    background: var(--black);
    border: 1px solid var(--gray-dark);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.milestone-card:hover {
    transform: translateY(-10px);
    border-color: var(--orange);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.25);
}

.milestone-image-container {
    width: 100%;
    aspect-ratio: 16 / 9; /* 16:9 ratio for images */
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-dark);
}

.milestone-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--orange);
}

.milestone-details {
    padding: 1.5rem;
}

.milestone-badge {
    display: inline-block;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid var(--orange);
    color: var(--orange);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.milestone-details h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--white);
}

.milestone-details p {
    color: var(--gray-light);
    line-height: 1.6;
}

/* ===== TECHNOLOGY STACK SECTION ===== */
.tech-stack-section {
    padding: 2.5rem 0;
    background: var(--black-light);
}

.tech-stack-section .section-header {
    margin-bottom: 2rem;
}

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

.tech-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.tech-category {
    background: var(--black);
    border: 1px solid var(--gray-dark);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.tech-category:hover {
    border-color: var(--orange);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--gray-dark);
}

.category-header i {
    font-size: 1.5rem;
    color: var(--orange);
}

.category-header h3 {
    font-size: 1.2rem;
    color: var(--white);
}

.tech-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}

.tech-item {
    background: var(--black-light);
    border: 1px solid var(--gray-dark);
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.tech-item:hover {
    border-color: var(--orange);
    background: rgba(255, 107, 53, 0.05);
}

.tech-name {
    font-weight: 600;
    color: var(--orange);
    font-size: 0.85rem;
}

.tech-desc {
    color: var(--gray-light);
    font-size: 0.75rem;
    line-height: 1.4;
}

/* ===== PROGRESS SECTION ===== */
.progress-section {
    padding: 2.5rem 0;
    background: #000000;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.progress-section > .container {
    position: relative;
    z-index: 10;
}

#progress-floating-lines {
    opacity: 0.5;
    pointer-events: all;
}

#progress-floating-lines canvas {
    display: block;
    filter: blur(0.5px);
}

.progress-section .section-header {
    margin-bottom: 2rem;
}

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

.progress-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.progress-card {
    background: var(--black-light);
    border: 1px solid var(--gray-dark);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--orange-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.progress-card:hover {
    border-color: var(--orange);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
}

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

.progress-header h3 {
    font-size: 1.2rem;
    color: var(--white);
}

.progress-percentage {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--orange);
    font-family: 'Space Grotesk', sans-serif;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--orange), var(--orange-dark));
    border-radius: 50px;
    transition: width 1s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-status {
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.progress-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.7rem;
    background: var(--black);
    border-radius: 6px;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
}

.checklist-item:hover {
    background: rgba(255, 107, 53, 0.05);
}

.checklist-item i {
    font-size: 0.9rem;
}

.checklist-item.completed {
    border-left-color: #4caf50;
}

.checklist-item.completed i {
    color: #4caf50;
}

.checklist-item.in-progress {
    border-left-color: var(--orange);
}

.checklist-item.in-progress i {
    color: var(--orange);
    animation: spin 2s linear infinite;
}

.checklist-item.pending {
    border-left-color: var(--gray);
}

.checklist-item.pending i {
    color: var(--gray);
}

.checklist-item span {
    color: var(--gray-light);
    font-size: 0.8rem;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 4rem 0;
    background: var(--black);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.contact-section > .container {
    position: relative;
    z-index: 10;
}

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

.contact-form-card,
.contact-info-card {
    background: var(--black-light);
    border: 1px solid var(--gray-dark);
    border-radius: 20px;
    padding: 2.5rem;
}

.contact-form-card h3,
.contact-info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--orange);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray-light);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    background: var(--black);
    border: 1px solid var(--gray-dark);
    border-radius: 10px;
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 107, 53, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-info-item p {
    color: var(--gray-light);
    line-height: 1.6;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: var(--black);
    border: 1px solid var(--gray-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
    transform: translateY(-3px);
}

.sponsor-cta {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.05));
    border: 1px solid var(--orange);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.sponsor-cta h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--orange);
}

.sponsor-cta p {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--black-light);
    border-top: 1px solid var(--gray-dark);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--orange);
}

.footer-col p {
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-col ul li {
    color: var(--gray-light);
    transition: color 0.3s ease;
}

.footer-col ul li:hover {
    color: var(--orange);
    cursor: pointer;
}

.footer-col ul li i {
    margin-right: 0.5rem;
    color: var(--orange);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--black);
    border: 1px solid var(--gray-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-dark);
    color: var(--gray);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.2rem;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        order: 2;
    }
    .hero-visual {
        order: 1;
        margin: 0 auto 2rem;
        max-width: 500px;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-buttons, .hero-stats {
        justify-content: center;
    }
    .rover-showcase, .about-grid, .mission-vision, .contact-wrapper, .footer-grid, .team-overview-content, .component-explorer, .scenes-grid, .milestones-grid, .tech-categories, .progress-grid, .recruitment-flow, .culture-grid, .stats-banner {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .about-main-title {
        font-size: 2.8rem;
    }
    .horizontal-timeline {
        display: block;
    }
    .h-timeline-item {
        display: block;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    .nav-cta {
        display: none;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--black);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s ease-in-out;
        z-index: 1000;
        display: flex;
    }
    .nav-links.active {
        right: 0;
    }
    .hero {
        padding-top: 6rem;
    }
    .page-main-title {
        font-size: 2.2rem;
    }
    .gallery-grid, .irc-stats-grid, .missions-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .timeline {
        padding-left: 20px;
    }
    .timeline::before {
        left: 20px;
        transform: translateX(-50%);
    }
    .timeline-item {
        flex-direction: row !important;
        margin-left: 0;
    }
    .timeline-content {
        width: 100%;
        margin-left: 30px !important;
        text-align: left !important;
    }
    .timeline-dot {
        left: 20px;
    }
    .domains-grid, .why-mars-grid, .recruitment-flow {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        text-align: center;
    }
    .footer-social {
        justify-content: center;
    }
    .component-menu {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    .component-menu-item {
        flex-shrink: 0;
    }
    .scenes-grid .scene-card.large {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 480px) {
    .container, .container-wide {
        padding: 0 1rem;
    }
    .hero-title {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    .stat-divider {
        display: none;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .sddr-achievement-banner {
        flex-direction: column;
        text-align: center;
    }
    .h-timeline-item {
        padding-left: 30px;
    }
    .h-timeline-dot {
        left: 15px;
    }
    .stats-banner {
        grid-template-columns: 1fr;
    }
}

/* ===== REVAMPED TEAM PAGE ===== */

/* Hero Section */
.team-hero-revamped {
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--white);
}

.team-hero-revamped .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.team-hero-revamped .hero-content {
    position: relative;
    z-index: 2;
}

.team-hero-revamped h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

/* Introduction Section */
.team-intro-revamped {
    padding: 4rem 0;
}

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

.intro-video iframe {
    width: 100%;
    height: 315px;
    border-radius: 15px;
}

.intro-text h2 {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 1.5rem;
}

/* Domains Section */
.team-domains-revamped {
    padding: 4rem 0;
    background: var(--black-light);
}

/* Meet the Team Section */
.meet-the-team-revamped {
    padding: 4rem 0;
}

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

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

.member-photo-placeholder {
    width: 150px;
    height: 150px;
    background: var(--gray-dark);
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
}

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

.team-member-card h3 {
    font-size: 1.2rem;
    color: var(--orange);
}

/* Join Us Section */
.join-us-revamped {
    padding: 4rem 0;
    background: var(--black);
    text-align: center;
}

.join-us-revamped h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.join-us-revamped p {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--gray-light);
}
/* Component Explorer Mobile */
.component-explorer-mobile {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
}

.component-card-mobile {
    background: var(--black-light);
    border: 1px solid var(--gray-dark);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.component-card-mobile:hover,
.component-card-mobile.active {
    border-color: var(--orange);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.15);
}

.component-card-mobile-header {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    gap: 1rem;
    background: transparent;
    transition: background 0.3s ease;
    min-height: 60px;
}

.component-card-mobile.active .component-card-mobile-header {
    background: rgba(255, 107, 53, 0.05);
    border-bottom: 1px solid var(--gray-dark);
}

.component-card-mobile-header i:first-child {
    color: var(--orange);
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
}

.component-card-mobile-header span {
    flex: 1;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    color: var(--white);
}

.component-card-mobile-header .fa-chevron-down {
    transition: transform 0.3s ease;
    color: var(--gray-light);
    font-size: 0.9rem;
}

.component-card-mobile.active .fa-chevron-down {
    transform: rotate(180deg);
    color: var(--orange);
}

.component-card-mobile-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    padding: 0 1.5rem;
}

.component-card-mobile.active .component-card-mobile-body {
    max-height: 800px;
    padding: 1.25rem 1.5rem 1.5rem;
}

.component-card-mobile-body img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--gray-dark);
    object-fit: contain;
    background: var(--black);
}

/* Mobile Component Badge */
.component-mobile-badge {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile Component Description */
.component-mobile-description {
    color: var(--gray-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Mobile Component Features */
.component-mobile-features {
    background: var(--black);
    border: 1px solid var(--gray-dark);
    border-radius: 10px;
    padding: 1rem;
}

.component-mobile-features h5 {
    font-size: 0.9rem;
    color: var(--white);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

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

.component-mobile-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--gray-light);
    font-size: 0.85rem;
    line-height: 1.4;
}

.component-mobile-features li i {
    color: var(--orange);
    font-size: 0.7rem;
    margin-top: 0.3rem;
    flex-shrink: 0;
}
@media screen and (max-width: 768px) {
    .component-explorer {
        display: none;
    }
    .component-explorer-mobile {
        display: flex;
    }
}
@keyframes title-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 768px) {
    .hero {
        height: 100vh;
        background-attachment: fixed; /* Parallax effect */
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        height: 100%;
        padding-top: 0;
    }

    .hero-content {
        animation: title-fade-in 1s ease-out;
    }

    .hero-badge {
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 2.2rem;
        gap: 0.5rem;
    }

    .hero-description {
        font-size: 1rem;
        max-width: 90%;
    }

    .hero-buttons {
        margin-top: 1.5rem;
    }

    .hero-stats {
        margin-top: 2rem;
    }

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

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1rem;
        font-size: 1rem;
    }
}

/* ===== TEAM LINEUP SECTION ===== */
.team-lineup-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--black) 0%, var(--black-light) 50%, var(--black) 100%);
    position: relative;
    overflow: hidden;
}

.lineup-field {
    position: relative;
    padding: 0.5rem 0 0.5rem 0;
    min-height: unset;
    height: auto;
}

/* Leadership Row */
.leadership-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1.2rem;
    flex-wrap: nowrap !important;
    padding: 0.7rem 0.2rem 0.7rem 0.2rem;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, transparent 100%);
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    width: 100%;
    min-height: 0;
@media (max-width: 900px) {
    .leadership-row {
        gap: 0.7rem;
        padding: 0.4rem 0.1rem 0.4rem 0.1rem;
        flex-wrap: nowrap !important;
    }
    .leadership-row .player-card {
        max-width: 32vw;
        min-width: 120px;
    }
}

@media (max-width: 600px) {
    .leadership-row {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 0.2rem;
        padding: 0.1rem 0.1rem 0.1rem 0.1rem;
        width: 100%;
        min-height: 0;
    }
    .leadership-row .player-card {
        max-width: 33vw;
        min-width: 100px;
        margin: 0 1px;
        padding: 0.2rem 0.1rem;
    }
    .player-card.mentor .player-photo,
    .player-card.captain .player-photo {
        width: 80px;
        height: 80px;
    }
    .player-info {
        margin-top: 0.2rem;
    }
    .player-card.mentor .player-name,
    .player-card.captain .player-name {
        font-size: 0.85rem;
    }
    .player-card.mentor .player-role-title,
    .player-card.captain .player-role {
        font-size: 0.85rem;
    }
    .player-card.mentor .player-role-description {
        font-size: 0.75rem;
    }
}
}

/* Player Card */
.player-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    padding: 0.6rem;
}

.player-card:hover {
    transform: translateY(-8px) scale(1.03);
}

.player-photo {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--gray-dark);
    transition: all 0.3s ease;
    background: var(--gray-dark);
}

.player-card:hover .player-photo {
    border-color: var(--orange);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.player-card.mentor .player-photo {
    border-color: var(--orange-light);
    width: 150px;
    height: 150px;
}

.player-card.captain .player-photo {
    border-color: gold;
    width: 150px;
    height: 150px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.player-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, var(--gray-dark) 0%, var(--black-light) 100%);
    position: absolute;
    top: 0;
    left: 0;
}

.player-photo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-dark) 0%, var(--black-light) 100%);
}

/* Player Initials (placeholder) */
.player-initials {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    z-index: 1;
}

.player-card.mentor .player-initials,
.player-card.captain .player-initials {
    font-size: 1.5rem;
}

.player-card:hover .player-initials {
    color: var(--orange);
}

.player-card:hover .player-photo img {
    transform: scale(1.1);
}

.player-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.player-card:hover .player-glow {
    opacity: 1;
}

.player-info {
    text-align: center;
    margin-top: 0.6rem;
}

.player-name {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--white);
    transition: color 0.3s ease;
    max-width: 100px;
    line-height: 1.2;
}

.player-card:hover .player-name {
    color: var(--orange);
}

.player-role {
    display: block;
    font-size: 0.7rem;
    color: var(--orange);
    font-weight: 500;
    margin-top: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.player-card.captain .player-role {
    color: gold;
}

/* Domain Lineup */
.domain-lineup {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(26, 26, 26, 0.5);
    border-radius: 15px;
    border: 1px solid var(--gray-dark);
    transition: all 0.3s ease;
}

.domain-lineup:hover {
    border-color: var(--orange);
    background: rgba(255, 107, 53, 0.05);
}

.domain-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.domain-icon-lineup {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
}

.domain-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    color: var(--white);
    margin: 0;
}

.domain-players {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

/* ===== INNOVATIVE EXPANDABLE DOMAIN CARDS WITH 3D HOLOGRAPHIC REVEAL ===== */
.domains-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    position: relative;
}

.domain-card-expandable {
    position: relative;
    height: 280px;
    cursor: pointer;
    transition: all 0.5s ease;
}

/* When expanded, make the card take full width and move to top */
.domain-card-expandable.active {
    grid-column: 1 / -1;
    height: auto;
    z-index: 10;
    margin-bottom: 2rem;
}

.domain-card-front {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Simple scale and fade expansion */
.domain-card-expandable.active .domain-card-front {
    height: 100px;
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.domain-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gray-dark) 0%, var(--black-light) 100%);
    background-size: cover;
    background-position: center;
    transition: all 0.5s ease;
}

.domain-card-expandable.active .domain-card-bg {
    filter: brightness(0.5);
    transform: scale(1.05);
}

.domain-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
    transition: all 0.3s ease;
}

.domain-card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
}

.domain-card-expandable.active .domain-card-content {
    flex-direction: row;
    justify-content: flex-start;
    padding: 1.2rem 2rem;
    gap: 1.2rem;
}

.domain-icon-badge {
    width: 70px;
    height: 70px;
    min-width: 70px;
    min-height: 70px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.domain-card-expandable.active .domain-icon-badge {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    font-size: 1.4rem;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.15);
}

.domain-icon-badge.small {
    width: 35px;
    height: 35px;
    font-size: 1rem;
    margin-bottom: 0;
}

.domain-card-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.domain-card-expandable.active .domain-card-content h3 {
    margin-bottom: 0;
    font-size: 1.6rem;
}

.member-count {
    font-size: 0.85rem;
    color: var(--gray-light);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.domain-card-expandable.active .member-count {
    margin-bottom: 0;
    margin-left: auto;
    font-size: 0.88rem;
    color: rgba(255, 107, 53, 0.8);
}

.expand-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--orange);
    font-size: 0.8rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.domain-card-expandable.active .expand-hint {
    display: none;
}

.expand-hint i {
    animation: pulse-hint 1.5s infinite;
}

@keyframes pulse-hint {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Scanner line effect */
.card-scanner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Hover effects */
.domain-card-expandable:not(.active):hover .domain-card-front {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.2);
}

.domain-card-expandable:not(.active):hover .domain-card-bg {
    transform: scale(1.05);
}

.domain-card-expandable:not(.active):hover .domain-card-overlay {
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.08) 0%, rgba(0,0,0,0.85) 100%);
}

.domain-card-expandable:not(.active):hover .domain-icon-badge {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.25);
}

.domain-card-expandable:not(.active):hover .expand-hint {
    opacity: 1;
    transform: translateY(0);
}

.domain-card-expandable:not(.active):hover .card-scanner {
    opacity: 1;
    animation: scan 1.5s infinite;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

/* Members Panel - Minimal Clean Design */
.domain-members-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    background: transparent;
    padding: 0;
    transition: max-height 0.5s ease, opacity 0.4s ease, padding 0.4s ease;
}

.domain-card-expandable.active .domain-members-panel {
    max-height: 1000px;
    opacity: 1;
    padding: 2rem 2rem 2.5rem;
    margin-top: 1.5rem;
    background: rgba(20, 20, 20, 0.4);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.panel-header {
    display: none;
}

.members-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    width: 100%;
}

.member-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.domain-card-expandable.active .member-item {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered simple fade-in for members */
.domain-card-expandable.active .member-item:nth-child(1) { transition-delay: 0.05s; }
.domain-card-expandable.active .member-item:nth-child(2) { transition-delay: 0.1s; }
.domain-card-expandable.active .member-item:nth-child(3) { transition-delay: 0.15s; }
.domain-card-expandable.active .member-item:nth-child(4) { transition-delay: 0.2s; }
.domain-card-expandable.active .member-item:nth-child(5) { transition-delay: 0.25s; }
.domain-card-expandable.active .member-item:nth-child(6) { transition-delay: 0.3s; }
.domain-card-expandable.active .member-item:nth-child(7) { transition-delay: 0.35s; }

.member-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
    border-color: rgba(255, 107, 53, 0.3);
}

.member-avatar {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    border: 2px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.member-item:hover .member-avatar {
    border-color: rgba(255, 107, 53, 0.4);
    background: rgba(255, 107, 53, 0.08);
}

.member-item:hover .member-avatar img {
    transform: scale(1.1);
}

.member-avatar span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.member-name {
    font-size: 0.85rem;
    color: var(--gray-light);
    text-align: center;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.member-item:hover .member-name {
    color: var(--white);
}

/* Close button for expanded card */
.close-panel {
    display: none;
}

.domain-card-expandable.active .domain-card-front {
    cursor: pointer;
}

/* Responsive */
@media screen and (max-width: 992px) {
    .domains-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .domain-card-expandable.active .domain-card-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .domain-card-expandable.active .member-count {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .members-grid {
        gap: 1rem;
    }
}

@media screen and (max-width: 576px) {
    .domains-showcase {
        grid-template-columns: 1fr;
    }
    
    .domain-card-expandable {
        height: 250px;
    }
    
    .domain-card-expandable.active .domain-card-front {
        height: 100px;
    }
    
    .domain-card-expandable.active .domain-card-content {
        padding: 1rem;
    }
    
    .domain-card-expandable.active .domain-icon-badge {
        width: 45px;
        height: 45px;
        min-width: 45px;
        min-height: 45px;
        font-size: 1.2rem;
    }
    
    .domain-card-expandable.active .domain-card-content h3 {
        font-size: 1.3rem;
    }
    
    .domain-card-expandable.active .member-count {
        font-size: 0.8rem;
    }
    
    .domain-card-expandable.active .domain-members-panel {
        padding: 1.5rem;
    }
    
    .members-grid {
        gap: 0.8rem;
    }
    
    .member-item {
        padding: 0.8rem;
    }
    
    .member-avatar {
        width: 80px;
        height: 80px;
    }
    
    .member-name {
        font-size: 0.75rem;
    }
}
    



/* LinkedIn indicator */

.player-card::after,
.member-item::after {
    content: '\f0e1';
    font-family: 'Font Awesome 6 Brands';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #0077B5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.player-card:hover::after,
.member-item:hover::after {
    opacity: 1;
    bottom: 25px;
}

.player-card.mentor::after,
.player-card.captain::after {
    bottom: 15px;
}

.player-card.mentor:hover::after,
.player-card.captain:hover::after {
    bottom: 20px;
}

/* Responsive */
@media screen and (max-width: 768px) {

    .leadership-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        gap: 2.5rem;
        padding: 2.5rem 1rem 2rem 1rem;
    }

    .leadership-row .player-card {
        flex: 1 1 260px;
        max-width: 320px;
        min-width: 220px;
        margin: 0 10px;
    }

    @media (max-width: 900px) {
        .leadership-row {
            gap: 1.2rem;
            padding: 1.5rem 0.5rem 1.2rem 0.5rem;
        }
        .leadership-row .player-card {
            max-width: 90vw;
            min-width: 180px;
        }
    }

    @media (max-width: 600px) {
        .leadership-row {
            flex-direction: column;
            align-items: center;
            gap: 1.5rem;
            padding: 1.2rem 0.2rem 1.2rem 0.2rem;
        }
        .leadership-row .player-card {
            max-width: 98vw;
            min-width: 0;
            margin: 0;
        }
    }
    
    .player-photo {
        width: 60px;
        height: 60px;
    }
    
    .player-card.mentor .player-photo {
        width: 65px;
        height: 65px;
    }
    
    .player-card.captain .player-photo {
        width: 70px;
        height: 70px;
    }
    
    .player-name {
        font-size: 0.7rem;
        max-width: 80px;
    }
    
    .domain-header h3 {
        font-size: 1.2rem;
    }
    
    .domain-players {
        gap: 0.5rem;
    }
    
    .domain-lineup {
        padding: 1rem 0.8rem;
    }
    
        .player-card::after,
        .member-item::after {
            bottom: 18px;
        }    
        .player-card:hover::after,
        .member-item:hover::after {
            bottom: 23px;
        }}

@media screen and (max-width: 480px) {
    .leadership-row {
        gap: 0.8rem;
    }
    
    .player-photo {
        width: 55px;
        height: 55px;
    }
    
    .player-card.mentor .player-photo {
        width: 58px;
        height: 58px;
    }
    
    .player-card.captain .player-photo {
        width: 62px;
        height: 62px;
    }
    
    .player-name {
        font-size: 0.65rem;
        max-width: 70px;
    }
    
    .player-role {
        font-size: 0.6rem;
    }
    
    .player-initials {
        font-size: 1rem;
    }
}

/* Remove duplicate - this is already defined above */

.milestone-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================= */
/* ===== COMPREHENSIVE RESPONSIVE STYLES ===== */
/* ============================================= */

/* ===== TABLET STYLES (max-width: 1024px) ===== */
@media screen and (max-width: 1024px) {
    /* Container adjustments */
    .container,
    .container-wide {
        padding: 0 1.5rem;
    }

    /* Typography scaling */
    h1 {
        font-size: 2.8rem;
    }
    
    h2, .section-title {
        font-size: 2rem;
    }

    /* Navigation */
    .nav-links {
        gap: 1.5rem;
    }

    /* Rover showcase grid */
    .rover-showcase {
        grid-template-columns: 1fr;
        max-height: none;
    }

    .rover-main,
    .rover-image,
    .rover-placeholder,
    .rover-specs-card {
        max-height: none;
    }

    /* Component explorer */
    .component-explorer {
        grid-template-columns: 1fr;
        height: auto;
    }

    .component-menu {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        padding-right: 0;
        padding-bottom: 1rem;
    }

    .component-menu-item {
        padding: 0.7rem 1rem;
    }

    .component-display {
        min-height: 350px;
    }

    .component-details {
        min-height: 300px;
    }

    /* Gallery grid */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Scenes grid */
    .scenes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .scene-card.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    /* Tech categories */
    .tech-categories {
        grid-template-columns: 1fr;
    }

    /* Progress grid */
    .progress-grid {
        grid-template-columns: 1fr;
    }

    /* Contact wrapper */
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    /* Footer grid */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* Team intro grid */
    .intro-grid {
        grid-template-columns: 1fr;
    }

    .intro-video iframe {
        height: 280px;
    }

    /* Milestones grid */
    .milestones-grid {
        grid-template-columns: 1fr;
    }

    /* SDDR banner */
    .sddr-achievement-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    /* Horizontal timeline adjustments */
    .horizontal-timeline {
        flex-wrap: wrap;
        justify-content: center;
    }

    .h-timeline-item {
        flex: 0 0 calc(33.33% - 1rem);
        margin-bottom: 2rem;
    }

    .h-timeline-card {
        min-height: 150px;
    }
}

/* ===== MOBILE STYLES (max-width: 768px) ===== */
@media screen and (max-width: 768px) {
    /* Prevent horizontal overflow */
    html, body {
        overflow-x: hidden;
    }

    /* ===== NAVBAR OVERLAP FIX ===== */
    /* Add padding to body to prevent fixed navbar from covering content */
    body {
        padding-top: 80px;
    }

    /* Sections with their own padding-top need adjustment */
    .rover-section,
    .gallery-section,
    .about-irc-hero,
    .team-hero-revamped {
        padding-top: 2rem;
    }

    /* Global container adjustments */
    .container,
    .container-wide {
        padding: 0 1rem;
    }

    /* Global typography scaling */
    h1 {
        font-size: 2.5rem;
    }
    
    h2, .section-title {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }

    body {
        font-size: 1rem;
        line-height: 1.6;
    }

    .section-description {
        font-size: 0.95rem;
    }

    /* ===== NAVIGATION (Mobile Menu) ===== */
    .hamburger {
        display: flex;
        z-index: 1002;
    }

    .nav-cta {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        background: var(--black);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1001;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        display: flex;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1.5rem;
        padding: 0.75rem 1.5rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* ===== CANVAS/BACKGROUNDS ===== */
    .bg-animation,
    #floating-lines-bg,
    #progress-floating-lines {
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
    }

    .bg-animation canvas,
    #floating-lines-bg canvas,
    #progress-floating-lines canvas {
        width: 100% !important;
        max-width: 100vw;
    }

    /* Particles removed */

    /* ===== HERO SECTION ===== */
    .hero {
        padding: 6rem 1rem 3rem;
        min-height: auto;
        background: url('images/rover mobile background.JPG') no-repeat center center/cover;
    }

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

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

    .hero-badge {
        margin-bottom: 1.5rem;
        font-size: 0.75rem;
    }

    .hero-description {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        min-height: 44px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        text-align: center;
    }

    .scroll-indicator {
        display: none;
    }

    /* ===== BUTTONS - Touch Optimization ===== */
    .btn {
        padding: 1rem 2rem;
        min-height: 44px;
        font-size: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        min-height: 48px;
    }

    .filter-btn {
        padding: 0.9rem 1.5rem;
        min-height: 44px;
        font-size: 0.9rem;
    }

    .mission-tab {
        padding: 0.9rem 1.2rem;
        min-height: 44px;
        font-size: 0.9rem;
    }

    .irc-website-btn {
        padding: 1rem 2rem;
        min-height: 48px;
    }

    /* ===== GRID LAYOUTS - Stack to 1fr ===== */
    .gallery-grid,
    .irc-stats-grid,
    .progress-grid,
    .milestones-grid {
        grid-template-columns: 1fr;
    }

    /* Keep missions in a row with equal sizing */
    .missions-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
    }

    /* ===== FLEX CONTAINERS - Stack vertically ===== */
    .hero-container,
    .about-grid,
    .contact-wrapper,
    .footer-grid {
        display: flex;
        flex-direction: column;
    }

    /* ===== IRC SECTION ===== */
    .irc-section {
        padding: 2rem 0;
        padding-top: 3rem;
    }

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

    .irc-card {
        padding: 1.5rem 1rem;
    }

    .irc-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .achievement-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    /* ===== ABOUT IRC HERO ===== */
    .about-irc-hero {
        padding: 2rem 0 2rem;
    }

    .page-main-title {
        font-size: 2rem;
    }

    .page-main-description {
        font-size: 1rem;
    }

    .irc-stat-card {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .stat-icon-large {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .stat-info-large h3 {
        font-size: 2.2rem;
    }

    .irc-missions-overview {
        padding: 2rem 1rem;
    }

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

    .mission-overview-card {
        padding: 1.5rem 1rem;
        min-height: 140px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* ===== HORIZONTAL TIMELINE - Vertical on Mobile ===== */
    .horizontal-timeline-section {
        padding: 1rem 0 1.5rem;
    }

    .horizontal-timeline {
        display: flex;
        flex-direction: column;
        padding-left: 0;
        position: relative;
        gap: 0;
    }

    .horizontal-timeline::before {
        content: '';
        position: absolute;
        left: 20px;
        top: 0;
        bottom: 0;
        width: 3px;
        background: var(--gray-dark);
    }

    .timeline-track {
        display: none;
    }

    .h-timeline-item {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        position: relative;
        padding-left: 50px;
        margin-bottom: 2rem;
        flex: none;
        width: 100%;
    }

    .h-timeline-dot {
        position: absolute;
        left: 11.5px;
        top: 0;
        width: 18px;
        height: 18px;
        margin-bottom: 0;
        border-width: 2px;
        transform: translateX(0);
    }

    .h-timeline-item.active .h-timeline-dot {
        transform: scale(1.2);
    }

    .h-timeline-card {
        min-height: auto;
        text-align: left;
        width: 100%;
        padding: 1.2rem;
    }

    .h-timeline-date {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }

    .h-timeline-card h3 {
        font-size: 1.1rem;
    }

    .h-timeline-card p {
        font-size: 0.85rem;
    }

    /* ===== ROVER SECTION ===== */
    .rover-section {
        padding-top: 5rem;
        padding-bottom: 2rem;
    }

    .rover-showcase {
        grid-template-columns: 1fr;
        max-height: none;
        gap: 1.5rem;
    }

    .rover-main,
    .rover-image,
    .rover-specs-card {
        max-height: none;
    }

    .rover-specs-card {
        padding: 1.5rem;
    }

    .specs-grid {
        gap: 0.8rem;
    }

    .spec-item {
        padding: 0.8rem;
    }

    .spec-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* ===== COMPONENT EXPLORER ===== */
    .component-explorer-section {
        padding: 1.5rem 0;
    }

    .explorer-title {
        font-size: 1.5rem;
    }

    .explorer-subtitle {
        font-size: 0.85rem;
    }

    /* Desktop explorer hidden, mobile shown */
    .component-explorer {
        display: none !important;
    }

    .component-explorer-mobile {
        display: flex !important;
        flex-direction: column;
    }

    .component-card-mobile-header {
        min-height: 44px;
    }

    /* ===== MISSIONS SECTION ===== */
    .missions-section {
        margin-bottom: 2rem;
    }

    .missions-title {
        font-size: 1.5rem;
    }

    .mission-tabs {
        gap: 0.5rem;
    }

    .mission-tab {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }

    .mission-tab span {
        display: none;
    }

    .mission-tab i {
        font-size: 1.3rem;
    }

    .mission-content {
        padding: 1.5rem;
    }

    .mission-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .mission-header h4 {
        font-size: 1.3rem;
    }

    .mission-features {
        grid-template-columns: 1fr;
    }

    /* ===== GALLERY SECTION ===== */
    .gallery-section {
        padding-top: 5rem;
        padding-bottom: 3rem;
    }

    .gallery-filters {
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

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

    .gallery-item {
        aspect-ratio: 16/10;
    }

    .gallery-overlay {
        transform: translateY(0);
        padding: 1rem;
    }

    .gallery-overlay h3 {
        font-size: 1rem;
    }

    /* ===== BEHIND SCENES SECTION ===== */
    .behind-scenes-section {
        padding: 3rem 0;
    }

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

    .scene-card.large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .scene-card {
        min-height: auto;
    }

    .scene-info {
        padding: 1rem;
    }

    .scene-info h3 {
        font-size: 1.1rem;
    }

    /* ===== MILESTONES SECTION ===== */
    .milestones-gallery-section {
        padding: 3rem 0;
    }

    .milestones-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .milestone-details {
        padding: 1rem;
    }

    .milestone-details h3 {
        font-size: 1.2rem;
    }

    /* ===== TECH STACK SECTION ===== */
    .tech-stack-section {
        padding: 2rem 0;
    }

    .tech-categories {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tech-category {
        padding: 1.2rem;
    }

    .tech-items {
        grid-template-columns: 1fr;
    }

    /* ===== PROGRESS SECTION ===== */
    .progress-section {
        padding: 2rem 0;
    }

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

    .progress-card {
        padding: 1.2rem;
    }

    /* ===== CONTACT SECTION ===== */
    .contact-section {
        padding: 3rem 0;
    }

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

    .contact-form-card,
    .contact-info-card {
        padding: 1.5rem;
    }

    .contact-form-card h3,
    .contact-info-card h3 {
        font-size: 1.4rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1rem;
        font-size: 1rem;
        min-height: 48px;
    }

    .contact-info-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .contact-icon {
        margin: 0 auto 0.8rem;
    }

    .social-links {
        justify-content: center;
    }

    .sponsor-cta {
        padding: 1.5rem;
    }

    /* ===== FOOTER ===== */
    .footer {
        padding: 3rem 0 2rem;
    }

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

    .footer-col h4 {
        margin-bottom: 1rem;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        font-size: 0.85rem;
    }

    /* ===== TEAM PAGE ===== */
    .team-hero-revamped {
        height: 35vh;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        background-color: var(--black);
    }

    .team-hero-revamped h1 {
        font-size: 2.2rem;
    }

    .team-hero-revamped .hero-content {
        transform: translateY(-20px);
    }

    .team-intro-revamped {
        padding: 3rem 0;
    }

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

    .intro-video iframe {
        height: 200px;
    }

    .intro-text h2 {
        font-size: 1.8rem;
    }

    /* ===== TEAM DOMAINS - Expandable Cards ===== */
    .domains-showcase {
        grid-template-columns: 1fr;
    }

    .domain-card-expandable {
        height: 220px;
    }

    .domain-card-expandable.active {
        margin-bottom: 1rem;
    }

    .domain-card-expandable.active .domain-card-front {
        height: 80px;
    }

    .domain-card-expandable.active .domain-card-content {
        flex-direction: row;
        padding: 0.8rem 1rem;
    }

    .domain-card-expandable.active .domain-icon-badge {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        font-size: 1.1rem;
    }

    .domain-card-expandable.active .domain-card-content h3 {
        font-size: 1.2rem;
    }

    /* Hide "Hover to reveal" hint on mobile */
    .expand-hint {
        display: none !important;
    }

    /* Show "Click to reveal" instead */
    .domain-card-expandable:not(.active) .domain-card-content::after {
        content: 'Tap to reveal team';
        display: block;
        color: var(--orange);
        font-size: 0.8rem;
        margin-top: 0.5rem;
    }

    .domain-card-expandable.active .domain-members-panel {
        padding: 1.2rem;
    }

    .members-grid {
        gap: 0.8rem;
    }

    .member-item {
        padding: 0.8rem 0.5rem;
        min-width: 90px;
    }

    .member-avatar {
        width: 70px;
        height: 70px;
    }

    .member-name {
        font-size: 0.75rem;
    }

    /* ===== TEAM LINEUP ===== */
    .team-lineup-section {
        padding: 2rem 0;
    }

    .leadership-row {
        gap: 0.8rem;
        padding: 1rem;
    }

    .player-card {
        padding: 0.4rem;
    }

    .player-photo {
        width: 70px;
        height: 70px;
    }

    .player-card.mentor .player-photo {
        width: 110px;
        height: 110px;
    }

    .player-card.captain .player-photo {
        width: 110px;
        height: 110px;
    }

    .player-name {
        font-size: 0.7rem;
        max-width: 90px;
    }

    .player-role {
        font-size: 0.6rem;
    }

    .player-initials {
        font-size: 1rem;
    }

    /* ===== WHY MARS SECTION ===== */
    .why-mars-grid {
        grid-template-columns: 1fr;
    }

    .why-mars-card {
        padding: 2rem 1.5rem;
    }

    .mars-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    /* ===== TIMELINE SECTION ===== */
    .timeline-section {
        padding: 3rem 0;
    }

    .timeline {
        padding-left: 20px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: row !important;
    }

    .timeline-content {
        width: 100%;
        margin-left: 30px !important;
        text-align: left !important;
    }

    .timeline-dot {
        left: 20px;
    }

    /* ===== RECRUITMENT SECTION ===== */
    .recruitment-flow {
        grid-template-columns: 1fr;
    }

    .recruitment-step {
        padding: 1.5rem;
    }

    /* ===== CULTURE SECTION ===== */
    .culture-grid {
        grid-template-columns: 1fr;
    }

    .culture-card {
        padding: 2rem 1.5rem;
    }

    .stats-banner {
        grid-template-columns: repeat(2, 1fr);
        padding: 1.5rem;
        gap: 1rem;
    }

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

    /* ===== SDDR BANNER ===== */
    .sddr-achievement-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }

    .sddr-badge {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .sddr-content h3 {
        font-size: 1.4rem;
    }

    .sddr-content p {
        font-size: 0.9rem;
    }

    /* ===== TEAM OVERVIEW ===== */
    .team-overview-content {
        grid-template-columns: 1fr;
    }

    .team-stats-compact {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .compact-stat {
        padding: 1rem;
    }

    .compact-stat h3 {
        font-size: 1.8rem;
    }

    .compact-stat p {
        font-size: 0.8rem;
    }

    /* ===== DOMAINS GRID ===== */
    .domains-grid {
        grid-template-columns: 1fr;
    }

    .domain-card {
        padding: 1.5rem;
    }

    .domain-icon {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
}

/* ===== TOUCH DEVICE OPTIMIZATIONS ===== */
@media (hover: hover) and (pointer: fine) {
    /* Hover effects only for devices with mouse/trackpad */
    .btn-primary:hover {
        transform: translateY(-2px);
    }

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

    .irc-card:hover {
        transform: translateY(-5px);
    }

    .irc-stat-card:hover {
        transform: translateY(-10px);
    }

    .mission-overview-card:hover {
        transform: translateY(-5px);
    }

    .h-timeline-item:hover .h-timeline-dot {
        transform: scale(1.2);
    }

    .h-timeline-item:hover .h-timeline-card {
        transform: translateY(-10px);
    }

    .gallery-item:hover {
        transform: translateY(-5px);
    }

    .gallery-item:hover .gallery-overlay {
        transform: translateY(0);
    }

    .scene-card:hover {
        transform: translateY(-5px);
    }

    .milestone-card:hover {
        transform: translateY(-10px);
    }

    .tech-category:hover {
        transform: translateY(-3px);
    }

    .progress-card:hover {
        transform: translateY(-3px);
    }

    .why-mars-card:hover {
        transform: translateY(-10px);
    }

    .timeline-content:hover {
        transform: scale(1.03);
    }

    .domain-card:hover {
        transform: translateY(-5px);
    }

    .compact-stat:hover {
        transform: translateY(-5px);
    }

    .culture-card:hover {
        transform: translateY(-8px);
    }

    .recruitment-step:hover {
        transform: translateY(-10px);
    }

    .quality-item:hover {
        transform: scale(1.05);
    }

    .player-card:hover {
        transform: translateY(-8px) scale(1.03);
    }

    .member-item:hover {
        transform: translateY(-4px);
    }

    .social-link:hover {
        transform: translateY(-3px);
    }

    .footer-social a:hover {
        transform: translateY(-3px);
    }

    .spec-item:hover {
        transform: translateX(5px);
    }

    .component-menu-item:hover {
        transform: translateX(5px);
    }
}

/* Remove hover transforms for touch devices */
@media (hover: none) and (pointer: coarse) {
    .btn-primary:hover,
    .btn-secondary:hover,
    .irc-card:hover,
    .irc-stat-card:hover,
    .mission-overview-card:hover,
    .h-timeline-item:hover .h-timeline-card,
    .gallery-item:hover,
    .scene-card:hover,
    .milestone-card:hover,
    .tech-category:hover,
    .progress-card:hover,
    .why-mars-card:hover,
    .timeline-content:hover,
    .domain-card:hover,
    .compact-stat:hover,
    .culture-card:hover,
    .recruitment-step:hover,
    .quality-item:hover,
    .player-card:hover,
    .member-item:hover,
    .social-link:hover,
    .footer-social a:hover,
    .spec-item:hover,
    .component-menu-item:hover {
        transform: none;
    }

    /* Keep active state styling */
    .btn:active {
        transform: scale(0.98);
    }

    /* Gallery overlay always visible on touch */
    .gallery-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(10, 10, 10, 0.9), transparent 80%);
    }

    /* Ensure tap targets are large enough */
    .nav-link,
    .filter-btn,
    .mission-tab,
    .social-link,
    .footer-social a,
    .component-menu-item,
    .member-item,
    .player-card {
        min-height: 44px;
        min-width: 44px;
    }
}

/* ===== EXTRA SMALL SCREENS (max-width: 480px) ===== */
@media screen and (max-width: 480px) {
    /* Even smaller container padding */
    .container,
    .container-wide {
        padding: 0 0.75rem;
    }

    /* Further reduce typography */
    h1 {
        font-size: 2rem;
    }

    h2, .section-title {
        font-size: 1.6rem;
    }

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

    .page-main-title {
        font-size: 1.6rem;
    }

    /* Stats banner single column */
    .stats-banner {
        grid-template-columns: 1fr;
    }

    /* Team stats compact */
    .team-stats-compact {
        grid-template-columns: 1fr;
    }

    /* Smaller hero stats */
    .stat-number {
        font-size: 1.5rem;
    }

    /* Mission tabs icons only */
    .mission-tab {
        padding: 0.8rem;
        min-width: 50px;
    }

    .mission-tab i {
        font-size: 1.2rem;
    }

    /* Gallery filters wrap */
    .gallery-filters {
        justify-content: center;
    }

    .filter-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    /* Player cards even smaller */
    .player-photo {
        width: 55px;
        height: 55px;
    }

    .player-card.mentor .player-photo {
        width: 85px;
        height: 85px;
    }

    .player-card.captain .player-photo {
        width: 85px;
        height: 85px;
    }

    .player-name {
        font-size: 0.65rem;
        max-width: 75px;
    }

    /* IRC stats smaller */
    .stat-info-large h3 {
        font-size: 1.8rem;
    }

    .stat-icon-large {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    /* Mission overview cards */
    .mission-icon-wrap {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .mission-overview-card h4 {
        font-size: 1.1rem;
    }

    /* Team hero smaller */
    .team-hero-revamped {
        height: 20vh;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        background-color: var(--black);
    }

    .team-hero-revamped h1 {
        font-size: 1.8rem;
    }

    /* Intro video smaller */
    .intro-video iframe {
        height: 180px;
    }

    .intro-text h2 {
        font-size: 1.5rem;
    }

    /* Contact form */
    .contact-form-card,
    .contact-info-card {
        padding: 1.2rem;
    }

    /* Section labels */
    .section-label {
        font-size: 0.8rem;
    }

    /* Section descriptions */
    .section-description {
        font-size: 0.9rem;
    }

    /* Achievement banner */
    .sddr-achievement-banner {
        padding: 1.2rem;
    }

    .sddr-badge {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .sddr-content h3 {
        font-size: 1.2rem;
    }

    .sddr-content p {
        font-size: 0.85rem;
    }

    /* Timeline cards */
    .h-timeline-card {
        padding: 1rem;
    }

    .h-timeline-card h3 {
        font-size: 1rem;
    }

    .h-timeline-card p {
        font-size: 0.8rem;
    }

    /* Spec items */
    .spec-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .spec-label {
        font-size: 0.7rem;
    }

    .spec-value {
        font-size: 0.9rem;
    }
}