:root {
  --brand: #0f766e;
  --brand-dark: #0b4f4a;
  --accent: #f59e0b;
  --text: #1f2937;
  --muted: #6b7280;
  --card-glass: rgba(255, 255, 255, 0.5);
  --nav-glass: rgba(255, 255, 255, 0.64);
  --line: rgba(255, 255, 255, 0.35);
  --shadow-lg: 0 20px 45px rgba(12, 36, 56, 0.16);
  --shadow-md: 0 12px 28px rgba(12, 36, 56, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 15% 10%, #d5f7ef 0%, #f6f9ff 40%, #fef9f3 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body.dark-mode {
  --brand: #34d399;
  --brand-dark: #10b981;
  --accent: #38bdf8;
  --text: #e7eef8;
  --muted: #a8bad2;
  --card-glass: rgba(17, 33, 58, 0.62);
  --nav-glass: rgba(10, 22, 44, 0.82);
  --line: rgba(148, 163, 184, 0.22);
  --shadow-lg: 0 20px 45px rgba(2, 6, 23, 0.45);
  --shadow-md: 0 12px 28px rgba(2, 6, 23, 0.35);
  background: radial-gradient(circle at 12% 8%, #14213f 0%, #0a1630 40%, #050d1d 100%);
}

.bg-shape {
  position: fixed;
  z-index: -1;
  filter: blur(35px);
  border-radius: 50%;
}

.bg-shape-1 {
  width: 280px;
  height: 280px;
  background: rgba(15, 118, 110, 0.2);
  top: 8%;
  left: -70px;
}

.bg-shape-2 {
  width: 320px;
  height: 320px;
  background: rgba(245, 158, 11, 0.18);
  bottom: 6%;
  right: -90px;
}

.page-wrap {
  padding-top: 96px;
}

.glass-nav {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: var(--nav-glass);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-weight: 800;
  color: var(--brand-dark);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  text-decoration: none;
}

.brand-logo:hover {
  color: var(--brand-dark);
}

.site-logo {
  display: block;
  width: auto;
  flex-shrink: 0;
}

.site-logo-header {
  height: 56px;
  max-width: 56px;
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.02;
}

.brand-text span {
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  font-weight: 700;
}

.navbar .nav-link {
  font-weight: 600;
  color: var(--text);
  padding: 0.66rem 0.9rem;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--brand-dark);
  background: rgba(15, 118, 110, 0.09);
}

.navbar-toggler {
  border: 1px solid rgba(17, 24, 39, 0.15);
}

.glass-offcanvas {
  background: rgba(250, 252, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
}

.offcanvas .nav-link {
  display: block;
  margin-bottom: 0.25rem;
}

.theme-toggle-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
  color: var(--text);
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.theme-toggle-btn:hover {
  transform: translateY(-1px);
  background: rgba(15, 118, 110, 0.12);
}

.btn-brand {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-brand:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hero-carousel-wrap {
  width: 100%;
  padding: 0;
  margin-bottom: 2.4rem;
}

#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
  width: 100%;
}

.carousel-slide {
  min-height: clamp(360px, 66vh, 700px);
  display: flex;
  align-items: center;
  padding: clamp(1.8rem, 5vw, 3.8rem) 0;
}

.slide-a {
  background-image: linear-gradient(130deg, rgba(15, 118, 110, 0.72), rgba(10, 70, 92, 0.76)), url("../img/cars/cars/banner1.jpg");
  background-size: cover;
  background-position: center;
}

.slide-b {
  background-image: linear-gradient(130deg, rgba(7, 87, 91, 0.74), rgba(245, 158, 11, 0.7)), url("../img/cars/cars/banner2.jpg");
  background-size: cover;
  background-position: center;
}

.slide-c {
  background-image: linear-gradient(130deg, rgba(17, 94, 89, 0.72), rgba(6, 148, 162, 0.7)), url("../img/cars/cars/banner3.jpg");
  background-size: cover;
  background-position: center;
}

.carousel-content {
  max-width: 730px;
  color: #fff;
}

.carousel-content h2 {
  font-size: clamp(1.8rem, 4.5vw, 3.1rem);
  font-weight: 800;
  margin: 0.85rem 0;
}

.carousel-content p {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.3rem;
  max-width: 680px;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hero {
  padding: 3rem 0;
  margin-bottom: 1.1rem;
}

.hero-banner {
  position: relative;
  min-height: clamp(320px, 54vh, 560px);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  margin-bottom: 2.4rem;
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(6, 16, 28, 0.78), rgba(11, 79, 74, 0.56));
}

body.dark-mode .hero-banner::before {
  background: linear-gradient(120deg, rgba(3, 10, 25, 0.8), rgba(10, 26, 58, 0.58));
}

.hero-banner .container {
  position: relative;
  z-index: 1;
}

.hero-banner h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  margin: 0.9rem 0 0.8rem;
  max-width: 820px;
}

.hero-banner p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 760px;
  margin-bottom: 0;
}

.eyebrow-light {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.hero-home {
  background-image: url("../img/cars/cars/banner1.jpg");
}

.hero-about {
  background-image: url("../img/cars/cars/banner1.jpg");
}

.hero-services {
  background-image: url("../img/cars/cars/banner2.jpg");
}

.hero-cars {
  background-image: url("../img/cars/cars/banner1.jpg");
}

.hero-testimonial {
  background-image: url("../img/cars/cars/banner3.jpg");
}

.hero-contact {
  background-image: url("../img/cars/cars/banner2.jpg");
}

.hero-booking {
  background-image: url("../img/cars/cars/banner3.jpg");
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  box-shadow: var(--shadow-lg);
  padding: 2.2rem;
}

.hero-kicker,
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.hero h1,
.inner-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin: 1rem 0;
}

.hero p,
.inner-hero p {
  color: var(--muted);
  max-width: 760px;
}

.inner-hero {
  padding: 2.1rem 0 2.2rem;
}

.inner-hero-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  padding: 2rem;
}

.section-space {
  padding: 4.5rem 0;
}

.section-space.pt-0 {
  padding-top: 1.2rem !important;
}

.review-section {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.section-heading .section-title {
  font-weight: 800;
  margin-top: 0.85rem;
}

.section-subtitle {
  color: var(--muted);
  max-width: 760px;
  margin: 0.8rem auto 0;
}

.glass-card,
.glass-form,
.feature-box {
  background: var(--card-glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.glass-card:hover,
.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.glass-card,
.feature-box {
  padding: 1.5rem;
}

.image-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.55);
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.image-card:hover img {
  transform: scale(1.04);
}

.car-card {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.car-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.car-media {
  height: 220px;
  background: #fff;
}

.car-media img {
  object-fit: cover;
  padding: 0;
}

.rating-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.rating-stars span {
  color: var(--muted);
  margin-left: 0.3rem;
  font-weight: 600;
}

.gallery-media {
  height: 240px;
}

.about-media {
  height: 260px;
}

.about-collage {
  position: relative;
  min-height: 420px;
  padding-bottom: 70px;
}

.about-media-main {
  height: 360px;
  max-width: 92%;
}

.about-media-sub {
  width: 52%;
  height: 190px;
  position: absolute;
  right: 0;
  bottom: 0;
  border: 3px solid rgba(255, 255, 255, 0.65);
}

.about-stat {
  border-radius: 14px;
  padding: 0.9rem 0.8rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.about-stat h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 0.2rem;
  color: var(--brand-dark);
}

.about-stat p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.about-pill {
  border-top: 4px solid rgba(15, 118, 110, 0.35);
}

.about-values {
  padding: 1.5rem;
}

.service-media {
  height: 185px;
  margin: -1.5rem -1.5rem 1.2rem;
  border-radius: 18px 18px 12px 12px;
}

.about-media-main img,
.about-media-sub img,
.service-media img,
.gallery-media img,
.booking-media img {
  object-fit: cover;
  padding: 0;
  background: transparent;
}

.contact-media {
  height: 320px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-details a {
  color: inherit;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.booking-media {
  height: 340px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, #0f766e, #115e59);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.glass-form {
  padding: 2rem;
}

.form-control,
.form-select {
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  padding: 0.72rem 0.88rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.15);
}

.metric {
  text-align: center;
  padding: 1.25rem;
}

.metric h3 {
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 0.2rem;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #0f766e, #0b4f4a);
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.25s ease;
  z-index: 1040;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-contact {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 1040;
}

.contact-toggle {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #0f766e, #115e59);
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  transition: transform 0.25s ease, background 0.3s ease;
}

.floating-contact.open .contact-toggle {
  background: linear-gradient(145deg, #ef4444, #dc2626);
  transform: rotate(90deg);
}

.floating-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: all 0.28s ease;
}

.floating-contact.open .floating-actions {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-item {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  transform: scale(0.9);
  transition: transform 0.24s ease, filter 0.24s ease;
}

.floating-contact.open .floating-item {
  transform: scale(1);
}

.floating-item:hover {
  filter: brightness(1.06);
  color: #fff;
}

.floating-item:nth-child(1) { background: #0ea5e9; }
.floating-item:nth-child(2) { background: #22c55e; }
.floating-item:nth-child(3) { background: #f97316; }
.floating-item:nth-child(4) { background: #a855f7; }

.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.8rem;
  background: rgba(10, 20, 35, 0.92);
  color: #d8deea;
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.site-logo-footer {
  height: 64px;
  max-width: 64px;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: #d8deea;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.review-carousel .owl-stage {
  display: flex;
}

.review-carousel .owl-item {
  display: flex;
}

.review-carousel .review-item {
  width: 100%;
  background: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 1.8rem;
  border: 1px solid rgba(15, 118, 110, 0.18);
  box-shadow: 0 0 18px rgba(15, 118, 110, 0.1);
}

.review-carousel .owl-dots {
  margin-top: 1.4rem;
}

.review-carousel .owl-dot span {
  width: 9px !important;
  height: 9px !important;
  background: rgba(15, 118, 110, 0.32) !important;
}

.review-carousel .owl-dot.active span {
  background: var(--brand) !important;
}

body.dark-mode .glass-offcanvas {
  background: rgba(7, 18, 38, 0.92);
}

body.dark-mode .site-footer {
  background: rgba(3, 10, 25, 0.96);
}

body.dark-mode .section-space > .container {
  background: linear-gradient(145deg, rgba(10, 22, 44, 0.58), rgba(7, 18, 36, 0.5));
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 20px;
  padding: 1.6rem;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.14);
}

body.dark-mode .review-section {
  background: transparent !important;
}

body.dark-mode .review-section > .container {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.dark-mode .glass-card,
body.dark-mode .feature-box,
body.dark-mode .glass-form,
body.dark-mode .hero-panel,
body.dark-mode .inner-hero-panel,
body.dark-mode .car-card,
body.dark-mode .about-stat,
body.dark-mode .about-values,
body.dark-mode .image-card {
  background: rgba(14, 29, 56, 0.72) !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.14), 0 10px 24px rgba(2, 6, 23, 0.38) !important;
}

body.dark-mode .review-carousel .review-item {
  background: rgba(10, 22, 44, 0.25) !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.16) !important;
}

body.dark-mode .form-control,
body.dark-mode .form-select {
  background-color: rgba(11, 23, 45, 0.86);
  color: #e7eef8;
  border-color: rgba(148, 163, 184, 0.28);
}

body.dark-mode .form-control::placeholder {
  color: #93a8c4;
}

body.dark-mode .btn-outline-dark {
  color: #dbeafe;
  border-color: rgba(219, 234, 254, 0.65);
}

body.dark-mode .btn-outline-dark:hover {
  color: #0b1220;
  background: #dbeafe;
  border-color: #dbeafe;
}

body.dark-mode .navbar .nav-link:hover,
body.dark-mode .navbar .nav-link.active {
  background: rgba(56, 189, 248, 0.16);
}

body.dark-mode .theme-toggle-btn {
  background: rgba(15, 23, 42, 0.58);
}

body.dark-mode .text-body-secondary,
body.dark-mode .small,
body.dark-mode .section-subtitle,
body.dark-mode p {
  color: #a8bad2 !important;
}

@media (max-width: 991.98px) {
  .page-wrap {
    padding-top: 84px;
  }

  .site-logo-header {
    height: 48px;
    max-width: 48px;
  }

  .brand-text {
    font-size: 0.96rem;
  }

  .hero-panel,
  .inner-hero-panel {
    padding: 1.5rem;
  }

  .section-space {
    padding: 3.2rem 0;
  }

  .section-space.pt-0 {
    padding-top: 1rem !important;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }

  .hero-banner {
    min-height: 300px;
    margin-bottom: 1.8rem;
  }

  .gallery-media {
    height: 220px;
  }

  .car-media {
    height: 200px;
  }

  .booking-media {
    height: 300px;
  }

  .about-collage {
    min-height: auto;
    padding-bottom: 0;
  }

  .about-media-main {
    max-width: 100%;
  }

  .about-media-sub {
    position: static;
    width: 100%;
    height: 200px;
    margin-top: 1rem;
    border: 1px solid var(--line);
  }
}

@media (max-width: 575.98px) {
  .carousel-slide {
    min-height: 320px;
  }

  .booking-media {
    height: 240px;
  }

  .site-logo-header {
    height: 42px;
    max-width: 42px;
  }

  .brand-text span {
    font-size: 0.72rem;
  }

  .site-logo-footer {
    height: 56px;
    max-width: 56px;
  }

  .floating-contact {
    left: 12px;
    bottom: 12px;
  }

  .back-to-top {
    right: 12px;
    bottom: 12px;
  }
}
