body {
      background-color: #f8f9fa;
      font-family: 'Segoe UI', sans-serif;
    }

    /* --- Navbar --- */
    .navbar {
      background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
      padding: 1rem 1.5rem;
      box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    }

    .navbar-brand {
      font-size: 1.8rem;
      font-weight: 700;
      color: #fff !important;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .navbar-brand img {
      width: 38px;
    }

    .nav-link {
      color: #f8f9fa !important;
      font-weight: 500;
      font-size: 1.15rem;
      transition: color 0.3s, transform 0.2s;
      padding: 0.6rem 1rem !important;
    }

    .nav-link:hover {
      color: #ffd700 !important;
      transform: translateY(-2px);
    }

    .btn-nav {
      border-radius: 25px;
      padding: 8px 22px;
      font-size: 1.1rem;
      background-color: #fff;
      color: #007bff;
      font-weight: 600;
      transition: 0.3s;
      border: 2px solid #007bff;
    }

    .btn-nav:hover {
      background: #000000;
      color: #fff;
      transform: translateY(-2px);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
      border-color: #000000;
    }

    /* --- Main Container --- */
    .container {
      max-width: 1000px;
      margin-top: 110px;
      background-color: #fff;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 0 15px rgba(0,0,0,0.1);
      padding: 0;
    }

    .form-section {
      padding: 40px;
    }

    .btn-primary {
      background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
      border: none;
      border-radius: 25px;
      padding: 10px 20px;
      color: #fff;
      font-weight: 600;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    }

    .btn-primary:hover {
      background: linear-gradient(135deg, #0056b3 0%, #007bff 100%);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    }

    .text-muted a {
      text-decoration: none;
      color: #007bff;
    }
    
    .text-muted a:hover {
      color: #0056b3;
    }

    .logo {
      font-size: 26px;
      font-weight: bold;
      color: #007bff;
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 20px;
    }

    .logo img {
      width: 35px;
    }

    .car-img {
      width: 100%;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }

    @media (max-width: 768px) {
      .car-img {
        margin-top: 20px;
      }

      .navbar-brand {
        font-size: 1.6rem;
      }

      .nav-link {
        font-size: 1rem;
      }
    }
    .feature-card {
      background: #fff;
      border-radius: 12px;
      text-align: center;
      padding: 40px 20px;
      transition: 0.3s;
    }

    .feature-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .feature-icon {
      width: 60px;
      height: 60px;
      border-radius: 15px;
      margin: 0 auto 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
      color: #fff;
      font-size: 28px;
      box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
      transition: transform 0.3s ease;
    }
    
    .feature-icon:hover {
      transform: scale(1.1) rotate(5deg);
    }

    .feature-title {
      font-weight: 600;
      font-size: 20px;
      margin-bottom: 8px;
      color: #000;
    }

    .feature-text {
      color: #555;
      font-size: 15px;
    }
 
    .premium-brands-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: #f8f9fa; /* Very light grey/off-white background for the section */
}

/* Header Styling */
.text-center h1 {
    color: #1a2a44; /* Dark blue for the "Premium" text */
    font-weight: 700;
}

.brand-gradient {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lead.text-muted {
    color: #6c757d !important; /* Standard muted grey for subtitle */
}

/* Brand Card Styling */
.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    background-color: #ffffff; /* White card background */
    border: 1px solid #e0e0e0; /* Subtle border for separation */
    border-radius: 0.5rem;
    cursor: pointer;
    height: 100%;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Light shadow */
    
    /* Animation base state and transition property */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background-color 0.3s;
}

.brand-name {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333333; /* Dark text */
}

/* Icon Wrapper Styling */
.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 0.4rem;
    /* Removed strong dark shadow, now using a lighter one */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
    transition: all 0.3s ease-in-out;
}

.icon {
    font-size: 2.5rem; 
    color: white; /* Icons remain white/bright against their custom background */
    transition: transform 0.3s ease-in-out;
}

/* Custom Icon Colors (Brand specific colors remain to identify the logos) */
/* Backgrounds are slightly more vibrant since the overall page is lighter */
.mercedes-icon { background-color: #004a8c; } /* Darker Blue */
.mercedes-icon .icon { color: #ffd700; font-size: 2.2rem; } 

.bmw-icon { background-color: #007bff; } /* Bright Blue */
.bmw-icon .icon { color: #ffffff; font-size: 2rem; } 

.audi-icon { background-color: #343a40; } /* Dark Grey/Black for contrast */
.audi-icon .icon { color: #ffc107; }

.tesla-icon { background-color: #dc3545; } /* Red for impact */
.tesla-icon .icon { color: #ffffff; }

.porsche-icon { background-color: #212529; } /* Black/Dark theme for racing contrast */
.porsche-icon .icon { color: #ffffff; font-size: 2rem; }

.ferrari-icon { background-color: #ff4500; } /* Signature Ferrari Red */
.ferrari-icon .icon { color: #ffffff; }

/* Hover Animation: The "Pop Out" Effect */
.brand-card:hover {
    /* Lifts the card up, makes it slightly bigger */
    transform: translateY(-8px) scale(1.03); 
    /* Stronger, but clean shadow on hover */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); 
    background-color: #f0f0f0; /* Slight grey background change on hover */
}

/* Subtle Icon Animation on Card Hover */
.brand-card:hover .icon {
    transform: scale(1.1); 
}
.timeline-container {
            position: relative;
            max-width: 1000px;
            margin: 50px auto; /* Centers and adds spacing */
            padding: 0 15px; /* Adds inner padding for edge steps */
        }

        /* The central horizontal line */
        .timeline-line {
            position: absolute;
            top: 50%; /* Vertical center */
            left: 0;
            right: 0;
            height: 4px; /* Line thickness */
            background: linear-gradient(90deg, #dee2e6 0%, #007bff 50%, #dee2e6 100%);
            transform: translateY(-50%);
            z-index: 1; /* Keep line below circles */
        }

        /* Styles for the individual step's column */
        .timeline-step {
            position: relative;
            z-index: 2; /* Keep steps above the line */
            text-align: center;
        }

        /* The circle element */
        .step-circle {
            width: 70px; /* Size of the circle */
            height: 70px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            font-weight: 700;
            margin: 0 auto 10px; /* Center circle and add bottom spacing */
            color: white;
            background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
            box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
            transition: transform 0.3s ease;
            
            /* White border/halo to clearly separate from the line */
            border: 5px solid white;
        }
        
        .step-circle:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
        }
        
        /* The descriptive text below the step number */
        .step-title {
            font-weight: 700;
            font-size: 1rem;
            color: #343a40; /* Dark text */
            margin-bottom: 5px;
        }

        .step-description {
            font-size: 0.875rem;
            color: #6c757d; /* Muted text */
        }
        /* Custom CSS for Footer */

.footer-section {
    background-color: #1a1a1a; /* Dark background color */
    color: #b0b0b0; /* Light gray text color for main content */
    font-size: 14px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #ffffff; /* White color for headings */
}

.footer-content p {
    line-height: 1.8;
}

.footer-content ul li {
    margin-bottom: 10px;
}

.footer-content ul li a {
    color: #b0b0b0; /* Link color */
    text-decoration: none;
    transition: color 0.3s;
}

.footer-content ul li a:hover {
    color: #ffffff; /* Link hover color */
    text-decoration: none;
}

.footer-divider {
    border-top: 1px solid #333333; /* Separator line color */
    margin-top: 0;
    margin-bottom: 0;
}

.copyright-text {
    margin: 0;
    font-size: 13px;
    color: #777777;
}

.heart-icon {
    color: #dc3545; /* Bootstrap red for the heart icon */
}

/* Make sure links in the about section are styled too if they were present */
.footer-content a {
    color: inherit;
    text-decoration: none;
}
/* Keep your navbar styling unchanged */

    /* Hero Section */
    .hero-section {
      margin-top: 100px;
      text-align: center;
      padding: 3rem 1rem;
    }

    .brand-gradient {
      background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    /* Stats Section */
    .stats-section {
      background-color: whitesmoke;
      padding: 60px 0;
    }

    .stat-card {
      background-color: white;
      border-radius: 15px;
      border: 1px solid rgba(0, 0, 0, 0.05);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      height: 100%;
    }

    .stat-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
    }

    .icon-box {
      display: inline-flex;
      justify-content: center;
      align-items: center;
      width: 60px;
      height: 60px;
      font-size: 30px;
      border-radius: 12px;
      color: #fff;
      background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
      margin-bottom: 15px;
      box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
      transition: transform 0.3s ease;
    }
    
    .icon-box:hover {
      transform: scale(1.1) rotate(5deg);
    }

    /* Mission Section */
    .mission-section {
      background-color: white;
      padding: 80px 0;
    }

    .mission-image-container {
      background-image: url('images/car_img5.jpg');
      background-size: cover;
      background-position: center;
      border-radius: 20px;
      aspect-ratio: 16 / 9;
      box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
      transition: transform 0.3s ease;
    }

    .mission-image-container:hover {
      transform: scale(1.02);
    }

    /* CTA Section */
    .cta-section {
      background-color: #0b1120;
      color: white;
      padding: 80px 0;
      text-align: center;
      background-image: radial-gradient(circle at center, rgba(12, 18, 30, 0.8) 0%, #0b1120 70%);
    }

    .cta-gradient-button {
      color: #ffffff;
      border: none;
      font-size: 1.25rem;
      background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
      box-shadow: 0 4px 20px rgba(0, 123, 255, 0.5);
      transition: all 0.3s ease;
      border-radius: 50px;
      padding: 12px 40px;
      font-weight: 600;
    }

    .cta-gradient-button:hover {
      background: linear-gradient(135deg, #0056b3 0%, #007bff 100%);
      box-shadow: 0 6px 30px rgba(0, 123, 255, 0.7);
      transform: translateY(-3px);
    }

    /* Scroll Animation */
    [data-animate] {
      opacity: 0;
      transform: translateY(40px);
      transition: all 0.8s ease;
    }

    [data-animate].show {
      opacity: 1;
      transform: translateY(0);
    }
    @keyframes car-drift {
  0% {
    transform: translateX(100px) rotateZ(3deg) scale(0.9);
    opacity: 0;
  }
  100% {
    transform: translateX(0) rotateZ(0deg) scale(1);
    opacity: 1;
  }
}

.car-image {
  /* Set initial state for the animation */
  animation: car-drift 1.2s ease-out forwards;
  /* Other car image styles */
}
.animated-car {
  display: block;
  max-width: 100%; 
  height: auto;

  /* Apply the animation once */
  animation: drivingIn 1.5s forwards ease-out;

  /* Start off-screen to the right */
  transform: translateX(100%); 
}

@keyframes drivingIn {
  0% {
    transform: translateX(100%); /* Start completely off the right */
  }
  80% {
    transform: translateX(-5%); /* Overshoot slightly for a cool effect */
  }
  100% {
    transform: translateX(0); /* Final resting position */
  }
}