/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}




em {
    color: #ed1c24;
}


/* Navigation Bar */
.navbar {
    padding: 1rem 1rem;
    transition: all 0.3s ease;
}

.navbar.fixed-top.scrolled {
    padding: 0.5rem 1rem; /* Shrink nav bar on scroll */
    background-color: rgba(0, 0, 0, 0.9); /* Slightly transparent on scroll */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.nav-logo {
    height: 40px;
    transition: all 0.3s ease;
}

.navbar.fixed-top.scrolled .nav-logo {
    height: 30px; /* Shrink logo on scroll */
}

/* Active Nav Link */
.navbar-nav .nav-link.active {
    color: #ed1c24 !important; /* Active page color */
    font-weight: bold; /* Optional: Make active link bold */
}

.navbar-nav .nav-link {
    color: #ffffff;
    font-weight: 500;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #ed1c24; /* Red on hover */
}





/* Navbar General */
.navbar {
    padding: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled {
    padding: 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.9); /* Slight transparency */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}


/* Nav Links */
.navbar .nav-link {
    color: #ffffff;
    font-weight: 600;
    position: relative;
    margin-right: 1.5rem;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover {
    color: #ed1c24;
}

/* Dropdown Menu */
.dropdown-menu {
    background: linear-gradient(135deg, #1e1e1e, #2c2c2c);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.navbar-nav .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Items */
.dropdown-item {
    color: #ffffff;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-item i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.dropdown-item:hover {
    background-color: #ed1c24;
    color: #ffffff;
}


.nav-btn {
    background: linear-gradient(90deg, #ed1c24, #c82333);
    color: #ffffff;
    padding: 0.6rem 1.4rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(90deg, #c82333, #ed1c24);
}









/* Hero Button */
.hero-btn {
    display: inline-block;
    background-color: #ed1c24; /* Red background */
    color: #ffffff; /* White text */
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 50px;
    border: 2px solid #ffffff; /* White border */
    text-transform: uppercase;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    transition: transform 0.2s ease-in-out; /* Base transition */
}

/* Span for Text */
.hero-btn span {
    display: inline-block;
    position: relative;
    transition: transform 0.3s ease-in-out;
}









/* Hero Section Video */
.video-container {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
}

.video-overlay h1 {
    font-size: 3rem;
    font-weight: bold;
}

.video-overlay p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.video-overlay .btn {
    padding: 10px 20px;
    font-size: 1.2rem;
}

/* Introduction Section */
.introduction {
    background-color: #707070;
    text-align: center;
    min-height: 50vh;
    padding: 5rem 1rem;
}

.introduction h2 {
    font-size: 2.5rem;
    font-weight: 550;
    color: #343a40;
    margin-bottom: 1.5rem;
}

.introduction p.lead {
    font-size: 1.25rem;
    color: #6c757d;
}

/* Icon Styling */
.icon-box i {
    font-size: 3rem; /* Consistent icon size */
    color: #ed1c24; /* Default icon color */
    margin-bottom: 1rem;
    display: inline-block;
}

/* Parent Box Styling */
.icon-box {
    position: relative;
    padding: 2rem 1rem; /* Padding inside the box */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth hover effect */
    background-color: #ffffff; /* Optional: Add a background color */
    border-radius: 8px; /* Optional: Slightly rounded corners */
    height: 100%; /* Ensures equal height across all cards */
}

.icon-box:hover {
    transform: translateY(-10px); /* Lift the card */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* Add subtle shadow */
}

.icon-box h4 {
    font-size: 1.5rem;
    margin-top: 1rem;
    color: #343a40;
}

.icon-box p {
    font-size: 1rem;
    color: #6c757d;
}



/* Featured Vehicles Section */
.featured-vehicles {
    background-color: #ffffff;
    min-height: 50vh;
    padding: 5rem 1rem;
}

.featured-vehicles h2 {
    font-size: 2.5rem;
    color: #343a40;
    font-weight: 550;
    font-weight: bold;
    margin-bottom: 2rem;
}

/* Vehicle Card Styling */
.vehicle-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.vehicle-card:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); /* Enhance shadow */
}

.vehicle-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.vehicle-card:hover .vehicle-img {
    transform: scale(1.05); /* Slight zoom on hover */
}

.vehicle-info {
    padding: 1.5rem;
    text-align: center;
}

.vehicle-info h5 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #343a40;
}

.vehicle-info p {
    font-size: 1rem;
    color: #6c757d;
    margin: 0.5rem 0 1rem;
}

.vehicle-info .btn {
    background-color: #ed1c24;
    border: none;
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
    transition: background-color 0.3s ease;
}

.vehicle-info .btn:hover {
    background-color: #c82333;
}

.vehicle-img:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
}




/* Horizontal Testimonials Section */
.horizontal-testimonials {
    background-color: #1e1e1e;
    overflow: hidden;
    position: relative;
    min-height: 50vh;
    padding: 5rem 1rem;
}

.horizontal-testimonials h2 {
    font-size: 2.5rem;
    color: #FFFFFF;
    font-weight: bold;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

/* Scrolling Container */
.testimonial-scroll {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 1rem;
    scroll-behavior: smooth; /* Smooth horizontal scrolling */
}

.testimonial-scroll::-webkit-scrollbar {
    height: 8px;
}

.testimonial-scroll::-webkit-scrollbar-thumb {
    background: #ed1c24;
    border-radius: 8px;
}

.testimonial-scroll::-webkit-scrollbar-track {
    background: #f8f9fa;
}

/* Testimonial Card Styling */
.testimonial-card {
    flex: 0 0 300px; /* Fixed width for each card */
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: rotateY(10deg);
    transition: transform 0.4s ease-in-out;
}

.testimonial-card:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Text Styling */
.testimonial-text {
    font-size: 1.2rem;
    color: #6c757d;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #343a40;
}

.testimonial-role {
    font-size: 1rem;
    color: #6c757d;
}



@media (max-width: 768px) {
    .testimonial-scroll {
        flex-direction: column;
        gap: 1rem;
    }
    .vehicle-card {
        margin-bottom: 2rem;
    }
}






/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    min-height: 55vh;
    margin-top: 4rem;
    padding: 5rem 1rem;
}

.contact-section h2 {
    font-size: 2.5rem;
    color: #343a40;
    font-weight: bold;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

/* Contact Form */
.contact-form .form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #ed1c24;
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.2);
}

.contact-form button {
    background-color: #ed1c24;
    border: none;
    font-size: 1.2rem;
    padding: 0.75rem;
    color: white;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #c82333;
}

/* Map Container */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}



/* Footer */
.site-footer {
    background-color: #1e1e1e; /* Dark gray */
    color: #ffffff;
    padding: 3rem 1rem;
}

.site-footer h3,
.site-footer h4 {
    color: #ed1c24; /* Red */
    margin-bottom: 1rem;
    font-weight: bold;
}

.site-footer p {
    font-size: 0.9rem;
    color: #d6d6d6;
}

.site-footer a {
    color: #ed1c24;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #ffffff;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links li a {
    font-size: 0.9rem;
}

.social-icons {
    margin-top: 1rem;
}

.social-icons a {
    color: #ed1c24;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    color: #ffffff;
    transform: rotate(360deg) scale(1.2);
    transition: transform 0.5s ease, color 0.3s ease;
}


hr {
    border-color: rgba(255, 255, 255, 0.2);
}




/* Scroll-to-Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: #ed1c24;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    visibility: hidden; /* Initially hidden */
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scroll-to-top:hover {
    background-color: #c82333;
    transform: scale(1.1); /* Subtle zoom effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

