/* =====================================================================
   SUPER KING SAFETY NET — STYLESHEET
   ---------------------------------------------------------------------
   Theme colours live in :root as CSS variables. Change them here and
   the whole site updates. Base theme: Navy Blue + White + Amber accent.
   ===================================================================== */

/* ============ THEME VARIABLES (edit these to re-theme) ============ */
:root {
  /* Core palette */
  --navy: #0B2545;
  /* primary dark navy */
  --navy-700: #123a6b;
  /* mid navy */
  --blue: #1B5FA8;
  /* bright blue */
  --accent: #F5A623;
  /* amber accent (CTA / highlights) */
  --accent-2: #ffc662;
  /* lighter amber for glow */

  /* Neutrals */
  --white: #ffffff;
  --paper: #f6f9fd;
  /* very light blue-tinted section bg */
  --paper-2: #eef4fb;
  /* alternate light bg */
  --ink: #16233a;
  /* body text */
  --muted: #5b6b82;
  /* secondary text */
  --line: #e2e9f2;
  /* borders */

  /* Effects */
  --shadow-sm: 0 4px 14px rgba(11, 37, 69, .08);
  --shadow-md: 0 12px 34px rgba(11, 37, 69, .12);
  --shadow-lg: 0 24px 60px rgba(11, 37, 69, .18);
  --radius: 16px;
  --radius-lg: 26px;

  /* Type */
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Layout */
  --header-h: 74px;
}

/* ============ GLOBAL RESET / BASE ============ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  /* guard against horizontal scroll */
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
}

p {
  margin: 0 0 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color .25s ease;
}

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

/* ============ REUSABLE UTILITIES ============ */
.text-accent {
  color: var(--accent) !important;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.65rem);
  margin: 10px 0 14px;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

/* Eyebrow label above titles */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--paper-2);
  padding: 7px 15px;
  border-radius: 100px;
}

.eyebrow.light {
  color: var(--accent-2);
  background: rgba(255, 255, 255, .10);
}

/* ============ BUTTONS (varied hover effects) ============ */
.btn {
  font-family: var(--font-head);
  font-weight: 600;
  border-radius: 100px;
  padding: 12px 26px;
  border: none;
  transition: transform .3s cubic-bezier(.2, .7, .3, 1), box-shadow .3s ease, background .3s ease;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.02rem;
}

/* Accent button: lift + glow on hover */
.btn-accent {
  background: var(--accent);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(245, 166, 35, .35);
}

.btn-accent:hover {
  background: var(--accent-2);
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(245, 166, 35, .5);
}

/* Navy button: fill sweep on hover */
.btn-navy {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.btn-navy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.btn-navy:hover {
  color: #fff;
}

.btn-navy:hover::before {
  transform: scaleX(1);
}

/* Ghost button (on dark hero): border fill on hover */
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .6);
}

.btn-ghost:hover {
  background: #fff;
  color: var(--navy);
  transform: translateY(-3px);
}

/* ============ NET TEXTURE (signature mesh pattern) ============ */
/* A subtle diagonal grid that echoes a safety net. Used as an accent. */
.net-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(45deg, currentColor 1px, transparent 1px),
    linear-gradient(-45deg, currentColor 1px, transparent 1px);
  background-size: 22px 22px;
  color: rgba(27, 95, 168, .10);
  z-index: 0;
}

.net-bg {
  color: rgba(255, 255, 255, .06);
}

/* on dark sections */
.net-corner {
  /* small corner accent */
  inset: auto -14px -14px auto;
  width: 150px;
  height: 150px;
  color: rgba(245, 166, 35, .35);
  border-radius: 12px;
}

/* Blinking status dot */
.blink-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(245, 166, 35, .7);
  animation: dotPulse 1.6s infinite;
}

@keyframes dotPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 166, 35, .7);
  }

  70% {
    box-shadow: 0 0 0 9px rgba(245, 166, 35, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(245, 166, 35, 0);
  }
}

/* =====================================================================
   1. TOP BAR
   ===================================================================== */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, .85);
  font-size: .86rem;
  padding: 8px 0;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, .85);
}

.topbar-link:hover {
  color: var(--accent);
}

.topbar-link i {
  color: var(--accent);
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #fff;
}

.topbar-social a {
  color: rgba(255, 255, 255, .8);
  font-size: 1rem;
  transition: transform .25s ease, color .25s ease;
}

.topbar-social a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

/* =====================================================================
   2. STICKY HEADER
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s ease, padding .3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.site-header .navbar {
  min-height: var(--header-h);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--accent);
  font-size: 1.25rem;
}

.brand-text {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--navy);
  font-size: 1.18rem;
}

.brand-text strong {
  font-weight: 700;
}

.navbar-nav .nav-link {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--ink);
  padding: 8px 14px !important;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--navy);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-toggler {
  border: none;
  font-size: 1.6rem;
  color: var(--navy);
  box-shadow: none !important;
}

/* =====================================================================
   3. HERO CAROUSEL
   ===================================================================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s ease, transform 6s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Dark gradient so text stays readable; heavier on the LEFT where copy sits */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.78) 42%, rgba(0, 0, 0, 0.35) 100%);
}

.hero .net-texture {
  z-index: 1;
  color: rgba(255, 255, 255, .05);
}

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

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

/* content on the LEFT side */
.hero-content h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  margin: 16px 0 18px;
}

.hero-content p {
  color: rgba(255, 255, 255, .9);
  font-size: 1.14rem;
  max-width: 540px;
}

.hero .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 30px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .93rem;
  color: rgba(255, 255, 255, .9);
}

.trust-item i {
  color: var(--accent);
  font-size: 1.05rem;
}

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

.hero-dot {
  width: 30px;
  height: 5px;
  border-radius: 100px;
  border: none;
  background: rgba(255, 255, 255, .4);
  cursor: pointer;
  transition: background .3s ease, width .3s ease;
}

.hero-dot.active {
  background: var(--accent);
  width: 46px;
}

/* =====================================================================
   4. MARQUEE (JS-driven, seamless)
   ===================================================================== */
.marquee {
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  padding: 16px 0;
  border-top: 3px solid var(--accent);
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  will-change: transform;
}

.marquee-item {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0 34px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.marquee-item i {
  color: var(--accent);
  font-size: .7rem;
}

/* =====================================================================
   5. ABOUT US
   ===================================================================== */
.about {
  background: var(--white);
  overflow-x: clip;
}

.about-visual {
  position: relative;
  padding: 0 20px 40px 0;
}

.about-img-main {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
}

.about-img-sub {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 46%;
  border-radius: var(--radius);
  border: 6px solid #fff;
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 1/1;
}

.about-badge {
  position: absolute;
  top: 22px;
  left: -10px;
  background: var(--accent);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about-badge-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.9rem;
  display: block;
  line-height: 1;
}

.about-badge small {
  font-weight: 600;
  font-size: .74rem;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 34px;
  margin: 26px 0;
}

.stat {
  position: relative;
  padding-left: 16px;
}

.stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 4px;
  background: var(--accent);
}

.stat-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.85rem;
  color: var(--navy);
  line-height: 1;
}

.stat p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .9rem;
}

/* Floating animations for images/badges */
.float-y {
  animation: floatY 5s ease-in-out infinite;
}

.float-y-slow {
  animation: floatY 7s ease-in-out infinite;
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

/* =====================================================================
   6. SERVICES (single speciality showcase: image left, content right)
   ===================================================================== */
.services {
  background: var(--paper);
}

.speciality {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Left image panel */
.speciality-media {
  position: relative;
  min-height: 440px;
}

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

.speciality-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  background: #fff;
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 15px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.speciality-chip {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-md);
}

/* Right content panel */
.speciality-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.speciality-content>h3 {
  font-size: 1.95rem;
  color: var(--navy);
  margin: 0;
}

.speciality-content>h3::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  margin: 12px 0 0;
}

.speciality-content>p {
  color: var(--muted);
  font-size: .96rem;
  margin: 16px 0 24px;
}

.speciality-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.feature {
  display: flex;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px 15px 16px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--accent);
}

.feature-ic {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(245, 166, 35, .14);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.feature h4 {
  font-size: .98rem;
  color: var(--navy);
  margin: 0 0 4px;
}

.feature p {
  font-size: .82rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

.speciality-cta {
  align-self: flex-start;
  margin-top: auto;
}


/* =====================================================================
   7. WHY CHOOSE US (dark section + sequential wave-blink)
   ===================================================================== */
.why {
  background: var(--navy);
  overflow: hidden;
}

.why .section-title,
.why .eyebrow {
  position: relative;
  z-index: 1;
}

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

.why-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  color: #fff;
  transition: transform .35s ease, background .35s ease, border-color .35s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, .09);
}

.why-ic {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: rgba(245, 166, 35, .16);
  color: var(--accent);
  margin-bottom: 16px;
  transition: transform .35s ease;
}

.why-card:hover .why-ic {
  transform: scale(1.08) rotate(-4deg);
}

.why-card h3 {
  color: #fff;
  font-size: 1.22rem;
  margin: 0 0 8px;
}

.why-card p {
  color: rgba(255, 255, 255, .72);
  font-size: .92rem;
  margin: 0;
}

/* WAVE-BLINK: highlight travels left -> right across the 4 cards, looping.
   Each card fires with a delay based on --i so the colour "runs" across. */
.wave .why-card {
  animation: waveBlink 4s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.5s);
}

@keyframes waveBlink {

  0%,
  55%,
  100% {
    border-color: rgba(255, 255, 255, .10);
    box-shadow: none;
  }

  15% {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(245, 166, 35, .35), 0 18px 40px rgba(245, 166, 35, .22);
    background: rgba(245, 166, 35, .10);
  }
}

/* =====================================================================
   8. HOW IT WORKS (numbered timeline)
   ===================================================================== */
.how {
  background: var(--white);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

/* connecting dashed line behind the steps (desktop) */
.timeline::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 8%;
  right: 8%;
  height: 2px;
  background-image: linear-gradient(90deg, var(--blue) 50%, transparent 0);
  background-size: 14px 2px;
  opacity: .35;
}

.tl-step {
  position: relative;
  text-align: center;
  padding-top: 8px;
}

.tl-num {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue);
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}

.tl-step:hover .tl-num {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-4px);
}

.tl-body {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 18px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.tl-step:hover .tl-body {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.tl-ic {
  font-size: 1.7rem;
  color: var(--blue);
  display: block;
  margin-bottom: 10px;
}

.tl-body h3 {
  font-size: 1.16rem;
  margin: 0 0 6px;
}

.tl-body p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

/* =====================================================================
   9. GALLERY (4/row desktop, 2/row mobile) + lightbox
   ===================================================================== */
.gallery {
  background: var(--paper-2);
}

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

.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 1/1;
}

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

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

.gallery-item figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 16px;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  background: linear-gradient(to top, rgba(11, 37, 69, .85), transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
}

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

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(11, 37, 69, .92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
  animation: fadeIn .3s ease;
}

.lightbox img {
  max-width: 92%;
  max-height: 86vh;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* =====================================================================
   10. FAQ (custom accordion)
   ===================================================================== */
.faq {
  background: var(--white);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}

.faq-item.open {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--navy);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-q i {
  flex: 0 0 auto;
  color: var(--accent);
  transition: transform .35s ease;
  font-size: 1.1rem;
}

.faq-item.open .faq-q i {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.faq-a p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
}

/* =====================================================================
   11. TESTIMONIALS (custom slider on dark bg)
   ===================================================================== */
.testimonials {
  background: linear-gradient(160deg, var(--navy), var(--navy-700));
  overflow: hidden;
}

.testimonials .section-head,
.tstm-slider {
  position: relative;
  z-index: 1;
}

.tstm-slider {
  max-width: 820px;
  margin: 0 auto;
}

.tstm-viewport {
  overflow: hidden;
}

.tstm-track {
  display: flex;
  transition: transform .55s cubic-bezier(.2, .7, .3, 1);
}

.tstm-card {
  flex: 0 0 100%;
  margin: 0;
  padding: 40px 42px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
}

.tstm-quote {
  font-size: 2.4rem;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}

.tstm-card blockquote {
  font-size: 1.16rem;
  color: #fff;
  line-height: 1.7;
  margin: 0 0 22px;
}

.tstm-card figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tstm-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
}

.tstm-person {
  display: flex;
  flex-direction: column;
  color: #fff;
}

.tstm-person strong {
  font-family: var(--font-head);
}

.tstm-person small {
  color: rgba(255, 255, 255, .6);
}

.tstm-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 26px;
}

.tstm-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .3s ease, transform .3s ease;
}

.tstm-btn:hover {
  background: var(--accent);
  color: var(--navy);
  transform: scale(1.08);
}

.tstm-dots {
  display: flex;
  gap: 9px;
}

.tstm-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .3);
  cursor: pointer;
  transition: background .3s ease, width .3s ease;
}

.tstm-dot.active {
  background: var(--accent);
  width: 26px;
  border-radius: 100px;
}

/* =====================================================================
   12. CONTACT
   ===================================================================== */
.contact {
  background: var(--paper);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
}

.contact-info {
  background: linear-gradient(160deg, var(--navy), var(--navy-700));
  color: #fff;
  padding: 44px 38px;
  position: relative;
}

.contact-info h3 {
  color: #fff;
  margin: 0 0 24px;
}

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

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ci-ic {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(245, 166, 35, .18);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.ci-text {
  display: flex;
  flex-direction: column;
  font-size: .95rem;
  color: rgba(255, 255, 255, .82);
}

.ci-text strong {
  color: #fff;
  font-family: var(--font-head);
  margin-bottom: 2px;
}

.ci-text a {
  color: rgba(255, 255, 255, .82);
}

.ci-text a:hover {
  color: var(--accent);
}

.contact-social {
  display: flex;
  gap: 12px;
}

.contact-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background .3s ease, transform .3s ease;
}

.contact-social a:hover {
  background: var(--accent);
  color: var(--navy);
  transform: translateY(-3px);
}

.contact-form {
  padding: 44px 38px;
}

.form-label {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .9rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.contact-form .form-control,
.contact-form .form-select {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 15px;
  font-size: .96rem;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, .18);
}

.form-note {
  margin: 4px 0 0;
  font-weight: 600;
  font-family: var(--font-head);
  font-size: .92rem;
}

.form-note.ok {
  color: #1a8a4a;
}

.form-note.err {
  color: #c0392b;
}

/* =====================================================================
   13. FOOTER
   ===================================================================== */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .72);
  padding: 66px 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.24rem;
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand-text {
  line-height: 1.18;
}

.footer-brand-text strong {
  display: block;
  font-weight: 700;
}

.site-footer h4 {
  color: #fff;
  font-size: 1.05rem;
  margin: 0 0 18px;
}

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

.site-footer p {
  font-size: .93rem;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background .3s ease, transform .3s ease;
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--navy);
  transform: translateY(-3px);
}

.footer-links a {
  color: rgba(255, 255, 255, .72);
  font-size: .93rem;
  transition: color .25s ease, padding-left .25s ease;
}

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

.footer-contact li {
  display: flex;
  gap: 10px;
  font-size: .93rem;
  align-items: flex-start;
}

.footer-contact i {
  color: var(--accent);
  margin-top: 4px;
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 46px;
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: space-between;
}

.footer-bottom p {
  margin: 0;
  font-size: .86rem;
}

/* =====================================================================
   14. FLOATING BUTTONS + BACK TO TOP
   ===================================================================== */
.float-btn {
  position: fixed;
  bottom: 26px;
  z-index: 1500;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: transform .3s ease;
}

.float-btn:hover {
  transform: scale(1.1);
  color: #fff;
}

.float-whatsapp {
  left: 24px;
  background: #25D366;
  animation: floatPulseGreen 2s infinite;
}

.float-call {
  right: 24px;
  background: var(--accent);
  color: var(--navy);
  animation: floatPulseAmber 2s infinite;
}

.float-call:hover {
  color: var(--navy);
}

@keyframes floatPulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .6);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes floatPulseAmber {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 166, 35, .6);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(245, 166, 35, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(245, 166, 35, 0);
  }
}

.back-top {
  position: fixed;
  bottom: 26px;
  right: 24px;
  z-index: 1400;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, background .3s ease;
}

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

.back-top:hover {
  background: var(--blue);
}

/* when back-to-top is visible it shares the corner with call btn; nudge call btn up */
body.has-backtop .float-call {
  bottom: 84px;
}

/* =====================================================================
   SCROLL REVEAL (IntersectionObserver adds .in-view)
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 991px) {
  .section {
    padding: 72px 0;
  }

  .site-header .navbar-collapse {
    background: #fff;
    margin-top: 12px;
    padding: 14px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
  }

  .navbar-nav .nav-link::after {
    display: none;
  }

  .navbar-nav .btn-accent {
    display: inline-block;
    margin-top: 8px;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(11, 37, 69, .92) 0%, rgba(11, 37, 69, .82) 60%, rgba(11, 37, 69, .6) 100%);
  }

  /* Speciality showcase -> stack image over content */
  .speciality {
    grid-template-columns: 1fr;
  }

  .speciality-media {
    min-height: 300px;
  }

  /* Why + timeline -> 2 columns */
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .timeline::before {
    display: none;
  }

  /* Contact stacks */
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .about-visual {
    padding-bottom: 30px;
  }
}

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

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

  .topbar {
    font-size: .8rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-cta .btn {
    flex: 1 1 100%;
    text-align: center;
  }

  /* Speciality -> features single column, tighter padding */
  .speciality-features {
    grid-template-columns: 1fr;
  }

  .speciality-content {
    padding: 26px 22px 28px;
  }

  .speciality-content>h3 {
    font-size: 1.6rem;
  }

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

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

  /* Gallery -> 2 per row on mobile (as required) */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .contact-info,
  .contact-form {
    padding: 30px 22px;
  }

  .float-btn {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  /* About stats -> keep all three on ONE line, evenly aligned */
  .about-stats {
    flex-wrap: nowrap;
    gap: 12px;
  }

  .stat {
    flex: 1 1 0;
    min-width: 0;
    padding-left: 10px;
  }

  .stat-num {
    font-size: 1.35rem;
  }

  .stat p {
    font-size: .72rem;
    line-height: 1.3;
    margin-top: 3px;
  }

  /* Footer: brand block left, link columns aligned 2-up, contact full width.
     Extra bottom space so the fixed WhatsApp/Call buttons never sit on text. */
  .site-footer {
    padding-top: 50px;
  }

  .footer-about {
    margin-bottom: 8px;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .footer-contact li {
    font-size: .9rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 4px;
    padding: 22px 70px 140px;
  }
}

/* Gallery: keep exactly 4 per row on wide desktop, honoured by default grid.
   Tablet gets 3 for balance. */
@media (min-width: 576px) and (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =====================================================================
   ACCESSIBILITY: respect reduced motion
   (marquee is JS-driven and also checks this flag in script.js)
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

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

  .hero-slide.active {
    transform: none;
  }
}

/* Keyboard focus visibility */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}