/********** Template CSS **********/
:root {
    --primary: #D81324;
    --secondary: #0B2154;
    --light: #F2F2F2;
    --dark: #111111;
}
/* Visual scale fix for standard look */
/* body {
    zoom: 0.8;
    -moz-transform: scale(0.8);
    -moz-transform-origin: top center;
}

@media (min-width: 1600px) {
    body {
        zoom: 0.85;
        -moz-transform: scale(0.85);
    }
}

@media (max-width: 992px) {
    body {
        zoom: 1;
        -moz-transform: scale(1);
    }
} */

.fw-medium {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    text-transform: uppercase;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF !important;
    font-size: 13px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .7);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(0, 0, 0, .7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Facts ***/
.fact {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-bg-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


/*** Service ***/
.service .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.service .nav .nav-link.active {
    background: var(--primary);
}

.service .nav .nav-link.active h4 {
    color: #FFFFFF !important;
}


/*** Booking ***/
.booking {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-bg-2.jpg) center center no-repeat;
    background-size: cover;
}

.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Team ***/
.team-item .team-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    transform: scale(0);
    transition: .5s;
}

.team-item:hover .team-overlay {
    transform: scale(1);
}

.team-item .team-overlay .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-overlay .btn:hover {
    color: #FFFFFF;
    background: var(--secondary)
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/* Footer v2 — Car Dealer style */
:root{
  --footer-bg: #0b0b0d;
  --footer-text: #cfd2d6;
  --footer-muted: #9aa0a6;
  --footer-line: rgba(255,255,255,.06);
  --accent: rgb(201, 255, 47);
}

.footer-hero {
  position: relative;
  background: var(--footer-bg);
  color: var(--footer-text);
  overflow: hidden;
}
.footer-hero .footer-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .25; filter: saturate(.9) contrast(.9) brightness(.7);
}
.footer-hero::before {
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(244,48,50,.22), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.94) 70%);
  z-index:1;
}
.footer-hero .container { position: relative; z-index: 2; }

/* Top row (logo + socials) */
.footer-top {
  display:flex; align-items:center; justify-content:space-between;
  gap: 16px; padding: 40px 0 20px; border-bottom: 1px solid var(--footer-line);
}
.footer-brand img { height: 60px; width:auto; display:block; }

.footer-social {
  display:flex; gap:12px; flex-wrap:wrap;
}
.footer-social a{
  width:38px;height:38px; line-height:38px; text-align:center;
  border-radius:50%;
  color:#fff; background: rgba(255,255,255,.08);
  transition:.25s ease; font-size:14px;
}
.footer-social a:hover{
  background: var(--accent); transform: translateY(-2px);
}

/* Widgets */
.footer-widgets { padding: 40px 0; }
.footer-title {
  color:#fff; font-size:22px; font-weight:600; margin: 0 0 18px; position:relative; padding-bottom:10px;
}
.footer-title::after{
  content:""; position:absolute; left:0; bottom:0; width:40px; height:2px; background:var(--accent);
}

/* Contact info block */
.footer-about { color: var(--footer-text); }
.footer-about p{ color:#c6c9cc; margin-bottom:18px; }
.contact-list{ list-style:none; padding:0; margin:0; }
.contact-list li{
  display:flex; gap:12px; align-items:flex-start; margin-bottom:12px; color:#d0d3d7;
}
.contact-list i{
  color:var(--accent); margin-top:3px; width:18px; text-align:center;
}

/* Useful links */
.footer-links { list-style:none; padding:0; margin:0; }
.footer-links li{ margin: 10px 0; }
.footer-links a{
  color:#cfd2d6; text-decoration:none; position:relative; transition:.2s;
}
.footer-links a:hover{ color:#fff; }
.footer-links a::before{
  content: "›"; color: var(--accent); margin-right:8px; display:inline-block; transform: translateY(-1px);
}

/* Recent posts */
.recent-post{
  display:flex; gap:12px; align-items:center; padding:10px 0;
  border-bottom:1px solid var(--footer-line);
}
.recent-post:last-child{ border-bottom:0; }
.recent-thumb{
  width:56px; height:56px; flex:0 0 56px; border-radius:6px; overflow:hidden;
  background:#1a1c20;
}
.recent-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.recent-meta{ flex:1; min-width:0; }
.recent-meta a{
  color:#e2e5e9; text-decoration:none; display:block; font-weight:600; line-height:1.25;
}
.recent-meta a:hover{ color:#fff; }
.recent-date{ color:var(--footer-muted); font-size:13px; margin-top:6px; }
.recent-date i{ color:var(--accent); margin-right:6px; }

/* Download app */
.store-note { color:#cfd2d6; margin-bottom:16px; }
.store-badges{ display:flex; flex-direction:column; gap:14px; }
.store-badge{
  display:flex; align-items:center; gap:10px; width:230px; height:64px;
  background:#fff; color:#000; border-radius:12px; padding:0 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  text-decoration:none; transition:.2s;
}
.store-badge:hover{ transform: translateY(-2px); }
.store-badge i{ font-size:28px; }
.badge-text{ line-height:1.1; }
.badge-top{ font-size:12px; color:#5c6064; }
.badge-bottom{ font-size:18px; font-weight:700; color:#121417; }

/* Bottom bar */
.footer-bottom{
  padding: 22px 0; border-top: 1px solid var(--footer-line);
  display:flex; align-items:center; justify-content:space-between; gap: 16px;
}
.footer-bottom p{ margin:0; color:#e3e6ea; }
.policy-links{ list-style:none; display:flex; gap:22px; padding:0; margin:0; }
.policy-links a{ color:#cfd2d6; text-decoration:none; }
.policy-links a:hover{ color:#fff; }

/* Responsive */
@media (max-width: 992px) {
  .footer-top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .store-badges { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 576px) {
  .footer-bottom { flex-direction: column; text-align:center; }
  .policy-links { gap:14px; }
}

/* switch card */

.car-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    flex-wrap: wrap;
}

.car {
    width: 250px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px;
    transition: transform 0.5s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
    position: absolute;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.car-content {
    display: none;
}

.car-contents {
    text-align: center;
}

.car-contents i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #fff;
}

.car-contents h2 {
    color: #fff;
}

.position-0 {
    transform: translateX(-250px) scale(0.9);
    z-index: 1;
}

.position-1 {
    transform: translateX(0) scale(1.2);
    z-index: 3;
    transition: .3s;
    box-shadow: 2px 8px 8px 9px #0000006e;
    border: 1px solid #fff;
}

.position-2 {
    transform: translateX(250px) scale(0.9);
    z-index: 1;
}

.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}


@media (max-width: 768px) {
    .car {
        position: static;
        transform: scale(1);
        width: 100px;
        height: 140px;
    }
}

/* car explore */

.car-card {
    position: relative;
    color: #fff;
    text-align: center;
    border-radius: 15px;
    overflow: hidden;
}
.car-card h2{
    color: #fff !important;
}
.car-card img {
    width: 100%;
    height: 200px;
    border-radius: 15px;
}
.car-body {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background: transparent;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    height: 85%;
}
@media (max-width: 768px) {
    .car-body {
        width: 90%;
        height: 90%;
        padding: 15px;
    }
    .car-card h2 {
        font-size: 1.2rem;
    }
    .car-card p {
        font-size: 0.9rem;
    }
}

/* main background image */
.background-container {
    position: relative;
    width: 100%;
    height: 580px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive background image */
.background-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the entire area */
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1; /* Puts the image behind the content */
}

/* Responsive text content */


/* Responsive typography */
.content h1 {
    font-size: 2rem;
}

.content p {
    font-size: 1rem;
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
    .content {
        padding: 15px;
    }
    .content h1 {
        font-size: 1.5rem;
    }
    .content p {
        font-size: 0.9rem;
    }
}

/* scorlling */
/* scrolling */
.marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: transparent;
  padding: 1px 0;
}

/* full width scroll line */
.marquee__inner {
  display: flex;
  align-items: center;
  gap: 25px;
  width: max-content;
  animation: scroll-left 25s linear infinite;
  will-change: transform;
}

/* 🟢 Hover করলে scroll থেমে যাবে */
.marquee__inner:hover {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% {
    transform: translateX(100vw); /* start off-screen (right) */
  }
  100% {
    transform: translateX(-100%); /* move completely left */
  }
}

.item {
  flex: 0 0 auto;
}

.thumb {
  height: 180px;
  width: auto;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform .3s ease;
}

/* image hover zoom */
.thumb:hover {
  transform: scale(1.05);
}

/* responsive */
@media (max-width: 768px) {
  .thumb {
    height: 100px;
  }
}


:root{
  --accent: rgb(201, 255, 47); /* main color (red fallback) */
  --title: #111827;
  --muted: #6b7280;
  --line: rgba(17, 24, 39, 0.16);
  --radius: 16px;
}

/* Card-style header */
.section-header{
  text-align: center;
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 75%);
  /* border: 1px solid rgba(15,23,42,0.06); */
  /* border-radius: var(--radius); */
  /* box-shadow: 0 10px 26px rgba(15,23,42,0.08); */
  padding: 12px;
  /* max-width: 1120px; */
  /* margin: 28px auto; */
}

/* Title + decorative underline */
.section-header h1{
  color: var(--title);
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 42px);
  margin: 0 0 16px;
  display: inline-block;
  position: relative;
  padding-bottom: 16px;
}

/* long grey line */
.section-header h1::after{
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: min(72vw, 520px);
  height: 2px;
  background: linear-gradient(to right, transparent, var(--line), transparent);
  border-radius: 2px;
}

/* short colored bar */
.section-header h1::before{
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -2px;
  width: 68px;
  height: 4px;
  background: var(--accent);
  border-radius: 3px;
}

/* Subtitle */
.section-header p{
    color: var(--muted);
    font-size: 15px;
    margin: 0px auto 0;
    max-width: 760px;
}
/* Minimal variant (no card) -> just add class="section-header sh-min" */
.section-header.sh-min{
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 10px 0 24px;
  margin: 16px auto;
}

/* Dark mode polish */
@media (prefers-color-scheme: dark){
  :root{
    --title: #e5e7eb;
    --muted: #9aa4b2;
    --line: rgba(226,232,240,0.22);
  }
  .section-header{
    background: linear-gradient(180deg, #0f162a 0%, #0b1220 75%);
    border-color: rgba(148,163,184,0.12);
    box-shadow: 0 12px 34px rgba(0,0,0,.35);
  }
}

/* blog */
.blog {
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    height: 310px;
}
.blog:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #000;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.75rem;
}
.blog-img-top {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.blog-title {
    font-size: 19px;
    padding: 10px;
    color: rgb(201, 255, 47);
}
body {
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  color: #1f2328;
}

/* Optional: subtle card style for sections (if you use .card or .box classes) */
.card, .box, .section-surface {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
/* === Glossy Silver–Black Navbar (keeps logo untouched) === */
.navbar-light.sticky-top {
  top: 0;                        /* ensure it sits at the top */
  position: sticky;
  z-index: 1030;
  color: #fff;

  /* Metallic gradient + depth */
  background: linear-gradient(180deg, #1b1f24 0%, #1b1f24 40%, #1b1f24 75%, #3f444ef0 100%);
  backdrop-filter: saturate(120%) blur(6px);
  box-shadow:
    0 12px 28px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -1px 0 rgba(0,0,0,.55);
}

/* Subtle glossy highlight — by default at the top */
.navbar-light.sticky-top::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 58%;
  background: linear-gradient(to bottom, rgba(255,255,255,.35), rgba(255,255,255,.08) 60%, transparent);
  pointer-events: none;
  z-index: 0;
}
/* Keep navbar content above the gloss layer */
.navbar-light.sticky-top > * {
  position: relative;
  z-index: 1;
}

/* If you prefer the gloss at the bottom, just add class "shade-bottom" to the <nav> */
.navbar-light.sticky-top.shade-bottom::before {
  top: auto; bottom: 0;
  height: 58%;
  background: linear-gradient(to top, rgba(255,255,255,.22), rgba(255,255,255,.06) 60%, transparent);
}

/* Links: crisp white on the dark metallic bar; active/hover uses your --primary */
.navbar-light .navbar-nav .nav-link {
  color: rgb(201, 255, 47) !important;
  font-weight: 600;
  letter-spacing: .02em;
  text-shadow: 0 1px 1px rgba(0,0,0,.35);
}
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: #fff !important;
  text-shadow: 0 0 10px rgba(255,255,255,.12);
}

/* Toggler: make it legible on dark background */
.navbar-light .navbar-toggler {
  border-color: rgba(255,255,255,.35);
}
.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown: keep the overall page light with a bright dropdown */
.navbar-light .dropdown-menu {
  border: 0;
  border-radius: 12px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
  overflow: hidden;
}
.navbar-light .dropdown-item { color: #222; }
.navbar-light .dropdown-item:hover {
  background: linear-gradient(90deg, rgba(0,0,0,.06), transparent);
  color: rgb(201, 255, 47);
}
