:root {
  --navy-950: #0a0f26;
  --navy-900: #0d1330;
  --navy-800: #171d3d;
  --orange: #f2600c;
  --orange-dark: #d9530a;
  --gray-bg: #f2f4f7;
  --text-dark: #12172e;
  --text-body: #626a7a;
  --border-soft: #e7e9ee;
}

body {
  font-family: 'Jost', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-body);
  background-color: #fff;
  font-size: 1.02rem;
  transition: background-color .25s ease, color .25s ease;
}

/* Dark mode (Bootstrap 5.3 color-mode attribute) */
[data-bs-theme="dark"] {
  --gray-bg: #10162e;
  --text-dark: #f2f4f8;
  --text-body: #a9aec4;
  --border-soft: rgba(255,255,255,.12);
}
[data-bs-theme="dark"] body { background-color: var(--navy-950); }
[data-bs-theme="dark"] .service-card,
[data-bs-theme="dark"] .vmo-card { background-color: var(--navy-800); box-shadow: 0 .4rem 1.25rem rgba(0,0,0,.35); }
[data-bs-theme="dark"] .client-logo-box { border-color: rgba(255,255,255,.08); }
[data-bs-theme="dark"] .form-control { background-color: var(--navy-900); }

h1, h2, h3, h4, h5, h6,
.navbar-brand-text, .btn, .nav-link {
  font-family: 'Jost', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
}

.ltr-embed { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* Decorative dot-grid pattern (used behind hero/about photos) */
.dot-pattern {
  position: absolute;
  width: 7.5rem; height: 7.5rem;
  background-image: radial-gradient(var(--orange) 1.6px, transparent 1.6px);
  background-size: 14px 14px;
  opacity: .35;
  z-index: 0;
}

.bg-gray { background-color: var(--gray-bg); }
.bg-navy { background-color: var(--navy-950); }
.text-orange { color: var(--orange); }
.text-navy { color: var(--text-dark); }

.btn-orange, .btn-outline-navy, .btn-outline-white, .btn-ghost-orange, .btn-call-now {
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn-orange:hover, .btn-outline-navy:hover, .btn-outline-white:hover, .btn-call-now:hover {
  transform: translateY(-3px);
  box-shadow: 0 .75rem 1.5rem rgba(10,15,38,.18);
}
.btn-orange {
  background-color: var(--orange);
  border-color: var(--orange);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .03em;
  padding: .75rem 1.6rem;
  border-radius: .3rem;
}
.btn-orange:hover {
  background-color: var(--orange-dark);
  border-color: var(--orange-dark);
  color: #fff;
}
.btn-outline-navy {
  border: 1.5px solid var(--text-dark);
  color: var(--text-dark);
  font-weight: 600;
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .03em;
  padding: .75rem 1.6rem;
  border-radius: .3rem;
  background: transparent;
}
.btn-outline-navy:hover {
  background-color: var(--text-dark);
  color: #fff;
}
.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,.5);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .03em;
  padding: .75rem 1.6rem;
  border-radius: .3rem;
  background: transparent;
}
.btn-outline-white:hover {
  background-color: #fff;
  color: var(--navy-950);
}
.btn-ghost-orange {
  background-color: var(--gray-bg);
  color: var(--orange);
  font-weight: 600;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .03em;
  padding: .6rem 1.3rem;
  border-radius: .25rem;
  border: none;
  display: inline-block;
}
.btn-ghost-orange:hover { background-color: var(--orange); color: #fff; }

/* Utility bar */
.utility-bar {
  background-color: var(--navy-950);
  color: #c7cbdb;
  font-size: .82rem;
  padding: .5rem 0;
  position: relative;
  overflow: hidden;
}
.utility-bar .tagline-tag {
  background-color: var(--orange);
  color: #fff;
  font-weight: 600;
  padding: .5rem 1.2rem .5rem 1.5rem;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0% 100%);
  margin-inline-start: -1.5rem;
}
[dir="rtl"] .utility-bar .tagline-tag {
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
}

/* Main navbar */
section[id] {
  scroll-margin-top: 84px;
}

header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: var(--navy-950);
}

.navbar-hb {
  background-color: var(--navy-950);
  padding: .9rem 0;
  transition: padding .25s ease, box-shadow .25s ease;
}
header.navbar-scrolled {
  box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.35);
}
header.navbar-scrolled .navbar-hb {
  padding: .55rem 0;
}
.navbar-hb .nav-link {
  position: relative;
  color: #dfe2ee;
  font-weight: 600;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  transition: color .2s ease;
}
.navbar-hb .nav-link::after {
  content: "";
  position: absolute;
  left: 50%; right: 50%; bottom: -4px;
  height: 2px;
  background: var(--orange);
  transition: left .25s ease, right .25s ease;
}
.navbar-hb .nav-link:hover,
.navbar-hb .nav-link.active {
  color: var(--orange);
}
.navbar-hb .nav-link:hover::after,
.navbar-hb .nav-link.active::after {
  left: 0; right: 0;
}
.navbar-brand-text {
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.1;
}
.navbar-brand-text small {
  display: block;
  font-size: .62rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--orange);
}

/* Language switch */
.lang-switch {
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px;
  overflow: hidden;
}
.lang-switch .btn-lang {
  color: #dfe2ee;
  font-weight: 700;
  font-size: .72rem;
  padding: .3rem .65rem;
  border: none;
  border-radius: 0;
  text-decoration: none;
  background: transparent;
}
.lang-switch .btn-lang.active { background: var(--orange); color: #fff; }
.lang-switch .btn-lang:not(.active):hover { background: rgba(255,255,255,.12); color: #fff; }

/* Theme toggle */
.theme-toggle-btn {
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: transparent; color: #dfe2ee;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0; transition: background .2s ease, color .2s ease;
}
.theme-toggle-btn:hover { background: rgba(255,255,255,.12); color: #fff; }
.theme-toggle-btn .bi-sun-fill { display: none; }
[data-bs-theme="dark"] .theme-toggle-btn .bi-moon-stars-fill { display: none; }
[data-bs-theme="dark"] .theme-toggle-btn .bi-sun-fill { display: inline-block; }
.theme-toggle-btn i { animation: theme-icon-pop .3s ease; }
@keyframes theme-icon-pop {
  from { transform: scale(.4) rotate(-45deg); opacity: 0; }
  to { transform: scale(1) rotate(0); opacity: 1; }
}

/* Navbar call-now button */
.btn-call-now {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--orange); color: #fff;
  border-radius: 50px;
  padding: .5rem 1.1rem .5rem .6rem;
  font-weight: 700; font-size: .8rem;
  text-decoration: none;
  white-space: nowrap;
}
.btn-call-now:hover { background: var(--orange-dark); color: #fff; }
.btn-call-now .call-icon-circle {
  width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.btn-call-now .call-text { display: flex; flex-direction: column; line-height: 1.15; }
.btn-call-now .call-text small { font-size: .62rem; font-weight: 400; text-transform: uppercase; letter-spacing: .04em; opacity: .85; }

/* Hero */
.hero-section {
  background-color: var(--navy-950);
  background-image: linear-gradient(120deg, rgba(10,15,38,.95) 40%, rgba(10,15,38,.8) 100%), url('../img/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 9rem;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 15% 25%, rgba(242,96,12,.14) 0%, transparent 45%),
                     radial-gradient(circle at 85% 80%, rgba(242,96,12,.1) 0%, transparent 40%);
  pointer-events: none;
}
.hero-section .dot-pattern { top: 1.5rem; inset-inline-start: 1.5rem; }
.hero-eyebrow {
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .85rem;
}
.hero-section h1 {
  font-weight: 700;
  font-size: 2.9rem;
  line-height: 1.15;
  color: #fff;
}
.hero-lead { color: #b8bccd; }
.hero-visual { position: relative; z-index: 1; }
.hero-shape {
  position: absolute;
  top: -1.5rem; inset-inline-end: -1.25rem;
  width: 88%; height: 92%;
  background: var(--orange);
  border-radius: 1.5rem;
  transform: rotate(6deg);
  z-index: 0;
}
.hero-photo-frame {
  position: relative;
  z-index: 1;
  border-radius: .5rem;
  overflow: hidden;
  box-shadow: 0 1.5rem 3rem rgba(0,0,0,.35);
}
.hero-photo-frame img { width: 100%; height: 460px; object-fit: cover; }
.hero-badge-card {
  position: absolute;
  bottom: -1.25rem;
  inset-inline-start: -1.25rem;
  background: #fff;
  border-radius: .5rem;
  padding: 1rem 1.4rem;
  box-shadow: 0 1rem 2rem rgba(0,0,0,.3);
  display: flex;
  align-items: center;
  gap: .75rem;
  z-index: 2;
}
.hero-badge-card .icon-circle {
  width: 3rem; height: 3rem; border-radius: 50%;
  background: #f2f4f7; color: var(--orange);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0;
}
.hero-badge-card .text-navy { color: #12172e; }

.section-eyebrow {
  color: var(--orange);
  font-weight: 700;
  letter-spacing: .08em;
  font-size: .85rem;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.6rem; height: 3px;
  background: var(--orange);
  border-radius: 2px;
}
.section-title {
  font-weight: 700;
}
.section-title-light { color: #fff; }

/* About collage */
.about-collage { position: relative; padding-bottom: 1.5rem; padding-inline-end: 1.5rem; }
.about-collage .dot-pattern { bottom: -.5rem; inset-inline-end: -.5rem; z-index: -1; opacity: .5; }
.about-collage .main-photo { border-radius: .5rem; overflow: hidden; box-shadow: 0 1rem 2.5rem rgba(10,15,38,.15); }
.about-collage .main-photo img { width: 100%; height: 420px; object-fit: cover; }
.about-collage .accent-photo {
  position: absolute;
  bottom: 0; inset-inline-end: 0;
  width: 45%;
  border-radius: .5rem;
  overflow: hidden;
  box-shadow: 0 1rem 2rem rgba(10,15,38,.2);
  border: 6px solid #fff;
}
.about-collage .accent-photo img { width: 100%; height: 180px; object-fit: cover; display: block; }

.about-checklist { list-style: none; padding: 0; margin: 0; }
.about-checklist li {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.about-checklist li:last-child { border-bottom: none; }
.about-checklist .check-icon {
  width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: rgba(242, 96, 12, .12); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; flex-shrink: 0; margin-top: .1rem;
  transition: background .2s ease, transform .2s ease;
}
.about-checklist li:hover .check-icon { background: var(--orange); color: #fff; transform: scale(1.15); }
.about-checklist .check-title { font-weight: 600; color: var(--text-dark); }

/* Stats band */
.stats-band {
  background: linear-gradient(180deg, rgba(10,15,38,.95), rgba(10,15,38,.97)), url('../img/service-projects.jpg') center/cover no-repeat;
}
.stat-circle {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 1rem;
  border-inline-end: 1px solid rgba(255,255,255,.12);
}
.stat-circle .stat-number { color: var(--orange); font-weight: 700; font-size: 2.8rem; line-height: 1; }
.stat-circle .stat-label { color: #dfe2ee; font-size: .9rem; margin-top: .6rem; text-transform: uppercase; letter-spacing: .03em; }
.stats-band .col-lg-3:last-child .stat-circle { border-inline-end: none; }
@media (max-width: 991.98px) {
  .stat-circle { border-inline-end: none; }
}

/* VMO cards */
.vmo-card {
  background: #fff;
  border-radius: .5rem;
  border-top: 4px solid var(--orange);
  box-shadow: 0 .5rem 1.5rem rgba(10,15,38,.06);
}
.vmo-card .vmo-label {
  font-weight: 700;
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: .05em;
  color: var(--orange);
}

/* CEO / leadership card */
.leadership-photo {
  border-radius: .5rem;
  overflow: hidden;
  box-shadow: 0 1rem 2.5rem rgba(0,0,0,.35);
}
.leadership-photo img { width: 100%; height: 380px; object-fit: cover; display: block; }

/* Services */
.service-card {
  background: #fff;
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: .5rem;
  overflow: hidden;
  box-shadow: 0 .4rem 1.25rem rgba(10,15,38,.07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  height: 100%;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 1.2rem 2rem rgba(10,15,38,.13); border-color: var(--orange); }
.service-card .service-img-wrap { position: relative; overflow: hidden; }
.service-card .service-img { height: 190px; width: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.service-card:hover .service-img { transform: scale(1.08); }
.service-icon-badge {
  position: absolute;
  top: 1.1rem;
  inset-inline-start: 1.1rem;
  width: 3rem; height: 3rem;
  border-radius: .6rem;
  background: var(--orange);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 .5rem 1rem rgba(10,15,38,.25);
  transition: transform .3s ease;
}
.service-card:hover .service-icon-badge { transform: scale(1.12) rotate(-6deg); }
.service-card .card-body { padding-top: 1.5rem; }
.service-card .card-title { font-weight: 700; color: var(--text-dark); }

/* Clients */
.client-logo-box {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: .4rem;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.client-logo-box:hover { transform: translateY(-4px); box-shadow: 0 .75rem 1.5rem rgba(10,15,38,.1); }
.client-logo-box img {
  max-height: 60px; max-width: 100%; object-fit: contain;
  filter: grayscale(1) opacity(.65);
  transition: filter .3s ease;
}
.client-logo-box:hover img { filter: grayscale(0) opacity(1); }
.clients-swiper { padding: .5rem 0 2.5rem; }
.clients-swiper .swiper-slide { height: auto; }

/* CR cert */
.cr-cert-img { border-radius: .5rem; box-shadow: 0 1rem 2.5rem rgba(10,15,38,.2); max-width: 100%; }

/* CTA band */
.cta-band {
  background: linear-gradient(180deg, rgba(10,15,38,.94), rgba(10,15,38,.97)), url('../img/about-bg.jpg') center/cover no-repeat;
}

/* Contact */
.map-embed-frame { border-radius: .5rem; overflow: hidden; box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.25); }
.map-embed-frame iframe { width: 100%; height: 220px; display: block; }
.contact-form-card { background: #fff; color: var(--text-dark); }
[data-bs-theme="dark"] .contact-form-card { background: var(--navy-800); }
.contact-icon-box {
  width: 3rem; height: 3rem; border-radius: 50%;
  background: rgba(242,96,12,.15); color: var(--orange);
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0;
}
.form-control { border-radius: .3rem; border-color: var(--border-soft); }
.form-control:focus { border-color: var(--orange); box-shadow: 0 0 0 .2rem rgba(242,96,12,.15); }

/* Footer */
footer.site-footer { background-color: var(--navy-950); }
footer.site-footer a { color: #b8bccd; text-decoration: none; }
footer.site-footer a:hover { color: var(--orange); }
footer.site-footer h6 { color: #fff; }

.back-to-top {
  position: fixed; bottom: 1.5rem; inset-inline-end: 1.5rem; z-index: 1030;
  width: 3rem; height: 3rem; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  background-color: var(--orange); border-color: var(--orange); color: #fff;
}
.back-to-top:hover { background-color: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }

.whatsapp-float {
  position: fixed; bottom: 1.5rem; inset-inline-start: 1.5rem; z-index: 1030;
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background-color: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem; line-height: 1; text-decoration: none;
  animation: whatsapp-pulse 2.4s infinite;
}
.whatsapp-float:hover { background-color: #1ebd5a; color: #fff; }
.whatsapp-float i { margin-top: -2px; }

@keyframes whatsapp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 991.98px) {
  .hero-section { padding-top: 7.5rem; }
  .about-collage { margin-bottom: 3rem; }
}

@media (max-width: 575.98px) {
  .whatsapp-float { width: 3.2rem; height: 3.2rem; font-size: 1.7rem; bottom: 1.1rem; inset-inline-start: 1.1rem; }
  .back-to-top { bottom: 1.1rem; inset-inline-end: 1.1rem; }
  .hero-section h1 { font-size: 2.1rem; }
}
