:root {
    --primary: #E30613; /* F1 red */
    --dark: #000000;
    --light: #FFFFFF;
    --accent: #00F0FF; /* tech teal */
    --gradient: linear-gradient(135deg, var(--primary) 0%, #8E0E00 100%);
    --neon-glow: 0 0 20px rgba(227, 6, 19, 0.8);
    --text-glow: 0 0 10px rgba(227, 6, 19, 0.6);
    --accent-glow: 0 0 15px rgba(0, 240, 255, 0.7);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.6;
}

#loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
}

.layer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease;
}

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

.fade-out {
    opacity: 0;
    transition: opacity 0.6s ease;
}

/* TEXT */
.loader-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    letter-spacing: 0.35em;
    color: var(--light);
    text-align: center;
    text-shadow: var(--neon-glow);
}

.loader-logo span {
    color: var(--primary);
}

/* HERO SECTION */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}

#webgl-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.9) 100%);
    z-index: 0;
}

.hero-content {
    text-align: center;
    z-index: 1;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1.5s cubic-bezier(0.19, 1, 0.22, 1) forwards 0.5s;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 8vw, 7rem);
    letter-spacing: clamp(5px, 2vw, 15px);
    margin-bottom: 1rem;
    text-transform: uppercase;
    background: linear-gradient(to right, var(--light) 20%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: var(--text-glow);
    line-height: 1;
    position: relative;
    overflow: hidden;
}

.hero h1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.3rem, 3vw, 2.5rem);
    margin-bottom: 2rem;
    letter-spacing: clamp(3px, 1vw, 8px);
    color: var(--accent);
    text-shadow: var(--accent-glow);
}

.speed-counter {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 4vw, 3rem);
    margin: 2rem 0;
    color: var(--primary);
    text-shadow: var(--text-glow);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: clamp(12px, 3vw, 20px) clamp(25px, 5vw, 50px);
    background-color: var(--primary);
    color: var(--light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    box-shadow: var(--neon-glow);
    text-align: center;
    min-width: 200px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 40px rgba(227, 6, 19, 0.8);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--dark);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.8);
}

/* NAVIGATION */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.5s ease;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(227, 6, 19, 0.2);
}

.nav.scrolled {
    padding: 15px 25px;
    background: rgba(0,0,0,0.9);
    box-shadow: 0 5px 30px rgba(0,0,0,0.5);
}

.nav-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: 3px;
    color: var(--light);
    text-decoration: none;
    text-shadow: var(--neon-glow);
    position: relative;
}

.nav-logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: clamp(20px, 3vw, 40px);
}

.nav-link {
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 2px;
    position: relative;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    text-transform: uppercase;
}

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

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

.nav-link:hover {
    color: var(--primary);
    text-shadow: var(--text-glow);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
}

/* SECTION STYLES */
.section {
    padding: clamp(80px, 10vw, 150px) 20px;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: clamp(40px, 5vw, 80px);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.section-title h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: 5px;
    color: var(--primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: var(--neon-glow);
}

.section-title p {
    max-width: 800px;
    margin: 0 auto;
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.6;
    color: #AAAAAA;
}

/* CAR SLIDER SECTION */
.car-slider-section {
    position: relative;
}

.car-slider-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
}

.car-slider {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    height: clamp(400px, 60vh, 600px);
    perspective: 2000px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transform-style: preserve-3d;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(10, 10, 10, 0.7);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(227, 6, 19, 0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.slide.active {
    opacity: 1;
    z-index: 10;
}

.slide:not(.active) {
    opacity: 0;
    z-index: 1;
}

.car-model {
    flex: 1;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-model::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.car-info {
    flex: 1;
    padding: clamp(20px, 3vw, 50px);
    position: relative;
    z-index: 2;
}

.car-info h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 20px;
    color: var(--accent);
    text-shadow: var(--accent-glow);
}

.car-info p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    margin-bottom: 30px;
    line-height: 1.6;
}

.car-info ul {
    list-style: none;
    margin-bottom: 40px;
}

.car-info ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

.car-info ul li::before {
    content: '➤';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.progress-bar {
    height: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    margin: 30px 0;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--primary);
    width: 65%;
    position: relative;
    border-radius: 5px;
    animation: pulse 2s infinite;
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 100;
}

.slider-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: var(--neon-glow);
}

/* MOTIVE SECTION */
.motive-section {
    background: url('https://images.unsplash.com/photo-1635070041078-e363dbe005cb?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') center/cover;
    position: relative;
}

.motive-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
}

.motive-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.motive-card {
    background: rgba(20, 20, 20, 0.7);
    border-radius: 15px;
    padding: clamp(30px, 5vw, 50px) clamp(20px, 4vw, 40px);
    border: 1px solid var(--primary);
    box-shadow: var(--neon-glow);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.motive-card:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg) scale(1.05);
    box-shadow: 0 0 50px rgba(227, 6, 19, 0.8);
}

.motive-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    margin-bottom: 30px;
    color: var(--accent);
    text-shadow: var(--accent-glow);
}

.motive-card p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.8;
    margin-bottom: 30px;
}

.social-counter {
    display: inline-block;
    padding: 12px 25px;
    background: rgba(0,0,0,0.5);
    border-radius: 50px;
    color: var(--light);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    border: 1px solid var(--primary);
    transition: all 0.3s ease;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.social-counter:hover {
    background: var(--primary);
    box-shadow: var(--neon-glow);
}

.social-counter i {
    margin-right: 10px;
    color: var(--accent);
}

/* INDIA SECTION */
.india-section {
    position: relative;
}

.india-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
}

.india-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.india-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 40px;
    color: var(--primary);
    text-shadow: var(--neon-glow);
}

.india-content p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(20, 20, 20, 0.7);
    border-radius: 10px;
    padding: 40px 20px;
    border: 1px solid var(--primary);
    box-shadow: var(--neon-glow);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 40px rgba(227, 6, 19, 0.6);
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--primary);
    margin-bottom: 10px;
    text-shadow: var(--neon-glow);
}

.stat-label {
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    color: var(--light);
}

/* TEAM SECTION */
.team-section {
    background-color: #0A0A0A;
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.team-card {
    perspective: 1000px;
    height: 400px;
    cursor: pointer;
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.card-front {
    background: linear-gradient(135deg, #1a1a1a 0%, #2e2e2e 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    transform: rotateY(0deg);
    border: 1px solid rgba(227, 6, 19, 0.3);
}

.card-back {
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    transform: rotateY(180deg);
    border: 1px solid var(--primary);
    box-shadow: var(--neon-glow);
}

.team-card:hover .card-front {
    transform: rotateY(-180deg);
}

.team-card:hover .card-back {
    transform: rotateY(0deg);
}

.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    margin-bottom: 25px;
    transition: all 0.3s ease;
    box-shadow: var(--neon-glow);
}

.team-card:hover img {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(227, 6, 19, 0.6);
}

.card-front h3 {
    margin: 20px 0 10px 0;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Orbitron', sans-serif;
}

.card-front p {
    color: var(--accent);
    font-weight: 600;
    margin: 0;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    letter-spacing: 1px;
}

.card-back p {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    line-height: 1.8;
    text-align: center;
}

/* CAR DETAILS SECTION */
.car-details-section {
    position: relative;
}

.car-details-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
}

.car-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.car-stats {
    flex: 1;
    opacity: 0;
    transform: translateX(-50px);
    animation: fadeInRight 1s ease forwards 0.3s;
}

.car-stats h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 30px;
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 3px;
    text-shadow: var(--neon-glow);
}

.stat-item {
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(20, 20, 20, 0.7);
    border-left: 5px solid var(--primary);
    transition: all 0.3s ease;
    border-radius: 5px;
}

.stat-item:hover {
    background: rgba(30, 30, 30, 0.9);
    transform: translateX(10px);
    box-shadow: var(--neon-glow);
}

.stat-item h4 {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 10px;
    color: var(--light);
    font-family: 'Orbitron', sans-serif;
}

.stat-item p {
    color: #AAAAAA;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    line-height: 1.6;
}

.car-animation {
    flex: 1;
    height: clamp(300px, 50vh, 500px);
    position: relative;
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInLeft 1s ease forwards 0.3s;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

/* CONTACT SECTION */
.contact-section {
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.contact-info {
    flex: 1;
    opacity: 0;
    transform: translateX(-50px);
    animation: fadeInRight 1s ease forwards 0.3s;
}

.contact-info h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 30px;
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 3px;
    text-shadow: var(--neon-glow);
}

.contact-info p {
    margin-bottom: 40px;
    line-height: 1.8;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.contact-details {
    margin-top: 50px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    font-size: 1.5rem;
    box-shadow: var(--neon-glow);
}

.contact-text h4 {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 5px;
    font-family: 'Orbitron', sans-serif;
}

.contact-text p {
    color: #AAAAAA;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

.contact-form {
    flex: 1;
    background: rgba(20, 20, 20, 0.8);
    padding: clamp(20px, 5vw, 50px);
    border-radius: 15px;
    border: 1px solid var(--primary);
    box-shadow: var(--neon-glow);
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInLeft 1s ease forwards 0.3s;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--light);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    color: var(--light);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--neon-glow);
    background: rgba(227, 6, 19, 0.1);
}

textarea.form-control {
    min-height: 200px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--primary);
    color: var(--light);
    border: none;
    padding: 20px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    box-shadow: var(--neon-glow);
}

.submit-btn:hover {
    background-color: transparent;
    border: 2px solid var(--primary);
    box-shadow: 0 0 40px rgba(227, 6, 19, 0.6);
}

/* FOOTER */
footer {
    background-color: #0A0A0A;
    padding: 100px 20px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1639762681057-408e52192e55?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2232&q=80') center/cover;
    opacity: 0.05;
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--light);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-10px);
    box-shadow: var(--neon-glow);
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: 5px;
    margin-bottom: 30px;
    background: linear-gradient(to right, var(--light) 20%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: var(--neon-glow);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 3vw, 40px);
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.footer-link {
    color: #AAAAAA;
    text-decoration: none;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

.footer-link:hover {
    color: var(--primary);
    text-shadow: var(--neon-glow);
}

.copyright {
    color: #666666;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
}

/* SCROLL INDICATOR */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--light);
    font-size: 2rem;
    animation: bounce 2s infinite;
    z-index: 10;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(227, 6, 19, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(227, 6, 19, 0);
    }
}

@keyframes shine {
    0% { transform: translateX(-100%) skew(-15deg); }
    100% { transform: translateX(100%) skew(-15deg); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-30px) translateX(-50%);
    }
    60% {
        transform: translateY(-15px) translateX(-50%);
    }
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: right 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-left: 1px solid var(--primary);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu .nav-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

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

.close-menu-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: var(--light);
    font-size: 2rem;
    cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .car-slider .slide {
        flex-direction: column;
    }
    
    .car-model {
        height: 50%;
    }
    
    .car-container, .contact-container {
        flex-direction: column;
        gap: 50px;
    }
    
    .car-animation {
        order: -1;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}


.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
    justify-items: center;
    max-width: 1000px; /* Optional: limits stretch */
    margin: 0 auto; /* centers the grid */
}

.team-card {
    border-radius: 1rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 300px;
}

@media (max-width: 900px) {
.team-grid {
    grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 600px) {
.team-grid {
    grid-template-columns: 1fr;
}
}

.card-front h3,
.card-front p {
    text-align: center;
    margin: 0.5rem 0;
}
.card-front {
    display: flex;
    flex-direction: column;
    align-items: center; /* centers horizontally */
    padding: 1rem;
}

#speed.infinity {
color: #ff0000;
animation: pulseInfinity 1.2s ease-in-out infinite;
font-weight: bold;

}

@keyframes pulseInfinity {
0%, 100% {
transform: scale(1);
opacity: 1;
text-shadow: 0 0 10px #ff0000, 0 0 20px #ac1b1b;
}
50% {
transform: scale(1.2);
opacity: 0.8;
text-shadow: 0 0 20px #ff0000, 0 0 40px #ac1b1b;
}
}

        .open-slot {
    background: radial-gradient(circle at center, #ff000033, #000);
    border:2px dashed rgb(128, 2, 2);
    color:rgb(193, 0, 0);
    font-size:10rem;
    display:flex;
    justify-content:center;
    align-items:center;
    text-shadow:0 0 15px rgb(128, 2, 2);
    animation: pulse 2s infinite alternate;
} 

@keyframes pulse {
    from { transform:scale(1); opacity:0.7; }
    to { transform:scale(1.1); opacity:1; }
}
