:root {
    /* Brand Colors */
    --primary: #E31E24;     /* Racing Red */
    --primary-hover: #b3161b;
    
    /* Backgrounds */
    --bg: #000000;          /* Pure Black */
    --dark-bg: #050505;     /* Slightly lighter for sections */
    --card-bg: #111111;     /* Charcoal Grey for cards */
    
    /* Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-surface: rgba(20, 20, 20, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    /* Typography */
    --text: #ffffff;
    --text-dim: #cccccc;
    --text-muted: #a0a0a0;
    --text-white: #ffffff;
    
    /* Effects */
    --glow: rgba(227, 30, 36, 0.3);
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 15px 5%;
    align-items: center;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(227, 30, 36, 0.2);
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: var(--primary);
}

/* --- Hero Section --- */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90vh;
    padding: 0 5%;
    gap: 40px;
    overflow: hidden;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content span {
    color: var(--primary);
    font-style: italic;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 500px;
}

.hero-video-container {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(0 0 30px rgba(227, 30, 36, 0.4));
}

.hero-video {
    width: 100%;
    max-width: 700px;
    border-radius: 20px;
    filter: brightness(0.85) contrast(1.1);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    background: radial-gradient(circle, transparent 50%, var(--bg) 100%);
}

/* --- Buttons & UI Elements --- */
.badge {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.btn {
    background: var(--primary);
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-hover);
    box-shadow: 0 5px 15px var(--glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: white;
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-outline:hover {
    background: var(--primary);
}

/* --- Official Partners Section --- */
.partners-section {
    padding: 30px 5% 40px; /* Minimized top padding to reduce gap from Hero */
    background: linear-gradient(180deg, #050505 0%, #000 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.partners-section .section-header {
    margin-bottom: 25px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.0);
    text-align: center;
}

.partners-section h2 {
    font-size: 1.5rem;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.partners-section h2 span {
    color: var(--primary);
    font-weight: 800;
}

/* Flex Container for Horizontal Layout */
.partners-grid {
    padding-bottom: 20px;
    margin-top: -20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px; /* Space between logos */
    flex-wrap: wrap; /* Essential for mobile wrapping */
}

/* Logo Styling - The "Same Size" Fix */
.partner-logo {
    height: 45px;       /* FORCE all logos to be this height */
    width: auto;        /* Allow width to adjust naturally */
    max-width: 180px;   /* Prevent wide logos from taking over */
    object-fit: contain; /* Ensures logo fits inside without stretching */
    
    /* Black & White Default State */
    filter: grayscale(100%) brightness(100%) contrast(0%); /* Pure B&W silhouette */
    opacity: 0.5;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

/* Hover Effect - Reveal Original Colors */
.partner-logo:hover {
    filter: grayscale(0%) brightness(1) contrast(1);
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(227, 30, 36, 0.4)); /* Red glow */
}

/* --- Mobile Responsive Rules --- */
@media (max-width: 768px) {
    .partners-section {
        padding-bottom: 30px;
        padding-top: 40px;
    }

    .partners-section .section-header h2 {
        font-size: 2rem;
        margin-bottom: rem; /* Smaller text on mobile */
    }

    .partners-grid {
        /* This stacks them vertically */
        flex-direction: column; 
        gap: 30px;
    }

    .partner-logo {
        /* Slightly larger size since they are stacked and have more room */
        height: 40px; 
        max-width: 140px;
        opacity: 0.7; /* Make them slightly more visible by default on mobile */
    }
}

/* --- Why Choose Us --- */
.why-choose-us {
    padding: 100px 5%;
    background-color: var(--bg);
    color: var(--text);
    text-align: center;
    border-top: 1px solid #1a1a1a;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--text);
    margin-bottom: 10px;
    font-weight: 800;
}

.section-header p {
    color: var(--text-dim);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.choose-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.choose-column {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.choose-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
    transition: transform 0.3s ease;
}

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

.icon-box {
    background: rgba(227, 30, 36, 0.15);
    color: var(--primary);
    font-size: 1.6rem;
    padding: 18px;
    border-radius: 15px;
    min-width: 65px;
    text-align: center;
    border: 1px solid rgba(227, 30, 36, 0.3);
    box-shadow: 0 0 15px var(--glow);
}

.choose-text h3 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    color: var(--text);
    font-weight: 700;
}

.choose-text p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.choose-center {
    flex: 1;
    min-width: 300px;
    max-width: 480px;
}

.image-wrapper {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid #333;
    box-shadow: 0 20px 50px rgba(227, 30, 36, 0.2);
}

.image-wrapper img {
    width: 100%;
    display: block;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.image-wrapper:hover img {
    transform: scale(1.1);
}

.choose-footer {
    margin-top: 70px;
}

/* --- TikTok Section --- */
.tiktok-section {
    padding: 100px 5%;
    background: linear-gradient(180deg, #050505 0%, #000 100%);
    text-align: center;
}

.tiktok-section h2 span {
    color: var(--primary);
}

.tiktok-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.tiktok-card {
    flex: 1;
    min-width: 325px;
    max-width: 350px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 10px;
    border: 1px solid rgba(227, 30, 36, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tiktok-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px var(--glow);
}

.tiktok-embed {
    margin: 0 !important;
    border-radius: 15px !important;
    overflow: hidden !important;
}

.tiktok-footer {
    margin-top: 60px;
}

/* --- About Section Modern --- */
.about-section-modern {
    position: relative;
    padding: 120px 5%;
    background-color: var(--dark-bg);
    overflow: hidden;
    background-image: radial-gradient(circle at 10% 20%, rgba(20, 20, 20, 0.8) 0%, var(--dark-bg) 90%);
}

.glow-effect {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.image-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1);
    transition: transform 0.5s ease;
}

.image-frame:hover img {
    transform: scale(1.03);
}

.image-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.8));
}

.about-content-card {
    background: var(--glass-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.badge-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    border-left: 3px solid var(--primary);
    padding-left: 10px;
}

.about-content-card h2 {
    font-size: 3rem;
    color: var(--text-white);
    margin: 0 0 25px 0;
    line-height: 1.1;
    font-weight: 700;
}

.highlight-text {
    background: linear-gradient(90deg, #fff, #b3b3b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-desc {
    color: #d1d1d1;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.secondary-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 40px;
    border-left: 1px solid var(--glass-border);
    padding-left: 20px;
}

.text-white { color: white; }

.stats-dashboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
}

.stat-box {
    text-align: left;
    transition: transform 0.3s ease;
}

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

.stat-box h3 {
    font-size: 2.2rem;
    color: var(--text-white);
    margin: 0;
    font-weight: 800;
    display: flex;
    align-items: center;
}

.stat-box h3 small {
    font-size: 1rem;
    color: var(--primary);
    margin-left: 5px;
    font-weight: 600;
}

.stat-box .star {
    color: var(--primary);
    font-size: 1.5rem;
    margin-left: 5px;
}

.stat-box p {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.cta-line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin-top: 30px;
    border-radius: 2px;
}

/* --- Services Section --- */
.services-section {
    padding: 100px 5%;
    background: #050505;
}

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

.service-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #222;
    transition: 0.4s ease;
    position: relative;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(227, 30, 36, 0.15);
}

.service-card h3 {
    margin-top: 20px;
    font-size: 1.4rem;
}

.warranty-tag {
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--primary);
    text-transform: uppercase;
    background: rgba(227, 30, 36, 0.1);
    padding: 4px 12px;
    border-radius: 4px;
    border: 1px solid var(--primary);
}

/* --- Testimonials --- */
.testimonials {
    padding: 100px 5%;
    background-color: var(--bg);
    text-align: center;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 20px;
    border-left: 4px solid var(--primary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px var(--glow);
}

.stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-card p {
    color: var(--text-dim);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.testimonial-card h4 {
    color: var(--text);
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
}

/* --- Footer & Mobile Action --- */
footer {
    background: #000;
    padding: 80px 5% 120px;
    border-top: 1px solid #1a1a1a;
    text-align: center;
}

.footer-desc {
    color: #666; 
    max-width: 600px; 
    margin: 15px auto;
}

.footer-socials a {
    color: white;
    font-size: 1.5rem;
    margin: 0 15px;
    transition: 0.3s;
}

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

.copy {
    font-size: 0.8rem;
    color: #444;
}
.copy a {
    font-size: 0.8rem;
    color: #444;
}

.mobile-action-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    padding: 12px 0;
    z-index: 9999;
    border-top: 2px solid var(--primary);
}

.action-item {
    flex: 1;
    text-align: center;
    color: white;
    text-decoration: none;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: bold;
}

.whatsapp-bg i {
    color: #25D366;
    font-size: 1.4rem;
}

/* --- Contact Section Styling --- */
.contact-section {
    padding: 100px 5%;
    background-color: var(--dark-bg);
    position: relative;
}

/* The Glass Container Wrapper */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Split 50/50 */
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    
    /* Premium Glass Effect */
    background: var(--glass-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    align-items: center; /* Vertically center content */
}

/* Left Side: Info Text */
.contact-info h2 {
    font-size: 3rem;
    color: var(--text-white);
    margin-bottom: 20px;
    font-weight: 800;
}

.contact-info > p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 450px;
}

/* Contact Details (Icons + Text) */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail {
    display: flex;
    align-items: flex-start; /* Aligns icon with top of text */
    gap: 20px;
}

.detail i {
    color: var(--primary); /* Brand Red */
    font-size: 1.4rem;
    background: rgba(227, 30, 36, 0.1); /* Subtle red background */
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(227, 30, 36, 0.2);
    transition: 0.3s ease;
}

.contact-container:hover .detail i {
    box-shadow: 0 0 15px var(--glow);
}

.detail p {
    color: var(--text-dim);
    font-size: 1rem;
    margin: 0;
    padding-top: 10px; /* Align text with icon center visually */
    line-height: 1.5;
}

/* Right Side: Map */
.map-box {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.map-box iframe {
    width: 100%;
    height: 100%;
    /* Optional: This filter makes the map look darker to fit the theme */
    filter: grayscale(100%) invert(92%) contrast(83%);
    transition: 0.3s ease;
}

/* Remove filter on hover so user can see map colors */
.map-box:hover iframe {
    filter: none;
}

/* --- Scroll To Top Button --- */
.scroll-top-btn {
    position: fixed;
    bottom: 60px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: var(--primary); /* Red */
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.2rem;
    z-index: 998; /* Below mobile nav (9999) but above content */
    
    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Glow effect */
    box-shadow: 0 5px 20px rgba(227, 30, 36, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* State when active (JS adds this class) */
.scroll-top-btn.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hover Effect */
.scroll-top-btn:hover {
    background: white;
    color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
}

/* --- Responsive General --- */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        justify-content: center;
    }
    
    .hero-content h1 { font-size: 2.8rem; }
    .hero-btns { justify-content: center; }
    
    .hero-video-container {
        width: 100%;
        margin-top: 30px;
    }
    
    .choose-grid {
        flex-direction: column;
        gap: 60px;
    }
    
    .choose-center {
        order: -1;
        max-width: 100%;
    }
    
    .choose-item {
        text-align: center;
        flex-direction: column;
        align-items: center;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-content-card {
        padding: 30px;
    }
    
    .about-content-card h2 {
        font-size: 2.5rem;
    }
    .navbar {
        /* 1. Make space for the larger logo */
        min-height: 90px; 
        
        /* 2. Push the burger menu to the far right */
        justify-content: flex-end; 
        position: relative;
    }

    .logo {
        /* 3. Absolutely center the logo */
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: max-content;
    }

    .logo img {
        /* 4. Increase the logo size (Default was 50px) */
        height: 80px; 
        /* Optional: Add a subtle drop shadow to pop against the background */
        filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
    }
    
    /* Ensure the burger menu has some spacing from the edge */
    .burger {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-content h1 { font-size: 2.2rem; }
    
    .tiktok-grid {
        flex-direction: column;
        align-items: center;
    }
    .tiktok-card {
        width: 100%;
        max-width: 400px;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .stats-dashboard {
        grid-template-columns: 1fr 1fr;
    }
    .stat-box h3 {
        font-size: 1.8rem;
    }
}

/* --- Responsive Layout for Contact --- */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr; /* Stack vertically */
        padding: 30px;
        gap: 40px;
    }

    .contact-info h2 {
        font-size: 2.2rem;
    }
    
    .map-box {
        height: 300px;
    }
}

/* Mobile Adjustment (Avoid overlapping the bottom action bar) */
@media (max-width: 768px) {
    .scroll-top-btn {
        width: 45px;
        height: 45px;
        right: 20px;
        bottom: 90px; /* Pushed up to clear the mobile action bar */
    }
}