/* =========================================================
   SSS Relocation Solutions - Main Stylesheet
   ========================================================= */
:root {
  --navy: #1b2a6b;
  --navy-dark: #0e1638;
  --red: #d62828;
  --red-dark: #b01e1e;
  --light: #f5f7fb;
  --text: #4a5068;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(14, 22, 56, 0.08);
  --shadow-lg: 0 20px 50px rgba(14, 22, 56, 0.16);
  --transition: all 0.35s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { max-width: 100%; overflow-x: hidden; }
@supports (overflow-x: clip) {
  html, body { overflow-x: clip; }
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", sans-serif;
  color: var(--navy-dark);
  font-weight: 700;
}

a { text-decoration: none; transition: var(--transition); }

img { max-width: 100%; }

.section { padding: 100px 0; }
.bg-light-soft { background: var(--light); }
.text-red { color: var(--red) !important; }
.text-navy { color: var(--navy) !important; }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader img { width: 220px; animation: pulse 1.4s ease-in-out infinite; }
#preloader .bar {
  width: 160px; height: 4px; background: #e6e9f2; border-radius: 4px; overflow: hidden; position: relative;
}
#preloader .bar::after {
  content: ""; position: absolute; left: -40%; width: 40%; height: 100%;
  background: linear-gradient(90deg, var(--navy), var(--red));
  animation: loading 1.1s ease-in-out infinite;
}
#preloader.hide { opacity: 0; visibility: hidden; }
@keyframes pulse { 50% { transform: scale(1.05); } }
@keyframes loading { to { left: 100%; } }

/* ---------- Buttons ---------- */
.btn-brand {
  background: var(--red);
  color: #fff;
  border: 2px solid var(--red);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  transition: var(--transition);
  box-shadow: 0 8px 20px rgba(214, 40, 40, 0.3);
}
.btn-brand:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; transform: translateY(-3px); }

.btn-outline-light-brand {
  border: 2px solid #fff;
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
}
.btn-outline-light-brand:hover { background: #fff; color: var(--navy); transform: translateY(-3px); }

.btn-navy {
  background: var(--navy);
  color: #fff;
  border-radius: 50px;
  padding: 10px 26px;
  font-weight: 600;
}
.btn-navy:hover { background: var(--red); color: #fff; }

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--navy-dark);
  color: #cfd5ea;
  font-size: 0.875rem;
  padding: 8px 0;
}
.top-bar a { color: #cfd5ea; }
.top-bar a:hover { color: #fff; }
.top-bar .info span { margin-right: 22px; }
.top-bar .info i { color: var(--red); margin-right: 6px; }
.top-bar .social a {
  display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255, 255, 255, 0.08); margin-left: 6px;
}
.top-bar .social a:hover { background: var(--red); }

/* ---------- Navbar ---------- */
.navbar-main {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(14, 22, 56, 0.06);
  padding: 12px 0;
  transition: var(--transition);
  z-index: 1030;
}
.navbar-main .navbar-brand img { height: 74px; transition: var(--transition); }
.navbar-main.scrolled { padding: 6px 0; box-shadow: 0 8px 30px rgba(14, 22, 56, 0.12); }
.navbar-main.scrolled .navbar-brand img { height: 58px; }

.navbar-main .nav-link {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: var(--navy-dark);
  padding: 10px 16px !important;
  position: relative;
}
.navbar-main .nav-link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--red); transform: scaleX(0); transition: transform 0.3s ease; transform-origin: left;
}
.navbar-main .nav-link:hover,
.navbar-main .nav-link.active { color: var(--red); }
.navbar-main .nav-link:hover::after,
.navbar-main .nav-link.active::after { transform: scaleX(1); }

.navbar-main .dropdown-menu {
  border: none; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 10px; min-width: 280px;
}
.navbar-main .dropdown-item { border-radius: 8px; padding: 9px 14px; font-weight: 500; color: var(--navy-dark); }
.navbar-main .dropdown-item i { color: var(--red); margin-right: 8px; }
.navbar-main .dropdown-item:hover { background: var(--light); color: var(--red); padding-left: 20px; }
@media (min-width: 992px) {
  .navbar-main .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
  .navbar-main .offcanvas-body { flex-grow: 1; }
  .navbar-main .nav-icon { display: none; }
}
.navbar-toggler { border: none; box-shadow: none !important; }

/* ---------- Hero ---------- */
.hero .carousel-item {
  height: 88vh;
  min-height: 600px;
  position: relative;
}
.hero .carousel-item img {
  width: 100%; height: 100%; object-fit: cover; transform: scale(1.08);
  transition: transform 7s ease;
}
.hero .carousel-item.active img { transform: scale(1); }
.hero .carousel-item::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(14, 22, 56, 0.94) 0%, rgba(27, 42, 107, 0.75) 50%, rgba(27, 42, 107, 0.25) 100%);
}
.hero .hero-caption {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; color: #fff;
}
.hero .hero-caption .tag {
  display: inline-block; background: rgba(214, 40, 40, 0.18); border: 1px solid rgba(214, 40, 40, 0.6);
  color: #fff; padding: 6px 18px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero h1 span { color: var(--red); }
.hero p.lead { color: #dfe3f3; max-width: 560px; margin-bottom: 32px; }
.hero .carousel-item.active .hero-caption .anim { animation: fadeUp 0.9s ease both; }
.hero .carousel-item.active .hero-caption .anim:nth-child(2) { animation-delay: 0.15s; }
.hero .carousel-item.active .hero-caption .anim:nth-child(3) { animation-delay: 0.3s; }
.hero .carousel-item.active .hero-caption .anim:nth-child(4) { animation-delay: 0.45s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.hero .carousel-indicators { z-index: 3; margin-bottom: 40px; }
.hero .carousel-indicators [data-bs-target] { width: 34px; height: 4px; border-radius: 4px; background: #fff; }
.hero .carousel-indicators .active { background: var(--red); }

/* Quote card overlapping hero */
.quote-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 32px;
  border-top: 5px solid var(--red);
}
.quote-card h4 { margin-bottom: 4px; }
.quote-card .form-control,
.quote-card .form-select,
.form-brand .form-control,
.form-brand .form-select {
  border-radius: 10px; padding: 12px 16px; border: 1px solid #e1e5f0; background: var(--light);
}
.quote-card .form-control:focus,
.quote-card .form-select:focus,
.form-brand .form-control:focus,
.form-brand .form-select:focus {
  border-color: var(--navy); box-shadow: 0 0 0 0.2rem rgba(27, 42, 107, 0.12); background: #fff;
}
@media (min-width: 1200px) {
  .hero .carousel-item { min-height: 720px; }
}

/* ---------- Section Title ---------- */
.section-title { margin-bottom: 55px; }
.section-title .subtitle {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--red); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 0.85rem;
  margin-bottom: 10px;
}
.section-title .subtitle::before { content: ""; width: 30px; height: 2px; background: var(--red); }
.section-title h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }
.section-title h2 span { color: var(--red); }
.section-title.text-center .subtitle::after { content: ""; width: 30px; height: 2px; background: var(--red); }
.section-title p { max-width: 640px; }
.section-title.text-center p { margin: 12px auto 0; }

/* ---------- Feature strip ---------- */
.feature-strip { margin-top: -70px; position: relative; z-index: 6; }
.feature-box {
  background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
  display: flex; gap: 18px; align-items: flex-start; height: 100%; transition: var(--transition);
}
.feature-box:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.feature-box .icon {
  flex-shrink: 0; width: 60px; height: 60px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy), #2c3f94); color: #fff; font-size: 1.6rem;
}
.feature-box:hover .icon { background: linear-gradient(135deg, var(--red), #ef4444); }
.feature-box h5 { margin-bottom: 4px; font-size: 1.1rem; }
.feature-box p { margin: 0; font-size: 0.92rem; }

/* ---------- About ---------- */
.about-img-wrap { position: relative; padding: 0 40px 40px 0; }
.about-img-wrap .img-main { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: 520px; object-fit: cover; }
.about-img-wrap .img-small {
  position: absolute; right: 0; bottom: 0; width: 46%; height: 260px; object-fit: cover;
  border-radius: var(--radius); border: 8px solid #fff; box-shadow: var(--shadow-lg);
}
.about-img-wrap .exp-badge {
  position: absolute; left: -20px; top: 40px; background: var(--red); color: #fff; padding: 22px 26px;
  border-radius: var(--radius); box-shadow: 0 15px 35px rgba(214, 40, 40, 0.35); text-align: center;
  animation: float 4s ease-in-out infinite;
}
.about-img-wrap .exp-badge strong { display: block; font-family: "Poppins", sans-serif; font-size: 2.6rem; line-height: 1; }
.about-img-wrap .exp-badge span { font-size: 0.85rem; font-weight: 600; }
@keyframes float { 50% { transform: translateY(-14px); } }

.check-list { list-style: none; padding: 0; margin: 24px 0; }
.check-list li { padding: 7px 0 7px 34px; position: relative; font-weight: 500; color: var(--navy-dark); }
.check-list li::before {
  content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 7px;
  width: 22px; height: 22px; background: rgba(214, 40, 40, 0.1); color: var(--red); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 0.95rem;
}

.mini-stat {
  display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 14px; background: var(--light);
}
.mini-stat i { font-size: 2rem; color: var(--red); }
.mini-stat h6 { margin: 0; font-size: 1rem; }
.mini-stat small { color: var(--text); }

/* ---------- Counters ---------- */
.counter-section {
  background: linear-gradient(rgba(14, 22, 56, 0.92), rgba(27, 42, 107, 0.92)), url("../images/hero/hero-3.jpg") center/cover fixed;
  color: #fff; padding: 80px 0;
}
.counter-box { text-align: center; padding: 20px; }
.counter-box i {
  font-size: 2.4rem; color: var(--red); background: rgba(255, 255, 255, 0.08); width: 84px; height: 84px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.counter-box h3 { color: #fff; font-size: 2.8rem; font-weight: 800; margin-bottom: 4px; }
.counter-box p { color: #cfd5ea; margin: 0; font-weight: 500; }

/* ---------- Service Cards ---------- */
.service-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  height: 100%; transition: var(--transition); display: flex; flex-direction: column;
}
.service-card .img-wrap { position: relative; height: 220px; overflow: hidden; }
.service-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card .icon {
  position: absolute; left: 24px; bottom: -28px; z-index: 2; width: 60px; height: 60px; border-radius: 14px;
  background: var(--red); color: #fff; font-size: 1.6rem; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 20px rgba(214, 40, 40, 0.35); transition: var(--transition);
}
.service-card .body { padding: 44px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.service-card h5 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { font-size: 0.93rem; flex: 1; }
.service-card .read-more { color: var(--navy); font-weight: 600; font-family: "Poppins", sans-serif; }
.service-card .read-more i { transition: var(--transition); display: inline-block; }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.service-card:hover .img-wrap img { transform: scale(1.1); }
.service-card:hover .icon { background: var(--navy); transform: rotateY(180deg); }
.service-card:hover .read-more { color: var(--red); }
.service-card:hover .read-more i { transform: translateX(6px); }
.service-card .img-wrap { overflow: visible; }
.service-card .img-wrap .clip { position: absolute; inset: 0; overflow: hidden; }
.service-card .img-wrap .clip::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 22, 56, 0.6), transparent 60%);
}

/* ---------- Process ---------- */
.process-wrap { position: relative; }
.process-wrap::before {
  content: ""; position: absolute; top: 60px; left: 12%; right: 12%; border-top: 2px dashed rgba(27, 42, 107, 0.25);
}
.process-step { text-align: center; position: relative; padding: 0 10px; }
.process-step .circle {
  width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 24px; background: #fff; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center; position: relative; transition: var(--transition);
}
.process-step .circle img { width: 48px; height: 48px; object-fit: contain; transition: var(--transition); }
.process-step .num {
  position: absolute; top: 0; right: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff;
  font-weight: 700; display: flex; align-items: center; justify-content: center; font-family: "Poppins", sans-serif;
  border: 3px solid #fff;
}
.process-step:hover .circle { background: var(--navy); transform: translateY(-8px); }
.process-step:hover .circle img { filter: brightness(0) invert(1); }
.process-step h5 { font-size: 1.15rem; }
.process-step p { font-size: 0.92rem; }

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--red) 0%, #a61b1b 100%); color: #fff; padding: 70px 0; position: relative; overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.07);
}
.cta-band::before { width: 400px; height: 400px; right: -100px; top: -180px; }
.cta-band::after { width: 260px; height: 260px; left: -80px; bottom: -140px; }
.cta-band h2 { color: #fff; font-weight: 800; }
.cta-band p { color: #ffe1e1; }
.cta-band .btn-light { border-radius: 50px; padding: 13px 32px; font-weight: 700; color: var(--red); }
.cta-band .btn-light:hover { background: var(--navy-dark); color: #fff; }

/* ---------- Clients marquee ---------- */
.clients-marquee { overflow: hidden; position: relative; padding: 10px 0; }
.clients-marquee::before, .clients-marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
}
.clients-marquee::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.clients-marquee::after { right: 0; background: linear-gradient(-90deg, #fff, transparent); }
.clients-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.clients-marquee:hover .clients-track { animation-play-state: paused; }
.client-logo {
  width: 220px; height: 110px; margin: 0 15px; background: #fff; border-radius: 14px; border: 1px solid #edf0f7;
  display: flex; align-items: center; justify-content: center; padding: 10px;
}
.client-logo img { max-height: 80px; filter: grayscale(1); opacity: 0.7; transition: var(--transition); mix-blend-mode: multiply; }
.client-logo:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); position: relative; max-width: 820px; margin: 0 auto;
}
.testimonial-card .quote-icon {
  position: absolute; top: -26px; left: 40px; width: 56px; height: 56px; border-radius: 50%; background: var(--red);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.testimonial-card p { font-size: 1.08rem; font-style: italic; color: var(--navy-dark); }
.testimonial-card .stars { color: #f5b301; margin-bottom: 14px; }
.testimonial-card .author { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.testimonial-card .avatar {
  width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--red));
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem;
  font-family: "Poppins", sans-serif;
}
.testimonial-card h6 { margin: 0; }
.testimonial-card small { color: var(--red); font-weight: 600; }
#testimonialCarousel .carousel-indicators { position: static; margin-top: 30px; }
#testimonialCarousel .carousel-indicators [data-bs-target] {
  width: 12px; height: 12px; border-radius: 50%; background: var(--navy); opacity: 0.3; border: none;
}
#testimonialCarousel .carousel-indicators .active { opacity: 1; background: var(--red); width: 30px; border-radius: 10px; }
#testimonialCarousel .carousel-item { padding-top: 30px; }

/* ---------- Page Banner ---------- */
.page-banner {
  position: relative; padding: 130px 0 110px; color: #fff; background-size: cover; background-position: center; text-align: center;
}
.page-banner::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(14, 22, 56, 0.95), rgba(27, 42, 107, 0.78));
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
.page-banner .breadcrumb { justify-content: center; margin: 0; }
.page-banner .breadcrumb-item, .page-banner .breadcrumb-item a { color: #cfd5ea; font-weight: 500; }
.page-banner .breadcrumb-item a:hover { color: #fff; }
.page-banner .breadcrumb-item.active { color: var(--red); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: #cfd5ea; }
.wave-bottom { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; z-index: 1; }
.wave-bottom svg { width: 100%; height: 60px; }

/* ---------- Value cards (about) ---------- */
.value-card {
  background: #fff; border-radius: var(--radius); padding: 36px 30px; box-shadow: var(--shadow); height: 100%;
  border-bottom: 4px solid transparent; transition: var(--transition); text-align: center;
}
.value-card .icon {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 20px; background: rgba(214, 40, 40, 0.1); color: var(--red);
  display: flex; align-items: center; justify-content: center; font-size: 2rem; transition: var(--transition);
}
.value-card:hover { transform: translateY(-8px); border-color: var(--red); box-shadow: var(--shadow-lg); }
.value-card:hover .icon { background: var(--red); color: #fff; }

.why-item { display: flex; gap: 16px; margin-bottom: 26px; }
.why-item .icon {
  flex-shrink: 0; width: 54px; height: 54px; border-radius: 12px; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; transition: var(--transition);
}
.why-item:hover .icon { background: var(--red); transform: rotate(-8deg); }
.why-item h5 { font-size: 1.08rem; margin-bottom: 4px; }
.why-item p { margin: 0; font-size: 0.93rem; }

/* ---------- Services detail (services page) ---------- */
.service-detail { padding: 70px 0; scroll-margin-top: 100px; }
.service-detail + .service-detail { border-top: 1px solid #edf0f7; }
.service-detail .img-box { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.service-detail .img-box img { width: 100%; height: 400px; object-fit: cover; transition: transform 0.7s ease; }
.service-detail .img-box:hover img { transform: scale(1.06); }
.service-detail .img-box .num-badge {
  position: absolute; top: 20px; left: 20px; background: var(--red); color: #fff; font-family: "Poppins", sans-serif;
  font-weight: 800; font-size: 1.4rem; width: 60px; height: 60px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
}
.service-detail .icon-tag {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(27, 42, 107, 0.08); color: var(--navy);
  padding: 6px 16px; border-radius: 50px; font-weight: 600; font-size: 0.85rem; margin-bottom: 14px;
}
.service-detail h3 { font-size: 1.9rem; font-weight: 800; }

.service-nav { position: sticky; top: 90px; z-index: 10; background: #fff; box-shadow: var(--shadow); border-radius: 50px; padding: 8px; }
.service-nav .nav-link {
  border-radius: 50px; color: var(--navy-dark); font-weight: 600; font-size: 0.88rem; padding: 8px 16px; white-space: nowrap;
}
.service-nav .nav-link:hover, .service-nav .nav-link.active { background: var(--red); color: #fff; }
.service-nav .nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.service-nav .nav::-webkit-scrollbar { display: none; }

/* ---------- Gallery ---------- */
.filter-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 45px; }
.filter-btns button {
  border: 2px solid #e1e5f0; background: #fff; color: var(--navy-dark); padding: 9px 24px; border-radius: 50px;
  font-weight: 600; font-family: "Poppins", sans-serif; transition: var(--transition);
}
.filter-btns button:hover, .filter-btns button.active { background: var(--red); border-color: var(--red); color: #fff; }
.gallery-grid { columns: 4 260px; column-gap: 20px; }
.gallery-item {
  break-inside: avoid; margin-bottom: 20px; border-radius: 14px; overflow: hidden; position: relative; cursor: pointer;
  box-shadow: var(--shadow); transition: opacity 0.4s ease, transform 0.4s ease;
}
.gallery-item img { width: 100%; display: block; transition: transform 0.6s ease; }
.gallery-item .overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 22, 56, 0.9), rgba(27, 42, 107, 0.2));
  display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; opacity: 0; transition: var(--transition);
}
.gallery-item .overlay i {
  width: 54px; height: 54px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; transform: scale(0.5); transition: var(--transition);
}
.gallery-item .overlay span { margin-top: 10px; font-weight: 600; text-transform: capitalize; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item:hover .overlay i { transform: scale(1); }
.gallery-item.hide { display: none; }

.lightbox {
  position: fixed; inset: 0; background: rgba(8, 12, 32, 0.95); z-index: 2000; display: none; align-items: center; justify-content: center;
}
.lightbox.show { display: flex; animation: fadeIn 0.3s ease; }
.lightbox img { max-width: 88vw; max-height: 82vh; border-radius: 12px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }
.lightbox button {
  position: absolute; background: rgba(255, 255, 255, 0.1); border: none; color: #fff; width: 54px; height: 54px; border-radius: 50%;
  font-size: 1.4rem; transition: var(--transition);
}
.lightbox button:hover { background: var(--red); }
.lightbox .lb-close { top: 24px; right: 24px; }
.lightbox .lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 24px; color: #cfd5ea; font-weight: 600; }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- Vehicles ---------- */
.vehicle-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; height: 100%; transition: var(--transition);
  display: flex; flex-direction: column;
}
.vehicle-card .img-wrap {
  background: linear-gradient(135deg, #eef1f8, #fff); height: 230px; display: flex; align-items: center; justify-content: center;
  padding: 20px; position: relative; overflow: hidden;
}
.vehicle-card .img-wrap img { max-height: 190px; object-fit: contain; transition: transform 0.6s ease; mix-blend-mode: multiply; }
.vehicle-card .img-wrap.photo { padding: 0; }
.vehicle-card .img-wrap.photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; mix-blend-mode: normal; }
.vehicle-card .badge-type {
  position: absolute; top: 16px; left: 16px; background: var(--red); color: #fff; padding: 5px 14px; border-radius: 50px;
  font-size: 0.78rem; font-weight: 600; z-index: 2;
}
.vehicle-card .body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.vehicle-card h5 { font-size: 1.2rem; }
.vehicle-card .specs { list-style: none; padding: 0; margin: 14px 0 20px; flex: 1; }
.vehicle-card .specs li {
  display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed #e1e5f0; font-size: 0.92rem;
}
.vehicle-card .specs li span:first-child { color: var(--text); }
.vehicle-card .specs li span:first-child i { color: var(--red); margin-right: 6px; }
.vehicle-card .specs li span:last-child { font-weight: 600; color: var(--navy-dark); }
.vehicle-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.vehicle-card:hover .img-wrap img { transform: scale(1.08) translateX(8px); }

/* ---------- Contact ---------- */
.contact-info-card {
  background: #fff; border-radius: var(--radius); padding: 36px 28px; text-align: center; box-shadow: var(--shadow); height: 100%;
  transition: var(--transition); position: relative; overflow: hidden;
}
.contact-info-card::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 0; background: linear-gradient(135deg, var(--navy), #2c3f94);
  transition: height 0.4s ease; z-index: 0;
}
.contact-info-card > * { position: relative; z-index: 1; }
.contact-info-card .icon {
  width: 74px; height: 74px; border-radius: 50%; background: rgba(214, 40, 40, 0.1); color: var(--red); margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem; transition: var(--transition);
}
.contact-info-card a { color: var(--text); }
.contact-info-card:hover::before { height: 100%; }
.contact-info-card:hover h5, .contact-info-card:hover p, .contact-info-card:hover a { color: #fff; }
.contact-info-card:hover .icon { background: var(--red); color: #fff; }

.contact-form-wrap { background: #fff; border-radius: var(--radius); padding: 44px; box-shadow: var(--shadow-lg); }
.contact-side {
  background: linear-gradient(160deg, var(--navy-dark), var(--navy)); color: #cfd5ea; border-radius: var(--radius); padding: 44px; height: 100%;
}
.contact-side h3 { color: #fff; }
.contact-side .item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-side .item i {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); color: var(--red);
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
}
.contact-side .item h6 { color: #fff; margin-bottom: 2px; }
.contact-side a { color: #cfd5ea; }
.contact-side a:hover { color: #fff; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-dark); color: #aab2cf; padding-top: 80px; position: relative; }
.footer .footer-logo { background: #fff; display: inline-block; padding: 10px 16px; border-radius: 12px; margin-bottom: 20px; }
.footer .footer-logo img { height: 56px; }
.footer h5 { color: #fff; margin-bottom: 24px; position: relative; padding-bottom: 12px; }
.footer h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--red); border-radius: 3px; }
.footer a { color: #aab2cf; }
.footer a:hover { color: #fff; }
.footer .links { list-style: none; padding: 0; }
.footer .links li { margin-bottom: 10px; }
.footer .links a i { color: var(--red); font-size: 0.75rem; margin-right: 8px; transition: var(--transition); }
.footer .links a:hover i { margin-right: 12px; }
.footer .contact-list { list-style: none; padding: 0; }
.footer .contact-list li { display: flex; gap: 12px; margin-bottom: 16px; }
.footer .contact-list i { color: var(--red); font-size: 1.1rem; margin-top: 2px; }
.footer .social a {
  display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.07); align-items: center;
  justify-content: center; margin-right: 8px; color: #fff;
}
.footer .social a:hover { background: var(--red); transform: translateY(-4px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 22px 0; margin-top: 50px; font-size: 0.9rem; }

/* ---------- Floating buttons ---------- */
.float-btns a {
  position: fixed; bottom: 22px; z-index: 1050;
  width: 54px; height: 54px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.float-btns .wa { right: 22px; background: #25d366; }
.float-btns .call { left: 22px; background: var(--red); }
.float-btns a::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; z-index: -1; animation: ripple 1.8s ease-out infinite;
}
.float-btns a:hover { transform: scale(1.1); color: #fff; }
@keyframes ripple { to { transform: scale(1.7); opacity: 0; } }

#backToTop {
  position: fixed; right: 25px; bottom: 90px; z-index: 1050; width: 48px; height: 48px; border-radius: 12px; border: none;
  background: var(--navy); color: #fff; font-size: 1.3rem; opacity: 0; visibility: hidden; transform: translateY(20px); transition: var(--transition);
}
#backToTop.show { opacity: 1; visibility: visible; transform: none; }
#backToTop:hover { background: var(--red); }

/* ---------- Modal ---------- */
.modal-content { border: none; border-radius: var(--radius); overflow: hidden; }
.modal-header.brand { background: linear-gradient(120deg, var(--navy-dark), var(--navy)); color: #fff; border: none; }
.modal-header.brand .modal-title { color: #fff; }

/* ---------- Accordion ---------- */
.accordion-button { font-family: "Poppins", sans-serif; color: var(--navy-dark); padding: 18px 22px; }
.accordion-button:not(.collapsed) { background: var(--navy); color: #fff; box-shadow: none; }
.accordion-button:not(.collapsed)::after { filter: brightness(0) invert(1); }
.accordion-button:focus { box-shadow: none; }

/* ---------- Toast ---------- */
.toast-brand { background: var(--navy-dark); color: #fff; border-left: 5px solid #25d366; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .section { padding: 75px 0; }
  .navbar-main { backdrop-filter: none; background: #fff; }
  .navbar-main.menu-open { z-index: 1050; }
  .navbar-main .offcanvas {
    width: min(320px, 85vw); border-left: none; box-shadow: -10px 0 40px rgba(14, 22, 56, 0.2);
  }
  .navbar-main .offcanvas-header { padding: 18px 20px; border-bottom: 1px solid #eef0f5; }
  .navbar-main .offcanvas-header img { height: 72px; width: auto; max-width: 210px; object-fit: contain; }
  .navbar-main .offcanvas-body { display: flex; flex-direction: column; padding: 14px 16px 24px; }
  .navbar-main .navbar-nav { margin-left: 0 !important; width: 100%; align-items: stretch !important; gap: 4px; }
  .navbar-main .nav-item { margin: 0 !important; }
  .navbar-main .nav-link {
    display: flex; align-items: center; border-radius: 10px; padding: 12px 14px !important; font-size: 1rem;
  }
  .navbar-main .nav-link.dropdown-toggle::after { margin-left: auto; }
  .navbar-main .nav-link.active, .navbar-main .nav-link:hover { background: var(--light); }
  .navbar-main .nav-icon { color: var(--red); font-size: 1.15rem; width: 26px; margin-right: 12px; text-align: center; }
  .navbar-main .nav-item .btn {
    width: 100%; margin-top: 12px; padding: 12px 16px !important; font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
  }
  .navbar-main .nav-item .btn .nav-icon { color: #fff; width: auto; margin-right: 8px; }
  body.menu-open .float-btns, body.menu-open #backToTop { display: none; }
  .navbar-main .nav-link::after { display: none; }
  .navbar-main .dropdown-menu { box-shadow: none; background: var(--light); min-width: 0; width: 100%; padding: 6px; overflow: hidden; }
  .navbar-main .dropdown-item {
    display: flex; align-items: flex-start; white-space: normal; line-height: 1.4; padding: 9px 10px;
  }
  .navbar-main .dropdown-item i { flex: 0 0 18px; margin-right: 10px; margin-top: 2px; text-align: center; }
  .navbar-main .dropdown-item:hover { padding-left: 14px; }
  .offcanvas-contact {
    margin-top: auto; padding-top: 20px; border-top: 1px solid #eef0f5;
    display: flex; flex-direction: column; gap: 10px;
  }
  .offcanvas-contact a { color: var(--navy-dark); font-weight: 500; font-size: 0.95rem; }
  .offcanvas-contact a:hover { color: var(--red); }
  .offcanvas-contact i { color: var(--red); margin-right: 10px; }
  .process-wrap::before { display: none; }
  .hero .carousel-item { height: 75vh; min-height: 520px; }
  .about-img-wrap { padding: 0 20px 20px 0; margin-bottom: 30px; }
  .about-img-wrap .img-main { height: 420px; }
  .about-img-wrap .exp-badge { left: 10px; }
  .feature-strip { margin-top: -50px; }
  .counter-section { background-attachment: scroll; }
  .service-nav { border-radius: 14px; top: 76px; }
}
@media (max-width: 575.98px) {
  .top-bar { display: none; }
  .navbar-main .navbar-brand img { height: 62px; }
  .hero .carousel-control-prev, .hero .carousel-control-next { display: none; }
  .hero h1 { font-size: 1.9rem; }
  .hero p.lead { font-size: 1rem; margin-bottom: 24px; }
  .hero .btn { padding: 10px 20px; font-size: 0.9rem; }
  .contact-form-wrap, .contact-side { padding: 28px; }
  .testimonial-card { padding: 34px 24px; }
  .service-detail .img-box img { height: 280px; }
  .about-img-wrap .img-small { display: none; }
  .about-img-wrap { padding: 0; }
}
