/* =========================================================
   AquaTech – small additions on top of the template
   (the template's own CSS files are not modified)
   ========================================================= */

/* ---------- Language toggle in the top bar (replaces "Service Area") ---------- */
.our-service-location-area.aq-lang {
  display: flex;
  align-items: center;
}
.aq-lang-toggle {
  background: transparent;
  border: 0;
  padding: 0;
  margin-left: 8px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.aq-lang-toggle:hover {
  opacity: 0.8;
}
.rtl .aq-lang-toggle {
  margin-left: 0;
  margin-right: 8px;
}
html[lang="en"] .aq-lang-toggle {
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

/* ---------- Language toggle for phones / tablets (next to the menu button) ----------
   The top bar (with the switch above) is hidden below 1200px, so this copy shows there. */
.aq-lang-mobile {
  display: none;
  align-items: center;
  gap: 7px;
  margin: 0 14px 0 0;
  padding: 8px 14px;
  border: 1px solid rgba(var(--thm-base-rgb), 0.35);
  border-radius: 30px;
  background: #ffffff;
  color: var(--thm-base);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.aq-lang-mobile i {
  font-size: 16px;
}
.aq-lang-mobile:hover,
.aq-lang-mobile:focus-visible {
  background: var(--thm-base);
  border-color: var(--thm-base);
  color: #ffffff;
  outline: none;
}
html[lang="en"] .aq-lang-mobile span {
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}
.rtl .aq-lang-mobile {
  margin: 0 0 0 14px;
}
@media only screen and (max-width: 1199px) {
  .aq-lang-mobile { display: inline-flex; }
}
@media only screen and (max-width: 374px) {
  .aq-lang-mobile { padding: 7px 10px; font-size: 13px; margin-right: 10px; }
  .rtl .aq-lang-mobile { margin-right: 0; margin-left: 10px; }
}

/* ---------- Arabic typography ---------- */
html[lang="ar"] body,
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3,
html[lang="ar"] h4, html[lang="ar"] h5, html[lang="ar"] h6,
html[lang="ar"] p, html[lang="ar"] a, html[lang="ar"] span:not([class*="icon"]):not(.fa),
html[lang="ar"] li, html[lang="ar"] input, html[lang="ar"] textarea,
html[lang="ar"] button, html[lang="ar"] select, html[lang="ar"] .big-title {
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif !important;
  letter-spacing: 0 !important;
}
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 {
  line-height: 1.35;
}
/* keep phone numbers and emails readable left-to-right */
html[lang="ar"] a[href^="tel:"],
html[lang="ar"] a[href^="mailto:"] {
  direction: ltr;
  unicode-bidi: embed;
}

/* ---------- Product price label ("Quote") ---------- */
.single-shop-item .price-box h3,
.single-shop-item .price h3 {
  white-space: nowrap;
}

/* =========================================================
   Arabic (RTL) fixes for template parts that the template's
   own rtl.css does not cover.
   ========================================================= */

/* Owl carousels: keep the sliding track left-to-right, text inside right-to-left */
.rtl .owl-carousel {
  direction: ltr;
}
.rtl .owl-carousel .owl-item {
  direction: rtl;
}

/* Hero slider: mirror the image panel and the round photo */
.rtl .main-slider .slider-bg-box {
  right: auto;
  left: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 50px;
}
.rtl .main-slider .slider-image {
  right: auto;
  left: 30px;
}

/* Sections with absolutely positioned images: keep the layout as designed,
   only the text reads right-to-left */
.rtl .choose-style1-area,
.rtl .contact-style1-area {
  direction: ltr;
}
.rtl .choose-style1-area h2, .rtl .choose-style1-area h3, .rtl .choose-style1-area h5,
.rtl .choose-style1-area p, .rtl .choose-style1-area .sub-title,
.rtl .contact-style1-area h2, .rtl .contact-style1-area h3, .rtl .contact-style1-area h5,
.rtl .contact-style1-area p, .rtl .contact-style1-area .sub-title,
.rtl .contact-style1-area label, .rtl .contact-style1-area input {
  direction: rtl;
  text-align: right;
}
.rtl .main-slider .round-box {
  right: auto;
  left: 20%;
}
.rtl .header-right_buttom {
  margin-right: 30px;
  padding-right: 0;
}
/* the template's rtl.css hides the header button background – show it again */
.rtl .header-right_buttom a::before,
.rtl .header-right_buttom a::after {
  display: block;
}

/* ---------- home page FAQ section ---------- */
.home-faq-btns-box {
  position: relative;
  display: block;
  padding-top: 50px;
  line-height: 0;
}
.rtl .home-faq-area .accordion-box .block .acc-btn h3,
.rtl .home-faq-area .accordion-box .block .acc-content p {
  direction: rtl;
  text-align: right;
}

/* ---------- home fact counter: 4 items instead of 5 ---------- */
@media only screen and (min-width: 1200px) {
  .fact-counter_box .single-fact-counter {
    max-width: 25%;
  }
}

/* =========================================================
   Quick Enquiry pop-up (assets/js/aquatech-enquiry.js)
   ========================================================= */
html.aq-modal-open,
html.aq-modal-open body {
  overflow: hidden;
}
.aq-enquiry {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  pointer-events: none;
}
.aq-enquiry.is-open,
.aq-enquiry.is-closing {
  visibility: visible;
}
.aq-enquiry.is-open {
  pointer-events: auto;
}

/* blurred, tinted background */
.aq-enquiry__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 26, 56, 0.45);
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  opacity: 0;
  transition: opacity 0.4s ease, backdrop-filter 0.4s ease, -webkit-backdrop-filter 0.4s ease;
}
.aq-enquiry.is-open .aq-enquiry__backdrop {
  opacity: 1;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* the card */
.aq-enquiry__dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 35, 80, 0.35);
  padding: 38px 34px 28px;
  opacity: 0;
  transform: translateY(40px) scale(0.92);
  transition: opacity 0.35s ease, transform 0.55s cubic-bezier(0.2, 0.9, 0.25, 1.15);
  outline: none;
}
.aq-enquiry__dialog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--thm-base), var(--thm-primary), #25d366, var(--thm-base));
  background-size: 200% 100%;
  animation: aqBar 6s linear infinite;
}
.aq-enquiry.is-open .aq-enquiry__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.aq-enquiry.is-closing .aq-enquiry__dialog {
  transform: translateY(20px) scale(0.96);
  transition: opacity 0.3s ease, transform 0.35s ease;
}

.aq-enquiry__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #f1f6fb;
  color: #5b6b7b;
  font-size: 16px;
  line-height: 38px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.35s ease;
  z-index: 2;
}
.aq-enquiry__close:hover,
.aq-enquiry__close:focus-visible {
  background: var(--thm-base);
  color: #fff;
  transform: rotate(90deg);
  outline: none;
}

/* header */
.aq-enquiry__head {
  text-align: center;
  margin-bottom: 22px;
}
.aq-enquiry__badge {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-size: 32px;
  line-height: 64px;
  box-shadow: 0 10px 25px rgba(18, 140, 126, 0.35);
}
.aq-enquiry__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: aqRing 2.2s ease-out infinite;
}
.aq-enquiry__head h3,
.aq-enquiry__view--done h3 {
  margin: 0 0 6px;
  color: var(--thm-black);
  font-size: 26px;
  line-height: 1.25;
}
.aq-enquiry__head p,
.aq-enquiry__view--done p {
  margin: 0 auto;
  max-width: 380px;
  color: #6b7a89;
  font-size: 15px;
  line-height: 1.6;
}
.aq-enquiry__regarding {
  display: none;
  margin: 14px auto 0;
  padding: 7px 16px;
  max-width: 100%;
  border-radius: 30px;
  background: rgba(var(--thm-base-rgb), 0.08);
  color: var(--thm-base);
  font-size: 13px;
  line-height: 1.4;
}
.aq-enquiry__regarding.is-visible {
  display: inline-block;
}
.aq-enquiry__regarding span {
  opacity: 0.75;
}

/* fields */
.aq-enquiry__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.aq-field {
  position: relative;
}
.aq-field--full,
.aq-enquiry__submit,
.aq-enquiry__note {
  grid-column: 1 / -1;
}
.aq-field > i {
  position: absolute;
  top: 0;
  left: 16px;
  height: 50px;
  line-height: 50px;
  color: #9aabbb;
  font-size: 15px;
  pointer-events: none;
  transition: color 0.25s ease;
  z-index: 1;
}
.aq-enquiry .aq-field input,
.aq-enquiry .aq-field select,
.aq-enquiry .aq-field textarea {
  display: block;
  width: 100%;
  height: 50px;
  margin: 0;
  padding: 0 16px 0 42px;
  border: 1.5px solid #dfe8f0;
  border-radius: 12px;
  background-color: #f7fafd;
  color: var(--thm-black);
  font-size: 15px;
  line-height: 1.4;
  box-shadow: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
.aq-enquiry .aq-field textarea {
  height: 92px;
  padding-top: 14px;
  resize: none;
}
.aq-field--area > i {
  height: 48px;
}
.aq-enquiry .aq-field select {
  cursor: pointer;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239aabbb' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.aq-enquiry .aq-field select.is-empty {
  color: #8a99a8;
}
.aq-enquiry .aq-field input::placeholder,
.aq-enquiry .aq-field textarea::placeholder {
  color: #8a99a8;
  opacity: 1;
}
.aq-enquiry .aq-field input:focus,
.aq-enquiry .aq-field select:focus,
.aq-enquiry .aq-field textarea:focus {
  border-color: var(--thm-primary);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(var(--thm-primary-rgb), 0.18);
}
.aq-field:focus-within > i {
  color: var(--thm-base);
}
.aq-enquiry .aq-field input:user-invalid {
  border-color: #e5484d;
  box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.12);
}

/* header and fields slide in one after another */
.aq-enquiry__head,
.aq-enquiry__form > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.aq-enquiry.is-open .aq-enquiry__head,
.aq-enquiry.is-open .aq-enquiry__form > * {
  opacity: 1;
  transform: none;
}
.aq-enquiry.is-open .aq-enquiry__head { transition-delay: 0.1s; }
.aq-enquiry.is-open .aq-enquiry__form > :nth-child(1) { transition-delay: 0.16s; }
.aq-enquiry.is-open .aq-enquiry__form > :nth-child(2) { transition-delay: 0.21s; }
.aq-enquiry.is-open .aq-enquiry__form > :nth-child(3) { transition-delay: 0.26s; }
.aq-enquiry.is-open .aq-enquiry__form > :nth-child(4) { transition-delay: 0.31s; }
.aq-enquiry.is-open .aq-enquiry__form > :nth-child(5) { transition-delay: 0.36s; }
.aq-enquiry.is-open .aq-enquiry__form > :nth-child(6) { transition-delay: 0.41s; }
.aq-enquiry.is-open .aq-enquiry__form > :nth-child(7) { transition-delay: 0.46s; }

/* WhatsApp button */
.aq-enquiry__submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  margin-top: 4px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 12px 25px rgba(18, 140, 126, 0.3);
}
.aq-enquiry.is-open .aq-enquiry__submit {
  transition: opacity 0.45s ease 0.41s, transform 0.25s ease, box-shadow 0.25s ease;
}
.aq-enquiry__submit i {
  font-size: 22px;
}
.aq-enquiry__submit::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  animation: aqShine 3.2s ease-in-out infinite;
}
.aq-enquiry.is-open .aq-enquiry__submit:hover,
.aq-enquiry.is-open .aq-enquiry__submit:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(18, 140, 126, 0.4);
  outline: none;
}
.aq-enquiry.is-open .aq-enquiry__submit:active {
  transform: translateY(0) scale(0.98);
}
.aq-enquiry__note {
  margin: 2px 0 0;
  text-align: center;
  color: #8a99a8;
  font-size: 13px;
  line-height: 1.5;
}

/* "WhatsApp is opening" view */
.aq-enquiry__view--done {
  display: none;
  text-align: center;
  padding: 10px 0 4px;
}
.aq-enquiry.is-done .aq-enquiry__view--form {
  display: none;
}
.aq-enquiry.is-done .aq-enquiry__view--done {
  display: block;
  animation: aqPop 0.5s cubic-bezier(0.2, 0.9, 0.25, 1.2);
}
.aq-enquiry__tick {
  width: 82px;
  height: 82px;
  margin: 0 auto 18px;
}
.aq-enquiry__tick svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.aq-enquiry__tick circle {
  stroke: #25d366;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
}
.aq-enquiry__tick path {
  stroke: #128c7e;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
}
.aq-enquiry.is-done .aq-enquiry__tick circle {
  animation: aqDraw 0.6s ease forwards 0.1s;
}
.aq-enquiry.is-done .aq-enquiry__tick path {
  animation: aqDraw 0.4s ease forwards 0.6s;
}
.aq-enquiry__done {
  margin-top: 22px;
  padding: 12px 38px;
  border: none;
  border-radius: 30px;
  background: var(--thm-base);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.aq-enquiry__done:hover,
.aq-enquiry__done:focus-visible {
  background: #003b7c;
  transform: translateY(-2px);
  outline: none;
}

@keyframes aqRing {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}
@keyframes aqShine {
  0%, 60% { left: -60%; }
  100% { left: 130%; }
}
@keyframes aqBar {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}
@keyframes aqPop {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes aqDraw {
  to { stroke-dashoffset: 0; }
}

/* Arabic / right-to-left */
html[dir="rtl"] .aq-enquiry__dialog { direction: rtl; }
html[dir="rtl"] .aq-enquiry__close { right: auto; left: 16px; }
html[dir="rtl"] .aq-field > i { left: auto; right: 16px; }
html[dir="rtl"] .aq-enquiry .aq-field input,
html[dir="rtl"] .aq-enquiry .aq-field select,
html[dir="rtl"] .aq-enquiry .aq-field textarea {
  padding: 0 42px 0 16px;
  text-align: right;
}
html[dir="rtl"] .aq-enquiry .aq-field textarea { padding-top: 14px; }
html[dir="rtl"] .aq-enquiry .aq-field select {
  padding-left: 36px;
  background-position: left 16px center;
}
html[dir="rtl"] .aq-enquiry .aq-field input[type="tel"] { direction: ltr; text-align: right; }

/* phones */
@media only screen and (max-width: 575px) {
  .aq-enquiry { padding: 12px; }
  .aq-enquiry__dialog {
    padding: 32px 20px 22px;
    border-radius: 20px;
    max-height: calc(100vh - 24px);
  }
  .aq-enquiry__form { grid-template-columns: 1fr; }
  .aq-enquiry__head h3, .aq-enquiry__view--done h3 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .aq-enquiry *,
  .aq-enquiry *::before,
  .aq-enquiry *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .aq-enquiry__tick circle,
  .aq-enquiry__tick path { stroke-dashoffset: 0; }
}

/* =========================================================
   Header & navigation refinements
   ========================================================= */
/* no "+" beside dropdown links (sub-menus still open on hover / keyboard focus) */
.main-menu .navigation > li.dropdown > a:after {
  content: none;
  display: none;
}
.main-menu .navigation > li > a {
  font-size: 16px;
}
@media only screen and (min-width: 1391px) {
  .main-menu .navigation > li.dropdown > a { padding-right: 20px; }
}
@media only screen and (min-width: 1200px) and (max-width: 1390px) {
  .main-menu .navigation > li.dropdown > a { padding-right: 10px; }
}
.sticky-header .main-menu .navigation > li.dropdown > a {
  padding-right: 0;
}
/* keyboard users: open the sub-menu when a link inside it has focus */
.main-menu .navigation > li.dropdown:focus-within > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- round AquaTech badge logo (assets/images/resources/aquatech-logo.webp) ---------- */
.header-left .logo img,
.sticky-header .logo img,
.mobile-menu .nav-logo img,
.aq-footer__logo img {
  display: block;
  width: auto;
  max-width: none;
  transition: transform 0.4s ease;
}
.header-left .logo img { height: 84px; }
.sticky-header .logo { padding: 14px 0; }
.sticky-header .logo img { height: 72px; }
.mobile-menu .nav-logo img { height: 96px; }
.aq-footer__logo img {
  filter: drop-shadow(0 0 16px rgba(var(--thm-primary-rgb), 0.35));
}
.header-left .logo a:hover img,
.sticky-header .logo a:hover img,
.aq-footer__logo:hover img {
  transform: scale(1.04);
}
@media only screen and (max-width: 1199px) {
  .header-left .logo { padding: 10px 0; }
  .header-left .logo img { height: 70px; }
}
@media only screen and (max-width: 767px) {
  .header-left .logo img { height: 62px; }
  .aq-footer__logo img { height: 110px; }
}

/* =========================================================
   Testimonials slider (assets/js/aquatech-reviews.js)
   ========================================================= */
.aq-reviews-area {
  overflow: hidden;
}
.aq-reviews-area .sec-title {
  padding-bottom: 50px;
}
.aq-reviews {
  position: relative;
  overflow: hidden;
  direction: ltr; /* the row always runs left to right; each card sets its own text direction */
  padding: 16px 0 34px;
  touch-action: pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.aq-reviews {
  cursor: grab;
}
.aq-reviews.is-dragging,
.aq-reviews.is-dragging .aq-review {
  cursor: grabbing;
}
/* no hover lift while the row is being dragged */
.aq-reviews.is-dragging .aq-review:hover {
  transform: none;
}
.aq-reviews__track {
  display: flex;
  gap: 26px;
  width: max-content;
  direction: ltr;
  will-change: transform;
}
.aq-review {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: 370px;
  padding: 30px 30px 24px;
  background: #ffffff;
  border: 1px solid #e3ecf3;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0, 45, 100, 0.08);
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
html[dir="rtl"] .aq-review {
  direction: rtl;
  text-align: right;
}
.aq-review::after {
  content: "\201D";
  position: absolute;
  right: 22px;
  bottom: -38px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 150px;
  line-height: 1;
  color: rgba(var(--thm-base-rgb), 0.06);
  pointer-events: none;
}
html[dir="rtl"] .aq-review::after {
  right: auto;
  left: 22px;
}
.aq-review:hover,
.aq-review:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(var(--thm-primary-rgb), 0.6);
  box-shadow: 0 22px 50px rgba(0, 45, 100, 0.14);
  outline: none;
}
.aq-review.is-held {
  border-color: var(--thm-primary);
  box-shadow: 0 0 0 3px rgba(var(--thm-primary-rgb), 0.35), 0 22px 50px rgba(0, 45, 100, 0.14);
}
.aq-review__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.aq-review__stars {
  display: inline-flex;
  gap: 3px;
  color: #f5b301;
  font-size: 17px;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(196, 140, 0, 0.25);
}
.aq-review__google {
  display: inline-block;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23FBBC05' d='M43.6 20.1H42V20H24v8h11.3c-1.6 4.7-6.1 8-11.3 8-6.6 0-12-5.4-12-12s5.4-12 12-12c3.1 0 5.8 1.2 8 3l5.7-5.7C34 6.1 29.3 4 24 4 13 4 4 13 4 24s9 20 20 20 20-9 20-20c0-1.3-.1-2.6-.4-3.9z'/%3E%3Cpath fill='%23EA4335' d='M6.3 14.7l6.6 4.8C14.7 15.1 19 12 24 12c3.1 0 5.8 1.2 8 3l5.7-5.7C34 6.1 29.3 4 24 4 16.3 4 9.7 8.3 6.3 14.7z'/%3E%3Cpath fill='%2334A853' d='M24 44c5.2 0 9.9-2 13.4-5.2l-6.2-5.2c-2 1.5-4.5 2.4-7.2 2.4-5.2 0-9.6-3.3-11.3-7.9l-6.5 5C9.5 39.6 16.2 44 24 44z'/%3E%3Cpath fill='%234285F4' d='M43.6 20.1H42V20H24v8h11.3c-.8 2.2-2.2 4.2-4.1 5.6l6.2 5.2C37 39.2 44 34 44 24c0-1.3-.1-2.6-.4-3.9z'/%3E%3C/svg%3E");
}
.aq-review__title {
  margin: 0 0 10px;
  color: var(--thm-black);
  font-size: 20px;
  line-height: 1.35;
}
.aq-review__text {
  flex: 1 1 auto;
  margin: 0;
  color: #5d6b78;
  font-size: 15.5px;
  line-height: 1.75;
}
.aq-review__author {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #edf2f6;
}
.aq-review__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--thm-base), var(--thm-primary));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.aq-review__who {
  min-width: 0;
}
.aq-review__name {
  margin: 0;
  color: var(--thm-black);
  font-size: 16px;
  line-height: 1.3;
}
.aq-review__place {
  margin: 2px 0 0;
  color: #8693a0;
  font-size: 14px;
  line-height: 1.3;
}
.aq-review__tag {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 20px;
  background: #f1f5f9;
  color: #7a8794;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
}
/* visitors who prefer less motion get a plain swipeable row */
.aq-reviews.is-static {
  overflow-x: auto;
  -webkit-mask-image: none;
  mask-image: none;
  scroll-snap-type: x mandatory;
  padding-left: 20px;
  padding-right: 20px;
}
.aq-reviews.is-static .aq-review {
  scroll-snap-align: center;
}
@media only screen and (max-width: 767px) {
  .aq-review {
    width: min(82vw, 330px);
    padding: 24px 22px 20px;
  }
  .aq-reviews__track { gap: 18px; }
  .aq-reviews-area .sec-title { padding-bottom: 36px; }
}

/* =========================================================
   National Address (home page, right before the map)
   ========================================================= */
.aq-address-area {
  position: relative;
  padding: 110px 0 40px;
  background: #ffffff;
  overflow: hidden;
}
.aq-address-area .sec-title {
  padding-bottom: 26px;
}
.aq-address__intro {
  margin: 0 0 26px;
  color: #5d6b78;
  font-size: 16px;
  line-height: 1.75;
}
.aq-address__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}
.aq-address__row {
  padding: 14px 18px;
  background: #f4f8fb;
  border: 1px solid #e3ecf3;
  border-radius: 12px;
}
.aq-address__row--full {
  grid-column: 1 / -1;
}
.aq-address__row dt {
  margin: 0 0 2px;
  color: #8693a0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}
.aq-address__row dd {
  margin: 0;
  color: var(--thm-black);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}
.aq-address__meta {
  margin: 0 0 26px;
  color: #6b7a89;
  font-size: 14px;
}
.aq-address__meta span + span::before {
  content: "\00B7";
  margin: 0 8px;
}
.aq-address__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
}
.aq-address__verify {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--thm-base);
  font-size: 15px;
  font-weight: 700;
  transition: color 0.25s ease;
}
.aq-address__verify:hover,
.aq-address__verify:focus-visible {
  color: var(--thm-primary);
}

/* the certificate as a framed document */
.aq-address__doc {
  position: relative;
  display: block;
  max-width: 470px;
  margin: 0 0 0 auto;
  padding: 14px;
  background: #ffffff;
  border-radius: 18px;
  /* the first shadow is the light-blue "card behind the document" */
  box-shadow: 18px 18px 0 rgba(var(--thm-primary-rgb), 0.28), 0 30px 70px rgba(0, 45, 100, 0.16), 0 0 0 1px rgba(var(--thm-base-rgb), 0.08);
  transform: rotate(-1.5deg);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.aq-address__doc:hover,
.aq-address__doc:focus-visible {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 12px 12px 0 rgba(var(--thm-primary-rgb), 0.28), 0 36px 80px rgba(0, 45, 100, 0.22), 0 0 0 1px rgba(var(--thm-base-rgb), 0.1);
  outline: none;
}
.aq-address__doc img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.aq-address__badge {
  position: absolute;
  top: -14px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--thm-base), var(--thm-primary));
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 10px 22px rgba(var(--thm-base-rgb), 0.3);
}
.aq-address__zoom {
  position: absolute;
  left: 50%;
  bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 30px;
  background: rgba(21, 21, 21, 0.75);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.aq-address__doc:hover .aq-address__zoom,
.aq-address__doc:focus-visible .aq-address__zoom {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* the map that follows continues straight on */
.aq-address-area + .aq-map-area {
  padding-top: 90px;
}

/* Arabic / right-to-left */
html[dir="rtl"] .aq-address-area .aq-address__info {
  direction: rtl;
  text-align: right;
}
html[dir="rtl"] .aq-address__doc {
  margin: 0 auto 0 0;
  transform: rotate(1.5deg);
}
html[dir="rtl"] .aq-address__doc:hover,
html[dir="rtl"] .aq-address__doc:focus-visible {
  transform: rotate(0deg) translateY(-6px);
}
html[dir="rtl"] .aq-address__doc {
  box-shadow: -18px 18px 0 rgba(var(--thm-primary-rgb), 0.28), 0 30px 70px rgba(0, 45, 100, 0.16), 0 0 0 1px rgba(var(--thm-base-rgb), 0.08);
}
html[dir="rtl"] .aq-address__badge {
  right: auto;
  left: 24px;
}

@media only screen and (max-width: 991px) {
  .aq-address-area { padding: 90px 0 30px; }
  .aq-address__head { margin-bottom: 40px; }
  .aq-address__doc,
  html[dir="rtl"] .aq-address__doc { margin: 0 auto; }
}
@media only screen and (max-width: 575px) {
  .aq-address-area { padding: 70px 0 20px; }
  .aq-address__list { grid-template-columns: 1fr; }
  .aq-address__doc { padding: 10px; transform: none; }
  html[dir="rtl"] .aq-address__doc { transform: none; }
  .aq-address__doc,
  html[dir="rtl"] .aq-address__doc { box-shadow: 0 20px 50px rgba(0, 45, 100, 0.16), 0 0 0 1px rgba(var(--thm-base-rgb), 0.08); }
}

/* =========================================================
   Contact page – direct WhatsApp chat bar under the info boxes
   (plain wa.me link, so the chat opens empty for the visitor's own message)
   ========================================================= */
.aq-contact-wa {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 30px;
  padding: 26px 34px;
  margin-bottom: 30px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.15);
}
.aq-contact-wa__text {
  display: flex;
  align-items: center;
  gap: 18px;
}
.aq-contact-wa__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
  font-size: 30px;
}
.aq-contact-wa__text h4 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 600;
}
.aq-contact-wa__text p {
  margin: 0;
}
.aq-contact-wa__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 40px;
  background: #25d366;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  transition: background 0.25s ease, transform 0.25s ease;
}
.aq-contact-wa__btn i {
  font-size: 22px;
}
.aq-contact-wa__btn:hover,
.aq-contact-wa__btn:focus-visible {
  background: #1ebe5b;
  color: #ffffff;
  transform: translateY(-2px);
}
html[dir="rtl"] .aq-contact-wa {
  direction: rtl;
  text-align: right;
}
@media only screen and (max-width: 767px) {
  .aq-contact-wa {
    flex-direction: column;
    text-align: center;
    padding: 26px 22px;
  }
  .aq-contact-wa__text {
    flex-direction: column;
  }
  html[dir="rtl"] .aq-contact-wa { text-align: center; }
}

/* =========================================================
   Image box with caption (services page, replaces the old video box)
   ========================================================= */
.aq-image-box {
  display: flex;
  align-items: flex-end;
}
.aq-image-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 20, 45, 0) 40%, rgba(0, 20, 45, 0.82) 100%);
  pointer-events: none;
}
.aq-image-box__caption {
  position: relative;
  z-index: 1;
  max-width: 520px;
  padding: 0 40px 36px;
  color: #ffffff;
}
.aq-image-box__caption h6 {
  margin: 0 0 10px;
  color: var(--thm-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.aq-image-box__caption h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.3;
}
.aq-image-box__caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1.6;
}
html[dir="rtl"] .aq-image-box__caption {
  direction: rtl;
  text-align: right;
}
@media only screen and (max-width: 575px) {
  .aq-image-box { min-height: 400px; }
  .aq-image-box__caption { padding: 0 22px 24px; }
  .aq-image-box__caption h3 { font-size: 22px; }
}

/* =========================================================
   Location map (centred card right before the footer)
   ========================================================= */
.aq-map-area {
  position: relative;
  display: block;
  padding: 110px 0 120px;
  background: linear-gradient(180deg, #ffffff 0%, #ecf2f6 100%);
}
.aq-map-area .sec-title {
  padding-bottom: 50px;
}
.aq-map {
  position: relative;
  height: 460px;
  border-radius: 24px;
  overflow: hidden;
  background: #e9f0f6;
  border: 8px solid #ffffff;
  box-shadow: 0 30px 70px rgba(0, 45, 100, 0.16), 0 0 0 1px rgba(var(--thm-base-rgb), 0.08);
}
.aq-map__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 16px;
}
.aq-map__card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 340px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  border-top: 4px solid var(--thm-primary);
  box-shadow: 0 18px 40px rgba(0, 35, 80, 0.22);
  line-height: 1.5;
}
html[dir="rtl"] .aq-map__card {
  left: auto;
  right: 28px;
  direction: rtl;
  text-align: right;
}
.aq-map__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--thm-base), var(--thm-primary));
  color: #ffffff;
  font-size: 20px;
  box-shadow: 0 8px 18px rgba(var(--thm-base-rgb), 0.3);
}
.aq-map__card h4 {
  margin: 0 0 2px;
  color: var(--thm-black);
  font-size: 19px;
  line-height: 1.3;
}
.aq-map__card p {
  margin: 0 0 8px;
  color: #5d6b78;
  font-size: 15px;
  line-height: 1.5;
}
.aq-map__card a {
  color: var(--thm-base);
  font-size: 14px;
  font-weight: 700;
  transition: color 0.25s ease;
}
.aq-map__card a i {
  margin-inline-start: 6px;
  transition: transform 0.25s ease;
}
html[dir="rtl"] .aq-map__card a i {
  transform: scaleX(-1);
}
.aq-map__card a:hover,
.aq-map__card a:focus-visible {
  color: var(--thm-primary);
}
.aq-map__card a:hover i {
  transform: translateX(4px);
}
html[dir="rtl"] .aq-map__card a:hover i {
  transform: scaleX(-1) translateX(4px);
}
@media only screen and (max-width: 991px) {
  .aq-map-area { padding: 90px 0 100px; }
  .aq-map { height: 400px; }
}
@media only screen and (max-width: 767px) {
  .aq-map-area { padding: 70px 0 80px; }
  .aq-map-area .sec-title { padding-bottom: 36px; }
  .aq-map {
    height: auto;
    border-width: 6px;
    border-radius: 20px;
    background: #ffffff;
  }
  .aq-map__frame {
    height: 300px;
    border-radius: 14px;
  }
  .aq-map__card,
  html[dir="rtl"] .aq-map__card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    max-width: none;
    margin: 0;
    padding: 18px 16px 12px;
    border-top: 0;
    border-radius: 0;
    box-shadow: none;
    background: #ffffff;
  }
}

/* =========================================================
   Footer
   ========================================================= */
.aq-footer {
  color: rgba(255, 255, 255, 0.85);
}
.aq-footer__main {
  position: relative;
  padding: 120px 0 70px;
  background:
    radial-gradient(circle at 12% 18%, rgba(var(--thm-primary-rgb), 0.16), transparent 42%),
    radial-gradient(circle at 88% 85%, rgba(var(--thm-primary-rgb), 0.12), transparent 40%),
    linear-gradient(160deg, #0056b0 0%, var(--thm-base) 45%, #003a7a 100%);
  overflow: hidden;
}
.aq-footer__main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--thm-primary), rgba(255, 255, 255, 0.85), var(--thm-primary));
  opacity: 0.85;
}
.aq-footer__row > [class*="col-"] {
  margin-bottom: 40px;
}
.aq-footer__logo {
  display: inline-block;
  margin-bottom: 22px;
}
.aq-footer__logo img {
  height: 130px;
  width: auto;
  max-width: none;
}
.aq-footer__name {
  margin: 0 0 6px;
  color: #ffffff;
  font-family: var(--thm-font-2);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.2px;
  text-shadow: 0 0 10px rgba(var(--thm-primary-rgb), 0.45), 0 0 26px rgba(var(--thm-primary-rgb), 0.22);
}
.aq-footer__meta {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  letter-spacing: 0.3px;
}
.aq-footer__meta span + span::before {
  content: "\00B7";
  margin: 0 8px;
}
.aq-footer__about {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}
.aq-footer__checks,
.aq-footer__links,
.aq-footer__contact,
.aq-footer__hours {
  margin: 0;
  padding: 0;
  list-style: none;
}
.aq-footer__checks li {
  position: relative;
  padding-inline-start: 30px;
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
}
.aq-footer__checks li span {
  position: absolute;
  top: 5px;
  inset-inline-start: 0;
  color: var(--thm-primary);
  font-size: 15px;
}
.aq-footer__title {
  position: relative;
  margin: 6px 0 30px;
  padding-bottom: 14px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
}
.aq-footer__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 44px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--thm-primary), rgba(255, 255, 255, 0.6));
}
.aq-footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 18px;
}
.aq-footer__links a {
  position: relative;
  display: inline-block;
  padding: 5px 0;
  padding-inline-start: 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.5;
  transition: color 0.25s ease, transform 0.25s ease;
}
.aq-footer__links a::before {
  content: "\f105";
  position: absolute;
  top: 5px;
  inset-inline-start: 0;
  font-family: FontAwesome;
  color: var(--thm-primary);
  font-size: 15px;
}
html[dir="rtl"] .aq-footer__links a::before {
  content: "\f104";
}
.aq-footer__links a:hover,
.aq-footer__links a:focus-visible {
  color: var(--thm-primary);
  transform: translateX(4px);
}
html[dir="rtl"] .aq-footer__links a:hover,
html[dir="rtl"] .aq-footer__links a:focus-visible {
  transform: translateX(-4px);
}
.aq-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.aq-footer__contact li:last-child {
  margin-bottom: 0;
}
.aq-footer__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: var(--thm-primary);
  font-size: 16px;
}
/* each contact icon in the colours of its own well-known app logo */
.aq-footer__icon--map,
.aq-footer__icon--phone,
.aq-footer__icon--whatsapp,
.aq-footer__icon--email,
.aq-footer__icon--truck {
  border: 0;
  color: #ffffff;
  font-size: 18px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
}
.aq-footer__icon--phone    { background: #0ea5e9; }                 /* call: bright sky blue (green is WhatsApp's) */
.aq-footer__icon--whatsapp { background: #25d366; font-size: 21px; } /* WhatsApp green */
.aq-footer__icon--truck    { background: #f59e0b; }                 /* delivery orange */

/* Location + Email: multicolour gradient icons on a white tile
   (drawn here with CSS: the shape is a mask, the colours a gradient) */
.aq-footer__icon--map,
.aq-footer__icon--email {
  background: #ffffff;
}
.aq-footer__icon--map i,
.aq-footer__icon--email i {
  display: none;
}
.aq-footer__icon--map::before,
.aq-footer__icon--email::before {
  content: "";
  display: block;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}
/* map pin with a round hole, colours sweeping around it */
.aq-footer__icon--map::before {
  width: 30px;
  height: 32px;
  background: conic-gradient(from 0deg at 50% 40%, #a142f4 0deg, #4285f4 60deg, #24c1e0 105deg, #34a853 160deg, #34a853 190deg, #fbbc04 235deg, #ea4335 285deg, #e94b8a 330deg, #a142f4 360deg);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' fill-rule='evenodd' d='M12 1.5C7.3 1.5 3.5 5.2 3.5 9.8c0 6 7 12.1 7.6 12.6a1.4 1.4 0 0 0 1.8 0c.6-.5 7.6-6.6 7.6-12.6 0-4.6-3.8-8.3-8.5-8.3zm0 4.9a3.4 3.4 0 1 1 0 6.8 3.4 3.4 0 0 1 0-6.8z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' fill-rule='evenodd' d='M12 1.5C7.3 1.5 3.5 5.2 3.5 9.8c0 6 7 12.1 7.6 12.6a1.4 1.4 0 0 0 1.8 0c.6-.5 7.6-6.6 7.6-12.6 0-4.6-3.8-8.3-8.5-8.3zm0 4.9a3.4 3.4 0 1 1 0 6.8 3.4 3.4 0 0 1 0-6.8z'/%3E%3C/svg%3E");
}
/* envelope "M" with rounded strokes, colours running left to right */
.aq-footer__icon--email::before {
  width: 30px;
  height: 33px;
  background: linear-gradient(90deg, #4285f4 0%, #a142f4 30%, #ea4335 50%, #fbbc04 75%, #34a853 100%);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20'%3E%3Cpath d='M3.5 17V4.5l8.5 6.5 8.5-6.5V17' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20'%3E%3Cpath d='M3.5 17V4.5l8.5 6.5 8.5-6.5V17' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.aq-footer__contact strong,
.aq-footer__hours strong {
  display: block;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.aq-footer__contact div > span,
.aq-footer__contact div > a,
.aq-footer__hours span {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.55;
}
.aq-footer__contact a {
  transition: color 0.25s ease;
}
.aq-footer__contact a:hover,
.aq-footer__contact a:focus-visible {
  color: var(--thm-primary);
}
.aq-footer__contact a[dir="ltr"] {
  unicode-bidi: isolate;
}
html[dir="rtl"] .aq-footer__contact a[dir="ltr"] {
  text-align: right;
}
.aq-footer__hours li {
  padding: 0 0 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.aq-footer__hours li:last-child {
  margin-bottom: 26px;
}
.aq-footer .aq-footer__cta.btn-one {
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(0, 25, 60, 0.3);
}
.aq-footer .aq-footer__cta.btn-one:after {
  background: var(--thm-primary);
}
.aq-footer .aq-footer__cta.btn-one .round {
  background: #5dbcdf;
}
.aq-footer__bottom {
  background: #00336b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.aq-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 30px;
  padding: 26px 0;
}
.aq-footer__bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.6;
}
.aq-footer__credit {
  letter-spacing: 0.2px;
}
.aq-footer .aq-footer__credit a {
  position: relative;
  display: inline-block;
  margin-inline-start: 4px;
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(var(--thm-primary-rgb), 0.35);
}
.aq-footer .aq-footer__credit a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--thm-primary), rgba(255, 255, 255, 0.8));
  transform: scaleX(0.35);
  transform-origin: left center;
  transition: transform 0.3s ease;
}
html[dir="rtl"] .aq-footer .aq-footer__credit a::after {
  transform-origin: right center;
}
.aq-footer .aq-footer__credit a:hover::after,
.aq-footer .aq-footer__credit a:focus-visible::after {
  transform: scaleX(1);
}
.aq-footer__bottom a {
  color: #ffffff;
  transition: color 0.25s ease;
}
.aq-footer__bottom a:hover,
.aq-footer__bottom a:focus-visible {
  color: var(--thm-primary);
}
html[dir="rtl"] .aq-footer__main,
html[dir="rtl"] .aq-footer__bottom {
  direction: rtl;
  text-align: right;
}
@media only screen and (max-width: 1199px) {
  .aq-footer__main { padding: 100px 0 70px; }
}
@media only screen and (max-width: 767px) {
  .aq-footer__main { padding: 80px 0 50px; }
  .aq-footer__name { font-size: 21px; }
  .aq-footer__bottom-inner {
    flex-direction: column;
    text-align: center;
    padding: 22px 0;
  }
  html[dir="rtl"] .aq-footer__bottom-inner { text-align: center; }
}

/* =========================================================
   Hero slider: keep its space before the slider script runs
   Owl Carousel hides .owl-carousel (display:none) until its
   JavaScript has started, so the hero had 0 height for a moment
   and then pushed the whole page down (Google "CLS" = 1).
   Here the FIRST slide is shown straight away and the others
   stay hidden; once Owl starts, the slides are wrapped in
   .owl-item, so these rules stop matching on their own.
   (The old "Page reveal" that hid the <body> with opacity 0
   was removed: Google PageSpeed saw an empty page = NO_FCP.)
   ========================================================= */
.main-slider .banner-carousel.owl-carousel:not(.owl-loaded) {
  display: block;
}
.main-slider .banner-carousel.owl-carousel:not(.owl-loaded) > .slide ~ .slide {
  display: none;
}

/* =========================================================
   Smooth scrolling (assets/js/lenis.min.js + aquatech-motion.js)
   Rules recommended by the Lenis library.
   ========================================================= */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
/* in-page "#" jumps glide too when the smooth scroller is not running */
html:not(.lenis) {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
}

/* a fixed background repaints the whole screen on every scroll step
   (stutter); let it scroll with its section instead */
.features-style2-area--bg-2,
.parallax-bg-one {
  background-attachment: scroll;
}

/* =========================================================
   Scroll reveal (assets/js/aquatech-motion.js)
   Elements get .aq-reveal (hidden + offset) and .is-visible
   when they come into view; the helper classes are removed
   again when the animation has finished.
   ========================================================= */
.aq-reveal {
  opacity: 0;
  transition:
    opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--aq-reveal-delay, 0ms);
  will-change: opacity, transform;
}
.aq-reveal--up    { transform: translate3d(0, 48px, 0); }
.aq-reveal--left  { transform: translate3d(-64px, 0, 0); }
.aq-reveal--right { transform: translate3d(64px, 0, 0); }
.aq-reveal--zoom  { transform: translate3d(0, 30px, 0) scale(0.94); }
.aq-reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* phones: shorter distances feel calmer on a small screen */
@media only screen and (max-width: 767px) {
  .aq-reveal--up    { transform: translate3d(0, 32px, 0); }
  .aq-reveal--left  { transform: translate3d(-32px, 0, 0); }
  .aq-reveal--right { transform: translate3d(32px, 0, 0); }
}
/* (side-sliding columns cannot cause a horizontal scrollbar:
   the template's .boxed_wrapper already clips its overflow) */
@media (prefers-reduced-motion: reduce) {
  .aq-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
@media print {
  .aq-reveal { opacity: 1 !important; transform: none !important; }
}

/* menu links like services.html#water-management: stop just below the sticky header */
.service-page-sec1[id],
.service-page-sec1 [id],
#water-treatment {
  scroll-margin-top: 120px;
}

/* =========================================================
   Client content update (Nov 2026)
   Small additions so the client's own wording and photos sit
   inside the existing design. Colours, fonts and animations
   are the template's own.
   ========================================================= */

/* ---------- hero: short line above each slide title
   (same look and animation as the template's style2 sub-title) ---------- */
.main-slider.style1 .content .sub-title {
  position: relative;
  display: inline-block;
  overflow: hidden;
  margin-bottom: 14px;
  opacity: 0;
  transform: perspective(400px) rotateY(0deg) translateY(-120px);
  transform-origin: bottom;
  transition: all 1000ms ease;
}
.main-slider.style1 .active .content .sub-title {
  opacity: 1;
  transform: perspective(400px) rotateY(0deg) translateY(0px);
  transition-delay: 1500ms;
}
.main-slider.style1 .content .sub-title h6 {
  color: #5dbcdf;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* ---------- header menu: nine direct links, no dropdowns ----------
   The template menu was designed for six UPPERCASE links. The site has
   nine, so from 1400px up they are restyled to stay on ONE line and
   still read clearly:
     - Title Case, 15px, semi-bold (600), dark navy, slight letter-spacing
     - even spacing: the gap is each link's own side padding
     - hover / keyboard focus: theme blue text + a short light-blue
       underline that grows out from the centre
     - current page: the same blue text and underline, always visible
   The same rules style the sticky header, whose menu is a JavaScript copy
   of the main one (custom.js), so both always look alike.
   Between 1200px and 1399px nine links cannot fit next to the logo and the
   Enquire button, so the menu button (hamburger) takes over there – see the
   second media query below. Below 1200px the template's mobile menu runs;
   nothing here touches it. */
@media only screen and (min-width: 1400px) {

  /* 1. Room for the links. The header card stops growing at about 1415px
        (.header .auto-container is max 1400px), so every desktop width
        gets nearly the same 1355–1370px card and 1400px is the tightest
        case. Three small trims free the space the larger links need; the
        logo, the button and the card design stay as they are:
          - card side padding 30px   (template 100px, previously 60px)
          - Enquire button side padding 26px   (template 35px)
          - gap before the button 20px (template 40px) – the last link's
            own 14px padding sits next to it, so it still looks ~34px */
  .header .outer-box {
    padding-left: 30px;
    padding-right: 30px;
  }
  .header .header-right_buttom .btns-box a {
    padding-left: 26px;
    padding-right: 26px;
  }
  .header .header-right_buttom {
    margin-left: 20px;
  }
  /* Arabic: the button sits on the left, so its gap is margin-right
     (set earlier in this file) – drop the LTR margin above there */
  .rtl .header .header-right_buttom {
    margin-left: 0;
  }

  /* 2. Spacing: no <li> margins – the space between links is the side
        padding on each link (step 3), so the whole padded area is
        clickable. The RTL rules reset the template's Arabic-only 40px
        margin on the last item. */
  .header .main-menu .navigation > li,
  .sticky-header .main-menu .navigation > li,
  .rtl .header .main-menu .navigation > li:last-child,
  .rtl .sticky-header .main-menu .navigation > li:last-child {
    margin: 0;
  }

  /* 3. Link text (main + sticky header). Top/bottom padding stays the
        template's, so the header height does not change. nowrap keeps
        two-word links such as "Water Treatment" on one line. */
  .header .main-menu .navigation > li > a,
  .sticky-header .main-menu .navigation > li > a {
    padding-left: 14px;
    padding-right: 14px;
    color: #0f2a4d;              /* dark navy, softer than pure black */
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;      /* slightly open; more would not fit at 1400px */
    text-transform: none;        /* Title Case, as written in the HTML */
    white-space: nowrap;
    transition: color 0.3s ease;
  }

  /* 4. Remove the template's two decorations in the main header:
        a:before      = the wave icon above "Home" (only on the current
                        page, so it made one link look different)
        a span:before = a white patch behind the text that only existed
                        to mask that icon
        The underline below is now the one indicator for every link.
        (The template already hides both in the sticky header.) */
  .header .main-menu .navigation > li > a:before,
  .header .main-menu .navigation > li > a span:before {
    display: none;
  }

  /* 5. The underline: drawn under the text itself (the <span>), 3px light
        blue, hidden by default (scaleX(0)) and grown out from the centre. */
  .header .main-menu .navigation > li > a span::after,
  .sticky-header .main-menu .navigation > li > a span::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 3px;
    border-radius: 3px;
    background: var(--thm-primary);   /* #65cef5 */
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
  }

  /* 6. Hover, keyboard focus and the current page: theme blue text */
  .header .main-menu .navigation > li > a:hover,
  .header .main-menu .navigation > li > a:focus-visible,
  .header .main-menu .navigation > li.current > a,
  .sticky-header .main-menu .navigation > li > a:hover,
  .sticky-header .main-menu .navigation > li > a:focus-visible,
  .sticky-header .main-menu .navigation > li.current > a {
    color: var(--thm-base);           /* #004da1 */
  }
  /* ...and the underline slides in (always shown on the current page) */
  .header .main-menu .navigation > li > a:hover span::after,
  .header .main-menu .navigation > li > a:focus-visible span::after,
  .header .main-menu .navigation > li.current > a span::after,
  .sticky-header .main-menu .navigation > li > a:hover span::after,
  .sticky-header .main-menu .navigation > li > a:focus-visible span::after,
  .sticky-header .main-menu .navigation > li.current > a span::after {
    transform: scaleX(1);
  }

  /* 7. Keyboard users: a soft ring around the text instead of the browser
        outline around the whole 100px-tall link box */
  .header .main-menu .navigation > li > a:focus-visible,
  .sticky-header .main-menu .navigation > li > a:focus-visible {
    outline: none;
  }
  .header .main-menu .navigation > li > a:focus-visible span,
  .sticky-header .main-menu .navigation > li > a:focus-visible span {
    outline: 2px solid rgba(var(--thm-base-rgb), 0.35);
    outline-offset: 6px;
    border-radius: 4px;
  }

  /* 8. Arabic: letter-spacing would break the joined Arabic letters, and
        the Arabic font (IBM Plex Sans Arabic) reads small at 15px. The
        Arabic labels are much shorter, so 16px still fits easily. */
  html[lang="ar"] .header .main-menu .navigation > li > a,
  html[lang="ar"] .sticky-header .main-menu .navigation > li > a {
    font-size: 16px;
    letter-spacing: 0;
  }
}
/* visitors who ask for less motion: the underline appears without sliding */
@media only screen and (min-width: 1400px) and (prefers-reduced-motion: reduce) {
  .header .main-menu .navigation > li > a span::after,
  .sticky-header .main-menu .navigation > li > a span::after {
    transition: none;
  }
}
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .main-header .nav-outer .main-menu,
  .sticky-header {
    display: none !important;
  }
  .nav-outer .mobile-nav-toggler {
    display: block;
  }
  .mobile-nav-toggler .icon-bar {
    position: relative;
    display: block;
    background: #ffffff;
    height: 2px;
    width: 30px;
    margin: 7px 5px;
  }
}

/* ---------- hero: the client's slide wording is longer than the template's
   sample lines, so keep it in the left column, clear of the round photo ---------- */
.main-slider.style1 .content .sub-title,
.main-slider.style1 .content .big-title,
.main-slider.style1 .content .text {
  max-width: 640px;
}
.main-slider.style1 .content .text p {
  max-width: 580px;
}
@media only screen and (min-width: 1200px) {
  .main-slider.style1 .content .big-title h1,
  .main-slider.style1 .content .big-title h2 {
    font-size: 52px;
  }
}

/* ---------- home "About" section: company profile + product range ---------- */
.aq-about-range {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin-top: 100px;
  padding: 60px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.08);
}
.aq-about-range__text {
  flex: 0 0 36%;
}
.aq-about-range__text .sec-title {
  padding-bottom: 30px;
}
.aq-about-range__text p {
  margin: 0 0 32px;
}
.aq-about-range__list {
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 40px;
}
.aq-about-range__list li {
  position: relative;
  padding: 10px 0 10px 32px;
  border-bottom: 1px solid #e9eef2;
  color: var(--thm-black);
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  break-inside: avoid;
}
.aq-about-range__list li span {
  position: absolute;
  top: 15px;
  left: 0;
  color: var(--thm-base);
  font-size: 16px;
}
.rtl .aq-about-range__list li {
  padding: 10px 32px 10px 0;
}
.rtl .aq-about-range__list li span {
  left: auto;
  right: 0;
}
@media only screen and (max-width: 991px) {
  .aq-about-range {
    flex-direction: column;
    gap: 30px;
    margin-top: 60px;
    padding: 40px 30px;
  }
}
@media only screen and (max-width: 575px) {
  .aq-about-range__list {
    columns: 1;
  }
}

/* ---------- service cards in a row: equal height (the client's
   descriptions differ in length), "Read More" lined up at the bottom ---------- */
.aq-cards > [class*="col-"] {
  display: flex;
}
.aq-cards .single-service-style1 {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.aq-cards .single-service-style1 .title-holder {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.aq-cards .single-service-style1 .inner-text {
  margin-bottom: 17px;
}
.aq-cards .single-service-style1 .readmore-button {
  margin-top: auto;
}

/* ---------- home gallery preview ---------- */
.aq-home-gallery {
  padding-top: 0;
}
.aq-home-gallery__btns {
  padding-top: 20px;
}

/* ---------- service pages ---------- */
/* current page in the sidebar list: same look as the hover state */
.view-all-service .service-pages li.active a {
  color: #ffffff;
}
.view-all-service .service-pages li.active a:after {
  transform: perspective(400px) rotateX(0deg);
}
.view-all-service .service-pages li.active a:before {
  color: var(--thm-primary);
  border-color: #ffffff;
}
/* small line above a heading (client's section labels) */
.aq-tab-kicker {
  margin: 0 0 8px;
  color: var(--thm-primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
/* tick list (product lists and features) */
.aq-tick-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
}
.aq-tick-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-bottom: 1px solid #e9eef2;
  color: var(--thm-black);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}
.aq-tick-list li span {
  position: absolute;
  top: 12px;
  left: 0;
  color: var(--thm-base);
  font-size: 15px;
}
.rtl .aq-tick-list li {
  padding: 8px 28px 8px 0;
}
.rtl .aq-tick-list li span {
  left: auto;
  right: 0;
}
@media only screen and (max-width: 575px) {
  .aq-tick-list {
    grid-template-columns: 1fr;
  }
}
.service-details-tab-content .text-holder .inner-content p + p {
  margin-top: 12px;
}
.service-details-tab-content .text-holder .btn-box {
  padding-top: 24px;
}
.service-details-text-box1 p + p {
  margin-top: 16px;
}
.aq-text-box {
  margin-top: 50px;
}
/* tab rows with more or fewer than the template's four tabs */
.service-details_tab.aq-tabs-2 .tab-buttons li.tab-btn { width: 50%; }
.service-details_tab.aq-tabs-5 .tab-buttons li.tab-btn { width: 20%; }
.service-details_tab.aq-tabs-6 .tab-buttons li.tab-btn { width: 16.666%; }
.service-details_tab .tab-buttons li.tab-btn {
  padding: 0 8px;
  text-align: center;
  line-height: 20px;
}
@media only screen and (max-width: 767px) {
  .service-details_tab .tab-buttons {
    flex-wrap: wrap;
    gap: 6px;
  }
  .service-details_tab.aq-tabs-5 .tab-buttons li.tab-btn,
  .service-details_tab.aq-tabs-6 .tab-buttons li.tab-btn {
    width: calc(50% - 3px);
    border-radius: 35px;
  }
}
/* "why" blocks: description under the section title */
.why-our-service .title p {
  margin-top: 12px;
}

/* ---------- drilling fluids page ---------- */
.aq-avail-tabs {
  margin-top: 30px;
}
.aq-avail-tabs .aq-tab-kicker {
  display: inline-block;
  padding: 2px 14px;
  border-radius: 15px;
  background: rgba(var(--thm-primary-rgb), 0.15);
  color: var(--thm-base);
}
.aq-offshore-area .features-style1_one-content .text > p {
  color: #ffffff;
  font-weight: 600;
}
.aq-offshore-products {
  margin: 20px 0 6px;
}
.aq-offshore-products h4 {
  color: var(--thm-primary);
  font-size: 18px;
  font-weight: 700;
  margin: 14px 0 4px;
}
.aq-offshore-products p {
  color: #dee9f6;
  margin: 0;
}
.aq-offshore-image .video-holder-box1-bg {
  background-position: center 30%;
}
.aq-offshore-area .features-style1_one-content .btns-box a.btn-one {
  padding-left: 30px;
  padding-right: 30px;
}
.aq-additives-area {
  position: relative;
  display: block;
  padding: 110px 0 80px;
  background: #ecf2f6;
}
.aq-sec-text {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: -20px auto 50px;
}
.aq-additive-card {
  width: 100%;
  margin-bottom: 30px;
  padding: 32px 28px 24px;
  background: #ffffff;
  border: 1px solid #dae5ec;
  border-radius: 10px;
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.06);
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.aq-additive-card:hover {
  transform: translateY(-6px);
  box-shadow: 0px 10px 40px 0px rgba(var(--thm-base-rgb), 0.15);
}
.aq-additive-card h3 {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 8px;
  color: var(--thm-black);
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  border-bottom: 2px solid var(--thm-primary);
}
.aq-additive-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.aq-additive-card li {
  position: relative;
  padding: 7px 0 7px 26px;
  color: var(--thm-gray);
  font-size: 16px;
  line-height: 24px;
}
.aq-additive-card li span {
  position: absolute;
  top: 11px;
  left: 0;
  color: var(--thm-base);
  font-size: 14px;
}
.rtl .aq-additive-card li {
  padding: 7px 26px 7px 0;
}
.rtl .aq-additive-card li span {
  left: auto;
  right: 0;
}
.aq-additives-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 30px;
  padding: 40px 50px;
  border-radius: 10px;
  background: var(--thm-base);
}
.aq-additives-cta h3 {
  color: #ffffff;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
}
.aq-additives-cta p {
  color: #dee9f6;
  margin: 0;
}
.aq-additives-cta .btn-one {
  flex: none;
}
.aq-additives-cta .btn-one:after {
  background: var(--thm-primary);
}
@media only screen and (max-width: 767px) {
  .aq-additives-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 26px;
  }
}
@media only screen and (min-width: 1200px) {
  .aq-offshore-area .row > .col-xl-7 {
    display: flex;
  }
  .aq-offshore-image {
    width: 100%;
  }
}

/* ---------- about page ---------- */
.aq-ar-name {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  text-align: left;
}
.rtl .aq-ar-name {
  text-align: right;
}
.about-style3-text-box1 .inner-content .text p + p {
  margin-top: 14px;
}
.aq-company-area {
  padding-top: 110px;
}
.aq-industries {
  grid-template-columns: 1fr;
  max-width: 360px;
}
.aq-about-faq,
.aq-reviews-area[id] {
  scroll-margin-top: 110px;
}

/* Arabic hero: the round photo sits in the right part of its (transparent) image,
   so move the image further left to mirror the English layout exactly and keep
   the longer slide text clear of it */
.rtl .main-slider.style1 .slider-image {
  left: -212px;
}

/* =========================================================
   Layout fix: centred sections and balanced image sizes
   ---------------------------------------------------------
   1) Every section's content and content images sit inside the
      same centred width as .container (1200px on desktop), with
      equal space left and right. Full-width BACKGROUNDS (colours,
      patterns, photos behind a section) stay full width.
   2) Large section images are kept to a balanced height:
      max 520px on desktop, 360px on tablet (768–1199px) and
      280px on phones, cropped neatly with object-fit: cover.
   The homepage hero slider is not touched.
   ========================================================= */

/* ---------- home "Why AquaTech" (.choose-style1-area) ----------
   The template draws the 776px-wide photo at full size, floated right
   inside a ~370px column (max-width: none), so it hung out to the left
   edge of the screen. Now it fills its own column only. */
.choose-style1_image-box img {
  display: block;
  float: none;
  width: 100%;
  max-width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 10px;
}
@media only screen and (max-width: 1199px) {
  .choose-style1_image-box img { height: 360px; }
}
@media only screen and (max-width: 767px) {
  .choose-style1_image-box img { height: 280px; }
}

/* ---------- home contact block (.contact-style1-area) ----------
   The photo behind the enquiry form was 50% of the SCREEN wide and
   pinned to its right edge, and as tall as the whole form (~700px).
   It now covers exactly the right-hand column of the centred container
   and is 520px tall; the form overlaps its lower edge as a card.
   (The template hides this photo below 1200px.) */
@media only screen and (min-width: 1200px) {
  .contact-style1-area .contact-form-box1_bg {
    right: max(15px, calc((100% - 1200px) / 2 + 15px));
    bottom: auto;
    width: calc(min(100%, 1200px) / 2 - 30px);
    height: 520px;
    border-radius: 10px;
  }
  /* the form sits on the photo with an even frame left and right;
     the template's own card shadow lifts the part below the photo */
  .contact-style1-area .contact-form-box1 {
    margin-left: 40px;
    margin-right: 40px;
    border-radius: 10px;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
  }
  /* the round "Reply in One Working Day" badge: keep it just left of
     the photo at every screen width (was 37% of the screen width) */
  .contact-style1-area .thm-round-box1 {
    left: calc(50% - 205px);
  }
}

/* ---------- home stats strip (.fact-counter-area) ----------
   The template made this container 100% wide, so on large screens
   the four numbers spread out to the screen edges. The blue band
   stays full width; the numbers now line up with the container. */
.fact-counter-area .auto-container {
  max-width: 1200px;
  padding: 0 15px;
}
@media only screen and (min-width: 1200px) {
  /* drop the template's extra 60px side padding inside the container */
  .fact-counter_box {
    padding: 0;
  }
}
@media only screen and (min-width: 1200px) and (max-width: 1750px) {
  /* here the template stacks each number above its label, centred
     (no separators): four even columns, centred without a side offset */
  .fact-counter_box .single-fact-counter {
    padding-left: 0;
  }
}
@media only screen and (min-width: 1751px) {
  /* From 1751px the template puts number and label side by side with a
     slanted separator. Inside the container four equal 25% columns were
     too tight ("30M" broke onto two lines and the separator touched the
     text), so each item takes its natural width and the row is centred;
     the separator (.border-box, at each item's right edge) sits in the
     middle of a 25px + 25px gap. */
  .fact-counter_box ul {
    flex-wrap: nowrap;
    justify-content: center;
  }
  .fact-counter_box .single-fact-counter {
    flex: 0 1 auto;
    width: auto;
    max-width: none;
    padding-left: 25px;
    padding-right: 60px;   /* 25px gap + the 35px separator image */
  }
  .fact-counter_box .single-fact-counter:first-child {
    padding-left: 0;
  }
  .fact-counter_box .single-fact-counter:last-child {
    padding-right: 0;      /* the last item has no separator */
  }
  .single-fact-counter .count-box {
    flex-shrink: 0;
    white-space: nowrap;
  }
  /* Arabic: items run right-to-left, so the separator goes on the left */
  .rtl .fact-counter_box .single-fact-counter {
    padding-left: 60px;
    padding-right: 25px;
  }
  .rtl .fact-counter_box .single-fact-counter:first-child {
    padding-right: 0;
  }
  .rtl .fact-counter_box .single-fact-counter:last-child {
    padding-left: 0;
  }
  .rtl .single-fact-counter .border-box {
    right: auto;
    left: 0;
  }
  /* and the 20px gap between number and label goes on the other side */
  .rtl .single-fact-counter .title {
    padding-left: 0;
    padding-right: 20px;
  }
}

/* ---------- testimonials slider (.aq-reviews, home/about/services) ----------
   The sliding row sat outside .container and ran edge to edge. It now
   uses the container's width at every breakpoint (the slider script
   measures the row itself, so it adapts automatically). */
.aq-reviews {
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
}
@media only screen and (max-width: 1199px) { .aq-reviews { max-width: 930px; } }
@media only screen and (max-width: 991px)  { .aq-reviews { max-width: 690px; } }
@media only screen and (max-width: 767px)  { .aq-reviews { max-width: 510px; } }
@media only screen and (max-width: 575px)  {
  .aq-reviews {
    max-width: none;
    margin-left: 15px;
    margin-right: 15px;
  }
}

/* ---------- home "About" tabs (.about-style1-tab-content) ----------
   The tab photo is a background whose height followed the text card,
   so it grew to ~670px. Desktop: a slightly wider card with less
   padding keeps the text shorter, and the photo is capped at 520px.
   Tablet / phone: the photo becomes a 360px / 280px band and the
   text card overlaps its lower edge instead of sitting on top of a
   very tall photo. */
@media only screen and (min-width: 1200px) {
  .about-style1-tab-content {
    padding: 40px;
  }
  .about-style1-tab-content .inner-content {
    max-width: 490px;
    padding: 40px 44px 38px;
  }
  .about-style1-tab-content_bg {
    bottom: auto;
    height: 100%;
    max-height: 520px;
  }
}
@media only screen and (max-width: 1199px) {
  .about-style1-tab-content {
    padding: 300px 30px 0;
  }
  .about-style1-tab-content_bg {
    bottom: auto;
    height: 360px;
  }
  .about-style1-tab-content .inner-content {
    float: none;
    max-width: 620px;
    margin-left: auto;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1); /* template card shadow */
  }
}
@media only screen and (max-width: 767px) {
  .about-style1-tab-content {
    padding: 220px 15px 0;
  }
  .about-style1-tab-content_bg {
    height: 280px;
  }
  .about-style1-tab-content .inner-content {
    max-width: none;
    padding: 40px 24px 36px;
  }
}

/* ---------- about page top photo (.about-style3-top) ----------
   The template pulled it 80px (30px on phones) past the container on
   both sides. It now lines up with the container. */
.about-style3-top {
  margin-left: 0;
  margin-right: 0;
}
@media only screen and (max-width: 767px) {
  .about-style3-top {
    margin-left: 0;
    margin-right: 0;
  }
}

/* ---------- image boxes with captions (services "Essential for reliable
   plants", drilling-fluids "Offshore drilling") ----------
   Template min-height was 530px, and on the drilling page the box was
   stretched to the full height of the text beside it (~700px). */
.aq-image-box {
  min-height: 0;
  height: 520px;
}
@media only screen and (min-width: 1200px) {
  /* drilling page: centre the 520px photo next to the taller text */
  .aq-offshore-area .row > .col-xl-7 {
    align-items: center;
  }
}
@media only screen and (max-width: 1199px) {
  .aq-image-box {
    height: auto;
    min-height: 360px;  /* grows only if the caption needs more room */
  }
}
@media only screen and (max-width: 767px) {
  .aq-image-box {
    min-height: 280px;
  }
}

/* ---------- other large content photos: height limits ----------
   max-height (not a fixed height) so smaller photos keep their own
   size; object-fit crops the larger ones neatly instead of stretching.
   - .about-style3-top img                     about page top photo
   - .service-details-content .top .img-box img service pages top photo
   - .single-blog-style1 .img-holder img        home article cards
   - .single-service .img-holder img            contact page cards */
.about-style3-top img,
.service-details-content .top .img-box img,
.single-blog-style1 .img-holder img,
.single-service .img-holder img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}
@media only screen and (max-width: 1199px) {
  .about-style3-top img,
  .service-details-content .top .img-box img,
  .single-blog-style1 .img-holder img,
  .single-service .img-holder img {
    max-height: 360px;
  }
}
@media only screen and (max-width: 767px) {
  .about-style3-top img,
  .service-details-content .top .img-box img,
  .single-blog-style1 .img-holder img,
  .single-service .img-holder img {
    max-height: 280px;
  }
}

/* =========================================================
   Home: the four main services in a 2 × 2 grid
   (index.html, first section after the hero, .aq-services-grid)
   ---------------------------------------------------------
   Desktop (1200px+): two wide cards per row. Each card has the
   template's blue wave panel on the left with the round photo sitting
   on its edge, and the text in a left-aligned column on the right, so
   titles and "Read More" links line up across the grid. A large, faint
   number (01–04) in the bottom corner gives each card an index to scan by.
   Tablet (768–1199px): still 2 × 2, using the template's stacked card.
   Phones: one card per row.
   Colours, fonts, shadow, ring and icon are the template's own.
   ========================================================= */
.aq-services-grid {
  counter-reset: aq-service;
}
.aq-services-grid .single-service-style1 {
  counter-increment: aq-service;
  /* a clear edge on the white / dotted background: thin blue-grey border
     plus a soft two-layer shadow (close contact shadow + wide spread) */
  border: 1px solid #d3e0ec;
  box-shadow: 0px 2px 6px 0px rgba(0, 45, 100, 0.07),
              0px 16px 40px 0px rgba(0, 45, 100, 0.13);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.aq-services-grid .single-service-style1:hover {
  border-color: rgba(var(--thm-primary-rgb), 0.8);
}

/* tablet: let the stacked cards fill both columns evenly
   (the template caps a card at 370px and centres it) */
@media only screen and (min-width: 768px) {
  .aq-services-grid .single-service-style1 {
    max-width: none;
  }
}
/* the blue wave image is 370px wide: on the wider tablet cards stretch it
   to the full card width so no white strips show beside it */
@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .aq-services-grid .single-service-style1__bg {
    background-size: cover;
    background-position: center bottom;
  }
}

@media only screen and (min-width: 1200px) {
  /* 30px gutter between the two columns, 30px between the rows */
  .aq-services-grid .single-service-style1 {
    display: grid;
    grid-template-columns: 180px 1fr;
    column-gap: 40px;
    align-items: center;
    margin-bottom: 30px;
    padding: 38px 40px 36px 34px;
    overflow: hidden;            /* clips the blue panel to the rounded card */
    /* lift uses the separate translate property: the card's entrance
       animation (wow fadeInUp) keeps control of transform */
    transition: translate 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  }

  /* the blue wave panel: now a vertical band down the left side whose
     right edge bulges out, like the curve under the template's photo */
  .aq-services-grid .single-service-style1__bg {
    top: 0;
    bottom: 0;
    right: auto;
    width: 178px;
    height: auto;
    background-size: cover;
    background-position: center;
    border-radius: 0;
    clip-path: ellipse(100% 78% at 0% 50%);
  }

  /* the round photo, centred on the panel's edge */
  .aq-services-grid .single-service-style1 .img-holder {
    width: 180px;
    height: 180px;
    margin: 0;
  }
  .aq-services-grid .single-service-style1 .img-holder img {
    transition: transform 0.6s ease;
  }

  /* text column: title, description, then "Read More" at the bottom */
  .aq-services-grid .single-service-style1 .title-holder {
    position: relative;
    align-self: stretch;
    justify-content: center;
    margin-top: 0;
    text-align: left;            /* the card itself has Bootstrap's .text-center */
  }
  .aq-services-grid .single-service-style1 .title-holder h3 {
    margin-bottom: 12px;
  }
  /* short light-blue accent under the title, as in the section titles */
  .aq-services-grid .single-service-style1 .title-holder h3::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    margin-top: 12px;
    border-radius: 3px;
    background: var(--thm-primary);
    transition: width 0.4s ease;
  }
  .aq-services-grid .single-service-style1 .inner-text {
    margin-bottom: 20px;
  }

  /* index number in the theme's light blue, bottom corner, on the same
     line as the short "Read More" link so it never meets the title or text */
  .aq-services-grid .single-service-style1::after {
    content: counter(aq-service, decimal-leading-zero);
    position: absolute;
    right: 32px;
    bottom: 18px;
    color: var(--thm-primary);        /* #65cef5 */
    font-family: var(--thm-font-2);
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
    transition: color 0.4s ease;
  }

  /* hover: the card lifts, the photo zooms slightly, accent and number
     pick up the theme colours */
  .aq-services-grid .single-service-style1:hover {
    translate: 0 -6px;
    box-shadow: 0px 4px 10px 0px rgba(0, 45, 100, 0.08),
                0px 26px 56px 0px rgba(0, 45, 100, 0.18);
  }
  .aq-services-grid .single-service-style1:hover .img-holder img {
    transform: scale(1.06);
  }
  .aq-services-grid .single-service-style1:hover .title-holder h3::after {
    width: 64px;
  }
  .aq-services-grid .single-service-style1:hover::after {
    color: var(--thm-base);           /* #004da1 */
  }

  /* Arabic: mirror the card (panel and photo on the right, text on the left,
     number in the left corner) */
  .rtl .aq-services-grid .single-service-style1 {
    padding: 38px 34px 36px 40px;
  }
  .rtl .aq-services-grid .single-service-style1 .title-holder {
    text-align: right;
  }
  .rtl .aq-services-grid .single-service-style1__bg {
    left: auto;
    right: 0;
    clip-path: ellipse(100% 78% at 100% 50%);
  }
  .rtl .aq-services-grid .single-service-style1::after {
    right: auto;
    left: 32px;
  }
}

/* visitors who prefer less motion: no lift or zoom */
@media (prefers-reduced-motion: reduce) {
  .aq-services-grid .single-service-style1,
  .aq-services-grid .single-service-style1 .img-holder img {
    transition: none;
  }
  .aq-services-grid .single-service-style1:hover {
    translate: none;
  }
  .aq-services-grid .single-service-style1:hover .img-holder img {
    transform: none;
  }
}

/* =========================================================
   Inner-page heroes (.aq-page-hero)
   about, services, water-treatment, water-management,
   water-system, drilling-fluids, gallery, contact
   ---------------------------------------------------------
   - each page has its own photo; a theme-blue wash (#004da1) covers
     the text side and fades out so the photo shows on the far side
   - white text, with the site's light blue (#65cef5) as the accent
   - content: breadcrumb trail, kicker, page title, short intro,
     three key points and two actions (contact: kicker + intro)
   - a little taller than the template's hero
   The homepage hero slider is not affected.
   ========================================================= */

/* ---------- photo + blue wash ---------- */
.aq-page-hero .breadcrumb-area-bg {
  background-position: right center;
}
.aq-page-hero .breadcrumb-area-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* soft light-blue glow behind the title */
    radial-gradient(ellipse 760px 460px at 20% 58%,
                    rgba(var(--thm-primary-rgb), 0.18), rgba(var(--thm-primary-rgb), 0) 70%),
    /* deep theme blue behind the text, fading towards the photo */
    linear-gradient(90deg, rgba(0, 44, 98, 0.97) 0%, rgba(var(--thm-base-rgb), 0.94) 40%,
                    rgba(var(--thm-base-rgb), 0.62) 66%, rgba(var(--thm-base-rgb), 0.12) 100%);
}
/* thin light-blue line along the bottom edge of the hero */
.aq-page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--thm-primary) 0%, rgba(var(--thm-primary-rgb), 0.15) 100%);
  z-index: 2;
}
/* contact: text is centred over the photo, so an even blue wash. The blue
   "Request a Site Visit" box overlaps the last 180px of this hero, so the
   wash ends 220px from the bottom with a light-blue line and the box sits on
   white (otherwise blue on blue). Extra classes so the tablet / Arabic
   rules further down do not replace this one. */
.boxed_wrapper .aq-page-hero.aq-page-hero--center .breadcrumb-area-bg {
  background-position: center;
}
.boxed_wrapper .aq-page-hero.aq-page-hero--center .breadcrumb-area-bg::after {
  background:
    radial-gradient(ellipse 820px 420px at 50% 30%,
                    rgba(var(--thm-primary-rgb), 0.18), rgba(var(--thm-primary-rgb), 0) 70%),
    linear-gradient(180deg,
                    rgba(0, 44, 98, 0.96) 0%,
                    rgba(var(--thm-base-rgb), 0.9) calc(100% - 224px),
                    var(--thm-primary) calc(100% - 224px),
                    var(--thm-primary) calc(100% - 220px),
                    #ffffff calc(100% - 220px));
}
.aq-page-hero--center::after {
  display: none;               /* the line above replaces the bottom edge line */
}

/* ---------- height: a little taller than the template (229px / 124px) ---------- */
@media only screen and (min-width: 1200px) {
  .aq-page-hero {
    padding-top: 250px;
    padding-bottom: 120px;
  }
  .aq-page-hero.aq-page-hero--center {
    padding-bottom: 260px;     /* room for the contact cards and the form below */
  }
}
@media only screen and (max-width: 1199px) {
  .aq-page-hero {
    padding-bottom: 120px;
  }
  .aq-page-hero.aq-page-hero--center {
    padding-bottom: 260px;
  }
}

/* ---------- content column ---------- */
/* everything inside the hero sits above the photo layer (z-index 1),
   including blocks the scroll-reveal script animates (e.g. the contact
   page's WhatsApp bar, which otherwise slipped under the photo) */
.aq-page-hero > .container {
  position: relative;
  z-index: 2;
}
.aq-page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.aq-page-hero--center .aq-page-hero__content {
  max-width: 760px;
  margin: 0 auto;
}

/* breadcrumb trail: soft white, current page in light blue */
.aq-page-hero .breadcrumb-menu {
  margin-bottom: 22px;
}
.aq-page-hero .breadcrumb-menu ul li,
.aq-page-hero .breadcrumb-menu ul li a {
  color: rgba(255, 255, 255, 0.72);
}
.aq-page-hero .breadcrumb-menu ul li:hover a,
.aq-page-hero .breadcrumb-menu ul li.active {
  color: var(--thm-primary);
}

/* small pill above the title */
.aq-page-hero__kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 16px;
  border: 1px solid rgba(var(--thm-primary-rgb), 0.5);
  border-radius: 20px;
  background: rgba(var(--thm-primary-rgb), 0.14);
  color: var(--thm-primary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.aq-page-hero .title {
  margin-bottom: 0;
}
.aq-page-hero .title h1 {
  color: #ffffff;
  text-shadow: 0 6px 24px rgba(0, 20, 50, 0.25);
}
.aq-page-hero__decor {
  margin: 12px 0 22px;
  line-height: 0;
}
.aq-page-hero__lead {
  max-width: 600px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 30px;
}
.aq-page-hero--center .aq-page-hero__lead {
  margin: 0 auto;
}

/* three key points as frosted-glass chips */
.aq-page-hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 26px 0 0;
}
.aq-page-hero__points li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 30px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
}
.aq-page-hero__points li span {
  color: var(--thm-primary);
  font-size: 13px;
  line-height: 1;
}

/* actions: the main button in the site's light blue (as the header's
   "Enquire" button) so it stands out on the blue, + a white text link */
.aq-page-hero__btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 30px;
  margin-top: 34px;
  line-height: 0;
}
.aq-page-hero__btns .btn-one {
  padding-left: 40px;
  padding-right: 40px;
  box-shadow: 0 10px 26px rgba(0, 20, 50, 0.25);
}
.aq-page-hero__btns .btn-one:after {
  background-color: var(--thm-primary);
}
.aq-page-hero__btns .btn-one .round {
  background: #5dbcdf;
}
/* hover: the button fills white with blue text */
.aq-page-hero__btns .btn-one:hover .round {
  background: #ffffff;
}
.aq-page-hero__btns .btn-one:hover,
.aq-page-hero__btns .btn-one:focus-visible {
  color: var(--thm-base);
}
.aq-page-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.aq-page-hero__link span {
  color: var(--thm-primary);
  transition: transform 0.25s ease;
}
.aq-page-hero__link:hover,
.aq-page-hero__link:focus-visible {
  color: var(--thm-primary);
}
.aq-page-hero__link:hover span {
  transform: translateX(4px);
}

/* ---------- gentle entrance: each line fades up in turn ---------- */
@keyframes aq-hero-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.aq-page-hero__content > * {
  animation: aq-hero-in 0.7s ease both;
}
.aq-page-hero__content > :nth-child(2) { animation-delay: 0.08s; }
.aq-page-hero__content > :nth-child(3) { animation-delay: 0.16s; }
.aq-page-hero__content > :nth-child(4) { animation-delay: 0.22s; }
.aq-page-hero__content > :nth-child(5) { animation-delay: 0.28s; }
.aq-page-hero__content > :nth-child(6) { animation-delay: 0.36s; }
.aq-page-hero__content > :nth-child(7) { animation-delay: 0.44s; }
@media (prefers-reduced-motion: reduce) {
  .aq-page-hero__content > * { animation: none; }
}

/* ---------- Arabic: mirror the hero ---------- */
.rtl .aq-page-hero .breadcrumb-area-bg {
  background-position: left center;
}
.rtl .aq-page-hero .breadcrumb-area-bg::after {
  background:
    radial-gradient(ellipse 760px 460px at 80% 58%,
                    rgba(var(--thm-primary-rgb), 0.18), rgba(var(--thm-primary-rgb), 0) 70%),
    linear-gradient(270deg, rgba(0, 44, 98, 0.97) 0%, rgba(var(--thm-base-rgb), 0.94) 40%,
                    rgba(var(--thm-base-rgb), 0.62) 66%, rgba(var(--thm-base-rgb), 0.12) 100%);
}
.rtl .aq-page-hero::after {
  background: linear-gradient(270deg, var(--thm-primary) 0%, rgba(var(--thm-primary-rgb), 0.15) 100%);
}
.rtl .aq-page-hero__content {
  text-align: right;
}
.rtl .aq-page-hero--center .aq-page-hero__content {
  text-align: center;
}
.rtl .aq-page-hero__kicker {
  letter-spacing: 0;
}
.rtl .aq-page-hero__link span {
  transform: scaleX(-1);
}
.rtl .aq-page-hero__link:hover span {
  transform: scaleX(-1) translateX(4px);
}

/* ---------- tablets and phones ---------- */
@media only screen and (max-width: 991px) {
  /* the photo sits behind the text here: an even blue wash keeps it readable */
  .aq-page-hero .breadcrumb-area-bg::after,
  .rtl .aq-page-hero .breadcrumb-area-bg::after {
    background: linear-gradient(180deg, rgba(0, 44, 98, 0.95) 0%, rgba(var(--thm-base-rgb), 0.88) 100%);
  }
}
@media only screen and (max-width: 767px) {
  .aq-page-hero .title h1 {
    font-size: 42px;
  }
  .aq-page-hero__lead {
    font-size: 16px;
    line-height: 27px;
  }
  .aq-page-hero__points li {
    font-size: 14px;
  }
}
@media only screen and (max-width: 575px) {
  .aq-page-hero .title h1 {
    font-size: 36px;
  }
  .aq-page-hero__points {
    flex-direction: column;
    align-items: flex-start;
  }
  .rtl .aq-page-hero__points {
    align-items: flex-end;
  }
}

/* "Product Availability" link from the drilling-fluids hero */
#availability {
  scroll-margin-top: 120px;
}

/* =========================================================
   SEO heading clean-up (Nov 2026)
   Small labels that only LOOK like headings (eyebrows, "Step",
   phone numbers, slider badges...) are now <div class="aq-h5"> etc.
   instead of real <h5>, so Google sees a clean heading outline.
   The rules below are copies of the original h2-h6 rules so these
   labels keep exactly the same look. (Generated - do not edit by hand.)
   ========================================================= */
:where(.aq-h2){font-size:1.5em}:where(.aq-h3){font-size:1.17em}:where(.aq-h4){font-size:1em}:where(.aq-h5){font-size:.83em}:where(.aq-h6){font-size:.67em}
.aq-h2,.aq-h3,.aq-h4,.aq-h5,.aq-h6{margin-top:0;margin-bottom:.5rem}
.aq-h2,.aq-h3,.aq-h4,.aq-h5,.aq-h6{margin-bottom:.5rem;font-family:inherit;font-weight:500;line-height:1.2;color:inherit}
.aq-h2{font-size:2rem}
.aq-h3{font-size:1.75rem}
.aq-h4{font-size:1.5rem}
.aq-h5{font-size:1.25rem}
.aq-h6{font-size:1rem}
@media print{.aq-h2,.aq-h3{orphans:3;widows:3}.aq-h2,.aq-h3{page-break-after:avoid}}
.slider-video-gallery .title .aq-h6{color:#ffffff;font-size:14px;line-height:16px;font-weight:700;text-transform:uppercase;margin:0 0 16px}
.main-slider .round-box .aq-h3{color:#ffffff;font-size:20px;line-height:26px;font-weight:600}
.main-slider .round-box .aq-h2{color:#ffffff;font-size:30px;line-height:32px;font-weight:700;margin:14px 0 0px}
.about-style1_tab .tab-buttons li .left .aq-h2{color:#98a1a7;font-size:36px;line-height:40px;font-weight:600;transition:all 200ms linear;transition-delay:0.1s}
.about-style1_tab .tab-buttons .tab-btn:hover .left .aq-h2,.about-style1_tab .tab-buttons .tab-btn.active-btn .left .aq-h2{color:#ffffff}
.about-style1_tab .tab-buttons li .right .aq-h5{color:#98a1a7;font-size:14px;line-height:24px;font-weight:700;text-transform:uppercase;transition:all 200ms linear;transition-delay:0.1s}
.about-style1_tab .tab-buttons .tab-btn:hover .right .aq-h5,.about-style1_tab .tab-buttons .tab-btn.active-btn .right .aq-h5{color:#ffffff}
.about-style3-text-box1 .inner-content .aq-h5{color:#98a1a7;font-size:16px;font-weight:700;text-transform:uppercase}
.about-style3-text-box1 .inner-content .bottom-box .name .aq-h5{font-size:14px;text-transform:uppercase;margin:0 0 8px}
.single-fact-counter .title .aq-h6{color:#ffffff;font-size:20px;line-height:30px;font-weight:600;text-transform:capitalize}
.single-fact-counter-style2 .title .aq-h6{color:#ffffff;font-size:14px;line-height:20px;font-weight:700;text-transform:uppercase}
.info-ownload-box ul li .inner .title .aq-h3{color:#ffffff;font-size:20px;line-height:24px;font-weight:600;margin:0 0 12px}
.info-ownload-box ul li .inner .title .aq-h6{font-size:14px;line-height:18px;font-weight:700;text-transform:uppercase}
.info-ownload-box ul li .inner .title .aq-h6 a{position:relative;display:inline-block;color:#ffffff;padding-left:0px;transition:all 200ms linear;transition-delay:0.1s}
.info-ownload-box ul li .inner .title .aq-h6 a:hover{padding-left:20px}
.info-ownload-box ul li .inner .title .aq-h6 a span:before{position:absolute;left:0;opacity:0;transition:all 200ms linear;transition-delay:0.1s}
.info-ownload-box ul li .inner .title .aq-h6 a:hover span:before{opacity:1}
.sidebar-contact-info-box .aq-h3{color:var(--thm-primary);font-size:20px;font-weight:600;margin:27px 0 10px}
.sidebar-contact-info-box .aq-h2{font-size:24px;font-weight:700;margin:0 0 14px}
.sidebar-contact-info-box .aq-h2 a{color:#151515}
.aq-h2,.aq-h3,.aq-h4,.aq-h5,.aq-h6{color:var(--thm-black);font-weight:700;line-height:1.25em;font-family:var(--thm-font-2);margin:0}
.sec-title .sub-title .aq-h5{color:var(--thm-primary);font-size:14px;line-height:1.2em;font-weight:700;text-transform:uppercase}
.sec-title .aq-h2{font-size:48px;line-height:1.2em;text-transform:none}
.choose-style1_image-box .round-box .aq-h3{color:#ffffff;font-size:20px;line-height:28px;font-weight:600}
.choose-style1-content ul li .text .aq-h3{font-size:24px;line-height:34px;font-weight:600}
.single-working-process .counting-box .text .aq-h6{color:#dee9f6;font-size:14px;line-height:18px;font-weight:700;text-transform:uppercase}
.single-working-process .content .aq-h3{color:#ffffff;font-size:24px;font-weight:600;margin-bottom:14px}
.quick-contact-box .title .aq-h3{color:var(--thm-primary);font-size:20px;font-weight:600;margin:0 0 7px}
.quick-contact-box .title .aq-h2{font-size:24px;font-weight:700}
.quick-contact-box .title .aq-h2 a{color:var(--thm-black)}
.thm-round-box1 .aq-h3{color:#ffffff;font-size:20px;line-height:28px;font-weight:600}
.single-gallery-item .img-holder .overlay-content .aq-h6{color:var(--thm-primary);font-size:14px;line-height:24px;font-weight:600;text-transform:uppercase;margin:0 0 7px}
.single-gallery-item .img-holder .overlay-content .aq-h3{font-size:24px;line-height:34px;font-weight:600}
.single-gallery-item .img-holder .overlay-content .aq-h3 a{color:#ffffff}
#thm-form-style1 .title .aq-h2{color:#ffffff;font-size:30px;line-height:40px;font-weight:600;margin:0 0 1px}
@media only screen and (min-width: 768px) and (max-width: 991px){.single-fact-counter-style2 .title .aq-h6{font-size:12px}}
@media only screen and (max-width: 767px){.sec-title .aq-h2{font-size:38px}.sec-title .aq-h2 br{display:none}}
html[lang="ar"] .aq-h2,html[lang="ar"] .aq-h3,html[lang="ar"] .aq-h4,html[lang="ar"] .aq-h5,html[lang="ar"] .aq-h6{font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif !important;
  letter-spacing: 0 !important;}
html[lang="ar"] .aq-h2,html[lang="ar"] .aq-h3{line-height: 1.35;}
.rtl .choose-style1-area .aq-h2,.rtl .choose-style1-area .aq-h3,.rtl .choose-style1-area .aq-h5,.rtl .contact-style1-area .aq-h2,.rtl .contact-style1-area .aq-h3,.rtl .contact-style1-area .aq-h5{direction: rtl;
  text-align: right;}
.aq-image-box__caption .aq-h6{margin: 0 0 10px;
  color: var(--thm-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;}
.aq-image-box__caption .aq-h3{margin: 0 0 10px;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.3;}
@media only screen and (max-width: 575px) {.aq-image-box__caption .aq-h3{font-size: 22px;}}
.aq-map__card .aq-h4{margin: 0 0 2px;
  color: var(--thm-black);
  font-size: 19px;
  line-height: 1.3;}
.main-slider.style1 .content .sub-title .aq-h6{color: #5dbcdf;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;}

/* ---------- SEO helpers (Nov 2026) ---------- */
/* text for Google / screen readers only (e.g. "Read More about water treatment") */
.aq-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
/* keyword line under the big page title: <h1>Water Treatment Chemicals <span class="aq-h1-sub">for ... in Riyadh</span></h1> */
.aq-h1-sub {
  display: block;
  margin-top: 10px;
  font-size: 0.42em;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.9);
}
@media only screen and (max-width: 767px) {
  .aq-h1-sub { font-size: 0.5em; }
}

/* =========================================================
   New service pages (Nov 2026): cooling tower, boiler & chiller,
   RO, wastewater and ceramic pages. Uses the site's theme colours.
   ========================================================= */
.aq-svc .aq-svc__title {
  margin: 0 0 16px;
  color: var(--thm-black);
  font-size: 26px;
  line-height: 1.3;
  font-weight: 700;
}
.aq-svc .service-details-text-box1 {
  padding-bottom: 10px;
}
.aq-svc__block {
  margin-top: 40px;
}
.aq-svc__block p + p {
  margin-top: 14px;
}
.aq-tick-list.aq-tick-list--one {
  grid-template-columns: 1fr;
}
/* product list: bold name – short explanation */
.aq-svc__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.aq-svc__list li {
  position: relative;
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid #e9eef2;
  color: var(--thm-gray);
  font-size: 16px;
  line-height: 26px;
}
.aq-svc__list li strong {
  color: var(--thm-black);
  font-weight: 700;
}
.aq-svc__list li > span {
  position: absolute;
  top: 19px;
  left: 0;
  color: var(--thm-base);
  font-size: 15px;
}
.rtl .aq-svc__list li { padding: 14px 30px 14px 0; }
.rtl .aq-svc__list li > span { left: auto; right: 0; }
/* numbered "How we work" steps */
.aq-svc__steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.aq-svc__steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border: 1px solid #e3ebf2;
  border-radius: 10px;
  background: #f5f9fc;
}
.aq-svc__num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--thm-base);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
}
.aq-svc__steps li p {
  margin: 0;
  color: var(--thm-black);
  font-size: 16px;
  line-height: 24px;
}
/* call-to-action box */
.aq-svc__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 45px;
  padding: 30px;
  border-radius: 10px;
  background: var(--thm-base);
}
.aq-svc__cta-text h3 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 22px;
}
.aq-svc__cta-text p,
.aq-svc__cta-text a {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}
.aq-svc__cta-text a {
  font-weight: 600;
  text-decoration: underline;
}
/* Arabic summary */
.aq-svc__ar {
  margin-top: 45px;
  padding: 30px;
  border-right: 4px solid var(--thm-base);
  border-radius: 10px;
  background: #f5f9fc;
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  text-align: right;
}
.aq-svc__ar .aq-svc__title {
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  font-size: 22px;
}
.aq-svc__ar p {
  color: var(--thm-black);
  font-size: 17px;
  line-height: 32px;
}
.aq-svc__ar p + p { margin-top: 12px; }
.aq-svc__ar-cta a { color: var(--thm-base); font-weight: 600; }
@media only screen and (max-width: 767px) {
  .aq-svc .aq-svc__title { font-size: 22px; }
  .aq-svc__steps { grid-template-columns: 1fr; }
  .aq-svc__cta, .aq-svc__ar { padding: 22px; }
}
/* links to the new service pages inside existing lists / tabs */
.aq-about-range__list a { color: inherit; transition: color 0.2s linear; }
.aq-about-range__list a:hover, .aq-about-range__list a:focus { color: var(--thm-base); }
.service-details-tab-content .btn-box .aq-more-link { margin-left: 28px; }
.rtl .service-details-tab-content .btn-box .aq-more-link { margin-left: 0; margin-right: 28px; }
@media only screen and (max-width: 575px) {
  .service-details-tab-content .btn-box .aq-more-link { display: block; margin: 14px 0 0; }
}
.aq-svc__cta .btn-one { flex: none; }
.aq-svc__cta .btn-one:after { background: var(--thm-primary); }
@media only screen and (max-width: 767px) {
  .aq-svc__cta { flex-direction: column; align-items: flex-start; }
}
.aq-h1-sub { text-transform: none; }
/* service sidebar: longer page names wrap neatly instead of being cut */
.view-all-service .service-pages li a {
  padding: 15px 60px 15px 20px;
  line-height: 25px;
}
@media only screen and (max-width: 767px) {
  .aq-svc__cta .btn-one { line-height: 22px; padding-top: 16px; padding-bottom: 16px; }
}
.aq-svc__ar-cta a { white-space: nowrap; }
/* accessibility: "Quick Contact" labels were light blue on white (contrast 1.8:1) */
.quick-contact-box .title h3,
.sidebar-contact-info-box h3 {
  color: var(--thm-base);
}
.sidebar-title .aq-h3 { color: #151515; font-size: 24px; line-height: 30px; font-weight: 600; font-family: var(--thm-font-2); margin: 0; }

/* service sidebar labels (were <h3>, now <div class="aq-h3">) – same look */
.thm-sidebar-box .aq-h3{font-family:var(--thm-font-2);font-weight:700;line-height:1.25em;color:var(--thm-black)}
.info-ownload-box ul li .inner .title .aq-h3{color:#ffffff;font-size:20px;line-height:24px;font-weight:600;margin:0 0 12px}
.sidebar-contact-info-box .aq-h3{color:var(--thm-primary);font-size:20px;font-weight:600;margin:27px 0 10px}
.sidebar-single-box1 .aq-h3{color:#ffffff;font-size:24px;line-height:34px;font-weight:600;margin:25px 0 20px}
.sidebar-contact-info-box .aq-h3{color: var(--thm-base);}
