html {
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-black);
  color: white;
  overflow-x: hidden;
  font-optical-sizing: auto;
}

.container {
  max-width: 75rem;
  margin: 0 auto;
  width: 100%;
}

/* Headings — Poppins Light (300); keep even if .fw-bold is present */
h1,
h2,
h3,
h4,
h5,
h6,
h1.fw-bold,
h2.fw-bold,
h3.fw-bold,
h4.fw-bold,
h5.fw-bold,
h6.fw-bold {
  font-family: var(--font-heading);
  font-weight: 300 !important;
}

h1 *,
h2 *,
h3 *,
h4 *,
h5 *,
h6 * {
  font-weight: inherit !important;
}

p, .lead, .description, .text-dim, .text-muted, .text-secondary-muted, .text-grey {
  font-weight: 300;
}

.fw-bold {
  font-weight: 400 !important;
}

.font-syne {
  font-family: "Poppins", sans-serif;
}

.text-primary-custom {
  color: var(--primary-color) !important;
}

.bg-black {
  background-color: var(--bg-black) !important;
}

.bg-dark-purple {
  background-color: var(--bg-dark-purple) !important;
}

.bg-dark-secondary {
  background-color: var(--bg-dark-sec) !important;
}

.ls-1 {
  letter-spacing: 1px;
}

.ls-2 {
  letter-spacing: 2px;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-black);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}

.hover-white:hover {
  color: white !important;
}

.owl-theme .owl-dots .owl-dot span{
  height: 4px !important;
}
.owl-theme .owl-dots .owl-dot.active span{
  width: 60px !important;
}
.owl-dots{
  margin-top: 20px !important;
}

/* --------------------------------------------------------------------------
   Main layout CTAs — two variants only (filled + border). Square corners.
   -------------------------------------------------------------------------- */
.btn-primary-custom,
.button-border {
  border-radius: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.btn.btn-primary-custom {
  background-color: var(--primary-color);
  border: none;
  color: #000;
}

.btn.btn-primary-custom:hover {
  background-color: #320033;
  color: #fff;
  box-shadow: 0 0 20px rgb(50 0 51);
}

a.btn-primary-custom {
  background-color: var(--primary-color);
  border: none;
  color: #000;
}

a.btn-primary-custom:hover {
  background-color: #320033;
  color: #fff;
  box-shadow: 0 0 20px rgb(50 0 51);
}

/* Border uses rgba so text stays fully opaque (not whole-button opacity). */
.btn.button-border,
a.button-border,
.button-border {
  background-color: transparent !important;
  color: #fff;
  border: 0.5px solid rgba(255, 255, 255, 0.3) !important;
}

.btn.button-border:hover,
a.button-border:hover,
.button-border:hover {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

/* Secondary CTA on light / gold panels */
.button-border.button-border--on-light,
.btn.button-border.button-border--on-light {
  color: #0a0a0a !important;
  border-color: rgba(0, 0, 0, 0.25) !important;
}

.button-border.button-border--on-light:hover,
.btn.button-border.button-border--on-light:hover {
  color: #0a0a0a !important;
  border-color: rgba(0, 0, 0, 0.45) !important;
  background: rgba(0, 0, 0, 0.06) !important;
}

/* Form submit / legacy alias — same look as primary, no pill */
.btn.btn-submit,
button.btn-submit {
  background-color: var(--primary-color);
  border: none;
  color: #000;
  border-radius: 0 !important;
  transition: all 0.3s ease;
}

button.btn-submit {
  /* Match home / global contact CTAs: .btn-primary-custom.px-5.py-3 */
  padding: 1rem 3rem;
  font-weight: 700;
  font-size: 1rem;
}

.modal button.btn-submit {
  width: 100%;
}

.btn.btn-submit:hover,
button.btn-submit:hover {
  background-color: #320033;
  color: #fff;
  box-shadow: 0 0 20px rgb(50 0 51);
  transform: none;
}

/* --------------------------------------------------------------------------
   Form fields — equal vertical rhythm: 12px under label, 12px inside field
   (underline-style inputs). Textareas keep page-level padding rules.
   -------------------------------------------------------------------------- */
.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0px!important;
}

input.form-control:not([type="checkbox"]):not([type="radio"]),
select.form-control,
select.form-select {
  padding-top: 16px;
  padding-bottom: 16px;
}
input:placeholder, textarea:placeholder {
  color: red !important;
  opacity: 0.70 !important;
}
.text-dim {
  color: #ffffff !important;
  opacity: 0.70 !important;
}

/* --------------------------------------------------------------------------
   Bootstrap .display-* — extra steps between lg (992) and xxl (1400).
   Default BS/RFS feels oversized from ~1200–1366px (e.g. 1280 laptops).
   Below 992px: unchanged (Bootstrap + RFS). From 1400px up: unchanged.
   -------------------------------------------------------------------------- */

@media (min-width: 992px) and (max-width: 1199.98px) {
  .display-1 {
    font-size: clamp(2.45rem, 1.35rem + 3.1vw, 3.05rem) !important;
    line-height: 1.1;
  }

  .display-2 {
    font-size: clamp(2.2rem, 1.2rem + 2.75vw, 2.75rem) !important;
    line-height: 1.12;
  }

  .display-3 {
    font-size: clamp(1.95rem, 1.05rem + 2.35vw, 2.45rem) !important;
    line-height: 1.14;
  }

  .display-4 {
    font-size: clamp(1.75rem, 0.95rem + 2vw, 2.15rem) !important;
    line-height: 1.15;
  }

  .display-5 {
    font-size: clamp(1.55rem, 0.9rem + 1.65vw, 1.9rem) !important;
    line-height: 1.18;
  }

  .display-6 {
    font-size: clamp(1.4rem, 0.85rem + 1.35vw, 1.65rem) !important;
    line-height: 1.2;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .display-1 {
    font-size: clamp(2.65rem, 1.25rem + 2.85vw, 3.35rem) !important;
    line-height: 1.08;
  }

  .display-2 {
    font-size: clamp(2.35rem, 1.1rem + 2.5vw, 2.95rem) !important;
    line-height: 1.1;
  }

  .display-3 {
    font-size: clamp(2.1rem, 1rem + 2.15vw, 2.6rem) !important;
    line-height: 1.12;
  }

  .display-4 {
    font-size: clamp(1.85rem, 0.9rem + 1.85vw, 2.25rem) !important;
    line-height: 1.14;
  }

  .display-5 {
    font-size: clamp(1.65rem, 0.85rem + 1.55vw, 2rem) !important;
    line-height: 1.16;
  }

  .display-6 {
    font-size: clamp(1.45rem, 0.8rem + 1.25vw, 1.75rem) !important;
    line-height: 1.18;
  }
}

@media (min-width: 1400px) and (max-width: 1699.98px) {
  .display-1 {
    font-size: clamp(2.65rem, 1.25rem + 2.85vw, 3.95rem) !important;
    line-height: 1.08;
  }

  .display-2 {
    font-size: 4.2rem !important;
    line-height: 1.3;
  }

  .display-3 {
    font-size: clamp(2.1rem, 1rem + 2.15vw, 2.6rem) !important;
    line-height: 1.12;
  }

  .display-4 {
    font-size: clamp(1.85rem, 0.9rem + 1.85vw, 2.25rem) !important;
    line-height: 1.14;
  }

  .display-5 {
    font-size: 2.6rem !important;
    line-height: 1.16;
  }

  .display-6 {
    font-size: clamp(1.45rem, 0.8rem + 1.25vw, 1.75rem) !important;
    line-height: 1.18;
  }
}
