@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
/* =========================================================
   1) Root & Base
   ========================================================= */
:root {
  --nav-height: 80px;
  --dark-blue: #093455;
  --text-light: #ffffff;
  --text-dark: #333333;
  --main-blue: #577fba;
  --light-blue: #3971b5;
  --radius: 1.125rem;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: "Lato", sans-serif;
  color: var(--text-dark);
  background-color: #f5f5f5;
}

section {
  background-color: #f5f5f5;
}
strong {
  font-weight: 600;
}
a {
  color: inherit;
}

/* Layout containers */
.container {
  max-width: 1240px;
}
.section-wrapper {
  max-width: 1240px;
  padding: 40px 20px 20px;
  margin: 0 auto;
}

/* =========================================================
   2) Typography Helpers (used in page)
   ========================================================= */
.title {
  color: var(--dark-blue);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  font-size: 1.75rem;
  text-transform: uppercase;
}

.subtitle {
  color: #333;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 300;
  font-size: 1rem;
}

.about__title {
  text-transform: uppercase;
  font-size: 1.5rem;
  color: var(--dark-blue);
}

.about__text {
  font-size: 1.125rem;
  font-weight: 300;
}
.about__link {
  color: var(--main-blue);
  transition: all 0.3s ease;
}

/* =========================================================
   3) Navbar
   ========================================================= */
.navbar {
  height: var(--nav-height);
  background-color: #fff;
}
.navbar.fixed-top.bg-white {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

/* Brand */
.brand__title {
  font-size: 1.5rem;
  font-weight: 300;
  color: #154588;
  line-height: 1.1;
}

.navbar .container {
  align-items: center;
}
.navbar-brand {
  max-width: 70%;
}
.navbar-brand .brand__title {
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Nav items / links */
.nav-item {
  padding: 1rem 0;
}

.nav-item .nav-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
  font-size: clamp(12px, 3vw, 16px);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333;
  font-weight: 300 !important;
  padding: 0 !important;
  margin: 0 0.75rem !important;
}
.nav-item .nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #333;
  transition: width 0.3s ease-in-out;
}
.nav-item .nav-link:hover::after {
  width: 100%;
}

/* Collapsed panel (off-canvas feel) */
.navbar-collapse {
  position: fixed;
  top: var(--nav-height);
  right: 0;
  bottom: 0;
  width: 80%;
  max-width: 360px;
  background: #fff;
  padding: 1rem 1.25rem;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.08);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.navbar-collapse.show {
  transform: translateX(0);
}

.navbar-nav .nav-link {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f3f5;
}
.navbar-nav .nav-item:last-child .nav-link {
  border-bottom: 0;
}

/* Ensure menu section doesn’t crop */
.menu .navbar-collapse {
  max-height: 100%;
}

/* =========================================================
   4) Header / Hero
   ========================================================= */
.header1 {
  position: relative;
  padding-top: calc(var(--nav-height) * 2);
  padding-bottom: calc(var(--nav-height) * 2);
  height: 100%;
  background: url(../images/fast-trucks.webp) center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.header1 .header-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}
/* Keep content above overlay */
.header1 .container,
.header1 .content-wrapper,
.header1 .content {
  position: relative;
  z-index: 2;
}

.header__title {
  font-size: 2rem;
  color: #fff;
  letter-spacing: 6px;
  font-weight: 300;
  line-height: 120%;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: normal;
  text-transform: uppercase;
}
.header__subtitle {
  color: #fff;
  font-size: 1.25rem;
}

/* =========================================================
   5) CTAs & Links
   ========================================================= */
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-button {
  text-transform: uppercase;
  font-weight: 400;
  background: var(--main-blue);
  color: #fff;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.5rem 1rem;
  font-size: clamp(12px, 3vw, 16px);
  transition: all 0.3s ease;
  text-align: center;
  letter-spacing: 1px;
  min-width: fit-content;
  max-width: 100%;
  display: inline-block;
  white-space: nowrap;
}
.cta-button:hover {
  filter: brightness(1.2);
  color: var(--text-light);
}
.cta-link {
  color: var(--main-blue);
}

/* =========================================================
   6) Media / Images
   ========================================================= */
.img-decor {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  max-height: 20rem;
  object-position: center;
}

/* =========================================================
   7) Lists (custom bullets used in Regulations / Penalties)
   ========================================================= */
.point-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.point-list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.25rem;
  margin-left: 1rem;
}
.point-list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  background: url("../images/arrow-blue.webp") center left / contain no-repeat;
  opacity: 0.6;
}
.point-list li:not(:last-child) {
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

/* =========================================================
   8) Compliance
   ========================================================= */
.compliance {
  background-color: #fff;
}
.compliance .row {
  max-width: 800px;
  margin: 0 auto;
}
.compliance__text {
  font-size: 1.5rem;
  text-align: center;
}
.compliance__contact {
  text-transform: uppercase;
  color: var(--light-blue);
  font-weight: 400;
  text-align: center;
  margin-top: 1rem;
}
.compliance .section-wrapper {
  padding: 40px 20px;
}
.compliance__work-hours {
  color: #33333388;
  font-size: 1rem;
  font-weight: 300;
}

/* =========================================================
   9) Penalties
   ========================================================= */
.penalties {
  font-size: 1.125rem;
}
.penalties__title {
  text-transform: uppercase;
  font-size: 1.5rem;
  color: var(--dark-blue);
}
.penalties__list {
  list-style: none;
  padding-left: 0;
}
.penalties__list li {
  position: relative;
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
}
.penalties__list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  background: url("../images/arrow-blue.webp") center left / contain no-repeat;
  opacity: 0.6;
}
.penalties__note {
  font-style: italic;
  font-size: 1rem;
  color: #33333388;
}
.livechat-link a {
  font-weight: 600;
}

.renewal-text {
  font-size: 1.125rem;
  margin-top: 3rem;
  border-left: 4px solid #3767ea;
  border-radius: 10px;
  padding: 1rem;
  background-color: #3767ea1a;
  width: fit-content;
}

/* =========================================================
   10) Contact & Company Info
   ========================================================= */
.contact-title {
  font-weight: 700;
  font-size: 3rem;
  margin-bottom: 4rem;
}

.contacts {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.chat-link {
  color: var(--light-blue);
  font-size: 1.25rem;
  text-transform: uppercase;
  background: none;
  padding: 0;
  cursor: pointer;
  width: fit-content;
  transition: all 0.3s ease;
}
a.chat-link:hover {
  filter: brightness(1.2);
}

.contact-info__title {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.25rem;
}
.contact-info a {
  font-size: 1.25rem;
}

.company-info h4 {
  font-size: 1.5rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0;
}
.company-info span {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.25rem;
}

.badges {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem 0;
  white-space: nowrap;
}
.badges__image {
  display: block;
  height: 86px;
  width: auto;
  object-fit: contain;
}
.badges__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   11) Responsive
   ========================================================= */

/* ≥768px */
@media (min-width: 768px) {
  .cta-buttons {
    flex-direction: row;
  }

  .header__title {
    font-size: 3.5rem;
  }
  .header__subtitle {
    font-size: 1.5rem;
  }

  .contact-title {
    font-size: 4rem;
  }

  .company-info p {
    font-size: 1.15rem;
    max-width: 600px;
  }

  .badges__link {
    flex-wrap: nowrap;
  }
  .img-decor {
    max-height: 30rem;
  }
}

/* ≥992px (desktop nav) */
@media (min-width: 992px) {
  .navbar-brand {
    max-width: none;
  }
  .navbar-brand .brand__title {
    font-size: 1.25rem;
  }

  /* Reset collapsed panel to inline desktop layout */
  .navbar-collapse {
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    width: auto;
    max-width: none;
    background: transparent;
    padding: 0;
    box-shadow: none;
    transform: none;
    overflow: visible;
  }
  .navbar-nav .nav-link {
    border-bottom: 0;
    padding: 0;
  }

  .img-decor {
    max-height: 100%;
  }

  .header__title {
    font-size: 5rem;
  }
  .header__subtitle {
    font-size: 1.75rem;
  }

  .company-info p {
    font-size: 1.25rem;
    max-width: 100%;
  }
}

/* ≥1200px */
@media (min-width: 1200px) {
  .container {
    width: 1240px;
    max-width: 100%;
  }
}
