/* Best MEP - Professional Production Stylesheet */
@font-face {
  font-family: 'Monotype Corsiva';
  src: url('fonts/monotype-corsiva.ttf') format('truetype'),
       local('Monotype Corsiva'),
       local('MonotypeCorsiva');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Monotype Corsiva';
  src: url('fonts/monotype-corsiva.ttf') format('truetype'),
       local('Monotype Corsiva'),
       local('MonotypeCorsiva');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --navy: #2f2a86;
  --navy-d: #1d1a5c;
  --navy-dd: #12103d;
  --navy-glow: rgba(47, 42, 134, 0.15);
  --blue: #29a8e0;
  --blue-hover: #1994cc;
  --blue-l: #e6f4fc;
  --blue-glow: rgba(41, 168, 224, 0.28);
  --soft: #f4f7fc;
  --soft-alt: #eef2f9;
  --ink: #181a33;
  --muted: #575e7a;
  --line: #e2e7f2;
  --line-light: rgba(255, 255, 255, 0.15);
  --white: #ffffff;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 12px rgba(29, 26, 92, 0.05);
  --shadow: 0 12px 32px rgba(29, 26, 92, 0.08);
  --shadow-hover: 0 20px 45px rgba(29, 26, 92, 0.14);
  --shadow-glow: 0 10px 25px rgba(41, 168, 224, 0.35);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease-smooth);
}

ul, ol {
  list-style: none;
}

.container {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
}

/* ---------- Scroll Progress Bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3.5px;
  background: linear-gradient(90deg, var(--blue), #6366f1);
  z-index: 1000;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--blue-glow);
}

/* ---------- Typography & Common Utilities ---------- */
h1, h2, h3, h4 {
  color: var(--navy-d);
  font-weight: 800;
  line-height: 1.2;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

p {
  color: var(--muted);
}

p + p {
  margin-top: 14px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
  background: var(--blue-l);
  padding: 4px 12px;
  border-radius: 999px;
  width: fit-content;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
}

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

.section-head p {
  font-size: 1.1rem;
}

.section {
  padding: clamp(64px, 8vw, 110px) 0;
  position: relative;
}

.section-soft {
  background: var(--soft);
}

.section-navy {
  background: linear-gradient(135deg, var(--navy-dd) 0%, var(--navy-d) 60%, var(--navy) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.section-navy::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(41, 168, 224, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ---------- Buttons & CTAs ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 600 1.02rem/1 'Outfit', sans-serif;
  padding: 16px 32px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease-spring), background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn:hover::after {
  left: 150%;
}

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

.btn:active {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px var(--blue-glow);
}

.btn-primary:hover {
  background: var(--blue-hover);
  box-shadow: 0 14px 30px rgba(41, 168, 224, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.btn-light:hover {
  background: #f8fafc;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.btn-sm {
  padding: 11px 22px;
  font-size: 0.94rem;
}

/* ---------- Header & Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth), background 0.3s var(--ease-smooth);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 28px rgba(29, 26, 92, 0.08);
  border-bottom-color: rgba(226, 231, 242, 0.7);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 98px;
  transition: height 0.3s ease;
}

.site-header.is-scrolled .nav-wrap {
  height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: 'Monotype Corsiva', 'Apple Chancery', 'URW Chancery L', cursive, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 3.15rem;
  color: var(--navy-d);
  letter-spacing: 0.015em;
  line-height: 1;
  text-decoration: none;
  transition: font-size 0.3s ease;
}

.site-header.is-scrolled .brand {
  font-size: 2.6rem;
}

.brand img {
  width: 74px;
  height: 74px;
  border-radius: 14px;
  transition: transform 0.3s var(--ease-spring), width 0.3s ease, height 0.3s ease;
  flex-shrink: 0;
}

.site-header.is-scrolled .brand img {
  width: 60px;
  height: 60px;
}

.brand:hover img {
  transform: rotate(-6deg) scale(1.08);
}

.brand span,
.brand-text,
.company-name,
.font-corsiva {
  font-family: 'Monotype Corsiva', 'Apple Chancery', 'URW Chancery L', cursive, serif !important;
  font-style: italic !important;
  font-size: inherit;
  letter-spacing: 0.015em;
}

.brand b {
  font-family: inherit;
  font-weight: inherit;
  color: inherit;
}

.brand-light {
  color: #fff;
  font-size: 2.1rem;
}

.brand-light img {
  width: 48px;
  height: 48px;
}

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

.nav a {
  position: relative;
  font-weight: 600;
  color: var(--navy-d);
  padding: 8px 4px;
  font-size: 1.02rem;
  transition: color 0.25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--blue), #6366f1);
  border-radius: 2px;
  transition: width 0.3s var(--ease-spring);
}

.nav a:hover,
.nav a.active {
  color: var(--blue);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}



.nav-toggle,
.burger,
.nav-backdrop {
  display: none;
}

/* ---------- Hero Banner Section (home page.png) ---------- */
.hero-banner-wrap {
  position: relative;
  width: 100%;
  background: #09264f;
  overflow: hidden;
  display: block;
}

.hero-banner-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  image-rendering: high-quality;
  image-rendering: -webkit-optimize-contrast;
  transform: translateZ(0);
}

/* Interactive Clickable Hotspots for Buttons on Banner */
.banner-btn-hotspot {
  position: absolute;
  top: 59.8%;
  height: 7.9%;
  border-radius: 999px;
  cursor: pointer;
  z-index: 10;
  display: block;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.banner-btn-hotspot:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.hotspot-services {
  left: 6.0%;
  width: 12.8%;
}

.hotspot-projects {
  left: 20.0%;
  width: 12.9%;
}

/* ---------- Legacy Hero Styles ---------- */

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 46, 92, 0.95) 0%,
    rgba(10, 46, 92, 0.90) 42%,
    rgba(10, 46, 92, 0.45) 58%,
    rgba(10, 46, 92, 0.08) 75%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-geo-accent {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(140px, 18vw, 240px);
  height: clamp(80px, 12vw, 150px);
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.hero-geo-accent .geo-shape-1 {
  position: absolute;
  right: -20px;
  bottom: -40px;
  width: 140%;
  height: 120%;
  background: #0284c7;
  transform: rotate(-35deg);
  transform-origin: bottom right;
}

.hero-geo-accent .geo-shape-2 {
  position: absolute;
  right: -10px;
  bottom: -60px;
  width: 120%;
  height: 100%;
  background: #38bdf8;
  transform: rotate(-35deg);
  transform-origin: bottom right;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: clamp(48px, 7vw, 90px);
  padding-bottom: clamp(60px, 8vw, 100px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: start;
  gap: 36px;
}

.hero-content {
  max-width: 650px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #67e8f9;
  font-weight: 700;
  font-size: clamp(0.82rem, 1.2vw, 0.92rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-eyebrow-line {
  display: inline-block;
  width: 32px;
  height: 3px;
  background: #38bdf8;
  border-radius: 2px;
}

.hero h1.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 22px;
  text-wrap: balance;
}

.hero h1.hero-title span.text-sky {
  color: #38bdf8;
  background: linear-gradient(90deg, #38bdf8, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.hero-desc {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 1.7;
  color: #e2e8f0;
  max-width: 580px;
  margin-bottom: 34px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn-hero-primary {
  background: #0284c7;
  color: #ffffff;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 1.02rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid transparent;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.45);
  transition: all 0.25s var(--ease-spring);
}

.btn-hero-primary:hover {
  background: #0369a1;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.6);
}

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: #ffffff;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 1.02rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(8px);
  transition: all 0.25s var(--ease-spring);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

.hero-badge-col {
  display: flex;
  justify-content: flex-end;
  padding-top: 10px;
}

.hero-trust-badge {
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 24px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.hero-trust-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.hero-trust-badge .trust-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #e0f2fe;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.hero-trust-badge .trust-badge-text strong {
  display: block;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.hero-trust-badge .trust-badge-text span {
  display: block;
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 500;
  margin-top: 2px;
}

.hero-carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
}

.hero-carousel-dots .h-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.hero-carousel-dots .h-dot.active {
  width: 24px;
  border-radius: 999px;
  background: #0284c7;
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.6);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(52px, 8vw, 96px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  border-radius: var(--radius) var(--radius) 0 0;
}

.stats li {
  padding: 30px 24px;
  position: relative;
  transition: transform 0.3s ease, background 0.3s ease;
}

.stats li:hover {
  background: rgba(255, 255, 255, 0.06);
}

.stats li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.stats b {
  display: block;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.stats b::after {
  content: "+";
  font-size: 0.7em;
  color: var(--blue);
  margin-left: 2px;
}

.stats span {
  color: #b9bfe3;
  font-size: 0.98rem;
  font-weight: 500;
}

/* ---------- Inner Page Hero Banner ---------- */
.page-hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(14, 12, 48, 0.94) 0%, rgba(29, 26, 92, 0.88) 55%, rgba(41, 168, 224, 0.40) 100%),
    url(img/hvac.jpg) center/cover no-repeat;
  padding: clamp(70px, 8.5vw, 110px) 0 clamp(54px, 6.5vw, 86px);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.page-hero-services {
  background:
    linear-gradient(
      90deg,
      rgba(7, 12, 34, 0.94) 0%,
      rgba(8, 15, 42, 0.89) 38%,
      rgba(9, 19, 52, 0.68) 58%,
      rgba(10, 24, 62, 0.35) 78%,
      rgba(10, 26, 68, 0.18) 100%
    ),
    var(--hero-services, url('img/services-banner.jpg')) center right / cover no-repeat;
  box-shadow: inset 0 -30px 40px -15px rgba(7, 12, 34, 0.6);
}

.page-hero-projects {
  background:
    linear-gradient(
      90deg,
      rgba(7, 12, 34, 0.94) 0%,
      rgba(8, 15, 42, 0.89) 38%,
      rgba(9, 19, 52, 0.65) 58%,
      rgba(10, 24, 62, 0.32) 78%,
      rgba(10, 26, 68, 0.15) 100%
    ),
    var(--hero-projects, url('img/projects-banner.jpg')) center right / cover no-repeat;
  box-shadow: inset 0 -30px 40px -15px rgba(7, 12, 34, 0.6);
}

.page-hero-gallery {
  background:
    linear-gradient(
      90deg,
      rgba(7, 12, 34, 0.94) 0%,
      rgba(8, 15, 42, 0.89) 38%,
      rgba(9, 19, 52, 0.65) 58%,
      rgba(10, 24, 62, 0.32) 78%,
      rgba(10, 26, 68, 0.15) 100%
    ),
    var(--hero-gallery, url('img/gallery-banner.jpg')) center right / cover no-repeat;
  box-shadow: inset 0 -30px 40px -15px rgba(7, 12, 34, 0.6);
}

.page-hero-contact {
  background:
    linear-gradient(
      90deg,
      rgba(7, 12, 34, 0.94) 0%,
      rgba(8, 15, 42, 0.89) 38%,
      rgba(9, 19, 52, 0.65) 58%,
      rgba(10, 24, 62, 0.32) 78%,
      rgba(10, 26, 68, 0.15) 100%
    ),
    var(--hero-contact, url('img/contact-banner.jpg')) center right / cover no-repeat;
  box-shadow: inset 0 -30px 40px -15px rgba(7, 12, 34, 0.6);
}

@media (max-width: 768px) {
  .page-hero-services {
    background:
      linear-gradient(
        180deg,
        rgba(7, 12, 34, 0.92) 0%,
        rgba(8, 15, 42, 0.88) 60%,
        rgba(9, 19, 52, 0.75) 100%
      ),
      var(--hero-services, url('img/services-banner.jpg')) center / cover no-repeat;
  }

  .page-hero-projects {
    background:
      linear-gradient(
        180deg,
        rgba(7, 12, 34, 0.92) 0%,
        rgba(8, 15, 42, 0.88) 60%,
        rgba(9, 19, 52, 0.75) 100%
      ),
      var(--hero-projects, url('img/projects-banner.jpg')) center / cover no-repeat;
  }

  .page-hero-gallery {
    background:
      linear-gradient(
        180deg,
        rgba(7, 12, 34, 0.92) 0%,
        rgba(8, 15, 42, 0.88) 60%,
        rgba(9, 19, 52, 0.75) 100%
      ),
      var(--hero-gallery, url('img/gallery-banner.jpg')) center / cover no-repeat;
  }

  .page-hero-contact {
    background:
      linear-gradient(
        180deg,
        rgba(7, 12, 34, 0.92) 0%,
        rgba(8, 15, 42, 0.88) 60%,
        rgba(9, 19, 52, 0.75) 100%
      ),
      var(--hero-contact, url('img/contact-banner.jpg')) center / cover no-repeat;
  }
}

.page-hero-inner {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  color: #c9d0f5;
  margin-bottom: 18px;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.breadcrumb a {
  color: #ffffff;
  transition: color 0.2s;
}

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

.breadcrumb span {
  opacity: 0.6;
}

.page-hero h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 860px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.page-hero h1 span,
.highlight-cyan {
  color: #38bdf8 !important;
  -webkit-text-fill-color: #38bdf8 !important;
  font-weight: 800;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9), 0 0 24px rgba(56, 189, 248, 0.7);
}

.page-hero p {
  color: #f1f3fd;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  max-width: 700px;
  line-height: 1.68;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

/* ---------- About Section ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}

blockquote {
  border-left: 4px solid var(--blue);
  padding: 8px 0 8px 24px;
  margin: 0 0 24px;
  color: var(--navy-d);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.6;
  background: var(--soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.directors-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(16px, 3vw, 40px);
  flex-wrap: nowrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.directors-row .director {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  flex: 1 1 0%;
  min-width: 0;
  gap: 12px;
}
.director {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.director img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid var(--blue-l);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-spring);
}

.director:hover img {
  transform: scale(1.06);
}

.director strong {
  display: block;
  color: var(--navy-d);
  font-size: 1.15rem;
}

.director span {
  color: var(--muted);
  font-size: 0.95rem;
}
.director span .font-corsiva {
  color: var(--blue);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  display: inline-block;
}

.about-media {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.3s ease;
}

/* 1. Main Team Photo: 100% full view, all members completely visible */
.about-media-primary {
  width: 100%;
  position: relative;
}

.about-img-1 {
  width: 100%;
  aspect-ratio: 586 / 382;
  display: block;
  border: 5px solid #fff;
  box-shadow: 0 16px 36px rgba(29, 26, 92, 0.14);
}

/* 2. Bottom Row: Ceremony (full view) + Toolbox (overlapping on right) */
.about-media-secondary {
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 4px;
}

/* Ceremony Photo: 100% full view, no cutoff */
.about-img-3 {
  width: 50%;
  aspect-ratio: 690 / 510;
  display: block;
  position: relative;
  z-index: 2;
  border: 5px solid #fff;
  box-shadow: 0 16px 36px rgba(29, 26, 92, 0.18);
  flex-shrink: 0;
}

/* Toolbox Photo: overlaps neatly on right, center engineers & right workers visible */
.about-img-2 {
  width: 62%;
  aspect-ratio: 1388 / 528;
  display: block;
  position: relative;
  z-index: 1;
  margin-left: -12%;
  border: 5px solid #fff;
  box-shadow: 0 18px 40px rgba(29, 26, 92, 0.20);
  flex-shrink: 0;
}

/* Hover effects */
.about-img-1:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 22px 46px rgba(29, 26, 92, 0.24);
}

.about-img-3:hover {
  transform: translateY(-6px) scale(1.03);
  z-index: 5;
  box-shadow: 0 22px 46px rgba(29, 26, 92, 0.28);
}

.about-img-2:hover {
  transform: translateY(-6px) scale(1.03);
  z-index: 5;
  box-shadow: 0 22px 46px rgba(29, 26, 92, 0.28);
}

/* ---------- Vision / Mission ---------- */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.vm-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4.5vw, 48px);
  transition: transform 0.35s var(--ease-spring), border-color 0.3s ease, background 0.3s ease;
  position: relative;
}

.vm-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(41, 168, 224, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.vm-card h3 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.vm-card h3::before {
  content: "";
  width: 38px;
  height: 4px;
  border-radius: 4px;
  background: var(--blue);
}

.vm-card p {
  color: #d6d9f2;
  font-size: 1.05rem;
}

.vm-card strong {
  color: #fff;
  font-weight: 600;
}

/* ---------- Services Section ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  align-items: stretch;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-spring), border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(41, 168, 224, 0.4);
}

.card-img-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: var(--soft);
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-spring);
}

.card:hover .card-img-wrap img {
  transform: scale(1.08);
}

.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tag {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--blue);
  background: var(--blue-l);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  width: fit-content;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.96rem;
  color: var(--muted);
}

details {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  padding: 4px 0;
  font-size: 0.95rem;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--blue);
  transition: transform 0.25s var(--ease-spring);
  font-weight: 700;
}

details[open] summary::after {
  content: "\2212";
}

details h4 {
  margin: 16px 0 8px;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy-d);
}

details ul {
  margin-top: 10px;
}

details h4 + ul {
  margin-top: 0;
}

details li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

details li b {
  color: var(--navy-d);
}

.note {
  font-size: 0.92rem;
  margin-top: 14px;
}

/* ---------- Quality & Process ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 70px);
  align-items: start;
}

.ticks {
  margin-top: 24px;
}

.ticks li {
  position: relative;
  padding: 0 0 16px 40px;
  color: var(--ink);
  font-weight: 500;
  font-size: 1.02rem;
}

.ticks li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #0284c7);
  color: #fff;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.panel {
  background: var(--soft);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.panel h3 {
  margin-bottom: 20px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--navy-d);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.chips li:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: 0 4px 12px rgba(41, 168, 224, 0.15);
}

.steps-title {
  margin: clamp(52px, 7vw, 84px) 0 28px;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

.steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  counter-reset: s;
  position: relative;
}

.steps li {
  counter-increment: s;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.steps li:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--blue);
}

.steps li::before {
  content: counter(s);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-d), var(--navy));
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 1.1rem;
  box-shadow: 0 6px 14px rgba(29, 26, 92, 0.25);
}

.steps b {
  display: block;
  color: var(--navy-d);
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: 8px;
}

.steps span {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  display: block;
}

/* ---------- Projects Section ---------- */
.proj-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 26px;
  align-items: start;
}

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

.proj {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.proj:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.proj h3 {
  font-size: 1.22rem;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--blue-l);
  position: relative;
}

.proj h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 48px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
}

.proj ol {
  counter-reset: p;
}

.proj li {
  counter-increment: p;
  position: relative;
  padding: 0 0 12px 36px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
  font-size: 0.96rem;
}

.proj li::before {
  content: counter(p, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--blue);
}

.proj em {
  display: block;
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 2px;
}

.proj-ongoing {
  background: linear-gradient(145deg, var(--navy-dd), var(--navy-d));
  border-color: var(--navy-d);
  color: #fff;
  box-shadow: 0 14px 34px rgba(18, 16, 61, 0.28);
}

.proj-ongoing:hover {
  box-shadow: 0 20px 42px rgba(18, 16, 61, 0.4);
}

.proj-ongoing h3 {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.proj-ongoing li {
  color: #fff;
}

.proj-ongoing em {
  color: #b9bde0;
}

/* ---------- Gallery Section ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  background: var(--soft);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-spring);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 16, 61, 0.85) 0%, rgba(18, 16, 61, 0.2) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-overlay span {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transform: translateY(10px);
  transition: transform 0.3s var(--ease-spring);
}

.gallery-overlay span::before {
  content: "\1F50D";
  font-size: 1rem;
}

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

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

.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
}

.gallery-sheets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.sheet-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  background: #fff;
}

.sheet-item img {
  width: 100%;
  height: auto;
  transition: transform 0.4s var(--ease-spring);
}

.sheet-item:hover img {
  transform: scale(1.04);
}

/* ---------- CTA Banner ---------- */
.cta {
  background: linear-gradient(110deg, var(--navy-d) 0%, var(--navy) 50%, var(--blue) 100%);
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.cta::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.cta h2 {
  color: #fff;
  margin-bottom: 8px;
}

.cta p {
  color: #e3f4ff;
  font-size: 1.15rem;
}

/* ---------- Contact Section ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 70px);
  align-items: start;
}

.contact-headoffice-heading {
  margin: 0 0 16px;
  font-size: 1.7rem;
  letter-spacing: -0.015em;
  font-weight: 800;
  color: #0b1a4a;
  line-height: 1.2;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--blue);
}

.contact-headoffice-heading + .contact-list {
  margin-top: 0;
}

.contact-list {
  margin: 10px 0 34px;
}

.contact-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 1.02rem;
}

.contact-list b {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 4px;
}

.contact-list a {
  color: var(--navy-d);
  font-weight: 600;
}

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

.contact-action-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--navy-d);
  font-size: 1.05rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.contact-action-link:hover {
  color: var(--blue);
  transform: translateX(3px);
}

.contact-action-link.whatsapp-link {
  color: #128c7e;
}

.contact-action-link.whatsapp-link:hover {
  color: #25d366;
}

.contact-icon {
  flex-shrink: 0;
  vertical-align: middle;
}

.icon-phone {
  color: var(--blue);
}

.icon-whatsapp {
  color: #25d366;
}
.contact-icons-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.phone-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--blue);
  border-radius: 50%;
  color: #ffffff;
  box-shadow: 0 4px 12px var(--blue-glow);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease, background 0.2s ease;
  vertical-align: middle;
}

.phone-icon-btn svg {
  stroke: #ffffff !important;
  color: #ffffff !important;
}

.phone-icon-btn:hover {
  background: var(--blue-hover);
  transform: scale(1.12);
  box-shadow: 0 6px 16px rgba(41, 168, 224, 0.55);
}

.phone-number-text {
  font-weight: 600;
  color: var(--navy-d);
  font-size: 1.05rem;
  transition: color 0.2s ease;
}

.phone-number-text:hover {
  color: var(--blue);
}
.phone-whatsapp-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.whatsapp-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease, background 0.2s ease;
  vertical-align: middle;
}

.whatsapp-icon-btn svg {
  fill: #ffffff !important;
  color: #ffffff !important;
}

.whatsapp-icon-btn:hover {
  background: #1eb857;
  transform: scale(1.12);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.55);
}
.whatsapp-btn-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25d366;
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
  vertical-align: middle;
}

.whatsapp-btn-badge svg {
  fill: #ffffff;
  color: #ffffff;
}

.whatsapp-btn-badge:hover {
  background: #1eb857;
  color: #ffffff !important;
  transform: translateY(-2px);
}
.form-header-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 14px;
}

.btn-enquiry-header {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0284c7 0%, #29a8e0 100%);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
}

.btn-enquiry-header svg {
  stroke: #ffffff;
}
.form {
  display: grid;
  gap: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow-sm);
}

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

.form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-d);
}

.form input,
.form select,
.form textarea {
  font: 400 1rem 'Outfit', sans-serif;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  width: 100%;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-glow);
}

.offices h3 {
  margin: 0 0 16px;
  font-size: 1.7rem;
  letter-spacing: -0.015em;
  font-weight: 800;
  color: #0b1a4a;
  line-height: 1.2;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--blue);
}

.offices h3:not(:first-child) {
  margin-top: 32px;
}

.office {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.office:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.office b {
  display: block;
  color: var(--navy-d);
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.office a {
  color: var(--navy);
  font-weight: 600;
}

.branch-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.branch-corsiva {
  font-family: 'Monotype Corsiva', 'Apple Chancery', 'URW Chancery L', cursive, serif !important;
  font-style: italic !important;
  font-weight: 700;
  font-size: 1.95rem !important;
  letter-spacing: 0.015em;
  line-height: 1.1;
}

.headoffice-brand strong.font-corsiva {
  font-family: 'Monotype Corsiva', 'Apple Chancery', 'URW Chancery L', cursive, serif !important;
  font-style: italic !important;
  font-weight: 700;
  font-size: 2.1rem;
  letter-spacing: 0.015em;
  color: var(--navy-d);
}
.branch-name {
  color: var(--navy-d);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0;
  line-height: 1.25;
}

.branch-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.3s var(--ease-spring);
}

.branch-logo-thoori {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}

.office:hover .branch-logo {
  transform: scale(1.15) rotate(4deg);
}

.office:hover .branch-logo-thoori {
  transform: scale(1.14);
}

.office-address {
  color: #4c5375;
  font-size: 0.96rem;
  line-height: 1.55;
  margin-bottom: 6px;
}

.office-contact {
  color: #555d80;
  font-size: 0.95rem;
  font-weight: 500;
}

.office-contact a {
  color: var(--navy);
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.headoffice-brand-row {
  display: block;
  margin-bottom: 6px;
}

.headoffice-address {
  color: #4c5375;
  font-size: 0.98rem;
  line-height: 1.55;
}
.headoffice-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  vertical-align: middle;
}

.headoffice-brand strong {
  font-weight: 700;
  color: var(--navy-d);
}

.branch-inline-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

/* Services Trust (Love N Care Trust) Card */
.office-trust {
  border-left: 4px solid var(--blue);
  background: #fff;
}

.office-trust::after {
  display: none !important;
  content: none !important;
}

.trust-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.trust-title-text {
  font-family: 'Monotype Corsiva', 'Apple Chancery', 'URW Chancery L', cursive, serif !important;
  font-style: italic !important;
  font-weight: 700;
  font-size: 2.1rem;
  color: #6f3c97;
  letter-spacing: 0.015em;
  line-height: 1.1;
  display: inline-block;
}

.trust-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.3s var(--ease-spring);
}

.office-trust:hover .trust-logo {
  transform: rotate(10deg) scale(1.14);
}

/* ---------- Rich Corporate Footer ---------- */
.footer {
  background: linear-gradient(180deg, #0e0c30 0%, #07061b 100%);
  color: #b9bde0;
  padding: 72px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #29a8e0, #6366f1, #38bdf8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1.05fr 1.35fr;
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: 48px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  letter-spacing: -0.01em;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 32px;
  height: 2.5px;
  background: var(--blue);
  border-radius: 2px;
}

.footer-brand-wrap {
  margin-bottom: 18px;
}

.footer-desc {
  font-size: 0.94rem;
  line-height: 1.7;
  color: #a8add4;
  margin-bottom: 18px;
}

.footer-tagline {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(41, 168, 224, 0.12);
  border: 1px solid rgba(41, 168, 224, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #b9bde0;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a::before {
  content: "\203A";
  color: var(--blue);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.footer-links a:hover {
  color: #38bdf8;
  transform: translateX(4px);
}

.footer-links a:hover::before {
  transform: translateX(2px);
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.93rem;
  color: #b9bde0;
  line-height: 1.6;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: #38bdf8;
}

.footer-contact-item a {
  color: #ffffff;
  transition: color 0.2s ease;
}

.footer-contact-item a:hover {
  color: #38bdf8;
}

.footer-footprint {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
  font-size: 0.88rem;
  color: #9fa5d0;
  line-height: 1.6;
}

.footer-footprint b {
  color: #fff;
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 26px;
  font-size: 0.9rem;
  color: #9299c8;
}

.footer-bottom .copy {
  margin: 0;
  border: none;
  padding: 0;
  font-size: 0.9rem;
  color: #b9bde0;
}

.footer-bottom-badge {
  color: #38bdf8;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* ---------- Lightbox Modal ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14, 12, 48, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s var(--ease-spring);
}

.lightbox.is-open img {
  transform: scale(1);
}

.lightbox-caption {
  color: #fff;
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  background: var(--blue);
  transform: scale(1.1);
}

/* ---------- Back to Top Button ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  border: none;
  box-shadow: 0 8px 24px var(--blue-glow);
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s var(--ease-spring), background 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--blue-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(41, 168, 224, 0.5);
}

/* ---------- Toast Notification ---------- */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: var(--navy-d);
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(41, 168, 224, 0.4);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s var(--ease-spring), visibility 0.3s ease;
}

.toast.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s var(--ease-spring), transform 0.75s var(--ease-spring);
  will-change: opacity, transform;
}

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.75s var(--ease-spring), transform 0.75s var(--ease-spring);
}

.reveal-left.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.75s var(--ease-spring), transform 0.75s var(--ease-spring);
}

.reveal-right.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 1100px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .proj-grid {
    grid-template-columns: 1fr 1fr;
  }
  .proj-ongoing {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    z-index: 102;
    background: transparent;
    border: none;
  }

  .burger i {
    width: 26px;
    height: 3px;
    background: var(--navy-d);
    border-radius: 3px;
    transition: transform 0.3s var(--ease-spring), opacity 0.2s ease;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(18, 16, 61, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(340px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 96px 28px 40px;
    box-shadow: -10px 0 35px rgba(29, 26, 92, 0.18);
    z-index: 101;
    transition: right 0.35s var(--ease-spring);
    overflow-y: auto;
  }

  .nav a {
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.15rem;
    font-weight: 600;
  }

  .nav a::after {
    display: none;
  }



  /* Hamburger Toggle Active State */
  .nav-toggle:checked ~ .burger i:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .nav-toggle:checked ~ .burger i:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .nav-toggle:checked ~ .burger i:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .nav-toggle:checked ~ .nav {
    right: 0;
  }

  .nav-toggle:checked ~ .nav-backdrop {
    opacity: 1;
    visibility: visible;
  }

  .about-grid,
  .two-col,
  .contact-grid,
  .vm-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-media {
    max-width: 580px;
    margin: 0 auto;
    width: 100%;
    padding-bottom: 0;
  }

  .about-img-3 {
    width: 50%;
  }

  .about-img-2 {
    width: 62%;
    margin-left: -12%;
  }

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

  .stats li:nth-child(3) {
    padding-left: 24px;
    border-left: none;
  }

  .stats li:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero {
    min-height: auto;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-badge-col {
    justify-content: flex-start;
  }
  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(10, 46, 92, 0.96) 0%,
      rgba(10, 46, 92, 0.88) 55%,
      rgba(10, 46, 92, 0.65) 100%
    );
  }
  .gallery,
  .gallery-sheets {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .nav-wrap {
    height: 78px;
  }

  .brand {
    font-size: 2.15rem;
    gap: 14px;
  }

  .brand img {
    width: 56px;
    height: 56px;
  }

  .brand-light {
    font-size: 1.65rem;
  }

  .cards,
  .proj-grid,
  .steps {
    grid-template-columns: 1fr;
  }

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

  .gallery,
  .gallery-sheets {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-trust-badge {
    width: 100%;
  }

  .hero-carousel-dots {
    bottom: 14px;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .cta-inner .btn {
    width: 100%;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius);
  }

  .stats li {
    padding: 20px 16px;
  }

  .stats b {
    font-size: 2rem;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

/* ---------- Contact form server messages ---------- */
.form-alert {
  background: #fff1f0;
  border: 1px solid #ffa39e;
  color: #a8071a;
  padding: 12px 16px;
  border-radius: 10px;
  margin: 0 0 16px;
  font-size: 0.95rem;
}
