/********** Template CSS **********/
:root {
    --primary: #F77D0A;
    --secondary: #2B2E4A;
    --light: #F4F5F8;
    --dark: #1C1E32;
}
@media (max-width: 768px) {
  html,body {
    overflow-x: hidden;
  }
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 40px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 50px;
    z-index: 99;
}

.nav-bar::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
    background: var(--dark);
}

.nav-bar::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: #ffffff;
}

.navbar-dark .navbar-nav .nav-link {
    padding: 15px 15px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--light);
    outline: none;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.navbar-brand span {
    font-family: 'Anton', sans-serif;
    font-size: 26px;
    font-weight: 400 !important;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    display: inline-block;
}
.navbar-brand span:hover {
    color: var(--primary);
    /* text-shadow: 0 0 10px var(--primary); */
    transform: scale(1.08);
}
/* underline */
.navbar-dark .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    font-weight: 600;
    left: 50%;
    bottom: 6px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

/* hover effect */
.navbar-dark .navbar-nav .nav-link:hover::after {
    width: 70%;
    transition: width 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
    letter-spacing: 1.5px
}

@media (max-width: 991.98px) {
 
    /* Fix navbar background */
    .nav-bar::before,
    .nav-bar::after {
        display: none;
    }
    .navbar-brand img {
    height: 50px !important;
    width: auto !important;
  }

    .nav-bar {
        
        position: relative;
    }

    /* Center menu items */
    .navbar-nav {
        text-align: center;
        padding: 10px 0;
    }

    /* Improve link spacing */
    .navbar-dark .navbar-nav .nav-link {
        padding: 12px;
        font-size: 15px;
        letter-spacing: 1px;
    }

    /* Remove underline animation for mobile (clean look) */
    .navbar-dark .navbar-nav .nav-link::after {
        display: none;
    }

    /* Active / hover effect */
    .navbar-dark .navbar-nav .nav-link:hover,
    .navbar-dark .navbar-nav .nav-link.active {
        background: rgba(255,255,255,0.1);
        border-radius: 5px;
    }

    /* Brand adjustment */
    .navbar-brand span {
        font-size: 16px;
        white-space: nowrap;
    }
}
/* Placeholder (default) */
select.form-control:invalid {
    color: #6c757d !important;
}

/* After selection */
select.form-control:valid {
    color: #495057 !important;
}

/* Dropdown list */
select.form-control option {
    color: #000;
}

/* Fix for first option appearing black in dropdown */
select.form-control option[value=""] {
    color: #6c757d;
}

.toast-msg {
  position: fixed;
  top: 40px;
  right: 30px;
  background: #333;
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  z-index: 9999;
}

.toast-msg.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-msg.success {
  background: #53b66a;
}

.toast-msg.error {
  background: #dc3545;
}


.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 30, 50, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h4 {
        font-size: 18px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}
#header-carousel .carousel-item {
    height: 650px; /* adjust as needed */
}

#header-carousel .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover; /* prevents distortion */
}
@media (max-width: 768px) {

  #closeModal {
    top: 10px !important;
    right: 20px !important;
    font-size: 30px !important;
  }

  #modalImg {
    max-width: 95% !important;
    max-height: 80% !important;
    margin-top: 60px !important;
  }
  #imageCounter{
    left:7% !important;
  }

}
.gallery-img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}
@media (max-width: 768px) {
  .navbar-brand img {
    height: 60px !important;
    width: 60px !important;
  }
}
.page-header {
    height: 450px;
    margin-bottom: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(28, 30, 50, .9), rgba(28, 30, 50, .9)),url(../img/car-showroom1.png);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;        
    background-position: center;   
}
.page-header1 {
    height: 450px;
    margin-bottom: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(28, 30, 50, .9), rgba(28, 30, 50, .9)),url(../img/buying1.avif);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;        
    background-position: center;   
}
.page-header2 {
    height: 450px;
    margin-bottom: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(28, 30, 50, .9), rgba(28, 30, 50, .9)),url(../img/gallery/IMG_5460.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;        
    background-position: center;   
}
.page-header3 {
    height: 450px;
    margin-bottom: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(28, 30, 50, .9), rgba(28, 30, 50, .9)),url(../img/contact.png);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;        
    background-position: center;   
}
.page-header {
    height: 400px;
    margin-bottom: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(28, 30, 50, .9), rgba(28, 30, 50, .9)),url(../img/car-showroom1.png);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;        
    background-position: center;   
}
.page-header4 {
    height: 450px;
    margin-bottom: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(28, 30, 50, .9), rgba(28, 30, 50, .9)),url(../img/blogbanner.webp);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;        
    background-position: center;   
}
@media (max-width: 991.98px) {
    .page-header {
        height: 300px;
    }
}
.side-img {
    max-height: 350px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.side-img:hover {
    transform: scale(1.05);
}
.policy-card {
    transition: all 0.3s ease;
}

.policy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    border-left: 5px solid #0056b3;
}
.service-img img {
    width: 100%;
    height: 200px;       /* control image height */
    object-fit: cover;   /* makes image fill nicely */
}
.service-item {
    height: 350px;
    background: var(--light);
    transition: .5s;
}

.service-item:hover,
.service-item.active {
    background: var(--secondary);
}

.service-item h1,
.service-item h4 {
    transition: .5s;
}

.service-item:hover h1,
.service-item.active h1 {
    color: var(--dark) !important;
}

.service-item:hover h4,
.service-item.active h4 {
    color: var(--light);
}

.rent-item {
    padding: 30px;
    text-align: center;
    background: var(--light);
    transition: .5s;
}

.rent-item:hover,
.rent-item.active {
    background: var(--secondary);
}

.rent-item h4 {
    transition: .5s;
}

.rent-item:hover h4,
.rent-item.active h4 {
    color: var(--light);
}


/* IMAGE FIX */
.rent-item img {
    width: 100%;
    height: 230px;          /* uniform height */
    object-fit: cover;      /* crop nicely */
    display: block;
    
    transition: transform 0.4s ease;
}
.mission-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

.mission-card:hover i {
  transform: scale(1.2);
  color: #ffc107; 
}

.mission-card i {
  transition: 0.3s;
}
.mission-icon svg {
  display: block;
  margin: auto;
  transition: 0.3s;
}

.mission-card:hover .mission-icon svg {
  transform: scale(1.1);
}
/* ===== FOOTER HOVER EFFECTS ===== */

/* Links hover */
#footer a {
  transition: all 0.3s ease;
}

#footer a:hover {
  color: #ffc107 !important; 
  padding-left: 5px;
}

/* Social icons */
#footer .btn-lg-square {
  transition: all 0.3s ease;
}

#footer .btn-lg-square:hover {
  background-color: #ffc107;
  color: #000 !important;
  transform: translateY(-5px) scale(1.1);
}

/* Gallery images */
#footer .row img {
  transition: all 0.4s ease;
  
}

#footer .row img:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

/* Card lift effect (optional smooth look) */
#footer .col-lg-3 {
  transition: transform 0.3s ease;
}

#footer .col-lg-3:hover {
  transform: translateY(-5px);
}
#footer .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* spreads columns evenly */
}

#footer .col-lg-3 {
    margin-bottom: 30px;
}

#footer h4 {
    font-weight: 600;
    letter-spacing: 1px;
}
.footer-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

#footer h5 {
    font-size: 20px;
    font-weight: 600;
}

#footer p {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
}

#footer p i {
    margin-top: 4px;
}
.footer-wrapper {
  padding: 50px 120px;
}
.footer-link {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 500;
}

.footer-link:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .footer-wrapper .d-flex {
    flex-direction: row;          /* keep in one line */
    justify-content: center;      /* center align */
    flex-wrap: nowrap;            /* prevent breaking */
    gap: 10px;
    padding: 0; 
    margin: 0;
  }

  .footer-wrapper p {
    font-size: 12px;              /* reduce size to fit */
    white-space: nowrap;
            
  }
  .footer-wrapper {
    padding-left: 50px !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* ===== FEATURE CARDS HOVER ===== */

.feature-card {
  background: #f8f9fa;
  border-radius: 15px;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.feature-card:hover {
  transform: translateY(-10px);
  background: var(--secondary);
  color: #ffff !important;
}
.feature-card:hover h5,
.feature-card:hover p {
  color: #fff;
}

.icon-box {
  width: 70px;
  height: 70px;
  margin: auto;
  background: var(--secondary);
  color: #fff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
}

.feature-card:hover .icon-box {
  background: #fff;
  color: #007bff;
}

.feature-card p {
  font-size: 14px;
  margin: 0;
}

/* about */
.why-list {
  list-style: none;
  padding: 0;
  max-width: 500px;
  margin: auto;
}

.why-list li {
  background: #f8f9fa;
  margin-bottom: 12px;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 16px;
  transition: 0.3s;
}

.why-list li::before {
  content: "✔";
  color: #007bff;
  font-weight: bold;
  margin-right: 10px;
}

.why-list li:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateX(5px);
}

/* ===============================
   Vehicle Review / Compare Banner
================================= */

.banner-box {
    min-height: 350px;
    overflow: hidden;
    padding: 35px !important;
    gap: 30px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.banner-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.25);
}

/* Text */
.banner-box h3 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.3;
}

.banner-box p {
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 320px;
}

/* Buttons */
.banner-box .btn {
    border-radius: 30px;
    font-weight: 600;
    padding: 10px 28px !important;
    transition: 0.3s ease;
}

.banner-box .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 18px rgba(255,193,7,0.35);
}

/* ===============================
   Image Stack
================================= */
.image-stack {
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-stack img {
    width: 100%;
    max-width: 230px;
    height: 115px;
    object-fit: cover;   /* ✅ fills entire card */
    background: rgba(255,255,255,0.08);
    padding: 0;          /* optional: remove padding for full cover */
    border-radius: 14px;
    transition: 0.3s ease;
}

.image-stack img:hover {
    transform: scale(1.06);
}

/* VS text */
.vs-text {
    color: #ffc107;
    font-size: 24px;
    font-weight: 800;
    margin: 12px 0;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255,193,7,0.5);
}

/* ===============================
   Responsive
================================= */
@media (max-width: 991.98px) {

    .banner-box {
        flex-direction: column !important;
        text-align: center !important;
        padding: 30px 20px !important;
        gap: 20px;
        min-height: auto;
        margin-bottom: 25px;
    }

    .text-left,
    .text-right {
        text-align: center !important;
    }

    .banner-box p {
        max-width: 100%;
        margin: auto;
    }

    .image-stack {
        width: 100%;
    }

    .image-stack img {
        max-width: 220px;
        height: 95px;
    }

    .banner-box h3 {
        font-size: 24px;
    }
}

@media (max-width: 575px) {

    .banner-box h3 {
        font-size: 20px;
    }

    .banner-box p {
        font-size: 14px;
    }

    .image-stack img {
        max-width: 180px;
        height: 80px;
    }

    .vs-text {
        font-size: 20px;
    }
}
/* ===== SERVICE CARD HOVER ===== */

.service-item {
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* Lift + shadow */
.service-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Icon animation */
.service-item i {
  transition: all 0.4s ease;
}

.service-item:hover i {
  transform: scale(1.2) rotate(8deg);
}

/* Number animation (01,02...) */
.service-item h1 {
  transition: all 0.4s ease;
}

.service-item:hover h1 {
  color: #ffc107;
  transform: scale(1.1);
}

/* Background glow effect */
.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,193,7,0.2), transparent);
  transition: 0.6s;
}

.service-item:hover::before {
  left: 100%;
}

/* Text color change */
.service-item:hover h4,
.service-item:hover p {
  color: #fff;
}

/* Active card special hover */
.service-item.active:hover {
  background: #ffc107 !important;
  color: #fff !important;
}
.service-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-link:hover {
  text-decoration: none;
}
/* ===== CONTACT SECTION HOVER ===== */

/* Form card */
.contact-form {
  transition: all 0.4s ease;
}

.contact-form:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* Input fields */
.contact-form input,
.contact-form textarea {
  transition: all 0.3s ease;
  border: 1px solid #ddd;
}

/* Input hover + focus */
.contact-form input:hover,
.contact-form textarea:hover {
  border-color: #ffc107;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ffc107;
  box-shadow: 0 0 10px rgba(255,193,7,0.3);
  outline: none;
}

/* Button hover */
.contact-form .btn-primary {
  transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
  background: #2B2E4A;
  color: #fff;
  transform: scale(1.05);
}

/* Contact info box */
.contact-info-box {
  transition: all 0.4s ease;
}

.contact-info-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* Icons hover */
.contact-info-box i {
  transition: all 0.3s ease;
}

.contact-info-box:hover i {
  transform: scale(1.1);
  color: #ffc107 !important;
}

/* Links hover */
.contact-info-box a {
  transition: 0.3s;
}

.contact-info-box a:hover {
  color: #ffc107 !important;
  padding-left: 5px;
}

.team-item {
    padding: 30px 30px 0 30px;
    text-align: center;
    background: var(--light);
    transition: .5s;
}

.team-item:hover,
.owl-item.center .team-item {
    background: var(--secondary);
}

.team-item h4 {
    transition: .5s;
}

.owl-item.center .team-item h4,
.owl-item.center .rent-item h4 {
    color: var(--light);
}

.team-item .team-social {
    top: 0;
    left: 0;
    opacity: 0;
    transition: .5s;
    background: var(--light);
}

.owl-item.center .team-item .team-social,
.owl-item.center .rent-item {
    background: var(--secondary);
}

.team-item:hover .team-social {
    opacity: 1;
    background: var(--secondary);
}

.team-carousel .owl-nav,
.related-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 60px;
    top: calc(50% - 30px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next,
.related-carousel .owl-nav .owl-prev,
.related-carousel .owl-nav .owl-next {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 22px;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover,
.related-carousel .owl-nav .owl-prev:hover,
.related-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.vendor-carousel .owl-dots,
.testimonial-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vendor-carousel .owl-dot,
.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--secondary);
    transition: .5s;
}

.vendor-carousel .owl-dot.active,
.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 80px;
    height: 80px;
}

.testimonial-carousel .owl-item .testimonial-item {
    height: 350px;
    transition: .5s;
    background: var(--light);
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--secondary);
}

.testimonial-carousel .owl-item .testimonial-item h1,
.testimonial-carousel .owl-item .testimonial-item h4 {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item h1 {
    color: var(--dark) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item h4 {
    color: var(--light);
}

.bg-banner {
    background: linear-gradient(rgba(28, 30, 50, .7), rgba(28, 30, 50, .7 )), url(../img/IMG_2649.jpg);
    background-attachment: fixed;
    background-size: cover;        /* makes image fill the section */
    background-position: center;   /* keeps image centered */
    background-repeat: no-repeat;  /* prevents repeating */
    width: 100%;
    min-height: 400px;             /* adjust height as needed */
}
