/* Global Variables */
:root {
  /* Font */
  --font-family: "Inter", sans-serif;
  /* layout */
  --container: 1320px;
  --container-sm: 1100px;
  /* Brand Colors */
  --primary-color: #164dc0; /* #2563eb */
  --primary-color-dark: #06276d; /* #093185; */
  --primary-color-darker: #030b1f;
  --secondary-color: #ffcd2a;

  /* Text */
  --text-color: #1f2933;
  --text-color-light: #dfe6f4;
  --text-color-secondary: #5b6672;
  --text-color-muted: #8a94a1;
  /* Background */

  --background: #1f2933;
  --background-light: #f7f3f175; /* #f8fafc; */
  --background-dark: #161c22;
  /* border */
  --border-color: #1f2933;

  /* Accent */
  --accent-color: #f97316;
  /* basic */
  --white-color: #ffffff;
  --black-color: #000000;
  /* Transition */
  --transition: 0.35s ease;
  /* typography */
  --font-size-h1: clamp(2.5rem, 0.577rem + 3.85vw, 3.75rem); /* 40px - 60px */
  --font-size-h2: clamp(1.875rem, 1.386rem + 1.96vw, 3rem); /* 22px - 48px */
  --font-size-h3: clamp(1.375rem, 1.212rem + 0.65vw, 1.75rem); /* 18 - 28px */
  --font-size-h4: clamp(1rem, 0.859rem + 0.63vw, 1.375rem); /* 16 - 22px */
  --font-size-p-md: clamp(
    0.938rem,
    0.867rem + 0.31vw,
    1.125rem
  ); /* 15px - 18px */
  --font-size-p-xl: clamp(1rem, 0.906rem + 0.42vw, 1.25rem); /* 16px - 20px */
  --font-size-p-xxl: clamp(
    1.125rem,
    1.031rem + 0.42vw,
    1.375rem
  ); /* 18px - 22px */

  /* Radius */
  --border-xl: 15px;

  --menu-height: clamp(3.875rem, 3.603rem + 1.09vw, 4.5rem); /* 62px - 72px */
}

/* base Styles */
* {
  box-sizing: border-box;
}
*::before,
*::after {
  box-sizing: inherit;
}
html,
body {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  color: var(--text-color);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  overflow-x: hidden;
}
html,
body,
p,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
legend,
textarea,
pre,
iframe,
hr,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
button,
input,
select,
textarea {
  margin: 0;
  outline: none;
}
img,
embed,
object,
audio,
video {
  height: auto;
  max-width: 100%;
}
video {
  width: 100%;
}
iframe {
  display: block;
  border: 0;
  margin-left: auto;
  margin-right: auto;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
td,
th {
  padding: 0;
  text-align: left;
}
pre {
  background: #eee;
  color: black;
  z-index: 9999;
  padding: 20px 20px 20px 60px;
  white-space: pre-wrap;
  font-family: Monaco;
  border-left: 5px solid orange;
  line-height: 1.3;
}
button {
  border: none;
  cursor: pointer;
  background: none;
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
  -webkit-font-smoothing: antialiased;
  outline: none;
}
a {
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
}
small {
  font-size: 60%;
}

/* display */
.d-none {
  display: none;
}
.d-block {
  display: block;
}
.d-flex {
  display: flex;
}
.items-center {
  align-items: center;
}
/* responsive display — md (768px) */
@media (min-width: 768px) {
  .d-md-none {
    display: none;
  }
  .d-md-block {
    display: block;
  }
  .d-md-flex {
    display: flex;
  }
}
/* responsive display — lg (992px) */
@media (min-width: 992px) {
  .d-lg-none {
    display: none;
  }
  .d-lg-block {
    display: block;
  }
  .d-lg-flex {
    display: flex;
  }
}
/* global typography */
p {
  margin-top: 10px;
}
.text-lite {
  color: var(--text-color-secondary);
}
.hero__title {
  font-size: var(--font-size-h1);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-top: 20px;
  text-transform: capitalize;
  span {
    font-style: italic;
    color: var(--primary-color);
  }
}
.title-h2 {
  font-size: var(--font-size-h2);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
}
.title-h3 {
  font-size: var(--font-size-h3);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.title-h4 {
  font-size: var(--font-size-h4);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.sub-title {
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 1.5;
  font-size: var(--font-size-p-md);
}
.sub-title-xxl {
  font-size: var(--font-size-p-xxl);
  line-height: 1.4;
}
.sub-title-xl {
  font-size: var(--font-size-p-xl);
  line-height: 1.4;
}
.border-xl {
  border-radius: var(--border-xl);
}
.style-italic {
  font-style: italic;
}
.style-underline {
  text-decoration: underline;
}
.text-capitalize {
  text-transform: capitalize;
}
.text-uppercase {
  text-transform: uppercase;
}
.weight700 {
  font-weight: 700;
}
.weight600 {
  font-weight: 600;
}
.weight500 {
  font-weight: 500;
}
strong {
  font-weight: 800;
}
.display-flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}
.gap-10 {
  gap: 10px;
}
.gap-15 {
  gap: 15px;
}
a {
  transition: var(--transition);
}
a:hover {
  color: var(--accent-color);
}
a:focus-visible {
  outline: 2px solid var(--text-color);
}
.background {
  background-color: var(--background);
  color: var(--white-color);
  a {
    color: var(--white-color);
  }
}
.background-dark {
  background-color: var(--background-dark);
  color: var(--text-color-light);
  a {
    color: var(--white-color);
  }
}
.background-light {
  background-color: var(--background-light);
}
.background-primary-dark {
  background-color: var(--primary-color-dark);
  color: var(--white-color);
}
.background-primary-lite {
  background-color: #f0f5ff;
}

.color-accent {
  color: var(--accent-color);
}
.color-primary {
  color: var(--primary-color);
}
.color-secondary {
  color: var(--secondary-color);
}
/* global layout */
.container {
  max-width: 1320px; /* for mobile 360px */
  margin: 0 auto;
  padding-inline: 1rem;
}
.container-sm {
  max-width: 1100px; /* for mobile 360px */
}
.grid-cols-6-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}
@media (min-width: 768px) { 
  .grid-cols-6-4 {
    grid-template-columns: 8fr 7fr;
  }
}
@media (min-width: 992px) {
  .grid-cols-6-4 {
    grid-template-columns: 6fr 4fr;
  }
}
.grid-cols-5-5 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}
@media (min-width: 992px) {
  .grid-cols-5-5 {
    grid-template-columns: 1fr 1fr;
  }
}
.col-3-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 15px;
}
@media (min-width: 768px) {
  .col-3-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .col-3-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.col-4-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.gap-50 {
  gap: clamp(1.875rem, 1.113rem + 2.44vw, 3.125rem); /* 30 to 50   */
}

.align-center {
  align-items: center;
}
.section-padding {
  padding: clamp(3.75rem, 3.207rem + 2.17vw, 5rem) 0; /* 60 to 80 */
}
.section-padding-xl {
  padding: clamp(3.75rem, 2.663rem + 4.35vw, 6.25rem) 0; /* 60 to 100 */
}
.pt-0 {
  padding-top: 0px;
}
.mt-10 {
  margin-top: 10px;
}
.mt-15 {
  margin-top: 15px;
}
.mt-20 {
  margin-top: 20px;
}
.mt-30 {
  margin-top: 30px;
}
.mt-40 {
  margin-top: 40px;
}
.mt-50 {
  margin-top: clamp(1.875rem, 1.113rem + 2.44vw, 3.125rem); /* 30 to 50   */
}
.float-right {
  float: right;
}
.right-spacing {
  max-width: 95%;
}
@media (min-width: 992px) {
  .right-spacing {
    max-width: 84%;
  }
}
.text-center {
  text-align: center;
}

/* global button */
.btn {
  line-height: 1.25;
  padding: clamp(0.75rem, 0.71rem + 0.2vw, 0.875rem)
    clamp(1rem, 0.92rem + 0.4vw, 1.25rem);
  border-radius: 50px;
  font-size: clamp(0.813rem, 0.772rem + 0.2vw, 0.938rem);
  transition: all 0.2s ease-in-out;
}

.btn-xl {
  padding: clamp(1rem, 0.946rem + 0.22vw, 1.125rem) clamp(1.5rem, 1.337rem + 0.65vw, 1.875rem); /* 16 - 18  and 24 - 30 */
  font-size: clamp(0.938rem, 0.883rem + 0.22vw, 1.063rem); /* 15 - 17  */
  text-transform: capitalize;
}
.btn-xxl {
  padding: clamp(1.063rem, 0.954rem + 0.43vw, 1.313rem) clamp(1.875rem, 1.603rem + 1.09vw, 2.5rem);
  font-size: clamp(1rem, 0.891rem + 0.43vw, 1.25rem);
  text-transform: capitalize;
}
.btn-round {
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0px;
}
@media (min-width: 992px) {
  .btn-round {
    width: 54px;
    height: 54px;
  }
}
.btn-round svg {
  width: 20px;
  height: 20px;
  transition: all 0.2s ease-in-out;
}
@media (min-width: 992px) {
  .btn-round svg {
    width: 24px;
    height: 24px;
  }
}
.btn-round:hover svg {
  transform: rotate(45deg);
}
.btn-line {
  border: 1px solid var(--border-color);
  color: var(--text-color);
}
.btn-line:hover {
  background-color: var(--accent-color);
  color: var(--white-color);
  border: 1px solid var(--accent-color);
}
.btn-primary {
  background-color: var(--primary-color);
  color: var(--white-color);
}
.btn-primary:hover {
  background-color: var(--accent-color);
  color: var(--white-color);
}
.btn-dark {
  background-color: var(--background);
  color: var(--white-color);
}
.btn-dark:hover {
  background-color: var(--accent-color);
  color: var(--white-color);
}
.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-color);
}
.btn-secondary:hover {
  background-color: var(--accent-color);
  color: var(--white-color);
}
.btn-accent {
  background-color: var(--accent-color);
  color: var(--white-color);
}
.btn-accent:hover {
  background-color: var(--accent-color);
  color: var(--white-color);
}
.btn-group {
  display: flex;
  gap: 0px;
}
/* header */
.header {
  background-color: #f7f3f175;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
/* navigation */
.logo {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--text-color);
  letter-spacing: -1px;
}
.logo a {
  color: var(--text-color);
}
.logo span {
  font-style: italic;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-color);
}
.nav {
  transition: background-color 0.3s ease-in-out;
}
.nav__flex {
  height: var(--menu-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav__ul {
  display: flex;
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 500;
  gap: 10px;
}
.nav__link {
  color: var(--text-color);
  padding: 10px 12px;
  transition: all 0.3s ease-in-out;
  letter-spacing: -0.5px;
}
.nav--solid {
  border-bottom: 1px solid #dce5f7;
  background-color: #eff4ff;
}
.nav--fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
/* auto-hide on scroll */
.nav--autohide {
  transition:
    transform 0.35s ease,
    background-color 0.3s ease-in-out;
  will-change: transform;
}
.nav--autohide.nav--hidden {
  transform: translateY(-100%);
}
/* /auto-hide on scroll */

/* hero */
.hero {
  padding-top: clamp(20px, 3vw, 100px);
  margin-top: 80px;
  text-align: center;
}
@media (min-width: 992px) {
  .hero {
    text-align: left;
  }
}
.hero__subtitle {
  max-width: 80%;
  margin: 0 auto;
  margin-top: 20px;
}
@media (min-width: 992px) {
  .hero__subtitle {
    max-width: 80%;
    margin: unset;
    margin-top: 20px;
  }
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  justify-content: space-between;
  /* justify-items: end; */
}

@media (min-width: 992px) {
  .hero__grid {
    gap: 20px;
    grid-template-columns: 7fr 5fr;
    justify-content: space-between;
  }
}
@media (min-width: 1200px) {
  .hero__grid {
    grid-template-columns: 7fr 4fr;
    justify-content: space-between;
  }
}

.hero__trust {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}
@media (min-width: 992px) {
  .hero__trust {
    justify-content: unset;
  }
}
.hero__list {
  display: flex;
  gap: 5px;
  align-items: center;
  font-weight: 500;
  font-size: 12px;
}
@media (min-width: 768px) {
  .hero__list {
    font-size: 13px;
  }
}
.hero__list svg {
  color: var(--primary-color);
}
.btn-group:has(.btn-round:hover) .btn-xl {
  background-color: var(--accent-color);
  color: var(--white-color);
}
.btn-group:has(.btn-round:hover) .btn-round svg,
.btn-group:has(.btn-xl:hover) .btn-round svg {
  transform: rotate(45deg);
}

/* mobile menu - keep it in main.css */
/* Hamburger Icon */
.hamburger-icon {
  padding: 10px 10px 10px 0px;
  position: relative;
  z-index: 999;
}
.hamburger-icon__area {
  position: relative;
  display: block;
  width: 34px;
  height: 19px;
  cursor: pointer;
}
.hamburger-icon__span {
  position: absolute;
  right: 0;
  display: block;
  height: 2.5px;
  border-radius: 0.625rem;
  background-color: var(--text-color);
}
.hamburger-icon__span:nth-child(1) {
  top: 0;
  width: 80%;
  transition: all var(--transition);
}
.hamburger-icon__span:nth-child(2) {
  top: 50%;
  width: 100%;
  margin-top: -1px;
}
.hamburger-icon__span:nth-child(3) {
  top: auto;
  bottom: 0;
  width: 60%;
  transition: all var(--transition);
}
.hamburger-icon--collapse .hamburger-icon__span {
  height: 2px;
  background-color: var(--text-color);
}
.hamburger-icon--collapse .hamburger-icon__span:nth-child(1) {
  top: 50%;
  width: 90%;
  margin-top: -1px;
  transform: rotate(45deg);
  transform-origin: center center;
}
.hamburger-icon--collapse .hamburger-icon__span:nth-child(2) {
  background-color: transparent;
}
.hamburger-icon--collapse .hamburger-icon__span:nth-child(3) {
  top: 50%;
  width: 90%;
  margin-top: -1px;
  transform: rotate(-45deg);
  transform-origin: center center;
}
/* Body fix (prevent scroll when menu open) */
.body-fix {
  position: fixed;
  width: 100%;
  overflow: hidden;
  /* top is set inline by JS to -scrollY */
}
/* Off-canvas Side Menu */
.o-side-menu {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  overflow-y: auto;
  width: 100%;
  height: 100vh;
  top: var(--menu-height);
  z-index: 1000;
  background: var(--primary-color-darker);
  color: var(--white-color);
  padding: 40px 20px 80px;
  transition: all var(--transition);
}
.o-side-menu--visible {
  visibility: visible;
  opacity: 1;
}
.o-side-menu__nav ul li {
  margin-bottom: 15px;
}
.o-side-menu__nav ul li a {
  color: var(--white-color);
  font-weight: 300;
}
.o-side-menu__nav ul li ul {
  margin-left: 15px;
  margin-top: 15px;
}
.o-side-menu__dropdown {
  position: relative;
}
.o-side-menu__dropdown-button {
  width: 2rem;
  height: 1.25rem;
  position: absolute;
  right: 0;
  top: 0;
  display: grid;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.o-side-menu__dropdown-menu {
  display: none;
}
.o-side-menu__dropdown-menu--visible {
  display: block;
}

/* icon morph animation — plus <-> minus */
.o-side-menu__dropdown-button svg {
  grid-column: 1;
  grid-row: 1;
  transition:
    transform var(--transition),
    opacity var(--transition);
}
.o-side-menu__plus {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
.o-side-menu__plus--hide {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
  pointer-events: none;
}
.o-side-menu__subs {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
  pointer-events: none;
}
.o-side-menu__subs--view {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  pointer-events: auto;
}

/* MARQUEE*/
.marquee {
  position: relative;
  width: 100%;
}
.marquee__primary {
  position: relative;
  z-index: 2;
  height: 55px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-color);
}
@media (min-width: 768px) {
  .marquee__primary {
    height: 65px;
  }
}
.marquee__primary--secondary {
  background: var(--secondary-color);
  .marquee__list li {
    color: var(--black-color);
  }
}
.marquee__gray {
  position: absolute;
  top: 0;
  left: -2px;
  width: 102%;
  height: 60px;
  background: var(--text-color);
  transform: rotate(-2deg);
  z-index: 1;
}
@media (min-width: 768px) {
  .marquee__gray {
    height: 70px;
  }
}
/* Moving Track */
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
}
/* Lists */
.marquee__list {
  display: flex;
  align-items: center;
  gap: 35px;
  padding-right: 35px;
  list-style: none;
  flex-shrink: 0;
}

/* Items */
.marquee__list li {
  display: flex;
  align-items: center;
  white-space: nowrap;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
}
@media (min-width: 768px) {
  .marquee__list li {
    font-size: 20px;
    font-weight: 500;
  }
}
/* Star */
.marquee__list img {
  display: block;
  width: 25px;
  height: 25px;
  animation: star-spin 4s linear infinite;
}
/* Pause animation on hover */
.marquee:hover .marquee__track {
  animation-play-state: paused;
}

/* Animations*/
@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}
@keyframes star-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .marquee__track,
  .marquee__list img {
    animation: none;
  }
}

/* problem-grid */
.card {
  padding: clamp(1.563rem, 1.155rem + 1.63vw, 2.5rem)
    clamp(1.25rem, 0.842rem + 1.63vw, 2.188rem);
  border: 1px solid var(--text-color);
}
.card--denger {
  background: rgba(255, 0, 0, 0.02);
  border: 1px solid #ff000012;
}
.card--primary-lite {
  border: 1px solid #dce5f7;
  background-color: #eff4ff;
}
.card__title {
  font-size: clamp(1.563rem, 1.318rem + 0.98vw, 2.125rem); /* 25px - 34px  */
}
.card__title--md {
  font-size: clamp(1.875rem, 1.712rem + 0.65vw, 2.25rem); /* 30px - 36px  */
  line-height: 1.3;
}
.card-article {
  display: flex;
  gap: 15px;
}
.card-article__icon {
  display: flex;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 50px;
  border: 1px solid #ff000033;
  color: #f00;
}
.card-article__title {
  font-size: 18px;
  font-weight: 600;
}
.card-article__content {
  font-size: 17px;
  margin-top: 5px;
}
.outcome-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
@media (min-width: 768px) {
  .outcome-list {
    display: flex;
    flex-direction: row;
    gap: 45px;
  }
}
/* home services */
.service--padding {
  padding-top: 30px;
}
/* Base (mobile-first) — stacked layout */
.home-service {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "icon btn"
    "title title"
    "description description";
  row-gap: 0px;
  column-gap: 20px;
}

.home-service__icon {
  grid-area: icon;
}
.home-service__icon img {
  width: 100%;
  max-width: 56px;
  height: auto;
}
.home-service__title {
  grid-area: title;
  margin-top: 10px;
}
.home-service__description {
  grid-area: description;
}
.home-service__description p {
  margin-top: 5px;
}
.home-service__btn {
  grid-area: btn;
  justify-self: end;
}

/* md (768px+) — tablet: icon spans both rows, title+btn on top, description below */
@media (min-width: 768px) {
  .home-service {
    grid-template-columns: 70px 1fr auto;
    grid-template-areas:
      "icon title btn"
      "icon description btn";
    row-gap: 0px;
    column-gap: 25px;
  }
  .home-service__icon {
    align-self: start;
  }
  .home-service__icon img {
    max-width: 70px;
  }
  .home-service__title {
    margin-top: 0px;
  }
}

/* lg (992px+) — desktop: original single-row layout */
@media (min-width: 992px) {
  .home-service {
    grid-template-columns: 1fr 2fr 4fr 1fr;
    grid-template-areas: "icon title description btn";
    align-items: center;
    row-gap: 0;
    gap: 20px;
  }
  .home-service__icon img {
    max-width: 80px;
  }
}

.home-services__li {
  padding: 30px 0px;
  border-bottom: 1px solid var(--border-color);
}
.home-services__li:last-child {
  border: none;
  padding-bottom: clamp(0rem, -0.815rem + 3.26vw, 1.875rem); /* 0 - 30 */
}

/* about-me */
/* .hand-icon {
  width: 50px;
  height: 70px;
  position: absolute;
  margin-top: -18px;
  margin-left: 4px;
  transform-origin: bottom center; 
  animation: hand-wave 1.5s ease-in-out infinite;
  will-change: transform;
}
@keyframes hand-wave {
  0% {
    transform: rotate(0deg);
  }
  15% {
    transform: rotate(12deg);
  }
  30% {
    transform: rotate(-8deg);
  }
  45% {
    transform: rotate(10deg);
  }
  60% {
    transform: rotate(-6deg);
  }
  75% {
    transform: rotate(6deg);
  }
  100% {
    transform: rotate(0deg);
  }
} */

/* process-list */
.process-list {
  list-style: none;
  gap: 30px;
}
.process-list::before {
  content: "";
  position: absolute;
  height: 110%;
  border-left: 2px dashed #fff;
  margin-left: 50px;
  top: 0px;
}
/* benefit */
.benefits-grid {
  gap: 20px;
  text-align: center;
}
@media (min-width: 768px) {
  .benefits-grid {
    gap: 35px;
    text-align: unset;
  }
}
/* Mobile — base: no divider at all */
.benefits-grid > div {
  padding-right: 0;
  background-image: none;
}

/* Tablet (768px+) — 2-column grid: divider on every item except
   even children (right column) and the very last child */
@media (min-width: 768px) {
  .benefits-grid > div {
    padding-right: 35px;
    background-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(204, 204, 204, 0.6) 50%,
      rgba(204, 204, 204, 0.6) 50%,
      transparent 100%
    );
    background-size: 1px 100%;
    background-repeat: no-repeat;
    background-position: right center;
  }
  .benefits-grid > div:nth-child(even) {
    padding-right: 0;
    background-image: none;
  }
  .benefits-grid > div:last-child {
    padding-right: 0;
    background-image: none;
  }
}

/* Desktop (992px+) — 4-column grid: divider on every item except
   the last child; re-enable it on even children since they're
   no longer the last column at this width */
@media (min-width: 992px) {
  .benefits-grid > div:nth-child(even) {
    padding-right: 35px;
    background-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(204, 204, 204, 0.6) 50%,
      rgba(204, 204, 204, 0.6) 50%,
      transparent 100%
    );
    background-size: 1px 100%;
    background-repeat: no-repeat;
    background-position: right center;
  }
  .benefits-grid > div:last-child {
    padding-right: 0;
    background-image: none;
  }
}

.benefit-content__h3 {
  font-size: clamp(1.125rem, 0.984rem + 0.63vw, 1.5rem); /* 18px - 24px */
}
.benefit-content__p {
  font-size: 14px;
  color: #dfe6f4;
}

/* faq */
/* html {
  interpolate-size: allow-keywords;
} */
.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 28px 0px;
}
.faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
}
.faq-summary::-webkit-details-marker {
  display: none;
}
.faq-details {
  transition:
    height 0.35s cubic-bezier(0.25, 1, 0.5, 1),
    display 0.35s allow-discrete;
  overflow: hidden;
}
.faq-details[open] {
  height: auto;
}
@starting-style {
  .faq-details[open] {
    height: 44px;
  }
}
.faq-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 1rem;
  flex-shrink: 0;
  position: relative;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-color);
  border-radius: 50px;
}
.faq-item:last-child {
  border: none;
}
.faq-icon-box {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}
.faq-icon-box svg {
  display: block;
}
.faq-details .faq-icon-dash-box {
  opacity: 0;
  transform: rotate(-90deg);
}
.faq-details .faq-icon-plus-box {
  opacity: 1;
  transform: rotate(0deg);
}
.faq-details[open] .faq-icon-dash-box {
  opacity: 1;
  transform: rotate(0deg);
}
.faq-details[open] .faq-icon-plus-box {
  opacity: 0;
  transform: rotate(90deg);
}
.faq-details .faq-content {
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.25s ease-out,
    transform 0.25s ease-out;
  padding-top: 12px;
  padding-bottom: 4px;
}
.faq-details[open] .faq-content {
  opacity: 1;
  transform: translateY(0);
}
/* Open State handles both interaction and standard page load states */
.faq-details[open] {
  height: auto;
}
/* Ensure the text content inside the naturally open item is fully visible on load */
.faq-details[open] .faq-content {
  opacity: 1;
  transform: translateY(0);
}

/* footer */
.footer {
  .nav__ul {
    justify-content: center;
  }
  .nav__link {
    font-weight: 400;
    justify-content: center;
    letter-spacing: 1px;
  }
}

/* ==========================================================
   NEW: ENQUIRY MODAL
   ========================================================== */

/* Overlay: darkens the page behind the modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 26, 0.6);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}
.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* Modal box */
.modal {
  background: var(--white-color);
  width: 100%;
  max-width: 620px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 20px;
  padding: 36px 40px 32px;
  position: relative;
  box-shadow: 0 25px 60px rgba(9, 49, 133, 0.35);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s ease;
}
.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
}
/* Close button */
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background-light);
  color: var(--text-color);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}
.modal-close:hover {
  background: var(--accent-color);
  color: var(--white-color);
}

/* Header */
.modal__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: var(--white-color);
  margin-bottom: 14px;
}
.modal--call .modal__icon {
  background: var(--secondary-color);
  color: var(--text-color);
}
.modal__icon svg {
  width: 22px;
  height: 22px;
}
.modal__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 4px;
}
.modal--call .modal__eyebrow {
  color: var(--primary-color-dark);
}
.modal__title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 4px;
}
.modal__subtitle {
  font-size: 14.5px;
  color: #5b6672;
  margin-bottom: 20px;
}

/* Form */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* Two fields side-by-side on desktop; each .form-row holds 2x .form-field */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.form-field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-color);
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="url"],
.form-field input[type="datetime-local"],
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #dbe1e8;
  border-radius: 10px;
  padding: 11px 13px;
  font-family: var(--font-family);
  font-size: 14.5px;
  color: var(--text-color);
  background: var(--white-color);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.form-field textarea {
  resize: vertical;
  min-height: 80px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(22, 77, 192, 0.12);
}
.form-field label .optional-tag {
  font-weight: 400;
  color: #9aa4b1;
  text-transform: none;
  letter-spacing: 0;
}

/* Review focus — modern pill-style toggles, wrap in one compact row */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.checkbox-group legend {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 2px;
  padding: 0;
}
.checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.checkbox-option {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-color);
  cursor: pointer;
  border: 1px solid #dbe1e8;
  border-radius: 50px;
  padding: 8px 14px 8px 30px;
  transition: var(--transition);
}
.checkbox-option input[type="checkbox"] {
  position: absolute;
  left: 12px;
  width: 13px;
  height: 13px;
  accent-color: var(--primary-color);
  cursor: pointer;
}
.checkbox-option:has(input:checked) {
  border-color: var(--primary-color);
  background: #f0f5ff;
  color: var(--primary-color-dark);
  font-weight: 600;
}

/* Submit button reuses .btn .btn-primary, full width in modal */
.modal-form .btn {
  width: 100%;
  text-align: center;
  margin-top: 6px;
  border: none;
}

/* Privacy note */
.modal__privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  font-size: 12.5px;
  color: #8a94a1;
}

/* Lock background scroll while modal is open.
   position:fixed on body is needed so iOS Safari can't
   still scroll the page behind the overlay via touch. */
body.modal-open {
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}
fieldset {
  border: none;
}
@media (max-width: 600px) {
  .modal {
    padding: 28px 22px;
    max-height: 90vh;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* footer */
.footer {
  background-color: #030b1f;
  padding-bottom: 30px;
}
.footer-logo-muted {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 100px;
  font-weight: 700;
  letter-spacing: -6px;
  opacity: 0.1;
  line-height: 0.8;
  & span {
    color: var(--white-color);
    font-style: italic;
  }
}
.footer-grid {
  display: grid;
  grid-template-columns: 4fr 0.8fr 1.2fr;
  gap: 40px;
  position: relative;
}

/* ---- Left: CTA block ---- */
.footer-cta-heading {
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 5rem);
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--white-color);
  max-width: 14ch;
}
.footer-subtitle {
  font-size: 15px;
  font-weight: 400;
  color: #9dabcf;
}
.footer-email-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 12px 20px;
  border-radius: 50px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  color: var(--white-color);
  font-size: 15px;
  font-family: var(--font-family);
}
.footer-email-chip:hover {
  border-color: var(--secondary-color);
}
.footer-email-chip svg {
  width: 15px;
  height: 15px;
  opacity: 0.7;
}
/* ---- Right: nav columns ---- */

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: var(--text-color-light);
  opacity: 0.85;
  font-size: 14px;
}
.footer-col a:hover {
  color: var(--secondary-color);
  opacity: 1;
}

/* ---- Bottom bar: symmetric copyright + socials ---- */
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 48px 0 24px;
}
.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copyright {
  font-size: 14px;
  /* letter-spacing: 0.03em; */
  /* text-transform: uppercase; */
  opacity: 0.5;
  font-weight: 300;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--text-color);
}
.footer-social svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 900px) {
  .site-footer {
    padding: 48px 32px 32px;
    border-radius: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 560px) {
  .footer-wrap {
    padding: 32px 16px;
  }
  .site-footer {
    padding: 40px 24px 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
