/* ==========================================================================
   TTS — Tahir Termite Services (Pvt.) Ltd.
  background-color: var(--background);
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

*/

:root {
  --primary: #0B1B5E;
  --primary-dark: #050D38;
  --primary-light: #1E40AF;
  --accent: #D9A441;
  --accent-dark: #A87516;
  --accent-light: #F0C96A;
  --background: #FFFFFF;
  --background-soft: #F1F4FB;
  --surface: #FFFFFF;
  --border: #D5DDF0;
  --border-dark: #AAB7D6;
  --text-primary: #172554;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-light: #FFFFFF;
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: 'Segoe UI', Tahoma, sans-serif;
  --container-max-width: 1240px;
  --header-height-top: 96px;
  --header-height-scrolled: 76px;
  --radius-sm: 0.4rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --shadow-subtle: 0 4px 16px rgba(11, 27, 94, 0.08);
  --shadow-card: 0 12px 30px rgba(11, 27, 94, 0.12);
  --shadow-elevated: 0 20px 50px rgba(5, 13, 56, 0.18);
  --shadow-hover: 0 18px 38px rgba(11, 27, 94, 0.18);
  --transition-fast: 180ms ease;
  --transition-base: 280ms ease;
  --transition-smooth: 420ms cubic-bezier(0.16, 1, 0.3, 1);
  --pin-x: 50%;
  --pin-y: 50%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--background);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Animated visual frame for content photographs */
div:has(> img[src*="assets/images/"]):not(.preloader-logo-icon):not(.logo-symbol):not(.lightbox-dialog) {
  position: relative;
  isolation: isolate;
  animation: imageBlobFrame 5s infinite ease-in-out;
}

div:has(> img[src*="assets/images/"])>img {
  position: relative;
  z-index: 1;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  margin-bottom: 1.2rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

p.lead {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--text-primary);
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-dark);
}

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

svg path[fill="#12372A"] {
  fill: var(--primary);
}

ul,
ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 960px;
}

/* Section Common Spacing */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-dark {
  background-color: var(--primary);
  color: var(--text-light);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #FFFFFF;
}

.section-dark p {
  color: #D7DEEF;
}

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

.section-surface {
  background-color: var(--surface);
}

.location-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.25rem 0.65rem;
  border: 1px solid #D5DDF0;
  border-radius: 999px;
  background: #F1F4FB;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
}

.locations-showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.locations-showcase-panel {
  min-width: 0;
}

.location-primary-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 244, 251, 0.88));
  border: 2px solid rgba(11, 27, 94, 0.22);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.location-primary-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -30% auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 164, 65, 0.18), transparent 68%);
  pointer-events: none;
}

.location-address {
  color: var(--text-secondary);
  margin-bottom: 1.15rem;
  font-size: 1.02rem;
}

.location-summary {
  font-size: 0.96rem;
  color: var(--text-secondary);
  margin-bottom: 1.4rem;
}

.location-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.location-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.detail-item {
  background: rgba(11, 27, 94, 0.04);
  border: 1px solid rgba(11, 27, 94, 0.08);
  border-radius: 0.9rem;
  padding: 0.9rem 0.75rem;
}

.detail-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.detail-item strong {
  color: var(--primary);
  font-size: 0.92rem;
}

.hotline-box {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  background: rgba(217, 164, 65, 0.12);
  color: var(--primary);
  border: 1px solid rgba(217, 164, 65, 0.28);
  border-radius: 999px;
  padding: 0.8rem 1rem;
  font-weight: 700;
}

.globe-panel {
  display: flex;
  justify-content: center;
}

.globe-stage {
  position: relative;
  width: min(100%, 480px);
  display: grid;
  place-items: center;
  padding: 0.5rem 0 1.2rem;
}

.growth-sphere-canvas {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: block;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(214, 237, 255, 0.92), rgba(93, 145, 255, 0.82) 18%, rgba(12, 41, 101, 0.95) 55%, rgba(3, 14, 39, 1) 100%);
  box-shadow:
    inset -28px -28px 38px rgba(2, 8, 28, 0.84),
    inset 18px 16px 24px rgba(170, 220, 255, 0.18),
    0 26px 55px rgba(11, 27, 94, 0.2);
  border: 1px solid rgba(157, 188, 255, 0.25);
  animation: globeFloat 9s ease-in-out infinite;
}

.growth-sphere-canvas canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  border-radius: 50%;
}

.globe-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.globe-ring-one {
  inset: 11% 18%;
  transform: rotateX(72deg) rotateY(18deg);
}

.globe-ring-two {
  inset: 5% 8%;
  transform: rotateX(72deg) rotateY(-22deg);
}

.globe-marker {
  position: absolute;
  left: var(--pin-x);
  top: var(--pin-y);
  transform: translate(-50%, -50%);
  z-index: 3;
}

.globe-pin {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 45% 55% 60% 40% / 45% 40% 60% 55%;
  background: linear-gradient(135deg, #ffe7a0, #d9a441 48%, #b98525);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 8px rgba(217, 164, 65, 0.18), 0 0 24px rgba(217, 164, 65, 0.45);
  animation: pulseMarker 2.2s ease-in-out infinite;
}

.globe-label {
  position: absolute;
  left: 50%;
  top: -2.2rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  background: rgba(11, 27, 94, 0.84);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(11, 27, 94, 0.25);
}

.globe-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.2rem;
  color: var(--primary);
}

.globe-caption-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 27, 94, 0.06);
  border: 1px solid rgba(11, 27, 94, 0.12);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  font-weight: 700;
}

.globe-caption strong {
  font-size: 1.1rem;
  color: var(--primary);
}

@keyframes globeFloat {

  0%,
  100% {
    transform: rotateX(16deg) rotateY(-18deg) translateY(0);
  }

  50% {
    transform: rotateX(18deg) rotateY(-10deg) translateY(-10px);
  }
}

@keyframes globeSpin {
  0% {
    transform: scale(1.06) rotateZ(0deg);
  }

  100% {
    transform: scale(1.06) rotateZ(360deg);
  }
}

@keyframes pulseMarker {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(217, 164, 65, 0.18), 0 0 24px rgba(217, 164, 65, 0.4);
  }

  50% {
    transform: scale(1.12);
    box-shadow: 0 0 0 12px rgba(217, 164, 65, 0.12), 0 0 28px rgba(217, 164, 65, 0.52);
  }
}

@media (max-width: 900px) {
  .locations-showcase {
    grid-template-columns: 1fr;
  }

  .globe-stage {
    width: min(100%, 420px);
  }
}

@media (max-width: 640px) {
  .location-primary-card {
    padding: 1.5rem;
  }

  .location-details-grid {
    grid-template-columns: 1fr;
  }

  .globe-shell {
    width: min(100%, 310px);
  }

  .globe-label {
    min-width: 80px;
    font-size: 0.64rem;
  }
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(217, 164, 65, 0.14);
  color: var(--accent-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(217, 164, 65, 0.3);
  margin-bottom: 1rem;
}

.section-dark .section-badge {
  background-color: rgba(217, 164, 65, 0.2);
  color: var(--accent-light);
  border-color: rgba(232, 200, 120, 0.35);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1.2;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--primary-dark);
  box-shadow: 0 4px 14px rgba(217, 164, 65, 0.3);
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(185, 133, 37, 0.4);
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(11, 27, 94, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  color: #FFFFFF;
  box-shadow: 0 6px 22px rgba(30, 64, 175, 0.35);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-white:hover {
  background-color: #FFFFFF;
  color: var(--primary-dark);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 1.05rem 2.25rem;
  font-size: 1.05rem;
}

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light) 0%, var(--accent) 100%);
  z-index: 1100;
  transition: width 80ms ease-out;
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  background-color: var(--primary-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s;
}

body.preloader-active {
  overflow: hidden;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-brand {
  text-align: center;
  margin-bottom: 1rem;
}

.preloader-logo-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(217, 164, 65, 0.6);
  background-color: #FFFFFF;
  animation: logoPreloader 1.8s ease-in-out infinite;
}

.preloader-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preloader-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: #FFFFFF;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.preloader-subtitle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--accent-light);
  text-transform: uppercase;
}

.preloader-scene {
  position: relative;
  width: min(620px, 90vw);
  height: 170px;
  overflow: hidden;
}

.preloader-floor {
  position: absolute;
  bottom: 20px;
  left: 8%;
  width: 84%;
  height: 2px;
  background: var(--primary-light);
  box-shadow: 0 0 14px rgba(30, 64, 175, 0.85);
  opacity: 0.8;
}

.preloader-spray-can {
  position: absolute;
  left: 9%;
  top: 68px;
  width: 42px;
  height: 68px;
  border: 2px solid var(--accent);
  border-radius: 8px 8px 11px 11px;
  background: linear-gradient(90deg, #d9a441, #f5d27f 48%, #b98525 100%);
  transform: rotate(-23deg);
  animation: sprayCanMove 1s ease-in-out infinite alternate;
}

.preloader-spray-can::before {
  content: '';
  position: absolute;
  top: -11px;
  left: 7px;
  width: 25px;
  height: 12px;
  border-radius: 4px 4px 1px 1px;
  background: var(--accent-light);
}

.preloader-spray-can span {
  position: absolute;
  top: -17px;
  right: -10px;
  width: 17px;
  height: 8px;
  border-radius: 0 5px 5px 0;
  background: #ffffff;
}

.preloader-spray-stream {
  position: absolute;
  left: 18%;
  top: 83px;
  width: 260px;
  height: 50px;
  transform: rotate(-5deg);
}

.preloader-spray-stream i {
  position: absolute;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e8f5dc;
  box-shadow: 0 0 9px rgba(232, 245, 220, 0.9);
  animation: sprayDrop 1.05s linear infinite;
}

.preloader-spray-stream i:nth-child(2) {
  top: 20px;
  animation-delay: 0.18s;
}

.preloader-spray-stream i:nth-child(3) {
  top: 30px;
  animation-delay: 0.36s;
}

.preloader-spray-stream i:nth-child(4) {
  top: 15px;
  animation-delay: 0.54s;
}

.preloader-spray-stream i:nth-child(5) {
  top: 38px;
  animation-delay: 0.72s;
}

.preloader-pest {
  position: absolute;
  top: 76px;
  left: 69%;
  width: 65px;
  height: 42px;
  transform: translateX(-50%);
  animation: pestAlive 0.9s ease-in-out infinite, pestDeath 1.35s 0.1s forwards;
}

.pest-body {
  position: absolute;
  left: 18px;
  top: 10px;
  width: 34px;
  height: 22px;
  border-radius: 55% 45% 45% 55%;
  background: linear-gradient(90deg, #3a2117, #9b5f2e 55%, #2a1811);
  box-shadow: inset -5px 0 rgba(0, 0, 0, 0.24), 0 3px 5px rgba(0, 0, 0, 0.35);
}

.pest-body::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 6px;
  width: 13px;
  height: 12px;
  border-radius: 50%;
  background: #2a1811;
}

.pest-antenna {
  position: absolute;
  top: 10px;
  left: 11px;
  width: 20px;
  height: 1px;
  background: #c6925f;
  transform-origin: left center;
}

.pest-antenna-left {
  transform: rotate(-35deg);
}

.pest-antenna-right {
  transform: rotate(25deg);
}

.pest-leg {
  position: absolute;
  left: 22px;
  width: 27px;
  height: 1px;
  background: #c6925f;
  transform-origin: left center;
}

.pest-leg-one {
  top: 13px;
  transform: rotate(145deg);
}

.pest-leg-two {
  top: 19px;
  transform: rotate(165deg);
}

.pest-leg-three {
  top: 13px;
  transform: rotate(35deg);
}

.pest-leg-four {
  top: 20px;
  transform: rotate(15deg);
}

.preloader-impact {
  position: absolute;
  left: 69%;
  top: 96px;
  width: 24px;
  height: 24px;
  border: 2px solid var(--accent-light);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  animation: preloaderImpact 1.35s 0.1s forwards;
}

/* Announcement / Top Bar */
.topbar {
  background-color: var(--primary-dark);
  color: #D9E1F2;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.55rem 0;
  position: relative;
  z-index: 1001;
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar-items {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #C8D8CE;
  font-size: 0.88rem;
}

.topbar-item a {
  color: #FFFFFF;
  font-weight: 600;
}

.topbar-item a:hover {
  color: var(--accent-light);
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}

.topbar-badge {
  background-color: rgba(217, 164, 65, 0.2);
  color: var(--accent-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.18rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(217, 164, 65, 0.35);
}

/* Main Header */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all var(--transition-base);
}

.site-header.header-scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-subtle);
  border-bottom-color: rgba(220, 227, 221, 0.7);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height-top);
  transition: height var(--transition-base);
}

.site-header.header-scrolled .header-container {
  height: var(--header-height-scrolled);
}

/* Brand Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.logo-symbol {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  border: 2px solid rgba(217, 164, 65, 0.5);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  flex-shrink: 0;
  overflow: hidden;
}

.logo-symbol svg {
  display: none;
}

.logo-symbol::before {
  content: '';
  width: 100%;
  height: 100%;
  background: url('../images/logo.png') center / cover no-repeat;
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.site-logo:hover .logo-symbol {
  transform: scale(1.06);
  box-shadow: 0 4px 12px rgba(217, 164, 65, 0.35);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--primary);
  line-height: 1;
}

.logo-main span {
  color: var(--accent-dark);
}

.logo-sub {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-top: 0.2rem;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.95rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  overflow: hidden;
  z-index: 0;
}

.nav-link::before {
  position: absolute;
  top: 50%;
  left: -5em;
  width: 20em;
  height: 20em;
  content: '';
  border-radius: 50%;
  transform: translateY(-50%);
  transition: box-shadow 0.5s ease-out;
  z-index: -1;
}

.nav-link:hover::before,
.nav-item:hover>.nav-link::before,
.nav-link.active::before {
  box-shadow: inset 0 0 0 10em var(--primary);
}

.nav-link svg.dropdown-arrow {
  width: 11px;
  height: 11px;
  stroke-width: 2.5;
  color: var(--text-secondary);
  transition: transform var(--transition-base);
}

.nav-link svg.nav-link-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: currentColor;
}

.nav-link:hover,
.nav-item:hover>.nav-link,
.nav-link.active {
  color: #FFFFFF;
  background-color: transparent;
}

.nav-item:hover>.nav-link svg.dropdown-arrow {
  transform: rotate(180deg);
  color: var(--accent-dark);
}

.nav-link:hover svg.dropdown-arrow,
.nav-item:hover>.nav-link svg.dropdown-arrow,
.nav-link.active svg.dropdown-arrow {
  color: var(--accent-light);
}

/* Mega Menu & Dropdown */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background-color: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-elevated);
  border: 1px solid var(--border);
  padding: 1.5rem;
  min-width: 680px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 280ms ease, transform 280ms cubic-bezier(0.16, 1, 0.3, 1), visibility 280ms;
  z-index: 1050;
}

.mega-menu-simple {
  min-width: 240px;
  padding: 0.75rem 0.5rem;
  left: 0;
  transform: translateY(12px);
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-item:hover .mega-menu-simple,
.nav-item:focus-within .mega-menu-simple {
  transform: translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.mega-column-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  padding-left: 0.75rem;
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
  text-decoration: none;
}

.mega-item:hover {
  background-color: var(--background-soft);
}

.mega-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background-color: rgba(11, 27, 94, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.mega-item:hover .mega-icon {
  background-color: var(--accent);
  color: var(--primary-dark);
}

.mega-content-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  line-height: 1.3;
}

.mega-content-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
  display: block;
  margin-top: 0.2rem;
}

.mega-banner {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.mega-banner a {
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle-btn {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
  transition: background-color var(--transition-fast);
}

.nav-toggle-btn:hover {
  background-color: var(--background-soft);
}

/* Mobile Drawer Navigation */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(5, 13, 56, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 88%;
  max-width: 380px;
  background-color: var(--surface);
  z-index: 1050;
  overflow-y: auto;
  box-shadow: var(--shadow-elevated);
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.mobile-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.mobile-drawer-close {
  background: none;
  border: none;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
}

.mobile-nav-list {
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-item {
  border-bottom: 1px solid rgba(220, 227, 221, 0.45);
  padding-bottom: 0.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary);
  padding: 0.6rem 0;
}

.mobile-accordion-btn {
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.mobile-accordion-btn.expanded {
  transform: rotate(180deg);
  color: var(--accent-dark);
}

.mobile-sub-menu {
  display: none;
  padding: 0.5rem 0 0.75rem 1rem;
}

.mobile-sub-menu.open {
  display: block;
}

.mobile-sub-item a {
  display: block;
  padding: 0.45rem 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.mobile-sub-item a:hover {
  color: var(--primary);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding: 1.5rem;
  background-color: var(--background-soft);
  border-top: 1px solid var(--border);
}

.mobile-drawer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
  color: var(--text-primary);
}

.mobile-drawer-contact-numbers {
  display: grid;
  gap: 0.25rem;
}

.mobile-drawer-contact-numbers a {
  line-height: 1.35;
}

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--primary-dark);
  padding: 5rem 0 6rem 0;
  overflow: hidden;
}

.hero-background-video,
.hero-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-background-video {
  z-index: 0;
  object-fit: cover;
  object-position: center;
}

.hero-video-overlay {
  z-index: 1;
  background: linear-gradient(90deg, rgba(247, 245, 239, 0.97) 0%, rgba(247, 245, 239, 0.88) 46%, rgba(5, 13, 56, 0.54) 100%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: radial-gradient(#0B1B5E 0.75px, transparent 0.75px);
  background-size: 28px 28px;
  opacity: 0.06;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

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

.hero-badge-container {
  margin-bottom: 1.25rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--surface);
  border: 1px solid var(--border);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-subtle);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  display: inline-block;
}

.hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  line-height: 1.18;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.hero-title span.highlight {
  color: var(--primary-light);
  position: relative;
}

.hero-description {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.trust-item-micro {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 600;
}

.trust-item-micro svg {
  width: 20px;
  height: 20px;
  color: var(--accent-dark);
}

/* 3D Shield Interactive Component & Hero Visual */
.hero-visual-wrapper {
  position: relative;
  perspective: 1200px;
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  background-color: var(--surface);
  border: 1px solid var(--border);
  transform-style: preserve-3d;
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-image-box {
  position: relative;
  height: 480px;
  overflow: hidden;
  background-color: var(--primary-dark);
}

.hero-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 13, 56, 0.15) 0%, rgba(5, 13, 56, 0.78) 100%);
}

/* Floating 3D Shield Badge */
.hero-floating-badge {
  position: absolute;
  bottom: 1.75rem;
  left: 1.75rem;
  right: 1.75rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transform: translateZ(40px);
}

.badge-shield-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.badge-text-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.badge-text-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* Trust Statistics Bar */
.trust-bar {
  background-color: var(--primary-dark);
  color: #FFFFFF;
  padding: 3.5rem 0;
  border-top: 2px solid var(--accent);
  position: relative;
  z-index: 10;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.trust-metric-card {
  text-align: center;
  padding: 1rem;
  position: relative;
}

.trust-metric-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.15);
}

.trust-metric-number {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 3.5vw, 3.2rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.trust-metric-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}

.trust-metric-sub {
  font-size: 0.82rem;
  color: #A9BDB2;
  margin-top: 0.25rem;
}

/* Editorial About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
  background-color: var(--primary-dark);
}

.about-experience-stamp {
  position: absolute;
  bottom: -25px;
  right: -20px;
  background-color: var(--primary);
  color: #FFFFFF;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  border: 3px solid var(--accent);
  box-shadow: var(--shadow-elevated);
  text-align: center;
}

.stamp-years {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.stamp-text {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #E8F0EA;
  margin-top: 0.3rem;
}

.about-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.about-feature-bullet {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(30, 64, 175, 0.12);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.about-feature-bullet svg {
  width: 12px;
  height: 12px;
}

.about-feature-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.about-feature-text span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Service Cards Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: transparent;
  transition: background-color var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(30, 64, 175, 0.4);
}

.service-card:hover::before {
  background-color: var(--accent);
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  background-color: var(--background-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background-color: var(--primary);
  color: var(--accent);
}

.service-icon-box svg {
  width: 30px;
  height: 30px;
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  color: var(--primary);
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-link {
  color: var(--accent-dark);
}

.service-card:hover .service-link svg {
  transform: translateX(6px);
}

/* Property Guides */
.blog-hero {
  padding-bottom: 2.5rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(30, 64, 175, 0.4);
  box-shadow: var(--shadow-hover);
}

.blog-card-number {
  color: var(--accent-dark);
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.blog-card-meta,
.blog-byline {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-card h3 {
  color: var(--primary);
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 0.7rem 0 0.85rem;
}

.blog-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-card .service-link {
  align-self: flex-start;
}

.blog-article-section {
  scroll-margin-top: 100px;
}

.blog-article {
  max-width: 820px;
}

.blog-article-heading {
  margin-bottom: 2rem;
}

.blog-article-heading h2 {
  margin-bottom: 0.75rem;
}

.blog-article p {
  font-size: 1.02rem;
  line-height: 1.8;
}

.blog-checklist {
  margin: 1.5rem 0 1.75rem;
  padding-left: 1.5rem;
}

.blog-checklist li {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.7rem;
  padding-left: 0.35rem;
}

/* Featured Termite Spotlight */
.termite-spotlight {
  background-color: var(--background-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 3.5rem;
  margin-top: 3.5rem;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.chemical-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

/* Why Choose TTS (Dark Green) */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

.why-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  transition: all var(--transition-base);
}

.why-card:hover {
  background-color: rgba(255, 255, 255, 0.09);
  border-color: rgba(217, 164, 65, 0.4);
  transform: translateY(-4px);
}

.why-number {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.why-title {
  font-size: 1.28rem;
  color: #FFFFFF;
  margin-bottom: 0.85rem;
}

.why-desc {
  font-size: 0.95rem;
  color: #BACBC0;
  line-height: 1.6;
}

/* Interactive Process Timeline */
.process-timeline {
  position: relative;
  margin-top: 3.5rem;
}

.timeline-track-svg {
  position: absolute;
  top: 52px;
  left: 5%;
  width: 90%;
  height: 4px;
  z-index: 1;
}

.timeline-track-bg {
  stroke: var(--border);
  stroke-width: 3;
}

.timeline-track-fill {
  stroke: var(--accent);
  stroke-width: 3;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.process-step-card {
  text-align: center;
  padding: 0 1rem;
}

.step-node {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background-color: var(--surface);
  border: 3px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-base);
  position: relative;
}

.process-step-card.active .step-node {
  border-color: var(--accent);
  background-color: var(--primary);
  box-shadow: 0 0 0 6px rgba(217, 164, 65, 0.2);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.process-step-card.active .step-number {
  color: var(--accent-light);
}

.step-icon {
  color: var(--primary);
  margin-top: 0.2rem;
}

.process-step-card.active .step-icon {
  color: #FFFFFF;
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
  color: var(--primary);
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Residential & Commercial Feature Split */
.split-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.split-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.75rem;
  color: #FFFFFF;
  background-color: var(--primary-dark);
}

.split-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.split-card:hover .split-card-bg {
  transform: scale(1.05);
}

.split-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 13, 56, 0.2) 0%, rgba(5, 13, 56, 0.88) 80%);
  z-index: 2;
}

.split-card-content {
  position: relative;
  z-index: 3;
}

.split-card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.75rem;
}

.split-card-title {
  font-size: 1.85rem;
  color: #FFFFFF;
  margin-bottom: 0.85rem;
}

.split-card-desc {
  font-size: 1rem;
  color: #DEE8E2;
  margin-bottom: 1.5rem;
}

/* Gallery & Filter Tabs */
.gallery-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background-color: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

/* 3D certificate portfolio carousel */
.certificate-showcase {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 1rem;
  min-height: 520px;
  margin-bottom: 3.5rem;
  padding: 1.5rem 2rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--background-soft), var(--surface));
}


.certificate-showcase-copy {
  max-width: 340px;
  padding-left: 1rem;
}

.certificate-showcase-copy h3 {
  margin: 0.45rem 0 0.8rem;
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  line-height: 1.25;
  color: var(--primary-dark);
}

.certificate-showcase-copy p {
  color: var(--text-secondary);
}

.certificate-showcase-hint {
  display: block;
  margin-top: 1.25rem;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.certificate-gallery {
  display: flex;
  width: 100%;
  height: 500px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 2200px;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.certificate-gallery:active {
  cursor: grabbing;
}

.certificate-carousel {
  position: relative;
  width: 230px;
  height: 330px;
  transform: rotateX(-6deg);
  transform-style: preserve-3d;
}

.certificate-ring,
.certificate-face-wrap {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.certificate-ring {
  position: relative;
  will-change: transform;
}

.certificate-face-wrap {
  position: absolute;
  inset: 0;
}

.certificate-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 5px solid #FFFFFF;
  border-radius: var(--radius-md);
  background-color: #FFFFFF;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow: 0 15px 40px rgba(5, 13, 56, 0.28);
  backface-visibility: hidden;
}

.certificate-face:hover {
  border-color: var(--accent-light);
}

.certificate-face-back {
  transform: rotateY(180deg);
  filter: brightness(0.35);
}

.video-showcase-card {
  width: 100%;
  max-width: 520px;
  margin: 2rem auto 0;
  padding: 1.6rem 1.2rem 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(9, 22, 72, 0.96), rgba(13, 31, 81, 0.96));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 18px 38px rgba(6, 15, 54, 0.2);
}

.video-showcase-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #F4F7FF;
}

.video-play-badge {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  border: 3px solid rgba(217, 164, 65, 0.9);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 1.1rem;
  color: var(--accent);
  box-shadow: 0 0 0 8px rgba(217, 164, 65, 0.05);
}

.video-play-badge svg {
  width: 44px;
  height: 44px;
  margin-left: 6px;
}

.video-showcase-header h2 {
  color: #F4F7FF;
  margin: 0 0 0.3rem;
  font-size: clamp(2rem, 2.8vw, 2.5rem);
}

.video-showcase-header p {
  color: rgba(244, 247, 255, 0.7);
  font-size: 1.05rem;
  margin: 0;
}

.video-list {
  display: grid;
  gap: 0.85rem;
}

.video-item-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(29, 54, 109, 0.9), rgba(18, 38, 82, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.video-item-card:hover,
.video-item-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  border-color: rgba(217, 164, 65, 0.55);
}

.video-item-card img {
  width: 112px;
  height: 78px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.video-item-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: #F4F7FF;
}

.video-item-title {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.3;
  color: #F4F7FF;
  margin-bottom: 0.1rem;
}

.video-item-meta {
  color: rgba(244, 247, 255, 0.76);
  font-size: 0.98rem;
}

.about-video-section {
  max-width: 920px;
  margin: 0 auto;
}

.about-video-section .section-header {
  margin-bottom: 2rem;
}

.about-video-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: var(--primary-dark);
  box-shadow: var(--shadow-card);
  text-decoration: none;
}

.about-video-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 13, 56, 0.02) 45%, rgba(5, 13, 56, 0.72) 100%);
  pointer-events: none;
}

.about-video-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.about-video-card:hover img,
.about-video-card:focus-visible img {
  transform: scale(1.025);
  filter: brightness(0.82);
}

.about-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 50%;
  background-color: #E62117;
  color: #FFFFFF;
  box-shadow: 0 10px 26px rgba(5, 13, 56, 0.35);
  transform: translate(-50%, -50%);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.about-video-card:hover .about-video-play,
.about-video-card:focus-visible .about-video-play {
  background-color: #C91D15;
  transform: translate(-50%, -50%) scale(1.08);
}

.about-video-play svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
}

.about-video-label {
  position: absolute;
  right: 1.25rem;
  bottom: 1rem;
  z-index: 1;
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

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

.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 13, 56, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

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

.gallery-item-tag {
  font-size: 0.75rem;
  color: var(--accent-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.gallery-item-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #FFFFFF;
  margin-top: 0.2rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(5, 15, 11, 0.94);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

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

.lightbox-image {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #FFFFFF;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.lightbox-counter {
  color: var(--accent-light);
  font-weight: 600;
}

.lightbox-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.lightbox-close-btn:hover {
  background-color: var(--accent);
  color: var(--primary-dark);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-nav-btn:hover {
  background-color: var(--accent);
  color: var(--primary-dark);
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

/* Testimonials Carousel */
.testimonial-card-wrapper {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  background: transparent;
  padding: 1.1rem 0 0;
  text-align: center;
  overflow: hidden;
}

.quote-icon {
  display: none;
}

.testimonial-rating-stars {
  display: none;
}

.testimonial-carousel-container {
  overflow: hidden;
}

.testimonial-marquee {
  overflow: hidden;
  width: 100%;
}

.testimonial-marquee-track {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  width: max-content;
  will-change: auto;
}

.testimonial-row {
  display: flex;
  width: max-content;
  gap: 0.85rem;
  animation: testimonialRowMarquee 52s linear infinite;
  will-change: transform;
}

.testimonial-row:nth-child(2) {
  animation-direction: reverse;
}

.testimonial-marquee:hover .testimonial-row {
  animation-play-state: paused;
}

@keyframes testimonialRowMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.testimonial-slide {
  flex: 0 0 auto;
  width: 218px;
  min-height: 178px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.9rem 0.85rem 0.75rem;
  border-radius: 0.35rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 18px rgba(12, 32, 18, 0.06);
  text-align: left;
}

.testimonial-stars {
  color: var(--accent);
  font-size: 0.68rem;
  letter-spacing: 0.08rem;
  margin-bottom: 0.45rem;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.78rem;
  line-height: 1.42;
  color: var(--primary-dark);
  margin: 0 0 0.65rem;
}

.testimonial-author-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--primary);
}

.testimonial-author-meta {
  font-size: 0.62rem;
  color: var(--text-secondary);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.carousel-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background-color: var(--surface);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-arrow:hover {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.carousel-indicators {
  display: flex;
  gap: 0.5rem;
}

.indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.indicator-dot.active {
  background-color: var(--accent);
  width: 24px;
  border-radius: 6px;
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item.expanded {
  border-color: rgba(30, 64, 175, 0.4);
  box-shadow: var(--shadow-subtle);
}

.faq-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.75rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.4;
  gap: 1.5rem;
}

.faq-icon-indicator {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--background-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-base), background-color var(--transition-fast);
}

.faq-item.expanded .faq-icon-indicator {
  transform: rotate(180deg);
  background-color: var(--accent);
  color: var(--primary-dark);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-panel-content {
  padding: 0 1.75rem 1.5rem 1.75rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 1rem;
}

/* Breadcrumbs */
.breadcrumbs-bar {
  background-color: var(--background-soft);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.breadcrumbs-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
}

.breadcrumbs-list a {
  color: var(--text-primary);
  font-weight: 600;
}

.breadcrumbs-list a:hover {
  color: var(--primary);
}

.breadcrumbs-separator {
  color: var(--text-muted);
}


/* Service Inner Page Layout */
.service-page-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  align-items: start;
}

.service-sidebar {
  position: sticky;
  top: 100px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-subtle);
}

.sidebar-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--primary);
}

.sidebar-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sidebar-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.sidebar-nav-link:hover,
.sidebar-nav-link.active {
  background-color: var(--background-soft);
  color: var(--primary);
  font-weight: 700;
}

.sidebar-nav-link.active {
  border-left: 3px solid var(--accent);
}

.sidebar-cta-card {
  margin-top: 2rem;
  background-color: var(--primary);
  color: #FFFFFF;
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  text-align: center;
}

.sidebar-cta-title {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.sidebar-cta-text {
  font-size: 0.85rem;
  color: #C2D4C9;
  margin-bottom: 1rem;
}

/* Forms & Validation States */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.form-label .required {
  color: #C0392B;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--text-primary);
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.15);
}

.form-control.error {
  border-color: #C0392B;
  background-color: #FDF4F4;
}

.form-error-msg {
  display: none;
  font-size: 0.82rem;
  color: #C0392B;
  margin-top: 0.35rem;
}

.form-control.error+.form-error-msg {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  display: none;
}

.form-alert.alert-success {
  background-color: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #A5D6A7;
}

.form-alert.alert-error {
  background-color: #FFEBEE;
  color: #C62828;
  border: 1px solid #EF9A9A;
}

/* Call to Action Banner */
.cta-banner {
  background-color: var(--primary);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 4.5rem 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.cta-banner-pattern {
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 320px;
  height: 320px;
  opacity: 0.08;
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.cta-banner h2 {
  color: #FFFFFF;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: #D7DEEF;
  font-size: 1.12rem;
  margin-bottom: 2rem;
}

/* Floating Contact Widget */
.floating-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  z-index: 990;
}

.floating-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9), 0 10px 22px rgba(11, 27, 94, 0.18);
  text-decoration: none;
  transition: all var(--transition-base);
}

.floating-action-btn span {
  display: none;
}

@media (min-width: 769px) {
  .floating-widget {
    align-items: flex-end;
  }

  .floating-action-btn {
    width: 52px;
    min-width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 50%;
    gap: 0;
    justify-content: center;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9), 0 10px 22px rgba(11, 27, 94, 0.18);
  }

  .floating-action-btn span {
    display: none;
  }
}

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

.floating-action-btn.whatsapp {
  background-color: #25D366;
  border-color: rgba(255, 255, 255, 0.95);
  color: #FFFFFF;
}

.floating-action-btn.whatsapp:hover {
  background-color: #1ebe5b;
}

.floating-action-btn.whatsapp svg {
  display: block;
  width: 26px;
  height: 26px;
  color: #FFFFFF;
  fill: currentColor;
}

.floating-action-btn.google-profile {
  background-color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.95);
  color: #202124;
}

.floating-action-btn.google-profile:hover {
  background-color: #F8FAFF;
}

.google-profile-icon {
  display: block;
  width: 24px;
  height: 24px;
  color: inherit;
}

.floating-action-btn[href*="tel:"] {
  background-color: #0B1B5E;
  border-color: rgba(255, 255, 255, 0.95);
  color: #FFFFFF;
}

.floating-action-btn[href*="tel:"] svg {
  display: block;
  width: 22px;
  height: 22px;
  stroke: #FFFFFF;
  fill: none;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all var(--transition-base);
}

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

.back-to-top:hover {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

/* Mobile Quick Sticky Bottom Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  padding: 0.65rem 1rem;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.06);
  z-index: 995;
}

.mobile-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 0.5rem;
}

.mobile-bottom-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 0.5rem;
  border-radius: 50%;
  min-width: 90px;
  height: 44px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.mobile-bottom-call {
  background-color: var(--primary);
  color: var(--accent);
}

.mobile-bottom-wa {
  background-color: #25D366;
  color: #FFFFFF;
}

.mobile-bottom-quote {
  background-color: var(--accent);
  color: var(--primary-dark);
}

.mobile-bottom-gbp {
  background-color: #FFFFFF;
  color: #1F2937;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
}

.mobile-bottom-gbp svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Comprehensive Footer */
.site-footer {
  position: relative;
  isolation: isolate;
  background-color: var(--primary-dark);
  color: #B5C9BE;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.animated-footer-art {
  display: none !important;
}

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

.animated-footer-canvas {
  display: none !important;
}

.animated-footer-title {
  display: none !important;
}

.site-footer.is-animated-visible .animated-footer-title span {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .animated-footer-canvas {
    transition: none;
  }

  .animated-footer-title span {
    transition-duration: 0.01ms;
    transform: translateY(0);
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--accent);
}

.footer-about-text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #A4B8AD;
  margin-bottom: 1.5rem;
}

.footer-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--accent-light);
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav-link {
  color: #A4B8AD;
  font-size: 0.92rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-nav-link:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #A4B8AD;
  font-size: 0.92rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-social-link:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-social-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 1.1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  margin-bottom: 1rem;
  color: #A4B8AD;
  line-height: 1.5;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-contact-item a {
  color: #E2EDE6;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #8C9F94;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #8C9F94;
}

.footer-bottom-links a:hover {
  color: #FFFFFF;
}

/* Interactive Pest Patrol */
.pest-game-section {
  margin: 4rem 0 3rem;
  padding: 3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--background-soft), #ffffff);
}

.pest-game-intro {
  max-width: 620px;
  margin-bottom: 1.5rem;
}

.pest-game-intro h2 {
  margin: 0.45rem 0 0.6rem;
}

.pest-game-intro p {
  margin-bottom: 0;
}

.pest-game {
  overflow: hidden;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  background: var(--primary-dark);
  box-shadow: var(--shadow-elevated);
}

.pest-game-toolbar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.9rem 1.25rem;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pest-game-toolbar>div {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.pest-game-toolbar strong {
  color: var(--accent-light);
  font-size: 1.15rem;
}

.pest-game-label {
  color: #a9bdb2;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pest-game-toolbar .btn {
  margin-left: auto;
}

.pest-game-board {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  cursor: crosshair;
  background: radial-gradient(circle at 50% 40%, rgba(30, 64, 175, 0.3), transparent 45%), #050d38;
}

.pest-game-board::before {
  position: absolute;
  inset: 0;
  content: '';
  opacity: 0.22;
  background-image: linear-gradient(rgba(217, 164, 65, 0.2) 1px, transparent 1px), linear-gradient(90deg, rgba(217, 164, 65, 0.2) 1px, transparent 1px);
  background-size: 38px 38px;
}

.pest-game-message {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  width: max-content;
  max-width: 90%;
  padding: 0.7rem 1rem;
  color: #dce9df;
  border: 1px solid rgba(217, 164, 65, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(7, 26, 18, 0.82);
  transform: translate(-50%, -50%);
  text-align: center;
}

.pest-game-message:not(.visible) {
  opacity: 0.85;
}

.game-pest {
  position: absolute;
  z-index: 3;
  width: 52px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: crosshair;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, opacity 180ms ease;
}

.game-pest:hover {
  transform: translate(-50%, -50%) scale(1.25);
}

.game-pest::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 12px;
  width: 24px;
  height: 19px;
  border-radius: 48% 52% 45% 55%;
  background: #8f592e;
  box-shadow: inset -4px 0 rgba(30, 15, 8, 0.25), 0 0 0 5px rgba(217, 164, 65, 0.22);
}

.game-pest::after {
  content: '';
  position: absolute;
  left: 11px;
  top: 20px;
  width: 32px;
  height: 3px;
  border-radius: 50%;
  background: #d8a66c;
  box-shadow: 0 -8px 0 -1px #d8a66c, 0 8px 0 -1px #d8a66c;
}

.pest-body,
.pest-antenna,
.pest-leg {
  position: absolute;
  z-index: 1;
  display: block;
}

.pest-body {
  left: 20px;
  top: 8px;
  width: 14px;
  height: 28px;
  border-radius: 50%;
  background: #432616;
  box-shadow: inset 3px 0 rgba(255, 206, 126, 0.28);
}

.pest-antenna {
  top: 8px;
  width: 15px;
  height: 1px;
  background: #d8a66c;
  transform-origin: left center;
}

.pest-antenna-left {
  left: 21px;
  transform: rotate(-135deg);
}

.pest-antenna-right {
  left: 29px;
  transform: rotate(-45deg);
}

.pest-leg {
  left: 21px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #d8a66c;
  transform-origin: left center;
}

.pest-leg-one {
  top: 15px;
  transform: rotate(155deg);
}

.pest-leg-two {
  top: 20px;
  transform: rotate(175deg);
}

.pest-leg-three {
  top: 15px;
  left: 30px;
  transform: rotate(25deg);
}

.pest-leg-four {
  top: 20px;
  left: 30px;
  transform: rotate(5deg);
}

.game-pest-termite::before {
  background: #d58d35;
}

.game-pest-mosquito::before {
  background: #657d72;
}

.game-pest-ant::before {
  background: #ad482b;
}

.game-pest.cleared {
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.8) rotate(45deg);
}

@media (max-width: 600px) {
  .pest-game-section {
    padding: 1.5rem;
  }

  .pest-game-toolbar {
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .pest-game-toolbar .btn {
    width: 100%;
    margin-left: 0;
  }

  .pest-game-board {
    min-height: 260px;
  }

  .pest-game-message {
    width: min(90%, 260px);
  }
}

/* Scroll-driven certificate portfolio */
.certificate-scroll-section {
  position: relative;
  height: 340vh;
  background:
    radial-gradient(circle at 50% 25%, rgba(217, 164, 65, 0.12), transparent 32%),
    linear-gradient(180deg, #F1F4FB 0%, #E8EDF8 100%);
}

.certificate-scroll-sticky {
  position: sticky;
  top: 0;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 0 3.5rem;
}

.certificate-carousel-heading {
  position: relative;
  z-index: 2;
  text-align: center;
}

.certificate-carousel-heading h2 {
  max-width: 820px;
  margin: 0.8rem auto 0.75rem;
}

.certificate-carousel-heading p {
  max-width: 640px;
  margin: 0 auto;
}

.certificate-carousel-viewport {
  --certificate-card-width: clamp(220px, 22vw, 310px);
  width: 100%;
  margin-top: 2.25rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.certificate-carousel-track {
  display: flex;
  width: max-content;
  gap: clamp(1rem, 2.2vw, 2rem);
  padding: 2.25rem max(1rem, calc((100vw - var(--certificate-card-width)) / 2));
  will-change: transform;
}

.certificate-card {
  position: relative;
  display: flex;
  width: var(--certificate-card-width);
  height: clamp(300px, 43vh, 470px);
  flex: 0 0 var(--certificate-card-width);
  align-items: center;
  justify-content: center;
  margin: 0;
  overflow: hidden;
  padding: 0.7rem;
  border: 1px solid rgba(11, 27, 94, 0.14);
  border-radius: 1.2rem;
  background: linear-gradient(145deg, #FFFFFF, #E9EEF8);
  box-shadow: 0 18px 38px rgba(11, 27, 94, 0.14), inset 0 1px 1px rgba(255, 255, 255, 0.85);
  opacity: 0.58;
  transform: scale(0.91) translateY(0.35rem);
  transition: transform 500ms cubic-bezier(0.23, 1, 0.32, 1), opacity 500ms ease, box-shadow 500ms ease, border-color 500ms ease;
  will-change: transform, opacity;
  cursor: zoom-in;
}

.certificate-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

.certificate-card::after {
  position: absolute;
  inset: 0;
  content: '';
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent 35%, rgba(11, 27, 94, 0.06));
}

.certificate-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0.8rem;
  background: #FFFFFF;
}

.certificate-card figcaption {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  left: 0.7rem;
  z-index: 1;
  overflow: hidden;
  padding: 0.55rem 0.7rem;
  border-radius: 0.55rem;
  background: rgba(5, 13, 56, 0.8);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.certificate-card.is-active {
  border-color: rgba(217, 164, 65, 0.8);
  box-shadow: 0 28px 56px rgba(11, 27, 94, 0.22), 0 0 0 3px rgba(217, 164, 65, 0.15);
  opacity: 1;
  transform: scale(1.05) translateY(-0.25rem);
}

.certificate-scroll-caption {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.3rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.certificate-scroll-caption span:first-child {
  color: var(--primary);
  font-weight: 800;
}

@media (max-width: 768px) {
  .certificate-scroll-section {
    height: 300vh;
  }

  .certificate-scroll-sticky {
    padding: 5.5rem 0 2.25rem;
  }

  .certificate-carousel-viewport {
    --certificate-card-width: min(68vw, 260px);
    margin-top: 1.5rem;
  }

  .certificate-card {
    height: min(56vh, 390px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .certificate-card {
    transition: none;
  }
}

/* Home Services Section — dark blue cards with gold text and border */
#services-section .service-card {
  background-color: var(--primary);
  border: 1.5px solid var(--accent);
  box-shadow: 0 8px 22px rgba(5, 13, 56, 0.28);
}

#services-section .service-card:hover {
  background-color: var(--primary-dark);
  border-color: var(--accent-light);
  box-shadow: 0 14px 32px rgba(5, 13, 56, 0.42), 0 0 0 1px var(--accent-light);
}

#services-section .service-card:hover::before {
  background-color: var(--accent);
}

#services-section .service-icon-box {
  background-color: rgba(217, 164, 65, 0.14);
  border: 1px solid rgba(217, 164, 65, 0.55);
  color: var(--accent);
}

#services-section .service-card:hover .service-icon-box {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--primary-dark);
}

#services-section .service-title {
  color: var(--accent);
}

#services-section .service-desc {
  color: var(--accent-light);
  opacity: 0.92;
}

#services-section .service-link,
#services-section .service-card:hover .service-link {
  color: var(--accent);
}

/* ==========================================================
   Blog cards — dark blue background, golden text and border
   ========================================================== */
.blog-grid .blog-card {
  background-color: var(--primary);
  border: 1.5px solid var(--accent);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(5, 13, 56, 0.28);
}

.blog-grid .blog-card:hover {
  background-color: var(--primary-dark);
  border-color: var(--accent-light);
  box-shadow: 0 14px 32px rgba(5, 13, 56, 0.42), 0 0 0 1px var(--accent-light);
}

.blog-card-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--primary-dark);
  border-bottom: 1.5px solid var(--accent);
}

.blog-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.5rem 1.6rem 1.75rem;
}

.blog-grid .blog-card h3 {
  color: var(--accent);
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0 0 0.75rem;
}

.blog-grid .blog-card h3 a {
  color: inherit;
}

.blog-grid .blog-card p {
  color: var(--accent-light);
  opacity: 0.92;
}

.blog-grid .blog-card .service-link,
.blog-grid .blog-card:hover .service-link {
  color: var(--accent);
}