/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.6),
      rgba(140, 110, 200, 0.35),
      rgba(60, 40, 110, 0.6)
    ),
    url("images/Website_Background.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #1f2937;
}

/* NAVBAR */
.navbar {
  background: #f1f1f1 !important;
  min-height: 85px;
  z-index: 9999;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.navbar .container {
  display: flex;
  align-items: center;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.logo {
  height: 65px;
  width: auto;
}

.nav-link {
  color: #2c1848 !important;
  font-weight: 700;
  margin-left: 1rem;
}

.nav-link:hover {
  color: #7a4db3 !important;
}

.navbar .quote-link {
  background: #7a4db3 !important;
  color: #ffffff !important;
  border-radius: 999px;
  padding: 0.6rem 1.2rem !important;
  margin-left: 1rem;
  box-shadow: 0 8px 18px rgba(122, 77, 179, 0.25);
}

.navbar .quote-link:hover {
  background: #2c1848 !important;
  color: #ffffff !important;
}

.navbar-toggler {
  border: 2px solid #2c1848;
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* HERO */
main {
  padding-top: 85px;
}

.hero {
  max-width: 1180px;
  min-height: auto;
  margin: 1rem auto 1.5rem auto;
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-content {
  background: rgba(40, 30, 70, 0.45);
  padding: 1.5rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  color: #ffffff;
}

.eyebrow {
  color: #7a4db3;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.hero-content .eyebrow {
  color: #c9b4ee;
}

h1 {
  font-size: 2.8rem;
  font-weight: 900;
  margin: 0.8rem 0;
}

.subtitle {
  font-size: 1.1rem;
  color: #f2edf8;
}

.trust-badge {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: #eee8f7;
}

/* BUTTONS */
.hero-buttons {
  margin-top: 1.2rem;
  display: flex;
  gap: 1rem;
}

.primary-btn,
.secondary-btn {
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.primary-btn {
  background: #7a4db3;
  color: white;
}

.secondary-btn {
  border: 1px solid white;
  color: white;
}

.primary-btn:hover,
.secondary-btn:hover {
  opacity: 0.9;
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
}

/* BANNER */
.brand-banner {
  max-width: 1050px;
  margin: 1.5rem auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.brand-banner img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

/* SECTIONS */
section {
  background: rgba(255,255,255,0.9);
  max-width: 1050px;
  margin: 1.5rem auto;
  padding: 2rem 1.5rem;
  border-radius: 20px;
}

.section-heading {
  text-align: center;
  margin-bottom: 1.5rem;
}

h2 {
  color: #2c1848;
  font-weight: 900;
}

section p {
  line-height: 1.7;
}

/* CARDS */
.service-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card,
.contact-card {
  background: #f8f6fb;
  padding: 1.5rem;
  border-radius: 12px;
}

.service-card h3,
.contact-card h3,
.step-card h3 {
  color: #2c1848;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.contact-card {
  text-align: center;
}

.contact-card a {
  color: #7a4db3;
  font-weight: 700;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* LIST GRID */
.list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.list-grid div {
  background: #f8f6fb;
  border-radius: 12px;
  padding: 1rem;
  font-weight: 700;
  color: #2c1848;
}

/* HOW IT WORKS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.step-card {
  background: #f8f6fb;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
}

.step-card span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #7a4db3;
  color: white;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-weight: 900;
  margin-bottom: 0.8rem;
}

/* FLEET */
.fleet-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.authority {
  background: #f8f6fb;
  border-left: 5px solid #7a4db3;
  padding: 1rem;
  border-radius: 12px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.spec-grid div {
  background: #2c1848;
  color: white;
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
}

.spec-grid strong {
  display: block;
  color: #c9b4ee;
  font-size: 1.3rem;
}

.spec-grid span {
  font-size: 0.9rem;
}

/* CAROUSEL */
.carousel-wrapper {
  max-width: 1050px;
  margin: 1.5rem auto;
}

.carousel {
  border-radius: 20px;
  overflow: hidden;
}

.carousel-inner img {
  height: 400px;
  object-fit: cover;
}

/* FORM */
form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 700px;
  margin: auto;
}

label {
  font-weight: 700;
  color: #2c1848;
}

input,
textarea,
select {
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid #ccc;
}

button {
  background: #7a4db3;
  color: white;
  padding: 0.8rem;
  border-radius: 999px;
  border: none;
  font-weight: 700;
}

button:hover {
  background: #2c1848;
}

/* SUCCESS POPUP */
#form-success {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: green;
  color: white;
  padding: 1rem;
  border-radius: 10px;
  z-index: 9999;
}

#form-success.show {
  display: block;
}

/* STICKY CALL BUTTON */
.call-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #7a4db3;
  color: white;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  z-index: 9998;
  box-shadow: 0 8px 18px rgba(122, 77, 179, 0.35);
}

.call-button:hover {
  background: #2c1848;
  color: white;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 2rem;
}

.footer-logo img {
  max-width: 160px;
  margin-bottom: 1rem;
}

footer p {
  font-weight: 700;
  color: #2c1848;
}

/* MOBILE */
@media (max-width: 900px) {
  .hero,
  .fleet-layout,
  .service-grid,
  .contact-grid,
  .list-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    margin: 1rem;
    padding: 1.25rem;
    text-align: center;
  }

  .hero-content {
    padding: 1.25rem;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  section,
  .brand-banner {
    margin: 1.25rem 1rem;
  }

  .carousel-inner img {
    height: 250px;
  }

  .call-button {
    left: 50%;
    transform: translateX(-50%);
  }
}