/* Page sections
   1. Shared: spacing, headings, buttons
   2. Home: hero, page nav, about, specialization, products, why choose us
   3. Call to action
   4. Inner pages: banner, text pages, quote form
   5. Floating buttons
   6. Responsive */

/* 1. Shared ---------------------------------------------------------------- */

.about_section,
.our_specialization,
.products_and_services,
.section_choose,
.section_looking,
.px-120 {
  padding: 120px 0;
}

.sub_title {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* the gold line draws in when AOS reveals the block */
.sub_title::before {
  content: "";
  width: 44px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease) 0.2s;
}

.aos-animate .sub_title::before {
  transform: scaleX(1);
}

.third_title {
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
}

.section_title {
  margin-bottom: 30px;
  font-size: clamp(26px, 2.8vw, 42px);
  font-weight: 700;
  color: var(--navy);
}

/* buttons */

.banner_button,
.btn-primary,
.button_contact,
.page-nav-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  isolation: isolate;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) ease,
    color var(--speed) ease, background var(--speed) ease;
}

/* light sweep on hover */
.banner_button::before,
.btn-primary::before,
.button_contact::before,
.page-nav-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  z-index: -1;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.8s var(--ease);
}

.banner_button:hover::before,
.btn-primary:hover::before,
.button_contact:hover::before,
.page-nav-button:hover::before {
  left: 130%;
}

.banner_button:hover,
.btn-primary:hover,
.button_contact:hover,
.page-nav-button:hover {
  transform: translateY(-3px);
}

/* arrow that nudges right on hover */
.banner_button::after,
.btn-primary::after,
.button_contact::after {
  content: "\2192";
  font-size: 18px;
  transition: transform var(--speed) var(--ease);
}

.banner_button:hover::after,
.btn-primary:hover::after,
.button_contact:hover::after {
  transform: translateX(5px);
}

.btn-primary {
  margin-top: 36px;
  padding: 12px 34px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 12px 30px rgba(3, 161, 254, 0.35);
}

.btn-primary:hover {
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(3, 161, 254, 0.45);
}

.about_button {
  display: inline-block;
  margin-top: 30px;
  padding-bottom: 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 100% / 40%
    2px;
  transition: background-size var(--speed) var(--ease), color var(--speed) ease;
}

.about_button:hover {
  color: var(--blue-dark);
  background-size: 100% 2px;
}

/* 2. Home ------------------------------------------------------------------ */

/* hero */

.banner_section {
  position: relative;
  height: 480px;
  margin-top: var(--header-height);
  overflow: hidden;
  background: var(--navy);
}

.banner_inner {
  position: relative;
  display: flex;
  min-height: 480px;
}

.banner_media {
  position: relative;
  width: 70%;
  overflow: hidden;
}

.banner_image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.12);
  transition: transform 7s ease-out;
}

.banner_side {
  position: relative;
  width: 30%;
  overflow: hidden;
  background-size: cover;
  background-color: var(--slate);
}

/* copy of the image used for the slow zoom */
/* .banner_side::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  transform: scale(1.15);
  transition: transform 9s ease-out;
} */

.banner_side::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(17, 34, 80, 0.55));
}

/* gold line between the two images */
.banner_inner::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 70%;
  z-index: 3;
  width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--sand));
  transform: scaleY(0);
  transform-origin: top;
}

.banner_overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(17, 34, 80, 0.92) 0%,
    rgba(17, 34, 80, 0.7) 45%,
    rgba(0, 106, 179, 0.25) 100%
  );
}

.banner_content {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1065px;
  height: 100%;
  color: #ffffff;
}

.banner_eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sand);
}

.banner_eyebrow::before {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--gold);
}

.banner_content h1,
.banner_content h2 {
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.12;
}

.banner_content h1 .hl,
.banner_content h2 .hl {
  background: linear-gradient(90deg, var(--blue), #7fd0ff, var(--sand));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: text-shine 6s linear infinite;
}

.banner_button {
  margin-top: 40px;
  padding: 16px 34px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 12px 30px rgba(3, 161, 254, 0.35);
}

.banner_button:hover {
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(3, 161, 254, 0.45);
}

/* text and images animate in on the active slide */
.banner_eyebrow,
.banner_content h1,
.banner_content h2,
.banner_button {
  opacity: 0;
}

.swiper-slide-active .banner_eyebrow {
  animation: fade-up 0.7s var(--ease) 0.1s both;
}

.swiper-slide-active .banner_content h1,
.swiper-slide-active .banner_content h2 {
  animation: fade-up 0.9s var(--ease) 0.3s both;
}

.swiper-slide-active .banner_button {
  animation: fade-up 0.8s var(--ease) 0.6s both;
}

.swiper-slide-active .banner_image {
  transform: scale(1);
}

.swiper-slide-active .banner_side::before {
  transform: scale(1);
}

.swiper-slide-active .banner_inner::after {
  animation: grow-down 1.2s var(--ease) 0.2s both;
}

/* slider dots shown as progress bars */
.hmSwiper_banner {
  --swiper-pagination-bullet-horizontal-gap: 3px;
}

.hmSwiper_banner .swiper-pagination {
  bottom: 40px;
  left: 0;
  z-index: 5;
  width: 70%;
  padding-left: max(15px, calc((100vw - var(--container)) / 2));
  text-align: left;
}

.hmSwiper_banner .swiper-pagination-bullet {
  position: relative;
  width: 48px;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.hmSwiper_banner .swiper-pagination-bullet-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform-origin: left;
  animation: fill-bar 5.5s linear both; /* autoplay delay + slide speed */
}

.scroll-cue {
  position: absolute;
  right: calc(30% + 30px);
  bottom: 36px;
  z-index: 5;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 20px;
}

.scroll-cue::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--gold);
  animation: scroll-hint 1.8s ease-in-out infinite;
}

/* page nav: sticks under the header and shows the current section */

.page-nav {
  position: sticky;
  top: var(--header-height);
  z-index: 40;
  padding: 18px 0;
  color: var(--sand);
  background: var(--gold);
  transition: box-shadow var(--speed) ease, top var(--speed) var(--ease);
}

/* follows the header when it shrinks (same timing as the header) */
.header.is-scrolled ~ .page-nav {
  top: var(--header-height-scrolled);
}

.page-nav.is-stuck {
  box-shadow: 0 10px 24px rgba(17, 34, 80, 0.18);
}

.page-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
}

.page-nav-ul {
  display: flex;
  align-items: center;
  font-size: 15px;
}

.page-nav-ul li:first-child {
  padding-right: 10px;
}

.page-nav-ul li + li {
  padding-left: 10px;
  border-left: 1px solid rgba(216, 206, 190, 0.4);
}

.page-nav-ul a,
.page-nav-ul a:hover {
  color: #ffffff;
}

.page-nav-current {
  display: inline-block;
  font-weight: 600;
  color: #ffffff;
}

.page-nav-current.changed {
  animation: fade-up 0.5s var(--ease);
}

.page-nav-button {
  padding: 12px 26px;
  color: var(--navy);
  background: var(--sand);
  opacity: 0;
  visibility: hidden;
}

.page-nav-button:hover {
  color: #ffffff;
  background: var(--gold);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.page-nav.show-quote .page-nav-button {
  opacity: 1;
  visibility: visible;
}

/* about */

.about_section {
  position: relative;
  overflow: hidden;
  background: #e9e5de;
  background-image: radial-gradient(
      circle at 92% 10%,
      rgb(255 255 255 / 6%),
      transparent 35%
    ),
    radial-gradient(circle at 5% 100%, rgb(231 205 163 / 0%), transparent 40%);
}

/* slow turning ring on the right */
.about_section::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -120px;
  width: 360px;
  height: 360px;
  margin-top: -180px;
  border: 1px solid rgba(17, 34, 80, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(17, 34, 80, 0.03),
    0 0 0 80px rgba(17, 34, 80, 0.02);
  animation: spin 40s linear infinite;
  pointer-events: none;
}

.about_section .container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
}

.about_section_left {
  width: 37%;
}

.about_section_right {
  width: 54%;
  padding: 62px 0 0 40px;
  border-left: 2px solid rgba(184, 148, 91, 0.5);
}

.about_section_right p {
  line-height: 1.75;
  color: var(--slate);
}

/* specialization */

.our_specialization .third_title {
  max-width: 800px;
  margin-bottom: 40px;
  color: var(--blue-dark);
}

.our_specialization p {
  max-width: 956px;
  line-height: 1.75;
  color: var(--text-muted);
}

.our_specialization_grid {
  margin-top: 60px;
  padding-top: 14px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 30px;
}

.hmSwiper_spec .swiper-wrapper {
  padding-bottom: 60px;
}

.hmSwiper_spec .swiper-slide {
  height: auto;
}

.our_specialization_grid .item-circle {
  position: relative;
  display: flex;
  align-items: center;
  height: 150px;
  width: 150px;
  border-radius: 50%;
  padding: 15px;
  overflow: hidden;
  margin: auto;
  /* border: 1px solid rgba(184, 148, 91, 0.35); */
  background: #faf9f7;
  /* box-shadow: var(--shadow); */
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) ease,
    border-color var(--speed) ease;
}

/* navy fill that rises on hover */
.our_specialization_grid .item-circle::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy), var(--slate));
  transform: translateY(101%);
  transition: transform 0.6s var(--ease);
}

.our_specialization_grid .item h4 {
  position: relative;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  transition: color var(--speed) ease;
  text-align: center;
  text-transform: uppercase;
}

.our_specialization_grid .item img {
  max-width: 70px;
  max-height: 70px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  /* animation: float 5s ease-in-out infinite; */
}

/* .swiper-slide:nth-child(even) .item img {
  animation-delay: -2.5s;
} */

.our_specialization_grid .item-circle:hover {
  /* transform: translateY(-10px); */
  border-color: transparent;
  box-shadow: var(--shadow-hover);
}

.our_specialization_grid .item-circle:hover::before {
  transform: none;
}

/* .our_specialization_grid .item:hover h4 {
  color: #ffffff;
} */

/* turns the gold line icon white on the navy background */
/* .our_specialization_grid .item:hover img {
  mix-blend-mode: screen;
  filter: grayscale(1) invert(1) brightness(1.3) contrast(6);
} */

.hmSwiper_products .swiper-pagination-bullet,
.hmSwiper_spec .swiper-pagination-bullet {
  width: 28px;
  height: 4px;
  border-radius: 4px;
  background: var(--sand);
  opacity: 1;
  transition: width var(--speed) var(--ease), background var(--speed) ease;
}

.hmSwiper_spec .swiper-pagination-bullet-active,
.hmSwiper_products .swiper-pagination-bullet-active {
  width: 36px;
  background: var(--gold);
}

/* products and services */

.products_and_services {
  position: relative;
  overflow: hidden;
  /* background: linear-gradient(
    120deg,
    rgba(17, 34, 80, 0.95) 0%,
    rgba(0, 106, 179, 0.88) 60%,
    rgba(3, 161, 254, 0.8) 100%
  ); */
  /* background: var(--navy);
  background-image: radial-gradient(
      circle at 0% 0%,
      rgba(3, 161, 254, 0.18),
      transparent 40%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(184, 148, 91, 0.16),
      transparent 40%
    ); */
  background: url(../images/cover.jpg) no-repeat bottom / cover;
  background-attachment: fixed;
  z-index: 0;
}

.products_and_services::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* background: linear-gradient(
    110deg,
    rgba(17, 34, 80, 0.95) 0%,
    rgba(46, 74, 103, 0.85) 55%,
    rgba(0, 106, 179, 0.7) 100%
  ); */
  background: linear-gradient(
    120deg,
    rgba(17, 34, 80, 0.95) 0%,
    rgba(0, 106, 179, 0.88) 60%,
    rgb(2 70 111) 100%
  );
}

/* moving blueprint grid */
/* .products_and_services::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(216, 206, 190, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(216, 206, 190, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: grid-move 30s linear infinite;
  pointer-events: none;
} */

.products_and_services .container {
  position: relative;
}

.products_and_services .sub_title {
  margin-bottom: 30px;
}

.products_and_services .third_title {
  max-width: 800px;
  color: #ffffff;
}

.hmSwiper_products .item {
  overflow: hidden;
  border: 1px solid rgba(216, 206, 190, 0.12);
  border-radius: var(--radius);
  background: rgb(46 74 103);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) ease,
    border-color var(--speed) ease, background var(--speed) ease;
}

.hmSwiper_products .item > img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.hmSwiper_products .content {
  padding: 28px 30px 34px;
  min-height: 294px;
}

.hmSwiper_products h4 {
  position: relative;
  margin-bottom: 18px;
  padding-bottom: 16px;
  font-size: 26px;
  line-height: 1.2;
  color: var(--blue);
}

.hmSwiper_products h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--gold);
  transition: width var(--speed) var(--ease);
}

.hmSwiper_products p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(216, 206, 190, 0.9);
}

.hmSwiper_products p::first-letter {
  text-transform: uppercase;
}

.hmSwiper_products .item:hover {
  transform: translateY(-8px);
  border-color: rgba(3, 161, 254, 0.5);
  /* background: rgba(46, 74, 103, 0.7); */
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.hmSwiper_products .item:hover > img {
  transform: scale(1.08);
}

.hmSwiper_products .item:hover h4::after {
  width: 100%;
}

.hmSwiper_products {
  margin-top: 60px;
}

.hmSwiper_products .swiper-wrapper {
  padding-bottom: 50px;
}

/* why choose us */

.section_choose .section_title {
  position: relative;
  margin-bottom: 45px;
  padding-bottom: 22px;
  text-align: center;
}

.section_choose .section_title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 70px;
  height: 3px;
  margin-left: -35px;
  border-radius: 3px;
  background: var(--gold);
}

.choose_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.choose_grid_item {
  position: relative;
  padding: 60px 32px;
  overflow: hidden;
  text-align: center;
  border: 1px solid #ece6dc;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) ease;
}

/* coloured bar along the top */
.choose_grid_item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--blue),
    var(--blue-dark),
    var(--gold)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

/* sand circle in the corner that grows on hover */
.choose_grid_item::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--sand-light);
  transition: transform 0.8s var(--ease);
}

.choose_grid_item > * {
  position: relative;
  z-index: 1;
}

.choose_grid_item img {
  width: 120px;
  margin: 0 auto 36px;
  padding: 18px;
  border-radius: 50%;
  background: var(--sand-light);
  transition: transform 0.6s var(--ease), background var(--speed) ease;
}

.choose_grid_item h4 {
  margin-bottom: 15px;
  font-size: 22px;
  color: var(--navy);
}

.choose_grid_item p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}

.choose_grid_item:hover {
  transform: translateY(-10px);
  box-shadow: 0 14px 40px rgba(17, 34, 80, 0.1);
}

.choose_grid_item:hover::before {
  transform: scaleX(1);
}

.choose_grid_item:hover::after {
  transform: scale(2.4);
}

.choose_grid_item:hover img {
  transform: rotate(-6deg) scale(1.08);
  background: #ffffff;
}

/* 3. Call to action -------------------------------------------------------- */

.section_looking {
  position: relative;
  z-index: 0;
  overflow: hidden;
  text-align: center;
  color: #ffffff;
  background: url(../images/cover.jpg) no-repeat center / cover fixed;
}

.section_looking::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    120deg,
    rgba(17, 34, 80, 0.95) 0%,
    rgba(0, 106, 179, 0.88) 60%,
    rgba(3, 161, 254, 0.8) 100%
  );
}

/* soft gold glow drifting across */
.section_looking::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -10%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(184, 148, 91, 0.35),
    transparent 70%
  );
  animation: drift 14s ease-in-out infinite alternate;
  pointer-events: none;
}

.section_looking .container {
  position: relative;
  max-width: 850px;
}

.section_looking .section_title {
  color: #ffffff;
}

.section_looking p {
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
}

.button_contact {
  margin-top: 36px;
  padding: 16px 36px;
  color: var(--navy);
  background: var(--sand);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.button_contact:hover {
  color: #ffffff;
  background: var(--gold);
}

/* 4. Inner pages ----------------------------------------------------------- */

.sub-banner {
  position: relative;
  z-index: 0;
  margin-top: var(--header-height);
  overflow: hidden;
  color: #ffffff;
  background: url(../images/cover.jpg) no-repeat bottom / cover;
}

.sub-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    120deg,
    rgba(17, 34, 80, 0.95) 0%,
    rgba(0, 106, 179, 0.88) 60%,
    rgba(3, 161, 254, 0.8) 100%
  );
}

/* .sub-banner::before {
  content: "";
  position: absolute;
  right: 6%;
  bottom: -120px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(216, 206, 190, 0.3);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(216, 206, 190, 0.05),
    0 0 0 100px rgba(216, 206, 190, 0.03);
  animation: spin 50s linear infinite;
} */

.sub-banner .container {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 340px;
  padding-bottom: 50px;
}

.sub-banner h1 {
  position: relative;
  padding-bottom: 18px;
  font-size: clamp(26px, 4vw, 42px);
  animation: fade-up 0.9s var(--ease) 0.2s both;
}

.sub-banner h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70px;
  height: 3px;
  background: var(--gold);
  transform-origin: left;
  animation: grow-right 1s var(--ease) 0.7s both;
}

/* text pages */

.px-120 p {
  line-height: 1.8;
  color: var(--slate);
}

.privacy-policy p,
.terms-and-conditions p:not(:last-child) {
  margin-bottom: 15px;
}
.terms-and-conditions p a {
  color: var(--blue);
  text-decoration: underline;
}

.privacy-policy h2,
.privacy-policy h3,
.privacy-policy h4,
.terms-and-conditions h2,
.terms-and-conditions h3,
.terms-and-conditions h4 {
  margin: 30px 0 12px;
  color: var(--navy);
}

.privacy-policy ul,
.terms-and-conditions ul {
  margin-bottom: 25px;
  padding-left: 26px;
  list-style: decimal;
}

.privacy-policy li + li,
.terms-and-conditions li + li {
  margin-top: 12px;
}

.privacy-policy li::marker,
.terms-and-conditions li::marker {
  font-weight: 700;
  /* color: var(--gold); */
}

/* quote form */

.request-form ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.request-form li {
  width: 48%;
}

.request-form li.full-width {
  width: 100%;
}

.request-form label {
  display: inline-block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.form-field {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 15px;
  font-size: 16px;
  border: 1px solid #ddd5c8;
  border-radius: 12px;
  background: #fbfaf7;
  transition: border-color var(--speed) ease, box-shadow var(--speed) ease;
}

textarea.form-field {
  height: 140px;
  padding: 15px;
  resize: none;
}

select.form-field {
  appearance: none;
  background: #fbfaf7
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23112250' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 15px center / 18px;
}

input[type="file"].form-field {
  padding: 12px 15px;
}

.form-field:focus {
  border-color: var(--blue);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(3, 161, 254, 0.15);
}

.request-form input[type="button"] {
  margin-top: 30px;
  padding: 14px 40px;
  font-weight: 600;
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 12px 26px rgba(3, 161, 254, 0.3);
  cursor: pointer;
  transition: transform var(--speed) var(--ease);
}

.request-form input[type="button"]:hover {
  transform: translateY(-3px);
}

/* about page */

.section-head {
  max-width: 760px;
  margin-bottom: 50px;
}

.check-list {
  margin-top: 26px;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

.check-list li + li {
  margin-top: 12px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(3, 161, 254, 0.12)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006ab3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E")
    no-repeat center / 12px;
}

/* who we are */

.about-intro {
  overflow: hidden; /* keeps the side fade-ins from causing a horizontal scroll */
}

.about-intro .container {
  display: grid;
  grid-template-columns: 5fr 6fr;
  align-items: center;
  gap: 80px;
}

.about-intro-media {
  position: relative;
  isolation: isolate;
}

.about-intro-media img {
  width: 100%;
  border-radius: var(--radius);
}

/* gold frame peeking out behind the photo */
.about-intro-media::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  z-index: -1;
  width: 60%;
  height: 60%;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
}

.about-intro-badge {
  position: absolute;
  right: -24px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 28px;
  color: #ffffff;
  border-left: 4px solid var(--gold);
  border-radius: 14px;
  background: var(--navy);
  box-shadow: var(--shadow-hover);
  animation: float 6s ease-in-out infinite;
}

.about-intro-badge strong {
  font-size: 42px;
  line-height: 1;
  color: var(--gold);
}

.about-intro-badge span {
  font-size: 14px;
  line-height: 1.4;
  color: var(--sand);
}

.about-intro-text .third_title {
  margin-bottom: 24px;
}

.about-intro-text p + p {
  margin-top: 16px;
}

/* stats band */

.about-stats {
  padding: 70px 0;
  background: var(--navy);
  background-image: radial-gradient(
      circle at 0% 50%,
      rgba(3, 161, 254, 0.18),
      transparent 40%
    ),
    radial-gradient(
      circle at 100% 50%,
      rgba(184, 148, 91, 0.16),
      transparent 40%
    );
}

.about-stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 10px 20px;
  text-align: center;
}

.stat + .stat {
  border-left: 1px solid rgba(216, 206, 190, 0.15);
}

.stat strong,
.stat span {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
}

.stat span {
  color: var(--gold);
}

.stat p {
  margin-top: 12px;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
}

/* partner */

.about-partner {
  background: var(--sand);
  background-image: radial-gradient(
    circle at 92% 10%,
    rgba(255, 255, 255, 0.45),
    transparent 35%
  );
}

.about-partner .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.about-partner-text .third_title {
  margin-bottom: 20px;
}

.branch-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.branch-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow);
  transition: transform var(--speed) var(--ease), color var(--speed) ease;
}

.branch-list li::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 148, 91, 0.2);
}

.branch-list li:hover {
  color: var(--blue-dark);
  transform: translateX(6px);
}

/* products and services */

.about-offer {
  background: var(--sand-light);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.offer-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) ease;
}

.offer-card img {
  width: 100%;
  aspect-ratio: 600 / 340;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.offer-card-body {
  padding: 32px 36px 40px;
}

.offer-card h4 {
  font-size: 26px;
  color: var(--navy);
}

.offer-card .check-list {
  margin-top: 18px;
}

.offer-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.offer-card:hover img {
  transform: scale(1.06);
}

/* specialization grid (re-uses the home page card style) */

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 0;
  padding-top: 0;
}

/* .spec-grid .item {
  min-height: 360px;
} */

/* 5. Floating buttons ------------------------------------------------------ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--blue),
    var(--blue-dark),
    var(--gold)
  );
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.whatsp {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 1000; /* stays above everything else on the page */
  display: flex;
  align-items: center;
  animation: pop-in 0.8s var(--ease) 1s both;
}

.whatsp-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(145deg, #2fe07a, #25d366 45%, #128c7e);
  box-shadow: 0 10px 28px rgba(18, 140, 126, 0.45);
  transition: transform var(--speed) var(--ease);
  animation: wiggle 6s ease-in-out 3s infinite;
}

/* two ripple rings */
.whatsp-icon::before,
.whatsp-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(37, 211, 102, 0.55);
  border-radius: 50%;
  animation: ripple 2.6s ease-out infinite;
  pointer-events: none;
}

.whatsp-icon::after {
  animation-delay: 1.3s;
}

.whatsp-icon svg {
  width: 32px;
  height: 32px;
}

.wa-bubble {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.7;
  stroke-linejoin: round;
}

.wa-phone {
  fill: #ffffff;
}

.whatsp-label {
  margin-right: -14px;
  padding: 10px 26px 10px 18px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--navy);
  border-radius: 999px 0 0 999px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(17, 34, 80, 0.18);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity var(--speed) ease, transform var(--speed) var(--ease);
  pointer-events: none;
}

.whatsp:hover .whatsp-label,
.whatsp:focus-visible .whatsp-label {
  opacity: 1;
  transform: none;
}

.whatsp:hover .whatsp-icon {
  transform: scale(1.08);
  animation-play-state: paused;
}

.back-to-top {
  position: fixed;
  right: 33px;
  bottom: 104px;
  z-index: 999;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  font-size: 20px;
  color: #ffffff;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 14px 40px rgba(17, 34, 80, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity var(--speed) ease, transform var(--speed) var(--ease),
    visibility var(--speed), background var(--speed) ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  background: var(--gold);
}

/* Animations --------------------------------------------------------------- */

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.6);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes grow-down {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes grow-right {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes fill-bar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes text-shine {
  to {
    background-position: 200% center;
  }
}

@keyframes scroll-hint {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  80% {
    transform: translateY(14px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes drift {
  to {
    transform: translate(60vw, 30%);
  }
}

@keyframes grid-move {
  to {
    background-position: 60px 60px;
  }
}

@keyframes ripple {
  from {
    transform: scale(1);
    opacity: 0.9;
  }
  to {
    transform: scale(1.75);
    opacity: 0;
  }
}

@keyframes wiggle {
  0%,
  86%,
  100% {
    transform: rotate(0);
  }
  88% {
    transform: rotate(-14deg) scale(1.06);
  }
  90% {
    transform: rotate(12deg) scale(1.06);
  }
  92% {
    transform: rotate(-8deg);
  }
  94% {
    transform: rotate(5deg);
  }
}

/* 6. Responsive ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------- */

.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
}
.section-header p {
  margin-top: 12px;
  font-size: 0.8rem;
  color: #666;
}

/* ---------- GRID: 3 items per row ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 14px 22px;
  border-radius: 10px;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e4e4e4;
}

.card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #d4d4d4;
  border-radius: 6px;
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}

.card h3 {
  margin-top: 16px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.btn {
  margin-top: 12px;
  display: inline-block;
  padding: 8px 22px;
  background: #0a5ea8;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.3s ease, transform 0.3s ease;
}

/* ---------- HOVER EFFECTS ---------- */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
}
.card:hover .card-img img {
  transform: scale(1.08);
}
.card:hover h3 {
  color: #0a5ea8;
}
.btn:hover {
  background: #07416f;
  transform: scale(1.06);
}

/* ------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------- */

.detail-product .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
  align-items: center;
}

.detail-product-image img {
  width: 100%;
}

.detail-product-content h2 {
  font-size: 36px;
  margin-bottom: 5px;
  font-weight: bold;
}
.detail-product-content h3 {
  margin-bottom: 25px;
}

/* ------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------- */

.related-product-section {
  background: var(--sand-light);
}

.related-product-section h2 {
  text-align: center;
  font-size: 50px;
  font-weight: bold;
}

.related-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.related-content {
  text-align: center;
  padding-top: 12px;
}

.related-button {
  font-size: 16px;
  display: inline-block;
  color: #ffffff;
  background: var(--blue);
  padding: 5px 25px;
  margin-top: 20px;
  transition: background 0.5s ease-in-out;
  border-radius: 100px;
}
.related-button:hover {
  background: var(--blue-dark);
}

.related-image img {
  width: 100%;
}

/* ------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------- */

@media (max-width: 1600px) {
  .banner_content {
    max-width: 870px;
  }
}

@media (max-width: 1450px) {
  .banner_section {
    height: 420px;
  }

  .banner_inner {
    min-height: 420px;
  }
}

@media (max-width: 1200px) {
  .about_section,
  .our_specialization,
  .products_and_services,
  .section_choose,
  .section_looking,
  .px-120 {
    padding: 80px 0;
  }

  .banner_content {
    max-width: 100%;
    padding: 0 15px;
  }

  .about_section_right {
    padding: 30px 0 0 28px;
  }

  .choose_grid {
    gap: 25px;
  }

  .about-intro .container,
  .about-partner .container {
    gap: 50px;
  }
  .about_section_left {
    width: 45%;
  }
  .stat {
    padding: 10px 10px;
  }
  .stat p {
    margin-top: 8px;
    font-size: 12px;
  }
  .our_specialization_grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 992px) {
  .about-intro .container,
  .about-partner .container {
    grid-template-columns: 1fr;
  }

  .about-intro-media {
    max-width: 560px;
    padding-left: 0;
  }

  .about-intro-badge {
    right: 16px;
  }

  .about-stats .container,
  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }

  .stat:nth-child(3) {
    border-left: 0;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }
  .detail-product .container {
    grid-template-columns: repeat(1, 1fr);
    row-gap: 40px;
  }
  .related-products {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 30px;
  }
  .related-product-section h2 {
    font-size: 30px;
  }
  .about_section .container {
    flex-wrap: wrap;
  }

  .about_section_left,
  .about_section_right {
    width: 100%;
  }

  .about_section_right {
    padding-left: 0;
    border-left: 0;
  }

  .about_section::after {
    display: none;
  }

  .our_specialization_grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .about-intro .container,
  .about-partner .container {
    gap: 30px;
  }
  .btn-primary {
    margin-top: 26px;
  }
  .about-intro-media::before {
    left: 0;
  }
  .product-info {
    flex-wrap: wrap;
    padding: 15px;
  }
  .product-info h3 {
    font-size: 16px;
  }
  .product-image img {
    padding: 12px;
  }
  .btn-primary {
    margin-top: 28px;
    padding: 8px 24px;
    box-shadow: 0 -3px 3px rgba(3, 161, 254, 0.35);
  }
}
@media (max-width: 767px) {
  .detail-product-content h2 {
    font-size: 24px;
  }

  .card h3 {
    margin-top: 10px;
  }

  .related-product-section h2 {
    font-size: 24px;
  }
  .about_section,
  .our_specialization,
  .products_and_services,
  .section_choose,
  .section_looking,
  .px-120 {
    padding: 50px 0;
  }

  .third_title {
    font-size: 18px;
  }

  .banner_section,
  .banner_inner {
    height: 500px;
    min-height: 500px;
  }

  .banner_media {
    width: 100%;
  }

  .banner_side,
  .banner_inner::after,
  .scroll-cue {
    display: none;
  }

  .hmSwiper_banner .swiper-pagination {
    bottom: 24px;
    width: 100%;
  }

  .banner_eyebrow {
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .banner_button {
    padding: 14px 26px;
  }

  .page-nav-ul li:first-child {
    display: none;
  }

  .page-nav-ul li + li {
    padding-left: 0;
    border-left: 0;
  }

  .page-nav-button {
    padding: 10px 22px;
  }

  .about_section {
    text-align: center;
  }

  .our_specialization .third_title {
    margin-bottom: 25px;
  }

  .our_specialization_grid,
  .hmSwiper_products {
    margin-top: 30px;
  }

  .our_specialization_grid .item-circle {
    width: 130px;
    height: 130px;
  }
  .page-nav {
    padding: 10px 0;
  }

  .hmSwiper_products,
  .choose_grid {
    grid-template-columns: 1fr;
  }

  .hmSwiper_products h4 {
    font-size: 22px;
  }

  .section_choose .section_title {
    margin-bottom: 30px;
  }

  .choose_grid_item {
    padding: 40px 20px;
  }

  .choose_grid_item h4 {
    font-size: 20px;
  }

  .sub-banner .container {
    min-height: 280px;
    padding-bottom: 30px;
  }

  .request-form li {
    width: 100%;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .about-intro-media::before {
    display: none;
  }

  .about-intro-badge {
    padding: 16px 20px;
  }

  .about-intro-badge strong {
    font-size: 32px;
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }

  .spec-grid {
    gap: 14px;
  }

  .spec-grid .item {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    min-height: 0;
    padding: 20px 18px 40px;
  }

  .spec-grid .item img {
    position: static;
    order: -1;
    max-width: 72px;
  }

  .spec-grid .item h4 {
    margin-bottom: 0;
    font-size: 16px;
  }

  .spec-grid .item::after {
    left: 18px;
    bottom: 20px;
  }

  .whatsp {
    right: 16px;
    bottom: 18px;
  }

  .whatsp-icon {
    width: 54px;
    height: 54px;
  }

  .whatsp-icon svg {
    width: 28px;
    height: 28px;
  }

  .whatsp-label {
    display: none;
  }

  .back-to-top {
    right: 23px;
    bottom: 88px;
    width: 40px;
    height: 40px;
  }
  .button_contact {
    padding: 12px 26px;
  }
  .detail-product .container {
    row-gap: 25px;
  }
  .hmSwiper_products .swiper-pagination-bullet,
  .hmSwiper_spec .swiper-pagination-bullet {
    width: 14px;
  }
  .hmSwiper_spec .swiper-pagination-bullet-active,
  .hmSwiper_products .swiper-pagination-bullet-active {
    width: 30px;
  }
  .about-intro-media {
    padding-left: 0;
  }
  .detail-product-content h2 {
    font-size: 26px;
  }
  .footer-brand p {
    max-width: 100%;
  }
  .our_specialization_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 575px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 40px 16px;
  }
  .section-header {
    margin-bottom: 30px;
  }
  .related-products {
    grid-template-columns: repeat(1, 1fr);
  }
  .spec-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
