:root {
    --primary: #FF1F1F;
    --accent: #FFB400;
    --dark: #0F1724;
    --light-bg: #F8FAFC;
    --success: #10B981;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(255, 31, 31, 0.08);
    --shadow-md: 0 4px 16px rgba(255, 31, 31, 0.12);
    --shadow-lg: 0 8px 32px rgba(255, 31, 31, 0.16);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: var(--light-bg);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, #FF4B4B 0%, #FF1F1F 50%, #CC0000 100%);
    border: none;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 31, 31, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FF1F1F 0%, #CC0000 50%, #990000 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 31, 31, 0.5);
}

.btn-accent {
    background: var(--accent);
    color: var(--dark);
    border: none;
    padding: 6px 32px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-accent:hover {
    background: #E5A200;
    color: var(--dark);
    transform: translateY(-2px);
}

/* Button Shine Effect */
.btn-primary::before,
.btn-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.6s;
    z-index: 1;
}

.btn-primary:hover::before,
.btn-accent:hover::before {
    left: 100%;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    /* padding: 16px 0; */
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

.navbar-brand span {
    color: var(--accent);
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    margin: 0 8px;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

/* Hero Section */
.hero {
    background: linear-gradient(90deg, #001f3e 0%, rgb(15 49 95) 35%, rgb(6 34 71 / 59%) 60%, rgba(255, 31, 31, 0) 100%), url("../img/banner-bg.5ecb635c46df.webp");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    padding: 50px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 24px;
    font-weight: 500;
}

.hero-badge i {
    color: #10B981;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
}

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

.hero-stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

.hero-illustration {
    position: relative;
}

.car-icon {
    font-size: 200px;
    opacity: 0.9;
    animation: float 3s ease-in-out infinite;
    color: rgb(190 187 187 / 29%);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-btn {
    padding: 6px 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    min-width: 180px;
    border-radius: 12px;
}

.hero-btn i {
    font-size: 1.1rem;
}

/* Hero Features */
.hero-features {
    /* background: rgba(0, 0, 0, 0.6); */
    padding: 20px 20px;
    border-radius: 20px;
    /* backdrop-filter: blur(10px); */
    margin-top: 20px !important;
}

.hero-feature-item {
    text-align: center;
    color: white;
    padding: 6px 20px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.hero-feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background: transparent;
    /* Set individually */
    max-width: 200px;
}

/* Individual Border Colors */
.hero-features>div:nth-child(1) .hero-feature-item::before {
    /* background: #FFD700; */
}

.hero-features>div:nth-child(2) .hero-feature-item::before {
    /* background: #FF4B4B; */
}

.hero-features>div:nth-child(3) .hero-feature-item::before {
    /* background: #10B981; */
}

.hero-features>div:nth-child(4) .hero-feature-item::before {
    /* background: #FFFFFF; */
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.icon-yellow {
    /* background: #FFD700;
    color: #333; */
    background: transparent;
    box-shadow: none;
    width: 120px;
    height: 120px;
}

.icon-red {
    /* background: #FF4B4B; */
    /* color: white; */
    background: transparent;
    box-shadow: none;
    width: 120px;
    height: 120px;
}

.icon-blue {
    /* background: #10B981;
    color: white; */
    background: transparent;
    box-shadow: none;
    width: 120px;
    height: 120px;
}

.icon-dark {
    /* background: #FFFFFF;
    color: #333; */
    background: transparent;
    box-shadow: none;
    width: 120px;
    height: 120px;
}

.hero-feature-item h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-feature-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.btn-more {
    background: linear-gradient(135deg, #FF4B4B 0%, #FF1F1F 50%, #CC0000 100%);
    border: none;
    padding: 6px 32px;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 31, 31, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.icon-yellow~.btn-more {
    /* background: #1a1a1a; */
    color: white;
    text-decoration: none;
}

.icon-yellow~.btn-more:hover {
    background: #FFD700;
    color: #1a1a1a;
    border-color: #FFD700;
}

.icon-red~.btn-more {
    /* background: #1a1a1a; */
    color: white;
    text-decoration: none;
}

.icon-red~.btn-more:hover {
    background: #FF4B4B;
    color: white;
    border-color: #FF4B4B;
}

.icon-blue~.btn-more {
    /* background: #1a1a1a; */
    color: white;
    text-decoration: none;
}

.icon-blue~.btn-more:hover {
    background: #10B981;
    color: white;
    border-color: #10B981;
}

.icon-dark~.btn-more {
    /* background: #FFFFFF; */
    color: #ffffff;
    /* border-color: #FFFFFF; */
    text-decoration: none;
}

.icon-dark~.btn-more:hover {
    background: #f0f0f0;
    color: #1a1a1a;
}

/* Phone Banner */
.phone-banner {
    background: var(--accent);
    color: var(--dark);
    padding: 4px 0;
    font-weight: 600;
    text-align: center;
}

.phone-banner a {
    color: var(--dark);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.phone-banner a:hover {
    opacity: 0.8;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.feature-card {
    background: var(--light-bg);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF4B4B, #D90000);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: white;
}

/* Courses Section */
.courses {
    padding: 80px 0;
    background: var(--light-bg);
}

.course-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
}

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

.course-header {
    height: 250px;
    position: relative;
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: left;
}

.course-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.course-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    z-index: 0;
}

.course-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-header h3,
.course-header p {
    position: relative;
    z-index: 2;
    padding: 0 24px;
    margin: 0;
    color: #F8FAFC;
}

.course-header h3 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.course-header p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 24px;
}

.course-body {
    padding: 32px;
}

.course-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.course-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--light-bg);
    display: flex;
    align-items: center;
}

.course-features li i {
    color: var(--success);
    margin-right: 12px;
}

.course-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin: 24px 0;
}

/* Trainers Section */
.trainers {
    padding: 80px 0;
    background: white;
}

.trainer-card {
    background: var(--light-bg);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.trainer-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #FF4B4B, #D90000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 3rem;
    color: white;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--light-bg);
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.5rem;
}

.stars {
    color: var(--accent);
    margin-bottom: 8px;
}

/* Gallery */
.gallery {
    padding: 80px 0;
    background: white;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    height: 300px;
    background: var(--light-bg);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(255, 31, 31, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-icon {
    font-size: 6rem;
    color: var(--primary);
    opacity: 0.3;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Booking Form */
.booking {
    padding: 80px 0;
    background: #2f3c4d;
    color: var(--dark);
}

.booking-form {
    background: white;
    border-radius: 24px;
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.form-control,
.form-select {
    background-color: #F3F4F6;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.form-floating>label {
    color: #9CA3AF;
}

.form-control::placeholder {
    color: #9CA3AF;
}

.form-control:focus,
.form-select:focus {
    background-color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 31, 31, 0.1);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--light-bg);
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FF4B4B, #D90000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: white;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 24px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

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

.footer-links a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Road Animation */
.road-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #34495e;
    border-top: 6px solid #f1c40f;
    border-bottom: 6px solid #f1c40f;
    overflow: hidden;
    z-index: 5;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.road-markings {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background-image: linear-gradient(90deg, #fff 50%, transparent 50%);
    background-size: 80px 100%;
    transform: translateY(-50%);
    opacity: 0.6;
}

.road-vehicle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

.car-1 {
    font-size: 2rem;
    color: #e74c3c;
    left: -100px;
    animation: drive 8s linear infinite;
}

.car-2 {
    font-size: 2.5rem;
    color: #3498db;
    left: -150px;
    animation: drive 12s linear infinite;
    animation-delay: 2s;
}

.car-3 {
    font-size: 1.5rem;
    color: #2ecc71;
    left: -80px;
    animation: drive 15s linear infinite;
    animation-delay: 5s;
}

@keyframes drive {
    0% {
        left: -150px;
    }

    100% {
        left: 100%;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .car-icon {
        font-size: 120px;
    }

    .booking-form {
        padding: 32px 24px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}