:root {
  --blue: #0a4d8c;
  --blue-dark: #06345f;
  --blue-ink: #072442;
  --green: #00a86b;
  --green-deep: #007d58;
  --teal: #6ee7d8;
  --ink: #102235;
  --muted: #667789;
  --line: #dceaf2;
  --soft: #f4fbfa;
  --white: #ffffff;
  --amber: #f5b84b;
  --shadow: 0 18px 55px rgba(8, 48, 82, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(110, 231, 216, 0.92);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 40px rgba(9, 45, 76, 0.1);
  backdrop-filter: blur(18px);
}

.navbar {
  width: min(100%, var(--max));
  min-height: 74px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.site-header.is-scrolled .brand,
.site-footer .brand {
  color: var(--ink);
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 10px;
  background: var(--white);
  padding: 3px;
  box-shadow: 0 8px 20px rgba(8, 48, 82, 0.18);
}

.brand-text {
  display: grid;
  gap: 0;
  line-height: 1.05;
  font-size: 0.74rem;
  text-transform: uppercase;
}

.brand-text strong {
  font-size: 0.92rem;
  letter-spacing: 0;
}

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

.nav-links a {
  position: relative;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  font-size: 0.94rem;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.site-header.is-scrolled .nav-links a {
  color: var(--blue-ink);
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(110, 231, 216, 0.18);
  color: var(--white);
}

.site-header.is-scrolled .nav-links a:hover,
.site-header.is-scrolled .nav-links a.active {
  color: var(--blue);
  background: rgba(10, 77, 140, 0.08);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled .nav-toggle {
  color: var(--blue);
  border-color: rgba(10, 77, 140, 0.16);
  background: rgba(10, 77, 140, 0.06);
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-dark);
}

.hero-media,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transform: scale(1.04);
  background-size: cover;
  background-position: center;
  animation: heroFade 30s infinite;
}

.slide-one {
  background-image: url("hero-pics/hero-1.webp");
}

.slide-two {
  background-image: url("hero-pics/hero-2.webp");
  animation-delay: 6s;
}

.slide-three {
  background-image: url("hero-pics/hero-3.jpg");
  animation-delay: 12s;
}

.slide-four {
  background-image: url("hero-pics/hero-4.jpeg");
  animation-delay: 18s;
}

.slide-five {
  background-image: url("hero-pics/hero-5.jpg");
  animation-delay: 24s;
}

.hero-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(6, 52, 95, 0.9) 0%,
      rgba(6, 52, 95, 0.62) 48%,
      rgba(0, 168, 107, 0.26) 100%
    ),
    linear-gradient(0deg, rgba(6, 26, 47, 0.56), rgba(6, 26, 47, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 126px 20px 74px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow,
.section-blue .eyebrow,
.section-contact .eyebrow {
  color: var(--teal);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 5.1vw, 4.65rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--blue-ink);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--blue-ink);
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-actions,
.form-submit {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 18px 34px rgba(0, 168, 107, 0.28);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.section {
  padding: 86px 0;
}

.section-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 20px;
}

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

.section-tint {
  background:
    linear-gradient(
      180deg,
      rgba(110, 231, 216, 0.12),
      rgba(255, 255, 255, 0.78)
    ),
    var(--soft);
}

.section-blue {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(10, 77, 140, 0.98), rgba(0, 125, 88, 0.96)),
    var(--blue);
}

.section-contact {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 52, 95, 0.98), rgba(0, 125, 88, 0.94)),
    var(--blue-dark);
}

.section-blue h2,
.section-contact h2,
.section-blue h3,
.section-contact h3 {
  color: var(--white);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading p:not(.eyebrow),
.about-copy p,
.map-copy p,
.contact-copy p {
  color: var(--muted);
}

.section-blue .map-copy p,
.section-contact .contact-copy p {
  color: rgba(255, 255, 255, 0.8);
}

.stats-section {
  position: relative;
  z-index: 3;
  margin-top: -38px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.stat-card {
  min-height: 122px;
  padding: 22px;
  border: 1px solid rgba(10, 77, 140, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.stat-card strong {
  display: block;
  color: var(--blue);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.stat-card span:last-child {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
}

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

.feature-card,
.industry-card,
.mission-grid article,
.contact-info article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(8, 48, 82, 0.06);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.feature-card:hover,
.industry-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 168, 107, 0.34);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 26px;
}

.feature-card svg,
.mission-grid svg,
.industry-card svg {
  width: 34px;
  height: 34px;
  color: var(--green);
  stroke-width: 2.2;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.about-layout,
.contact-layout,
.map-layout {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 42px;
  align-items: center;
}

.about-copy {
  max-width: 690px;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.mission-grid article {
  padding: 22px;
}

.mission-grid p {
  margin-bottom: 0;
}

.about-panel {
  position: relative;
}

.about-panel img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.values-panel {
  width: min(92%, 420px);
  margin: -78px auto 0;
  position: relative;
  z-index: 2;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.values-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.values-panel li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--muted);
  font-weight: 800;
}

.values-panel li svg {
  width: 18px;
  height: 18px;
  color: var(--green);
}

.services-icon-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.service-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px 16px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(8, 48, 82, 0.05);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.service-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 168, 107, 0.34);
  box-shadow: 0 16px 32px rgba(8, 48, 82, 0.1);
}

.service-tile-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 10px 20px rgba(0, 168, 107, 0.22);
}

.service-tile-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.1;
}

.service-tile h3 {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--blue-ink);
}

/* ─── Photo-backed service tile variant ─── */
.service-tile.has-photo {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  justify-content: flex-end;
  padding: 18px 14px;
  border: none;
}

.service-tile-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-tile.has-photo:hover .service-tile-photo {
  transform: scale(1.06);
}

.service-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 30, 56, 0.15) 0%,
    rgba(10, 30, 56, 0.55) 65%,
    rgba(10, 30, 56, 0.85) 100%
  );
}

.service-tile.has-photo .service-tile-icon {
  position: relative;
  z-index: 2;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  box-shadow: none;
}

.service-tile.has-photo .service-tile-icon svg {
  width: 20px;
  height: 20px;
}

.service-tile.has-photo h3 {
  position: relative;
  z-index: 2;
  color: var(--white);
  font-weight: 800;
}

.services-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--tint);
  border: 1px solid var(--line);
}

.services-cta p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  max-width: 480px;
}

/* ─── Certifications & Licenses section ─── */
.certs-section {
  background: linear-gradient(180deg, var(--tint), var(--white));
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.cert-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 22px 14px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(8, 48, 82, 0.05);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.cert-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 184, 75, 0.5);
  box-shadow: 0 16px 32px rgba(8, 48, 82, 0.1);
}

.cert-tile-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue-ink);
  background: linear-gradient(135deg, var(--amber), #fcd98a);
  box-shadow: 0 10px 20px rgba(245, 184, 75, 0.3);
}

.cert-tile-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.2;
}

.cert-tile h3 {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.3;
  color: var(--blue-ink);
}

.cert-tile span {
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.3;
}

/* ─── Director's Message section ─── */
.director-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.director-photo-wrap {
  position: relative;
  padding-bottom: 48px;
}

.director-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.director-name-card {
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  width: min(90%, 360px);
  padding: 16px 22px;
  text-align: center;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.director-name-card strong {
  display: block;
  color: var(--blue-ink);
  font-size: 1.02rem;
}

.director-name-card span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.director-copy blockquote {
  margin: 22px 0 0;
  padding: 0 0 0 22px;
  border-left: 4px solid var(--green);
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.75;
  font-style: italic;
}

.director-signature {
  margin-top: 24px;
}

.director-signature strong {
  display: block;
  color: var(--blue-ink);
  font-size: 1.05rem;
}

.director-signature span {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.88rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 900;
}

.text-link svg {
  width: 18px;
  height: 18px;
}

.map-layout {
  align-items: stretch;
}

.map-legend-summary {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.mls-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.mls-item strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.mls-item span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  line-height: 1.5;
}

.mls-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
}

.mls-ho {
  background: #dc2626;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.mls-co {
  color: #fbbf24;
  font-size: 16px;
  background: transparent;
}

.mls-br {
  border-radius: 50%;
  background: #bbf7d0;
  border: 2px solid #166534;
  width: 14px;
  height: 14px;
  margin-top: 4px;
}

.india-map-card {
  min-height: 480px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 60px rgba(3, 30, 54, 0.18);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
}

.india-map-card > div {
  width: 100%;
}

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

.industry-card {
  min-height: 118px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 12px;
  padding: 24px;
  font-weight: 900;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--blue-dark);
  box-shadow: 0 12px 32px rgba(8, 48, 82, 0.12);
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.5s ease,
    opacity 0.3s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(6, 36, 66, 0.86));
}

.gallery-item span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  color: var(--white);
  font-weight: 900;
  text-align: left;
}

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

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

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

/* Play badge overlay on video gallery items */
.gallery-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(10, 30, 56, 0.68);
  color: var(--white);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
  pointer-events: none;
}

.gallery-item:hover .gallery-play-badge {
  background: rgba(10, 77, 140, 0.88);
  transform: translate(-50%, -50%) scale(1.1);
}

/* ─── Static client logo grid ─── */
.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.logo-slot {
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 6px 18px rgba(8, 48, 82, 0.05);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.logo-slot:hover {
  box-shadow: 0 12px 30px rgba(8, 48, 82, 0.12);
  transform: translateY(-3px);
}

.logo-slot img {
  max-width: 100%;
  max-height: 90%;
  width: auto;
  object-fit: contain;
  filter: grayscale(40%);
  opacity: 0.82;
  transition:
    filter 0.2s ease,
    opacity 0.2s ease;
}

.logo-slot:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ─── Testimonial carousel ─── */
.testimonial-carousel {
  margin-top: 52px;
  position: relative;
}

.tc-viewport {
  overflow: hidden;
  border-radius: var(--radius);
}

.tc-track {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  flex: 0 0 100%;
  padding: 36px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(8, 48, 82, 0.07);
}

.rating {
  margin-bottom: 14px;
  color: var(--amber);
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.testimonial-card p {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.75;
  font-style: italic;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card strong {
  margin-top: 24px;
  color: var(--blue-ink);
  font-size: 1rem;
}

.testimonial-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Controls */
.tc-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
}

.tc-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--blue-ink);
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.tc-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.tc-btn svg {
  width: 18px;
  height: 18px;
}

.tc-dots {
  display: flex;
  gap: 8px;
}

.tc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.tc-dot.active {
  background: var(--blue);
  border-color: var(--blue);
  transform: scale(1.25);
}

.contact-layout {
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.contact-info article {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.contact-info svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: var(--teal);
}

.contact-info span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

.contact-info strong {
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.contact-info strong a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition:
    border-color 0.18s ease,
    color 0.18s ease;
}

.contact-info strong a:hover {
  color: var(--teal);
  border-color: var(--teal);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(3, 30, 54, 0.2);
  backdrop-filter: blur(18px);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row.full,
.form-submit,
.form-success {
  grid-column: 1 / -1;
}

.form-row label {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  font-size: 0.92rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(6, 52, 95, 0.34);
}

.form-row select option {
  color: var(--ink);
}

.form-row textarea {
  resize: vertical;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.form-row.invalid input,
.form-row.invalid select,
.form-row.invalid textarea {
  border-color: #ffb3b3;
}

.error-message {
  min-height: 18px;
  color: #ffd2d2;
  font-size: 0.84rem;
}

.form-success {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 900;
}

.map-embed {
  margin-top: 44px;
}

.map-embed iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(3, 30, 54, 0.24);
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: #061b31;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
  padding-top: 52px;
  padding-bottom: 42px;
}

.site-footer .brand {
  color: var(--white);
}

.footer-brand p {
  max-width: 360px;
  margin: 18px 0;
}

.site-footer h3 {
  margin-bottom: 16px;
  color: var(--white);
}

.site-footer a:not(.brand),
.site-footer p {
  display: block;
  margin: 0 0 9px;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer a:hover {
  color: var(--teal);
}

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

.social-links a,
.whatsapp-button,
.scroll-top,
.lightbox-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
}

.whatsapp-button svg {
  width: 24px;
  height: 24px;
}

.social-links a {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

.whatsapp-button,
.scroll-top {
  position: fixed;
  right: 18px;
  z-index: 45;
  color: var(--white);
  border: 0;
  box-shadow: 0 16px 34px rgba(8, 48, 82, 0.22);
}

.whatsapp-button {
  bottom: 82px;
  background: #25d366;
}

.scroll-top {
  bottom: 22px;
  opacity: 0;
  pointer-events: none;
  background: var(--blue);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover,
.whatsapp-button:hover {
  transform: translateY(-2px);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(3, 18, 32, 0.88);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(100%, 1040px);
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.lightbox p {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  margin: 0;
  color: var(--white);
  text-align: center;
  font-weight: 900;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.72s ease,
    transform 0.72s ease;
}

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

@keyframes heroFade {
  0%,
  100% {
    opacity: 0;
  }
  4%,
  19% {
    opacity: 1;
  }
  24% {
    opacity: 0;
    transform: scale(1.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1060px) {
  .stats-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-icon-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .certs-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .client-logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .about-layout,
  .contact-layout,
  .map-layout,
  .director-layout {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .navbar {
    min-height: 68px;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid rgba(10, 77, 140, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a,
  .site-header.is-scrolled .nav-links a {
    color: var(--blue-ink);
  }

  .hero {
    min-height: 76svh;
  }

  .hero-content {
    padding-top: 98px;
    padding-bottom: 44px;
  }

  .stats-section {
    margin-top: 0;
    padding: 18px 0 0;
  }

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

  .stat-card {
    min-height: auto;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 190px;
  }

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

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

@media (max-width: 580px) {
  .navbar {
    padding-inline: 14px;
  }

  .brand-text strong {
    font-size: 0.78rem;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .hero-content,
  .section-shell {
    padding-inline: 16px;
  }

  h1 {
    font-size: clamp(2.05rem, 10.5vw, 2.85rem);
    line-height: 1.03;
  }

  h2 {
    font-size: clamp(1.78rem, 10vw, 2.35rem);
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .feature-grid,
  .services-icon-grid,
  .certs-grid,
  .client-logo-grid,
  .industry-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .client-logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section {
    padding: 64px 0;
  }

  .director-name-card {
    width: 92%;
  }

  .values-panel {
    margin-top: 16px;
    width: 100%;
  }

  .india-map-card {
    min-height: auto;
    padding: 8px;
  }

  .logo-slot {
    min-height: 76px;
    padding: 10px 12px;
  }

  .testimonial-card {
    padding: 24px 20px;
  }

  .contact-form {
    padding: 18px;
  }

  .whatsapp-button {
    bottom: 18px;
  }

  .scroll-top {
    bottom: 72px;
  }
}
