@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/Barlow-400.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/Barlow-500.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/Barlow-700.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Tiro Telugu";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/TiroTelugu-400.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Special Elite";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/SpecialElite-400.ttf") format("truetype");
  font-display: swap;
}

:root {
  --color-primary: #202020;
  --color-secondary: #646464;
  --color-text: #646464;
  --color-accent: #0056c7;
  --color-accent-2: #00b61c;
  --color-light: #fafafa;
  --color-muted: #e6e6e6;
  --color-bg: #ffffff;
  --color-bg-soft: #f7f7f7;
  --color-cream: #f8f1e8;
  --color-cream-2: #fdf7f0;
  --color-dark-blue: #002e6b;
  --color-blue: #00a7f8;
  --color-green: #00b61c;
  --color-hero-sub: #edf9ff;
  --font-heading: "Tiro Telugu", serif;
  --font-body: "Barlow", Arial, sans-serif;
  --font-display: "Special Elite", "Barlow", serif;
  --font-size-text: 1.1rem;
  --font-line-height: 1.5em;
  --font-size-h1: 4rem;
  --font-size-h2: 2.8rem;
  --font-size-h3: 1.8rem;
  --font-size-h4: 1.5rem;
  --font-size-h5: 1.2rem;
  --font-size-h6: 1rem;
  --shadow-soft: 0 0 10px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 0 10px rgba(0, 0, 0, 0.2);
  --radius-lg: 20px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

/* Scroll reveal */
.reveal,
[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

html.js .reveal,
html.js [data-reveal] {
  opacity: 0;
}

html.js [data-reveal]:not([data-reveal="fade-left"]):not([data-reveal="fade-right"]):not([data-reveal="fade-start"]):not([data-reveal="fade-end"]):not([data-reveal="zoom-in"]),
html.js .reveal {
  transform: translateY(18px);
}

html.js [data-reveal="fade-up"],
html.js .reveal--up {
  transform: translateY(18px);
}

html.js [data-reveal="fade-left"],
html.js .reveal--left {
  transform: translateX(-18px);
}

html.js [data-reveal="fade-right"],
html.js .reveal--right {
  transform: translateX(18px);
}

html.js [data-reveal="fade-start"] {
  transform: translateX(-18px);
}

html.js [data-reveal="fade-end"] {
  transform: translateX(18px);
}

html[dir="rtl"].js [data-reveal="fade-start"] {
  transform: translateX(18px);
}

html[dir="rtl"].js [data-reveal="fade-end"] {
  transform: translateX(-18px);
}

html.js [data-reveal="zoom-in"],
html.js .reveal--scale {
  transform: scale(0.98);
}

html.js .reveal.is-visible,
html.js [data-reveal].is-revealed,
html.js .reveal.is-revealed {
  opacity: 1;
  transform: none;
}

/* Hero-specific reveal: slower, softer */
.hero .reveal,
.hero [data-reveal] {
  transition-duration: 1.1s;
  transition-timing-function: ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  html.js .reveal,
  [data-reveal],
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--font-size-text);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: var(--font-line-height);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--color-blue);
}

a, p, li, span {
  font-size: inherit;
  line-height: inherit;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 12px;
  color: var(--color-primary);
}

h1 {
  font-family: var(--font-heading);
  font-size: var(--font-size-h1);
  font-weight: 700;
  line-height: 1em;
}

h2 {
  font-family: var(--font-heading);
  font-size: var(--font-size-h2);
  font-weight: 700;
  line-height: 1.2em;
}

h3 {
  font-family: var(--font-heading);
  font-size: var(--font-size-h3);
  font-weight: 400;
  line-height: 1.2em;
}

h4 {
  font-family: var(--font-heading);
  font-size: var(--font-size-h4);
  font-weight: 400;
  line-height: 1.2em;
}

h5 {
  font-family: var(--font-body);
  font-size: var(--font-size-h5);
  font-weight: 400;
  line-height: 1.2em;
}

h6 {
  font-family: var(--font-body);
  font-size: var(--font-size-h6);
  font-weight: 400;
  line-height: 1.2em;
}

.container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  position: relative;
  padding: 6em 0;
}

.section.management {
  padding-top: 24px;
  padding-bottom: 40px;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--font-size-h2);
  line-height: 1.2em;
  color: var(--color-primary);
  margin: 0 0 20px;
}

.section-title span {
  color: var(--color-blue);
}

.section-title.center,
.center {
  text-align: center;
}

.section-lead {
  max-width: 920px;
  margin: 0 auto 40px;
  text-align: center;
}

.eyebrow {
  font-size: 1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent-2);
  margin-bottom: 8px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--color-accent-2);
  display: inline-block;
}

.elementor-divider {
  display: flex;
  justify-content: center;
  margin: 0 0 12px;
}

.elementor-divider-separator {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 400;
}

.elementor-divider-separator::before,
.elementor-divider-separator::after {
  content: "";
  width: 60px;
  height: 2px;
  background: var(--color-accent-2);
  display: block;
}

.elementor-divider-separator::after {
  content: none;
}

.elementor-divider__text {
  margin: 0;
  font-size: 0.95rem;
  font-family: var(--font-body);
}

html[dir="rtl"] .elementor-divider__text {
  font-size: 1.15rem;
}

.divider {
  width: 80px;
  height: 3px;
  background: var(--color-accent-2);
  margin: 12px 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  border: none;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2em;
  font-family: var(--font-body);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(140deg, var(--color-accent) 0%, var(--color-accent-2) 100%);
  color: var(--color-light);
  box-shadow: 0 12px 24px rgba(0, 86, 199, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
}

.about .split {
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
}

.management .split {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.infra .split {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: transparent;
}

.site-header .container {
  max-width: 1440px;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 44px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(10px);
}

.logo img {
  max-height: 70px;
}

.main-nav {
  margin-left: 0;
  flex: 1;
  display: flex;
  justify-content: center;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 30px;
}

.menu > li > a {
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.menu > li > a:hover,
.menu > li > a:focus-visible {
  background: var(--color-dark-blue);
  color: #fff;
}

.has-submenu > a::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #222;
  margin-inline-start: 10px;
  transform: translateY(2px);
}

.has-submenu:hover > a::after,
.menu > li > a:focus-visible::after {
  border-top-color: #fff;
}

.site-header .btn-primary {
  padding: 12px 34px;
  font-size: 1rem;
}

.has-submenu {
  position: relative;
}

.submenu {
  list-style: none;
  margin: 0;
  padding: 12px;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 999;
}

.submenu .submenu {
  top: 0;
  left: 100%;
}

.has-submenu:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li {
  margin: 0;
}

.submenu a {
  display: block;
  padding: 6px 10px;
  font-size: 0.95rem;
  color: var(--color-primary);
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

.submenu a:hover,
.submenu a:focus-visible {
  background: var(--color-dark-blue);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  margin: 5px 0;
}

.nav-toggle-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
}

.hero {
  min-height: 100vh;
  position: relative;
  color: var(--color-light);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 12em 0 4em;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease;
  animation: hero-zoom 14s ease-in-out infinite alternate;
  transform-origin: center;
}

.hero-bg--current {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(60deg, rgba(0, 0, 0, 0.88) 60%, rgba(0, 182, 28, 0.29) 100%);
  opacity: 0.75;
  mix-blend-mode: multiply;
}

@keyframes hero-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

html[dir="rtl"] .hero-overlay {
  background: linear-gradient(-60deg, rgba(0, 0, 0, 0.88) 60%, rgba(0, 182, 28, 0.29) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
}

@media (min-width: 1200px) {
  .hero-grid {
    margin-left: auto;
    margin-right: 660px;
    transform: translateY(120px);
  }

  .hero-lead {
    white-space: nowrap;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.hero-main {
  max-width: 980px;
  display: flex;
  flex-direction: column;
  min-height: 60vh;
  text-align: left;
  align-items: flex-start;
  gap: 10px;
}

.hero-cta-panel {
  display: grid;
  gap: 12px;
  align-content: start;
  justify-items: start;
  max-width: 420px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 16px;
}

.hero-cta-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  width: 100%;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4.6rem;
  line-height: 1em;
  margin: 0 0 10px;
  color: #fff;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.hero-title span {
  color: #2095c2;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 22px;
  white-space: nowrap;
}

.hero-subtitle-highlight {
  background: none;
  padding: 0;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #77ff62;
  margin: 0 0 12px;
  position: relative;
  display: inline-block;
  z-index: 1;
}

.hero-tagline::after {
  content: none;
}

.hero-lead {
  font-size: 1.18rem;
  color: #fff;
  max-width: 760px;
  margin: 0;
}

html[dir="rtl"] .hero-lead {
  white-space: normal;
}

.hero-actions {
  margin-top: 24px;
}

.hero-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.hero-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.15);
  font-size: 0.95rem;
  color: var(--color-light);
}

.hero-social-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 70px;
  z-index: 2;
}

.hero-social--inline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 26px;
}

.hero-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-green);
  font-weight: 500;
}

.hero-social-link:hover {
  color: var(--color-green);
}

.hero-social-icon {
  width: 22px;
  height: 22px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-social-iconbox {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

.hero-social-iconbox--filled {
  background: #fff;
}

.hero-social-icon--dark {
  stroke: #000;
}

/* Floating action buttons (WhatsApp + Back to top) */
.fab-wrap {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: grid;
  gap: 12px;
  z-index: 999;
}

.fab-wrap__btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab-wrap__btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.25);
}

.fab-btn--whatsapp {
  background: #25d366;
}

.fab-btn--top {
  background: linear-gradient(140deg, var(--color-accent) 0%, var(--color-accent-2) 100%);
  color: #fff;
}

.fab-btn--top svg {
  stroke: currentColor;
}

.fab-btn--whatsapp svg {
  fill: #fff;
}

html[dir="rtl"] .fab-wrap {
  right: auto;
  left: 20px;
}

/* ABOUT (match WP layout) */
.about {
  background: #fff;
  overflow: hidden;
  padding: 60px 0;
}

/* Background image overlay (existing asset) */
.about-overlay {
  position: absolute;
  inset: 0;
  background: url("../img/about-as-service-contact-information-concept.png") center/cover no-repeat;
  opacity: 0.18;
  pointer-events: none;
}

/* Right translucent panel behind the text */
.about::after {
  content: none;
}

/* keep content above overlays */
.about .container.split {
  position: relative;
  z-index: 1;
}

/* Layout: larger left column for the big logo oval */
.about .split {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 0;
  align-items: center;
}

/* Left logo positioning */
.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 50px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.25);
  transform: scaleX(1.10);
}

/* BIG oval plate with shadow */
.about-visual img {
  width: min(520px, 100%);
  height: auto;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

/* Right text block spacing inside the panel */
.about-content {
  padding: 36px 32px 36px 36px;
  width: 100%;
  max-width: none;
  transform: translateX(16px);
}

/* Paragraph tone */
.about-content p {
  color: rgba(0, 0, 0, 0.60);
  line-height: 1.95;
  margin: 0 0 18px;
}

/* TARGET doesn’t show the divider line under the heading */
.about .divider {
  display: none;
}

/* Arabic heading styles */
html[dir="rtl"] .about-content {
  text-align: right;
  transform: translateX(-16px);
}

html[dir="rtl"] .about .eyebrow {
  letter-spacing: 0;
  text-transform: none;
  color: rgba(0, 0, 0, 0.55);
  font-weight: 600;
  font-size: 1.15rem;
  max-width: 120px;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .about .split {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: center;
  }

  .about-visual {
    transform: none;
    margin: 0 auto;
    padding: 26px 28px;
    width: min(360px, 100%);
  }

  .about-content {
    transform: none;
    padding: 0;
    text-align: center;
  }

  .about-content p {
    text-align: center;
  }
}

/* =========================
   VISION / MISSION / GOAL
   Match WP (light cards, neutral overlay, big shadow)
========================= */

.vision {
  background: rgb(0, 46, 107);
}

.vision .section-title,
.vision .section-title span {
  color: #ffffff;
}

.vision .section-title span {
  color: rgb(0, 167, 248);
}

.banner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}

/* Card look: bigger shadow + rounder corners like TARGET */
.banner-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 280px;
  background: #0b1f3a;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.banner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.09) inset;
}

.banner-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}

.banner-gradient {
  display: none;
}

.banner-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 26, 53, 0.2) 0%,
    rgba(10, 26, 53, 0.7) 45%,
    rgba(0, 0, 0, 0.75) 100%
  );
  z-index: 1;
}

.banner-card::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(32, 149, 194, 0.28), rgba(24, 210, 75, 0.18));
  filter: blur(18px);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.banner-content h3 {
  margin: 0;
  color: #e7f6ff;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-self: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.banner-content p {
  margin: 0;
  color: rgba(232, 242, 255, 0.92);
  line-height: 1.7;
  max-width: 92%;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.banner-grid .banner-card:nth-child(3) .banner-content {
  transform: translateY(-24px);
}

.banner-grid .banner-card:nth-child(1) .banner-content {
  transform: translateY(-18px);
}

html[dir="rtl"] .banner-content {
  text-align: center;
  align-items: center;
}

/* Responsive: fall back to auto-fit on smaller screens */
@media (max-width: 980px) {
  .banner-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    max-width: 100%;
  }
}

/* =========================
   SERVICES (match WP pills)
========================= */
.services {
  background: #fff;
}

.services .container {
  max-width: 1500px;
}

 .services-rows {
  display: flex;
  flex-direction: column;
  gap: 34px;
  margin-top: 46px;
}

/* Big navy pill row */
.services-row {
  position: relative;
  background: #002a66;
  border-radius: 999px;
  padding: 32px 52px;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 180px;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

/* Gradient bubble inside the row */
.services-row::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  width: 50%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1b7aa6 0%, #18d24b 100%);
  z-index: 1;
}

.services-row--grad-left::before {
  left: 10px;
}

.services-row--grad-right::before {
  right: 10px;
}

html[dir="rtl"] .services-row--grad-left::before {
  left: auto;
  right: 10px;
}

html[dir="rtl"] .services-row--grad-right::before {
  right: auto;
  left: 10px;
}

/* Each half */
.service-half {
  position: relative;
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 16px 22px;
  min-width: 0;
  z-index: 2;
}

/* remove old gradient layer on the half */
.service-half--grad::before {
  content: none;
}

.service-block {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Icon white rounded plate */
.service-half .service-icon,
.service-half .icon,
.service-half img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 247, 255, 0.95) 100%);
  border-radius: 26px;
  padding: 0;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  overflow: hidden;
}

/* Typography inside pills */
.service-half h3,
.service-half h4 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  font-family: var(--font-heading);
  color: #e9f7ff;
}

.service-half p,
.service-half li {
  margin: 0;
  color: rgba(233, 247, 255, 0.82);
  line-height: 1.6;
  font-size: 1.02rem;
  max-width: 640px;
}

/* Bullet green dot */
.service-half li::marker {
  color: #18d24b;
}

/* Row 3 right side empty navy */
.service-half--empty {
  min-height: 1px;
}

/* Responsive */
@media (max-width: 980px) {
  .services-row {
    flex-direction: column;
    border-radius: 36px;
    padding: 22px;
    gap: 18px;
    min-height: auto;
  }

  .services-row::before {
    width: 100%;
    left: 0;
    right: 0;
    top: 8px;
    bottom: 8px;
    border-radius: 28px;
  }

  .service-half {
    flex: 1 1 auto;
    padding: 12px;
  }
}

#services .section-lead {
  max-width: none;
  margin-bottom: 14px;
  font-size: 1.1rem;
  text-align: center;
}

#services .eyebrow {
  text-align: center;
}

.scroll-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 48px auto 0;
  border-radius: 50%;
  border: 2px solid var(--color-accent-2);
  color: var(--color-accent-2);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-arrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.service-card img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  margin: 0 auto 16px;
  border-radius: 20px;
}

/* =========================
   PROJECT MANAGEMENT (match WP)
========================= */
.management {
  background: rgb(237, 249, 255);
  color: var(--color-text);
}

.management-split {
  align-items: center;
  min-height: 720px;
  padding-top: 0;
  padding-bottom: 40px;
}

.management-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  height: 100%;
  margin-top: 0;
  position: static;
  transform: translateY(120px);
}

/* Left column text */
.management .section-title,
.management .subheading,
.management p {
  color: var(--color-dark-blue);
  text-align: left;
}

html[dir="rtl"] .management .section-title,
html[dir="rtl"] .management .subheading,
html[dir="rtl"] .management p {
  text-align: right;
}

.management p {
  color: var(--color-text);
}

.management-content p {
  max-width: 640px;
  line-height: 1.7;
  margin: 0 0 22px;
}

/* The thin divider line visible in TARGET */
.management-divider {
  width: 78%;
  height: 2px;
  background: #002e6b;
  margin: 44px 0 60px;
}

/* Right column cards */
.management-cards {
  width: min(640px, 100%);
  justify-self: end;
}

.stack-cards {
  display: grid;
  gap: 26px;
}

.info-card {
  background: #fff;
  padding: 26px 32px;
  border-radius: 14px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
  color: #1f2b3a;
}

/* Headings: WP-style blue */
.info-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 1.85rem;
  color: #002e6b;
}

/* Subtitle grey like WP */
.info-card p {
  margin: 0;
  color: rgba(0, 0, 0, 0.55);
  font-size: 1.05rem;
  line-height: 1.5;
}

/* Give the first card the same gradient treatment */
.management-cards .info-card:nth-child(1) {
  background: linear-gradient(90deg, #1780a8 0%, #20d44a 100%);
  color: #fff;
}

.management-cards .info-card:nth-child(1) h3 {
  color: #002e6b;
}

.management-cards .info-card:nth-child(1) p {
  color: rgba(255, 255, 255, 0.9);
}

/* Highlight ONLY the middle card (Advisory & Oversight) */
.management-cards .info-card:nth-child(2) {
  background: linear-gradient(90deg, #1780a8 0%, #20d44a 100%);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.management-cards .info-card:nth-child(2) h3 {
  color: #002e6b;
}

.management-cards .info-card:nth-child(2) p {
  color: rgba(255, 255, 255, 0.9);
}

.management-cards .info-card:nth-child(3) {
  background: linear-gradient(90deg, #1780a8 0%, #20d44a 100%);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.management-cards .info-card:nth-child(3) h3 {
  color: #002e6b;
}

.management-cards .info-card:nth-child(3) p {
  color: rgba(255, 255, 255, 0.9);
}

/* Match PMO card styling to Advisory highlight */
.management-cards .info-card:nth-child(4) {
  background: linear-gradient(90deg, #1780a8 0%, #20d44a 100%);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.management-cards .info-card:nth-child(4) h3 {
  color: #002e6b;
}

.management-cards .info-card:nth-child(4) p {
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive: stack columns if needed */
@media (max-width: 980px) {
  .management .split {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .management-content {
    text-align: center;
  }

  .management-divider {
    width: 100%;
    margin: 28px 0 36px;
  }

  .management-cards {
    justify-self: start;
    width: 100%;
  }
}

.infra {
  background: var(--color-dark-blue);
  color: var(--color-muted);
  overflow: hidden;
}

.infra .section-title {
  color: var(--color-light);
}

.infra .eyebrow {
  color: var(--color-accent-2);
}

.infra-overlay {
  position: absolute;
  inset: 0;
  background: url("../img/442-scaled.jpg") center/cover no-repeat;
  opacity: 0.13;
}

.carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 600px;
  max-width: 100%;
  height: 750px;
  min-height: 750px;
  box-shadow: var(--shadow-card);
}

.carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.carousel img.is-active {
  opacity: 1;
}

@media (max-width: 991px) {
  .carousel {
    height: 520px;
    min-height: 520px;
  }
}

@media (max-width: 640px) {
  .carousel {
    height: 380px;
    min-height: 380px;
  }

  .hero-title span {
    display: block;
  }
}

.list-block {
  margin: 24px 0;
}

.list-block h4 {
  margin: 0 0 12px;
  color: var(--color-primary);
}

.infra .list-block h4 {
  color: var(--color-light);
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
  align-items: start;
}

.infra-column {
  display: contents;
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bullet-list li {
  margin-bottom: 10px;
  padding-left: 18px;
  position: relative;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  background: var(--color-accent-2);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* =========================
   ENERGY SECTION (3 + 1 grid)
========================= */

.energy {
  background: var(--color-bg-soft);
}

.energy-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.energy-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 340px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
}

.energy-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.energy-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 1;
}

.energy-card-title {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-heading);
  font-size: 1.18rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.2;
  background: rgba(0, 0, 0, 0.42);
  padding: 14px 16px;
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.energy-card--single {
  grid-column: auto;
}

@media (max-width: 1100px) {
  .energy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .energy-card--single {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .energy-grid {
    grid-template-columns: 1fr;
  }

  .energy-card {
    height: 300px;
  }
}

/* =========================
   SURVEY / DESIGN / AS-BUILT (match WP)
========================= */
.survey {
  background: #fff;
  padding-top: 0;
}

/* Top image: crop like TARGET */
.survey-hero {
  height: 320px;
  overflow: hidden;
  background: #fff;
}

.survey-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

/* Yellow full-width line */
.survey-divider {
  height: 3px;
  background: #e3b400;
  width: 100%;
}

/* White panel holding the text */
.survey-panel {
  background: #fff;
  padding: 26px 0 18px;
  position: relative;
  overflow: hidden;
}

/* Short green line above title */
.survey-accent {
  width: 62px;
  height: 3px;
  background: #18d24b;
  margin: 16px 0 18px;
}

/* Title styling */
.survey-title {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 3.2rem;
  line-height: 1.05;
  color: rgba(0, 0, 0, 0.75);
}

.survey-title-accent {
  color: #2095c2;
}

/* Intro paragraph */
.survey-lead {
  margin: 0 0 18px;
  max-width: 980px;
  color: rgba(0, 0, 0, 0.55);
  line-height: 1.8;
}

/* Subtitle */
.survey-subtitle {
  margin: 12px 0 14px;
  color: #0b5ed7;
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

/* Bullet list */
.survey-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.survey-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.survey-card {
  background: rgb(237, 249, 255);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  display: grid;
  gap: 10px;
}

.survey-card h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #0b5ed7;
}

.survey-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.survey-card-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  color: #18d24b;
}

.survey-card p {
  margin: 0;
  color: rgba(0, 0, 0, 0.65);
  font-size: 1rem;
  line-height: 1.6;
}

.survey-photo {
  margin: 40px auto 8px;
  max-width: 1100px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.survey-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 980px) {
  .survey-title {
    font-size: 2.4rem;
  }

  .survey-hero {
    height: 240px;
  }

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

  .survey-photo {
    grid-column: span 1;
  }
}

.deployment {
  background: #fff;
}

#survey .bullet-list {
  list-style: disc;
  padding-inline-start: 18px;
}

#survey .bullet-list li {
  margin-bottom: 0;
  padding-top: 10px;
  padding-left: 0;
  line-height: 1;
  position: static;
}

#survey .bullet-list li::before {
  content: none;
}

#deployment .deployment-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: flex-start;
}

#deployment .deployment-media {
  min-height: 360px;
  background: url("../../assets/img/deployment.jpg") center/cover no-repeat;
  border-radius: var(--radius-md);
}

#deployment .deployment-divider {
  width: 80px;
  height: 3px;
  background: var(--color-accent-2);
  margin: 0 0 20px;
}

#deployment .list-block h4 {
  font-weight: 500;
  color: #0056c7;
  margin-bottom: 16px;
}

#deployment .bullet-list {
  list-style: disc;
  padding-inline-start: 18px;
}

#deployment .bullet-list li {
  margin-bottom: 0;
  padding-top: 10px;
  padding-left: 0;
  line-height: 1.1;
  position: static;
}

#deployment .bullet-list li::before {
  content: none;
}

#deployment .deployment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

/* =========================
   PARTNERS (marquee slider)
========================= */
.partners {
  background: #f5f7fa;
  background-image:
    radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 247, 250, 0.92));
  background-size: 24px 24px, 100% 100%;
  padding: 70px 0 80px;
}

@keyframes slides {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  padding: 24px 0;
  position: relative;
  margin-top: 34px;
  display: flex;
  gap: 0;
  align-items: center;
}

.logos::before,
.logos::after {
  position: absolute;
  top: 0;
  content: "";
  width: 250px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logos::before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), #f5f7fa);
}

.logos::after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #f5f7fa);
}

.logo_items {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
  min-width: 100%;
  animation: 35s slides infinite linear;
}

.logos:hover .logo_items {
  animation-play-state: paused;
}

.logo_items img {
  height: 80px;
  max-height: 80px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  flex: 0 0 auto;
}

.logo_items img.logo-boost {
  height: 36px;
  max-height: 36px;
}

@media (max-width: 640px) {
  .logo_items {
    gap: 18px;
  }

  .logo_items img {
    height: 60px;
    max-height: 60px;
  }
}

html[dir="rtl"] .logos {
  direction: ltr;
}

html[dir="rtl"] .logo_items {
  animation-direction: reverse;
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .hero-main {
    text-align: center;
    align-items: center;
  }

  .hero-content {
    margin-right: 0;
  }

  .hero-title {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    white-space: normal;
    line-height: 1.1;
    max-width: 100%;
    display: block;
  }

  .hero-subtitle {
    font-size: clamp(1rem, 3.8vw, 1.25rem);
    white-space: normal;
  }

  html[dir="rtl"] .hero-main {
    text-align: center;
    align-items: center;
  }

  html[dir="rtl"] .hero-content {
    display: flex;
    justify-content: center;
  }

  html[dir="rtl"] .hero-title {
    justify-content: center;
    align-self: center;
    text-align: center;
  }

  .hero-tagline {
    font-size: 1.3rem;
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .hero-social {
    gap: 10px;
  }

  .hero-social li {
    margin: 0;
  }

  .survey-hero {
    height: 220px;
  }

  .logos {
    padding: 20px 0;
  }

  .logo_items img {
    height: 70px;
    max-height: 70px;
  }

  html[dir="rtl"] .hero-content {
    margin-right: 0;
    padding-inline-end: 16px;
  }

  html[dir="rtl"] .hero-grid {
    margin-right: 0;
  }
}

.industries {
  background: var(--color-dark-blue);
  color: var(--color-light);
  padding: 90px 0 110px;
}

.industries .section-title {
  color: var(--color-light);
}

.industries .section-note {
  max-width: 980px;
  margin: 0 auto 38px;
  text-align: center;
  color: var(--color-muted);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 28px;
  margin-top: 36px;
}

.industry-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  column-gap: 18px;
  row-gap: 4px;
  align-items: center;
  background: #fff;
  padding: 20px 26px;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.industry-number {
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-dark-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
}

.industry-card h3 {
  margin: 0;
  color: var(--color-primary);
  font-size: 1.1rem;
}

.industry-card p {
  margin: 0;
  color: var(--color-secondary);
  font-size: 0.95rem;
}

.industry-card--highlight {
  background: linear-gradient(90deg, #1780a8 0%, #20d44a 100%);
  color: #fff;
}

.industry-card--highlight .industry-number {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.industry-card--highlight h3,
.industry-card--highlight p {
  color: #fff;
}

.value {
  background: var(--color-hero-sub);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

@media (min-width: 1200px) {
  .value-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.value-card {
  text-align: center;
  background: #fff;
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.value-card img {
  width: 80px;
  margin: 0 auto 16px;
}

/* =========================
   CERTIFICATIONS SECTION
========================= */
.certifications {
  background: var(--color-dark-blue);
  color: var(--color-light);
  overflow: hidden;
  padding: 90px 0 110px;
}

.certifications-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "content"
    "visual";
  gap: 32px;
  align-items: start;
}

.certifications-head {
  text-align: center;
  margin-bottom: 36px;
}

.certifications-visual {
  position: relative;
  padding-top: 6px;
  grid-area: visual;
}

.certifications-kicker {
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin: 0 0 6px;
  display: inline-block;
}

.certifications-title {
  margin: 0 0 18px;
  color: var(--color-blue);
}

.certifications-title .certifications-title__our {
  color: var(--color-light);
}

.certifications-title .certifications-title__lead {
  color: var(--color-light);
}
.cert-stack {
  position: relative;
  margin-top: 24px;
  height: auto;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.cert-frame {
  position: relative;
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.25);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  --base-transform: rotate(0deg);
  --lift: 0px;
  --scale: 1;
  transform: var(--base-transform) translateY(var(--lift)) scale(var(--scale));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  margin: 0 auto;
}

.cert-frame::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -60%;
  width: 50%;
  height: 140%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.55) 45%, rgba(255, 255, 255, 0.12) 60%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-140%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.cert-frame:hover {
  z-index: 5;
  --lift: -10px;
  --scale: 1.02;
  box-shadow: 0 30px 48px rgba(0, 0, 0, 0.28);
}

.cert-frame:hover::after {
  transform: translateX(220%);
}

.cert-image {
  display: block;
  width: 100%;
  height: auto;
}


.certifications-content {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-soft);
  grid-area: content;
  text-align: justify;
}

.certifications-intro {
  margin: 0 0 16px;
  color: var(--color-dark-blue);
}

.certifications-subhead {
  margin: 0 0 12px;
  color: var(--color-dark-blue);
  font-weight: 600;
}

.certifications-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.certifications-content p,
.certifications-content li {
  text-align: justify;
}

.certifications-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: var(--color-secondary);
}

.certifications-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 10px;
  height: 10px;
  background: var(--color-accent-2);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(0, 182, 28, 0.18);
  transform: translateY(-50%);
}

.certifications-list strong {
  color: var(--color-dark-blue);
}

.certifications-note {
  margin: 0;
  color: var(--color-secondary);
}

.certifications-side {
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  display: none;
}

html[dir="rtl"] .certifications-list li {
  padding-left: 0;
  padding-right: 26px;
}

html[dir="rtl"] .certifications-list li::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .certifications-side {
  display: none;
}

html[dir="rtl"] .certifications .container {
  padding-right: 0;
  padding-left: 16px;
}

@media (min-width: 992px) {
  .certifications-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-areas: "content visual";
    gap: 22.5px;
  }

  .cert-stack {
    height: 400px;
    max-width: 720px;
    display: block;
  }

  .cert-frame {
    position: absolute;
    width: 280px;
    margin: 0;
  }

  .cert-frame--one {
    left: 0;
    top: 96px;
    --base-transform: rotate(-8deg);
  }

  .cert-frame--two {
    width: 360px;
    left: 140px;
    top: 0;
    --base-transform: rotate(0deg);
    z-index: 3;
  }

  .cert-frame--three {
    left: 380px;
    top: 96px;
    --base-transform: rotate(8deg);
  }

  html[dir="rtl"] .cert-frame--one {
    left: auto;
    right: 0;
  }

  html[dir="rtl"] .cert-frame--two {
    left: auto;
    right: 140px;
  }

  html[dir="rtl"] .cert-frame--three {
    left: auto;
    right: 380px;
  }

  .certifications-side {
    display: block;
  }
}

@media (max-width: 640px) {
  .certifications-content {
    padding: 20px;
  }
}

.contact {
  background: var(--color-hero-sub);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.contact-divider {
  width: 2px;
  background: rgba(0, 86, 199, 0.35);
  border-radius: 2px;
}

.contact-info {
  display: grid;
  gap: 24px;
}

.contact-location h3 {
  margin-bottom: 8px;
}

.contact--compact .contact-form {
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.contact--compact .contact-form input,
.contact--compact .contact-form textarea {
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.contact--compact .contact-form button {
  width: 100%;
}

.location-card {
  background: var(--color-bg-soft);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
}

.map-embed iframe {
  width: 100%;
  border: 0;
  border-radius: 16px;
  min-height: 260px;
}

.contact-form {
  background: var(--color-bg-soft);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.contact-form form {
  display: grid;
  gap: 12px;
}

.field-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
}

.form-message {
  min-height: 20px;
  margin: 4px 0 0;
  font-size: 0.95rem;
}

.form-message.is-success {
  color: var(--color-accent-2);
}

.form-message.is-error {
  color: #c62828;
}

.site-footer {
  background: var(--color-dark-blue);
  color: #fff;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.site-footer h4 {
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.1rem;
  font-weight: 700;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
}

.site-footer a:hover {
  color: #fff;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 8px;
}

.footer-bottom {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom img {
  max-height: 50px;
}

.footer-bottom-inner a {
  color: #00a7f8;
}

html[dir="rtl"] .site-footer {
  font-size: 1.05rem;
}

@media (max-width: 1024px) {
  .container {
    max-width: 1024px;
  }

  :root {
    --font-size-text: 1rem;
    --font-size-h1: 3.5rem;
    --font-size-h2: 2.3rem;
    --font-size-h3: 1.8rem;
    --font-size-h4: 1.5rem;
    --font-size-h5: 1.2rem;
    --font-size-h6: 1.1rem;
  }

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

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

  /* Stack infra content and place carousel after text on mobile */
  .infra .split {
    grid-template-columns: 1fr;
  }

  .infra .split > :first-child {
    order: 2;
    margin-top: 18px;
  }

  .infra .split > :last-child {
    order: 1;
  }

  .infra .carousel {
    width: 100%;
    border-radius: 14px;
  }

  #deployment .deployment-top {
    grid-template-columns: 1fr;
  }

  #deployment .deployment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .contact-divider {
    display: none;
  }

  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-nav {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    padding: 100px 24px 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: block;
    flex: none;
    overflow-y: auto;
    z-index: 1100;
  }

  body.nav-open .main-nav {
    transform: translateX(0);
    overflow: hidden;
  }

  .menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 16px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .main-nav {
    margin-left: 0;
  }

  .header-inner {
    justify-content: space-between;
    padding: 12px 18px;
    border-radius: 24px;
  }

  .site-header {
    padding: 10px 0;
  }

  .hero-main {
    min-height: auto;
  }

  .hero-social--inline {
    margin-top: 24px;
    padding-top: 0;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 767px;
  }

  :root {
    --font-size-text: 1rem;
    --font-size-h1: 2.9rem;
    --font-size-h2: 2rem;
    --font-size-h3: 1.6rem;
    --font-size-h4: 1.4rem;
    --font-size-h5: 1.1rem;
    --font-size-h6: 0.8rem;
  }

  .section {
    padding: 70px 0;
  }

  .hero-title {
    font-size: var(--font-size-h1);
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero-content {
    display: grid;
    place-items: center;
    text-align: center;
  }

  .hero-grid {
    justify-items: center;
  }

  .hero-main {
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 70vh;
  }

  .hero-lead {
    max-width: 620px;
  }

  .banner-card {
    min-height: 260px;
  }


  #deployment .deployment-grid {
    grid-template-columns: 1fr;
  }

  #deployment .deployment-media {
    min-height: 260px;
  }

  .site-header .btn-primary {
    white-space: nowrap;
    font-size: 0.95rem;
    padding: 10px 18px;
  }


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

  .industry-card {
    border-radius: 24px;
  }
}

html[dir="rtl"] .main-nav {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .menu > li > a {
  font-size: 1.15rem;
}

html[dir="rtl"] .hero-main {
  text-align: left;
  align-items: flex-start;
}

html[dir="rtl"] .hero-title {
  justify-content: flex-start;
  align-self: flex-start;
}

html[dir="rtl"] .hero-subtitle,
html[dir="rtl"] .hero-tagline,
html[dir="rtl"] .hero-lead {
  text-align: left;
}

html[dir="rtl"] .hero-content {
  display: flex;
  justify-content: flex-start;
  padding-inline-end: 40px;
  margin-right: 108px;
}

@media (min-width: 1200px) {
  html[dir="rtl"] .hero-grid {
    margin-left: auto;
    margin-right: 108px;
    transform: translateY(120px);
  }
}

html[dir="rtl"] .hero-social-wrap {
  left: auto;
  right: 0;
}

html[dir="rtl"] .hero-social--inline {
  justify-content: flex-start;
}

@media (min-width: 1200px) {
  html[dir="rtl"] .hero-social-wrap .container {
    max-width: 980px;
    margin-right: 208px;
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  html[dir="rtl"] .hero-content {
    display: grid;
    place-items: center;
    padding-inline-end: 0;
    margin-right: 0;
  }

  html[dir="rtl"] .hero-grid {
    margin-right: 0;
    justify-items: center;
  }

  html[dir="rtl"] .hero-main {
    align-items: center;
    text-align: center;
  }

  html[dir="rtl"] .hero-title {
    justify-content: center;
    align-self: center;
  }

  html[dir="rtl"] .hero-subtitle,
  html[dir="rtl"] .hero-tagline,
  html[dir="rtl"] .hero-lead {
    text-align: center;
  }
}


html[dir="rtl"] .submenu {
  left: auto;
  right: 0;
}

html[dir="rtl"] .submenu .submenu {
  right: 100%;
  left: auto;
}

html[dir="rtl"] .hero-social {
  left: auto;
  right: 16px;
}

html[dir="rtl"] .bullet-list li {
  padding-left: 0;
  padding-right: 18px;
}

html[dir="rtl"] .bullet-list li::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .logo-track {
  animation-direction: reverse;
}

html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] .menu {
  text-align: right;
}

html[dir="rtl"] .spaced-label {
  letter-spacing: 0;
}

/* =========================
   LOCATIONS + CONTACT (TARGET = map + vertical divider + spaced labels)
========================= */

.locations {
  background: #eaf7ff;
  padding: 70px 0 90px;
}

.locations-grid {
  display: grid;
  grid-template-columns: 1.15fr 2px 0.95fr;
  gap: 40px;
  align-items: start;
}

.locations-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin: 0 0 28px;
  color: rgba(0, 0, 0, 0.75);
}

.locations-title span {
  color: #2095c2;
}

.locations-left h3 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  margin: 12px 0 10px;
  color: rgba(0, 0, 0, 0.75);
}

.locations-left p {
  margin: 0 0 22px;
  color: rgba(0, 0, 0, 0.55);
  line-height: 1.7;
  max-width: 640px;
}

.locations-map {
  margin-top: 12px;
  border-radius: 0;
  overflow: hidden;
}

.locations-map iframe {
  display: block;
  width: 100%;
  height: 380px;
}

.locations-vline {
  width: 2px;
  background: #2095c2;
  height: 100%;
  min-height: 560px;
  justify-self: center;
}

.contact-form {
  margin-top: 90px;
}

.spaced-label {
  display: block;
  margin: 0 0 10px;
  color: rgba(0, 0, 0, 0.55);
  font-size: 0.95rem;
  letter-spacing: 0.55em;
  text-transform: none;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  outline: none;
  box-shadow: none;
}

.contact-form textarea {
  min-height: 130px;
  resize: none;
}

.contact-form .field {
  margin-bottom: 18px;
}

.btn-send {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 14px 18px;
  font-size: 1.05rem;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(90deg, #0b5ed7 0%, #18d24b 100%);
}

@media (max-width: 980px) {
  .locations-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .locations-vline {
    display: none;
  }

  .contact-form {
    margin-top: 0;
  }

  .locations-map iframe {
    height: 320px;
  }
}

html[dir="rtl"] .submenu {
  text-align: right;
}

html[dir="rtl"] .footer-bottom-inner {
  flex-direction: row-reverse;
}

@media (max-width: 1024px) {
  html[dir="rtl"] .menu {
    align-items: flex-end;
  }

  html[dir="rtl"] .submenu {
    padding-left: 0;
    padding-right: 16px;
  }
}

/* Added mobile menu improvements */
.site-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

body.nav-open .site-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-close {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 10px;
  cursor: pointer;
  z-index: 1001;
  color: var(--color-primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.nav-close:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

html[dir="rtl"] .nav-close {
  right: auto;
  left: 20px;
}

@media (max-width: 1024px) {
  .nav-close {
    display: block;
  }

  .main-nav {
    z-index: 1000;
    width: 320px;
    right: 0;
    left: auto;
    transform: translateX(100%);
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  }

  html[dir="rtl"] .main-nav {
    right: auto;
    left: 0;
    transform: translateX(-100%);
  }

  body.nav-open .main-nav {
    transform: translateX(0);
  }

  .menu > li {
    width: 100%;
  }

  .menu > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 20px;
  }

  .has-submenu > a::after {
    content: "+";
    border: none;
    font-size: 24px;
    font-weight: 300;
    transform: translateY(-2px);
    transition: transform 0.2s ease;
  }

  .has-submenu.submenu-open > a::after {
    transform: translateY(-2px) rotate(45deg);
  }

  .submenu {
    display: none;
    background-color: #f8f9fa;
    padding-left: 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  }

  .submenu-open > .submenu {
    display: block;
  }

  .submenu a {
    padding: 12px 30px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: background-color 0.2s ease;
  }

  .submenu a:hover {
    background-color: #e9ecef;
  }

  /* Ensure nested submenus work properly */
  .submenu .submenu {
    background-color: #f1f3f4;
    padding-left: 0;
  }

  .submenu .submenu a {
    padding-left: 45px;
    font-size: 0.9rem;
  }

  .submenu .submenu .submenu a {
    padding-left: 60px;
    font-size: 0.85rem;
  }
}
