/* =============================================
   SEA STAR LOGISTIC — Main Stylesheet
   Colors: Navy #1B3A6B | Teal #2BBCD4 | Orange #E8732A
============================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #1B3A6B;
  --navy-dark: #122650;
  --teal:      #2BBCD4;
  --teal-dark: #1a9ab5;
  --accent:    #E8732A;
  --accent-dark:#c95e1f;
  --white:     #ffffff;
  --off-white: #f4f8fb;
  --gray-light:#e8eef5;
  --gray:      #8a9bb0;
  --text:      #1a2e44;
  --text-light:#5a6a7a;
  --shadow:    0 4px 24px rgba(27,58,107,.10);
  --shadow-lg: 0 8px 40px rgba(27,58,107,.16);
  --radius:    10px;
  --radius-lg: 18px;
  --transition:.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { color: var(--text-light); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Utility --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }

.section-tag {
  display: inline-block;
  background: rgba(43,188,212,.12);
  color: var(--teal-dark);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}

/* High-contrast pill on navy / gradient bands (e.g. CTA) */
.section-tag.section-tag--inverse {
  background: rgba(255,255,255,.14);
  color: #e8fbff;
  border: 1px solid rgba(43,188,212,.55);
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
}

/* Font Awesome inside branded icon tiles */
.service-icon i {
  font-size: 1.35rem;
  color: var(--navy);
}

.why-icon i {
  font-size: 1.25rem;
  color: var(--white);
}

.service-card:hover .service-icon i {
  color: var(--white);
}

.stat-card .stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-card .stat-icon i {
  font-size: 1.65rem;
  color: var(--teal);
}

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.value-icon i {
  font-size: 2rem;
  color: var(--navy);
}

.standard-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(43,188,212,.16), rgba(27,58,107,.1));
  border: 1px solid rgba(43,188,212,.22);
}

.standard-icon i {
  font-size: 1.35rem;
  color: var(--navy);
}

.industry-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.industry-icon i {
  font-size: 1.75rem;
  color: var(--teal-dark);
}

.industry-item:hover .industry-icon i {
  color: var(--teal);
}

.mini-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.mini-stat-icon i {
  font-size: 1.35rem;
  color: var(--teal-dark);
}

.footer-contact-item .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.1rem;
}

.footer-contact-item .icon i {
  font-size: .85rem;
  color: var(--teal);
}

.gallery-overlay-icon i {
  font-size: 1rem;
  color: var(--navy);
}

.contact-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item-icon i {
  font-size: 1rem;
  color: var(--teal);
}

.services-nav-section {
  background: var(--off-white);
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-light);
}

.services-nav-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  padding: 4px 0 10px;
  margin: 0 -2px;
}

.services-nav-scroll::-webkit-scrollbar {
  height: 4px;
}

.services-nav-scroll::-webkit-scrollbar-thumb {
  background: var(--gray-light);
  border-radius: 4px;
}

@media (min-width: 769px) {
  .services-nav-scroll {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    padding: 0;
    margin: 0;
  }
}

.services-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: var(--navy);
  border-color: var(--gray-light);
  background: var(--white);
  padding: 10px 16px;
  font-size: .85rem;
}

.services-nav-pill.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--teal);
}

.services-nav-pill i {
  font-size: .9rem;
  opacity: .88;
}

.commitment-points {
  margin-top: 24px;
}

.commitment-points > div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-light);
}

.commitment-points > div:last-child {
  border-bottom: none;
}

.commitment-points > div > div:last-child {
  min-width: 0;
}

.commitment-points .commitment-line-title {
  font-weight: 600;
  font-size: .9rem;
  color: var(--navy);
}

.commitment-points .commitment-line-desc {
  font-size: .825rem;
  color: var(--text-light);
}

.vision-mission-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(43,188,212,.18);
}

.vision-mission-icon i {
  font-size: 1.35rem;
  color: var(--navy);
}

.vision-mission-icon--on-navy {
  background: rgba(255,255,255,.1);
}

.vision-mission-icon--on-navy i {
  color: var(--teal);
}

.transport-mini-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  background: rgba(43,188,212,.12);
}

.transport-mini-icon i {
  font-size: 1rem;
  color: var(--navy);
}

.commitment-row-icon {
  width: 36px;
  height: 36px;
  background: rgba(43,188,212,.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
}

.commitment-row-icon i {
  font-size: .95rem;
  color: var(--navy);
}

.quick-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-contact-icon i {
  font-size: 1.75rem;
  color: var(--teal-dark);
}

.section-title {
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 48px;
}

.section-header {
  margin-bottom: 56px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.divider {
  width: 56px;
  height: 4px;
  background: var(--teal);
  border-radius: 4px;
  margin-bottom: 24px;
}

.divider.centered { margin: 0 auto 24px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43,188,212,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,115,42,.35);
}

/* =============================================
   NAVIGATION
============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-light);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  height: auto;
}

.navbar-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.navbar-logo img {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(300px, 52vw);
  object-fit: contain;
  object-position: left center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--teal-dark);
  background: rgba(43,188,212,.08);
}

.nav-cta {
  margin-left: 12px;
  padding: 10px 22px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--teal);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
}

.hamburger:hover { background: var(--gray-light); }

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 4px;
  transition: var(--transition);
  display: block;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =============================================
   HERO
============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(76px + env(safe-area-inset-top, 0px));
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18,38,80,.82) 0%, rgba(27,58,107,.68) 55%, rgba(43,188,212,.18) 100%);
  z-index: 1;
}

/* Fallback poster image (shown before video loads / on browsers w/o autoplay) */
.hero-img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center 42%;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Video background */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(43,188,212,.18);
  border: 1px solid rgba(43,188,212,.4);
  color: #7ae8f5;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-tag::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  max-width: 720px;
}

.hero h1 span {
  color: var(--teal);
}

.hero-desc {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.15);
}

.hero-stat-item { text-align: left; }

.hero-stat-item .stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-item .stat-num span {
  color: var(--teal);
}

.hero-stat-item .stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Hero page (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1a5580 100%);
  padding: calc(140px + env(safe-area-inset-top, 0px)) 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,188,212,.12) 0%, transparent 70%);
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero h1 { color: var(--white); margin-bottom: 14px; }

.page-hero p {
  color: rgba(255,255,255,.75);
  font-size: 1.1rem;
  max-width: 580px;
  margin-bottom: 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: .85rem;
}

.breadcrumb a { color: rgba(255,255,255,.6); transition: var(--transition); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { color: rgba(255,255,255,.4); }
.breadcrumb .current { color: var(--teal); }

/* =============================================
   SERVICES CARDS
============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--teal));
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(43,188,212,.2);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(43,188,212,.12), rgba(27,58,107,.08));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--teal), var(--navy));
}

.service-card h3 {
  margin-bottom: 10px;
  transition: var(--transition);
}

.service-card:hover h3 { color: var(--teal-dark); }

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--teal-dark);
  transition: var(--transition);
}

.service-card .learn-more:hover { gap: 10px; }

/* =============================================
   SERVICE IMAGE CARDS (Transfort-inspired)
============================================= */
.services-img-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-img-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-dark);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.service-img-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.service-img-card:hover .service-img-card__bg {
  transform: scale(1.08) rotate(-0.5deg);
}

/* Dark overlay always present */
.service-img-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,20,50,.92) 0%, rgba(10,20,50,.35) 55%, rgba(10,20,50,.1) 100%);
  transition: background .4s ease;
  z-index: 1;
}

.service-img-card:hover .service-img-card__overlay {
  background: linear-gradient(to top, rgba(10,20,50,.97) 0%, rgba(27,58,107,.75) 60%, rgba(43,188,212,.18) 100%);
}

/* Bottom label (always visible) */
.service-img-card__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 20px 22px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform .35s ease;
}

.service-img-card:hover .service-img-card__label {
  transform: translateY(-8px);
}

.service-img-card__label-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  transition: background .3s ease;
}

.service-img-card:hover .service-img-card__label-icon {
  background: var(--teal);
}

.service-img-card__label h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.3;
}

/* Hover description panel */
.service-img-card__hover {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}

.service-img-card:hover .service-img-card__hover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.service-img-card__hover p {
  color: rgba(255,255,255,.82);
  font-size: .875rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.service-img-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-size: .85rem;
  font-weight: 600;
  transition: gap .2s ease;
}

.service-img-card__read-more:hover {
  gap: 10px;
}

/* =============================================
   HOW IT WORKS — PROCESS STEPS
============================================= */
.process-section {
  background: var(--navy-dark);
  position: relative;
  padding: 88px 0;
  overflow: hidden;
}

.process-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 52px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--teal) 0%, rgba(43,188,212,.3) 100%);
  pointer-events: none;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step__icon {
  width: 104px; height: 104px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 2px solid rgba(43,188,212,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  position: relative;
  transition: var(--transition);
}

.process-step:hover .process-step__icon {
  background: rgba(43,188,212,.15);
  border-color: var(--teal);
  transform: translateY(-4px);
}

.process-step__icon i {
  font-size: 2rem;
  color: var(--teal);
}

.process-step__num {
  position: absolute;
  top: -6px; right: -6px;
  width: 30px; height: 30px;
  background: var(--accent);
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.process-step p {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  margin: 0;
}

/* =============================================
   STATS SECTION
============================================= */
.stats-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,188,212,.1) 0%, transparent 70%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

.stat-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  transition: var(--transition);
}

.stat-card:hover {
  background: rgba(43,188,212,.1);
  border-color: rgba(43,188,212,.25);
  transform: translateY(-4px);
}

.stat-card .stat-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.stat-card .stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.stat-card .stat-number .accent { color: var(--teal); }

.stat-card .stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
}

/* =============================================
   WHY CHOOSE US
============================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
  transition: var(--transition);
}

.why-item:hover {
  border-color: rgba(43,188,212,.25);
  transform: translateY(-3px);
}

.why-icon {
  width: 48px; height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
}

.why-item h4 { margin-bottom: 6px; font-size: 1rem; }
.why-item p { font-size: .875rem; margin: 0; }

/* =============================================
   CLIENTS SECTION
============================================= */
.clients-section {
  background: var(--off-white);
  padding: 64px 0;
}

.clients-track-wrapper {
  overflow: hidden;
  position: relative;
}

.clients-track-wrapper::before,
.clients-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.clients-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--off-white), transparent);
}

.clients-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--off-white), transparent);
}

.clients-track {
  display: flex;
  gap: 32px;
  animation: scroll-clients 30s linear infinite;
  width: max-content;
}

.clients-track:hover { animation-play-state: paused; }

@keyframes scroll-clients {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px; height: 90px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-light);
  padding: 16px;
  transition: var(--transition);
  flex-shrink: 0;
}

.client-logo-item:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.client-logo-item img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
  filter: grayscale(60%);
  transition: var(--transition);
}

.client-logo-item:hover img { filter: grayscale(0); }

/* =============================================
   ABOUT PAGE SPECIFICS
============================================= */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about-img-main img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.about-img-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-img-badge .badge-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal);
  display: block;
}

.about-img-badge .badge-label {
  font-size: .75rem;
  opacity: .8;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Prevent grid children from overflowing narrow viewports (inline grids used to ignore mobile breakpoints) */
.about-intro > * {
  min-width: 0;
}

/* 2×2 photo blocks (About — Our Story, etc.) */
.about-photo-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-photo-mosaic img {
  border-radius: var(--radius);
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Standards intro — four mini highlight cards */
.mini-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

/* Vision & Mission row (About) */
.vision-mission-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

/* Generic two-column rows that must stack on phones */
.two-col-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* Navy panel stat tiles */
.stats-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

/* Services — paired highlight cards / columns */
.service-highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.service-highlight-grid--wide-gap {
  gap: 20px;
}

/* Home — full-width gallery strip */
.featured-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 48px;
}

.featured-works-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.featured-works-cta {
  text-align: center;
  padding: 40px 0;
}

/* =============================================
   TIMELINE (About page)
============================================= */
.timeline {
  position: relative;
  padding-left: 48px;
  max-width: 860px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), var(--navy));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 44px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 12px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--teal);
  flex-shrink: 0;
}

.timeline-year {
  min-width: 64px;
  font-size: .8rem;
  font-weight: 800;
  color: var(--white);
  background: var(--navy);
  padding: 5px 10px;
  border-radius: 6px;
  text-align: center;
  margin-top: 4px;
  flex-shrink: 0;
  letter-spacing: .04em;
}

.timeline-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 26px;
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow);
  flex: 1;
  transition: var(--transition);
}

.timeline-content:hover {
  border-color: rgba(43,188,212,.3);
  box-shadow: var(--shadow-lg);
  transform: translateX(4px);
}

.timeline-content h4 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: .9rem;
  margin: 0;
}

@media (max-width: 768px) {
  .timeline { padding-left: 28px; }
  .timeline::before { left: 8px; }
  .timeline-item::before { left: -24px; top: 10px; }
  .timeline-item { gap: 14px; }
  .timeline-year { font-size: .72rem; min-width: 52px; padding: 4px 7px; }
  .timeline-content { padding: 16px 18px; }
}

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

.value-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--gray-light);
  transition: var(--transition);
}

.value-card:hover {
  background: var(--white);
  box-shadow: var(--shadow);
  border-color: rgba(43,188,212,.2);
  transform: translateY(-4px);
}

.value-card h3 { font-size: 1.1rem; margin-bottom: 8px; }

/* =============================================
   CTA BANDS (home / services / gallery)
============================================= */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #1a5580 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.cta-band--decor::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -5%;
  width: min(400px, 92vw);
  height: min(400px, 92vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,188,212,.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 14px;
}

.cta-band-lead {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 36px;
}

.cta-band-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-inline {
  background: var(--off-white);
  padding: 64px 0;
  text-align: center;
}

.cta-inline h2 {
  margin-bottom: 12px;
}

.cta-inline-lead {
  max-width: 480px;
  margin: 0 auto 28px;
}

.cta-inline-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   SERVICES DETAIL PAGE
============================================= */
.service-detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: stretch;
  padding: 72px 0;
  border-bottom: 1px solid var(--gray-light);
}

.service-detail-block:last-child { border-bottom: none; }
.service-detail-block.reverse { direction: rtl; }
.service-detail-block.reverse > * { direction: ltr; }

.service-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: stretch;
}

.service-detail-img img {
  width: 100%;
  min-height: 520px;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.service-detail-img:hover img { transform: scale(1.04); }

/* Stacked media column (e.g. Container Services) */
.service-detail-media-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.service-detail-media-stack .service-detail-img {
  flex: 1;
  min-height: 0;
}

.service-detail-media-stack .service-detail-img img {
  min-height: 280px;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin: 20px 0;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  color: var(--text-light);
  padding: 6px 0;
}

.service-list li::before {
  content: '';
  width: 6px; height: 6px;
  min-width: 6px;
  background: var(--teal);
  border-radius: 50%;
}

/* =============================================
   GALLERY PAGE
============================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,38,80,.8) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay-icon {
  width: 44px; height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.7);
  opacity: 0;
  transition: var(--transition);
  font-size: 1.1rem;
}

.gallery-item:hover .gallery-overlay-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.94);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.lightbox.active { opacity: 1; pointer-events: all; }

.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: var(--transition);
}

.lightbox-close:hover { color: var(--teal); }

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover, .lightbox-next:hover {
  background: var(--teal);
}

/* =============================================
   STANDARDS PAGE
============================================= */
.standards-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.standard-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px 24px 30px;
  box-shadow: 0 6px 28px rgba(27,58,107,.09);
  border: 1px solid var(--gray-light);
  border-top: 3px solid rgba(27,58,107,.2);
  transition: var(--transition);
}

.standard-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--navy);
  letter-spacing: -.01em;
}

.standard-card p {
  font-size: .875rem;
  line-height: 1.62;
  margin: 0;
  color: var(--text-light);
}

.standard-card:hover {
  transform: translateY(-6px);
  border-top-color: var(--teal);
  box-shadow: var(--shadow-lg);
  border-color: rgba(43,188,212,.28);
}

.standard-card:hover .standard-icon {
  background: linear-gradient(145deg, var(--teal), var(--navy));
  border-color: transparent;
}

.standard-card:hover .standard-icon i {
  color: var(--white);
}

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

.industry-item {
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}

.industry-item:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-3px);
}

.industry-item:hover h4 { color: var(--teal); }

.industry-item h4 { font-size: .9rem; margin: 0; transition: var(--transition); }

/* =============================================
   CONTACT PAGE
============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(43,188,212,.1);
}

.contact-info-card h3 { color: var(--white); margin-bottom: 8px; }
.contact-info-card > p { color: rgba(255,255,255,.7); margin-bottom: 40px; }

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-item-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  background: rgba(43,188,212,.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--teal);
}

.contact-item-text .label {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
  display: block;
  margin-bottom: 2px;
}

.contact-item-text .value {
  color: var(--white);
  font-size: .95rem;
  font-weight: 500;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-light);
}

.contact-form-card h3 { margin-bottom: 4px; }
.contact-form-card > p { margin-bottom: 32px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--text);
  background: var(--off-white);
  transition: var(--transition);
  font-family: inherit;
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(43,188,212,.12);
}

.form-group textarea { resize: vertical; min-height: 130px; }

/* =============================================
   FOOTER
============================================= */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer-brand img {
  height: 52px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255,255,255,.6);
  font-size: .875rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--teal);
  color: var(--white);
}

.footer-social a i {
  font-size: 1rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: .95rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

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

.footer-links a {
  color: rgba(255,255,255,.55);
  font-size: .875rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover { color: var(--teal); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}

.footer-contact-item .icon { color: var(--teal); font-size: .9rem; min-width: 16px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: .825rem;
  color: rgba(255,255,255,.4);
}

.footer-bottom p {
  margin: 0;
  width: 100%;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

.footer-bottom a:hover {
  opacity: .92;
}

.footer-bottom-m2 font {
  font-family: inherit;
}

/* =============================================
   SCROLL TO TOP
============================================= */
#scrollTop {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  z-index: 900;
}

#scrollTop.visible { opacity: 1; pointer-events: all; }
#scrollTop:hover { background: var(--teal); transform: translateY(-3px); }

/* =============================================
   ANIMATIONS (AOS-like)
============================================= */
[data-aos] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade-right"] { transform: translateX(-28px); }
[data-aos="fade-left"]  { transform: translateX(28px); }
[data-aos="zoom-in"]    { transform: scale(.92); }
[data-aos="fade-right"].aos-animate,
[data-aos="fade-left"].aos-animate,
[data-aos="zoom-in"].aos-animate { transform: none; }

[data-delay="100"] { transition-delay: .1s; }
[data-delay="200"] { transition-delay: .2s; }
[data-delay="300"] { transition-delay: .3s; }
[data-delay="400"] { transition-delay: .4s; }
[data-delay="500"] { transition-delay: .5s; }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .services-img-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .process-steps::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-intro { gap: 48px; }
  .service-detail-block { gap: 48px; }
  .services-grid,
  .why-grid,
  .values-grid,
  .standards-cards,
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail-img,
  .service-detail-img img { min-height: 420px; }
  .service-detail-media-stack .service-detail-img img { min-height: 200px; }
}

@media (max-width: 768px) {
  .container {
    padding-left: max(1.75rem, calc(env(safe-area-inset-left, 0px) + 12px));
    padding-right: max(1.75rem, calc(env(safe-area-inset-right, 0px) + 12px));
  }

  .section { padding: 64px 0; }

  .nav-menu { display: none; }
  .hamburger { display: flex; }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: calc(76px + env(safe-area-inset-top, 0px)); left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-light);
    box-shadow: var(--shadow);
    gap: 4px;
  }

  .hamburger {
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

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

  .navbar-logo img {
    height: 40px;
    max-width: min(260px, 58vw);
  }

  .hero { min-height: 90vh; }
  /* Extra horizontal inset so hero copy/buttons don’t hug the screen edge */
  .hero > .container.hero-content {
    padding-left: max(1.75rem, calc(env(safe-area-inset-left, 0px) + 1rem));
    padding-right: max(1.75rem, calc(env(safe-area-inset-right, 0px) + 1rem));
  }
  .hero-stats { gap: 24px; }

  .about-intro { grid-template-columns: 1fr; gap: 36px; }

  .about-photo-mosaic {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .about-photo-mosaic img {
    height: min(220px, 58vw);
  }

  .mini-cards-grid {
    grid-template-columns: 1fr;
  }

  .vision-mission-row,
  .two-col-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stats-mini-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .service-highlight-grid,
  .service-highlight-grid--wide-gap {
    grid-template-columns: 1fr;
  }

  .featured-works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-works-grid img {
    height: 200px;
  }

  .about-img-badge {
    right: 12px;
    bottom: 12px;
  }

  #scrollTop {
    bottom: max(18px, calc(env(safe-area-inset-bottom, 0px) + 12px));
    right: max(14px, calc(env(safe-area-inset-right, 0px) + 10px));
  }

  .featured-works-cta {
    padding: 32px 0 88px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-sub {
    margin-bottom: 32px;
  }

  .breadcrumb {
    flex-wrap: wrap;
    row-gap: 4px;
    font-size: .8rem;
  }

  .service-detail-block {
    padding: 48px 0;
  }

  .service-detail-img,
  .service-detail-img img {
    min-height: 260px;
  }

  .service-detail-media-stack .service-detail-img img {
    min-height: 180px;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 32px 24px;
  }

  .contact-item-text {
    min-width: 0;
  }

  .vision-mission-row > div {
    padding: 32px 24px !important;
  }

  .two-col-split > div {
    padding: 28px 22px !important;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 1rem;
  }

  .clients-track-wrapper::before,
  .clients-track-wrapper::after {
    width: 40px;
  }

  .page-hero {
    padding: calc(112px + env(safe-area-inset-top, 0px)) 0 52px;
  }

  .page-hero p {
    font-size: 1rem;
  }

  .nav-menu.open .nav-link {
    padding: 14px 10px;
    border-radius: var(--radius);
  }

  .nav-menu.open .nav-cta {
    display: inline-flex;
    width: 100%;
    margin-top: 8px;
    margin-left: 0;
    justify-content: center;
    padding: 14px 22px;
  }

  .cta-band {
    padding: 52px 0;
  }

  .cta-band-lead {
    font-size: .98rem;
    margin-bottom: 28px;
  }

  .cta-band-actions,
  .cta-inline-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-band-actions .btn,
  .cta-inline-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-inline {
    padding: 48px 0;
  }

  .service-detail-block,
  .service-detail-block.reverse { grid-template-columns: 1fr; direction: ltr; gap: 36px; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .services-img-grid { grid-template-columns: 1fr; }
  .service-img-card { aspect-ratio: 16/9; }
  .service-img-card__hover { opacity: 1; transform: none; }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .process-steps::before { display: none; }
  .process-step__icon { width: 80px; height: 80px; }
  .process-step__icon i { font-size: 1.6rem; }

  .services-grid,
  .why-grid,
  .values-grid,
  .standards-cards,
  .industries-grid { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-grid .gallery-item { height: 200px; }

  .form-row { grid-template-columns: 1fr; }

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

  .service-list { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 1.85rem; }
  h2 { font-size: clamp(1.35rem, 6vw, 1.95rem); }
  .hero > .container.hero-content {
    padding-left: max(2rem, calc(env(safe-area-inset-left, 0px) + 1rem));
    padding-right: max(2rem, calc(env(safe-area-inset-right, 0px) + 1rem));
  }
  .featured-works-grid {
    grid-template-columns: 1fr;
  }
  .stats-mini-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .section-tag {
    font-size: .72rem;
    padding: 5px 12px;
  }
}
