/* Root Variables */
:root {
    --primary-blue: #0052cc;
    --primary-white: #ffffff;
}

/* Base Styles */
body {
    margin-top: 80px;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

/* Navigation Styles */
nav {
    border-bottom: solid;
    border-bottom-width: 5px;
    border-image: linear-gradient(to left, var(--primary-blue) 0%, #808080 50%, var(--primary-white) 100%) 1;
    border-image-slice: 1;
    animation: gradientAnimation 3s infinite;
}

@keyframes gradientAnimation {
    0% {
        border-image-source: linear-gradient(to left, var(--primary-blue), #808080, var(--primary-white));
    }

    50% {
        border-image-source: linear-gradient(to left, var(--primary-white), var(--primary-blue), #808080);
    }

    100% {
        border-image-source: linear-gradient(to left, var(--primary-blue), #808080, var(--primary-white));
    }
}

/* Global Link Styles */
a {
    color: #fafafa;
    text-decoration: none;
}

/* Navbar Components */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background-color: var(--primary-white) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.8rem;
    letter-spacing: 1px;
    color: var(--primary-blue) !important;
    padding: 0 15px;
}

.nav-link {
    position: relative;
    margin: 0 0.8rem;
    color: var(--primary-blue) !important;
    font-weight: 500;
}

/* Navigation Effects */
.nav-item:not(.dropdown) .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-item:not(.dropdown) .nav-link:hover::after {
    width: 100%;
}

/* Dropdown Styles */
.dropdown .nav-link::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.dropdown-menu-wide {
    display: none;
    width: 100vw;
    padding: 2rem;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-top: 0.5rem !important;
    position: fixed !important;
    top: 80px !important;
    z-index: 1040;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.dropdown-menu-wide.show {
    display: flex;
}

.dropdown-item {
    width: auto;
    height: auto;
    margin: 0.5rem;
    padding: 0.5rem;
    border-radius: 5px;
    text-align: center;
    color: white;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
    background: url('../assets/index.png') center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(45deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%); */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Section Components */
.section-title {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-blue);
}

/* Card Components */
.vision-card,
.mission-card,
.contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.vision-card:hover,
.mission-card:hover,
.contact-card:hover {
    transform: translateY(-5px);
}

/* Mission Items */
.mission-item {
    padding: 1.5rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #fff, #f8f9fa);
    transition: transform 0.3s ease;
    height: 100%;
}

.mission-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 82, 204, 0.2);
}

.mission-item h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Form Elements */
.form-control {
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 82, 204, 0.25);
}

/* Chat Components */
.floating-chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 1000;
}

.chat-container {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 300px;
    height: 400px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    z-index: 999;
}

/* Car Image Styles */
.car-image {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.car-image:hover {
    transform: scale(1.05);
}

/* Custom Button Styles */
.btn-custom-blue {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

.btn-custom-blue:hover {
    background-color: #004099;
    border-color: #004099;
    color: white;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .car-image {
        width: 200px;
        height: 133px;
    }

    .dropdown-menu-wide {
        position: absolute !important;
        top: 100% !important;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        z-index: 999;
    }
}

/* Product Template Styles */
.product-intro {
    padding: 60px 0;
}

.product-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

.spec-card {
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.spec-list {
    list-style: none;
    padding-left: 0;
}

.spec-list li {
    margin-bottom: 10px;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #007bff;
}

.tech-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.tech-card i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 15px;
}

.tech-card h4 {
    margin-bottom: 15px;
}

/* Logo in intro */
.partner-item {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.partner-logo-wrapper {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo {
    max-height: 100px;
    width: auto;
    transition: transform 0.3s ease;
}

.hover-effect:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.partner-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-item:hover .partner-overlay {
    opacity: 1;
}

.partner-item:hover .partner-logo {
    transform: scale(1.1);
}
/* Tab Container Spacing and Centering */
.container.mt-5 {
    margin-top: 120px !important;
}

#contentTabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    border-bottom: 2px solid #dee2e6 !important;
    padding-bottom: 15px;
}
.nav-tabs .nav-link::after {
    display: none !important;
}



.nav-tabs .nav-link {
    padding: 12px 40px;
    font-size: 18px;
    font-weight: 500;
    border-radius: 25px;
    background-color: #f8f9fa;
    color: #0052cc;
    margin-bottom: 15px;
    border: none;
}

.nav-tabs .nav-link.active {
    background-color: #0052cc;
    color: white;
    border: none;
}
/*  */
.card {
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.nav-tabs .nav-link.active {
    background-color: var(--primary-blue);
    color: white !important;
}
/*  */
.swiper {
    width: 100%;
    padding: 50px 0;
}

.swiper-slide {
    width: 300px;
    height: 400px;
    position: relative;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.swiper-slide-active {
    transform: scale(1.2);
    z-index: 2;
}

.swiper-slide-prev,
.swiper-slide-next {
    opacity: 0.7;
    filter: blur(2px);
}
.branch-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}