@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");
/* ================= Root & Base ================= */
:root {
  --nav-height: 80px;
  --dark-blue: #093455;
  --main-blue: #577fba;
  --light-blue: #3971b5;
  --text-dark: #333333;
  --text-light: #ffffff;
  --red: #d84747; /* added: was referenced by .chat-link */
  --radius: 1.125rem;
}

html,
body {
  overflow-x: hidden;
}

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

section {
  background-color: #f5f5f5;
}

strong {
  font-weight: 600;
}

a {
  color: inherit;
}

.container {
  max-width: 1240px;
}

/* ================= Navbar ================= */
.navbar {
  background-color: #fff;
  height: var(--nav-height);
}

.navbar.fixed-top.bg-white {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

/* Brand */
.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.brand img,
.navbar-brand img {
  align-self: start;
  display: block;
  height: 1.25rem;
  object-fit: contain;
  width: auto;
}

/* Nav items / links */
.nav-item {
  justify-self: flex-start !important;
  padding: 1rem 0;
}

.nav-item .nav-link {
  color: #333;
  display: inline-block;
  font-size: clamp(12px, 3vw, 16px);
  font-weight: 300 !important;
  letter-spacing: 1px;
  margin: 0 0.75rem !important;
  padding: 0 !important;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-item .nav-link::after {
  background: #333;
  bottom: -2px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transition: width 0.3s ease-in-out;
  width: 0;
}

.nav-item .nav-link:hover::after {
  width: 100%;
}

/* Dropdown caret (override BS default) */
.dropdown-toggle::after {
  border: none;
  content: "▾";
  display: inline-block;
  font-size: 0.8em;
  margin-left: 0.35em;
  vertical-align: middle;
}

.menu .navbar-collapse {
  max-height: 100%;
}

/* ================= Header / Hero ================= */
.header {
  background: url(../images/3d.jpg) center / cover no-repeat;
  color: #fff;
  height: 100%;
  overflow: hidden;
  padding-bottom: calc(var(--nav-height) * 2);
  padding-top: calc(var(--nav-height) * 2);
  position: relative;
}

.header .header-overlay {
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

/* Keep content above overlay */
.header .container,
.header .content-wrapper,
.header .content {
  position: relative;
  z-index: 2;
}

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

.header__subtitle {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 1px;
  padding: 1rem;
  border-radius: 0.5rem;
}

/* ================= Mobile-first (collapsed nav) ================= */
.navbar .container {
  align-items: center;
}

.navbar-brand {
  max-width: 70%;
}

.navbar-brand .brand__title {
  font-size: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.navbar-collapse.show {
  transform: translateX(0);
}

.navbar-nav .dropdown-menu {
  border: 0;
  box-shadow: none;
  float: none;
  padding-left: 0;
  position: static;
}

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

.navbar-nav .nav-item:last-child .nav-link {
  border-bottom: 0;
}

body.nav-open {
  overflow: hidden;
}

/* CTA */
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.cta-button:hover {
  color: var(--text-light);
  filter: brightness(1.2);
}

.cta-link {
  color: var(--main-blue);
}

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

.contact-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 4rem;
}

.badges {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.5rem 0;
  white-space: nowrap;
}

.badges__image {
  display: block;
  height: 86px;
  object-fit: contain;
  width: auto;
}

.badges__link {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
}

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

.company-info span {
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
}

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

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

a.chat-link:hover {
  filter: brightness(1.2);
}

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

.contact-info a {
  font-size: 1.25rem;
}

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

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

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

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

.about__text {
  font-size: 1.125rem;
  font-weight: 300;
}

.box {
  background: #f5f5f5;
  border: 1px solid #3333331a;
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(21, 33, 60, 0.06);
  color: #333;
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
  padding: 1.25rem;
}

/* Headings */
.wd-title {
  color: var(--dark-blue);
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.wd-lead {
  color: #223;
  margin-block: 0.75rem;
}

.wd-subtitle {
  color: #334;
  font-size: 0.95rem;
  margin-block: 0.5rem;
}

/* Point list: custom bullets (default) */
.point-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.point-list li {
  padding-left: 1rem;
  position: relative;
}

/* Simple variant with default bullets if needed */
.point-list--inside {
  list-style-position: inside;
  margin-left: 0;
  padding-left: 0;
}

.point-list .due {
  font-weight: 600;
  white-space: nowrap;
}

.point-list .sep {
  line-height: 1;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  text-align: center;
}

.point-list .period {
  color: #2a2f3a88;
}

.point-list.date-mapping li:not(:last-child) {
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

/* ================= Compliance ================= */
.compliance {
  background-color: #fff;
}

.compliance .row {
  margin: 0 auto;
  max-width: 800px;
}

.compliance .section-wrapper {
  padding: 40px 20px;
}

.compliance__text {
  font-size: 1.5rem;
  text-align: center;
}

.compliance__contact {
  color: var(--light-blue);
  font-weight: 400;
  margin-top: 2rem;
  text-align: center;
  text-transform: uppercase;
}

.compliance__work-hours {
  color: #33333388;
  font-size: 1rem;
  font-weight: 300;
}

/* ================= Penalties ================= */
.penalties {
  font-size: 1.125rem;
}

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

.penalties__list {
  list-style: none;
  padding-left: 0;
}

.penalties__list li {
  margin-bottom: 0.5rem;
  margin-left: 1rem;
  padding-left: 1.2rem;
  position: relative;
}

.penalties__list li::before {
  color: var(--dark-blue);
  content: "▶";
  font-size: 0.7rem;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.penalties__link {
  color: var(--light-blue);
}

.livechat-link a {
  font-weight: 600;
}

/* ================= Responsive ================= */

/* ≤520px: stack date-mapping */
@media (max-width: 520px) {
  .point-list.date-mapping li {
    grid-template-columns: 1fr;
    padding-left: 1.25rem;
  }
  .point-list.date-mapping .sep {
    display: none;
  }
  .point-list.date-mapping .due {
    margin-bottom: 0.15rem;
  }
}

/* ≥768px */
@media (min-width: 768px) {
  .header__title {
    font-size: 3.5rem;
  }

  .header__subtitle {
    color: #fff;
    font-size: 1.5rem;
  }

  .cta-buttons {
    flex-direction: row;
  }

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

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

  .chat-link {
    color: var(--red);
    font-size: 1.75rem;
  }

  .badges__link {
    flex-wrap: nowrap;
  }
}

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

  .navbar-brand .brand__title {
    font-size: 1.25rem;
  }

  .navbar-brand img {
    height: 1.5rem;
  }

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

  .navbar-nav .nav-link {
    border-bottom: 0;
    padding: 0;
  }

  .header__title {
    font-size: 5rem;
  }

  .header__subtitle {
    background-color: transparent;
    border-radius: 0;
    color: #fff;
    font-size: 1.75rem;
    max-width: 600px;
    padding: 0;
  }

  .header .header-overlay {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

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

  .company-info h4 {
    letter-spacing: 1px;
    text-transform: uppercase;
  }

  .company-info span {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
  }

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

  .chat-link {
    font-size: 2rem;
  }
}

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