/* ============================================================
   RAMYA SAFETY NETS — GLOBAL STYLESHEET
   Colors: Navy Blue #1a2f6e | Green #3a7d44 | Sky Blue #e8f4fd
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --navy: #1a2f6e;
  --navy-dark: #0f1e4a;
  --navy-light: #2a4a9e;
  --green: #3a7d44;
  --green-dark: #2d6236;
  --green-light: #4fa858;
  --sky: #e8f4fd;
  --sky-mid: #c5e3f7;
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --gold: #f59e0b;
  --gradient-primary: linear-gradient(135deg, #1a2f6e 0%, #2a4a9e 50%, #3a7d44 100%);
  --gradient-hero: linear-gradient(135deg, rgba(26, 47, 110, 0.92) 0%, rgba(58, 125, 68, 0.75) 100%);
  --shadow-sm: 0 2px 8px rgba(26, 47, 110, 0.08);
  --shadow-md: 0 8px 30px rgba(26, 47, 110, 0.15);
  --shadow-lg: 0 20px 60px rgba(26, 47, 110, 0.2);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
}

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-600);
}

/* ---------- Layout ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-pad {
  padding: 80px 0;
}

.bg-light {
  background: var(--off-white);
}

.bg-sky {
  background: var(--sky);
}

.text-center {
  text-align: center;
}

.mt-40 {
  margin-top: 40px;
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  color: var(--navy);
  margin-bottom: 16px;
}

.section-header p {
  max-width: 580px;
  margin: 0 auto;
  color: var(--gray-600);
}

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--navy), var(--green));
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-header.light h2 {
  color: var(--white);
}

.section-header.light p {
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  box-shadow: 0 8px 25px rgba(26, 47, 110, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(26, 47, 110, 0.45);
}

.btn-green {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: var(--white);
  box-shadow: 0 8px 25px rgba(58, 125, 68, 0.35);
}

.btn-green:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(58, 125, 68, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-3px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(37, 211, 102, 0.45);
}

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 20px;
  border-radius: 16px;
  animation: pulse 1.5s ease infinite;
}

.preloader-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  margin: 16px auto 12px;
  overflow: hidden;
}

.preloader-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green), var(--sky-mid));
  border-radius: 4px;
  animation: load 1.8s ease forwards;
}

.preloader-inner p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

@keyframes load {
  0% {
    width: 0
  }

  100% {
    width: 100%
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.05)
  }
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--navy-dark);
  padding: 8px 0;
  font-size: 0.82rem;
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.top-contact {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.top-contact a {
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.top-contact a:hover {
  color: var(--green-light);
}

.top-contact i {
  color: var(--green-light);
}

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

.top-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  font-size: 0.75rem;
}

.top-social a:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background: var(--white);
  padding: 0;
  box-shadow: 0 2px 20px rgba(26, 47, 110, 0.1);
  position: sticky;
  top: 0;
  z-index: 10000;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(26, 47, 110, 0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 56px;
  width: auto;
  border-radius: 10px;
  object-fit: contain;
}

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

.logo-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.1;
}

.logo-tagline {
  font-size: 0.65rem;
  color: var(--green);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.nav-menu>li>a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gray-800);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-menu>li>a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-menu>li>a:hover::after,
.nav-menu>li>a.active::after {
  left: 16px;
  right: 16px;
}

.nav-menu>li>a:hover,
.nav-menu>li>a.active {
  color: var(--navy);
}

.nav-menu>li>a .fa-chevron-down {
  font-size: 0.65rem;
  transition: var(--transition);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown:hover>a .fa-chevron-down {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 999;
  columns: 2;
  column-gap: 4px;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.875rem;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  break-inside: avoid;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: var(--sky);
  color: var(--navy);
  padding-left: 20px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
  border-radius: var(--radius-sm);
}

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

.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile nav close (×) button */
.nav-close-btn {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: #e8f4fd;
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  color: #1a2f6e;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  z-index: 10;
}

.nav-close-btn:hover {
  background: #1a2f6e;
  color: #ffffff;
}

@media (max-width: 768px) {
  .nav-close-btn {
    display: flex;
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 30, 74, 0.88) 0%, rgba(26, 47, 110, 0.75) 50%, rgba(45, 98, 54, 0.70) 100%);
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-content {
  max-width: 720px;
  padding: 130px 0 60px;
}

.hero-slide.active .hero-content .hero-badge {
  animation: fadeInDown 0.7s ease both 0.2s;
}

.hero-slide.active .hero-content h1 {
  animation: fadeInUp 0.7s ease both 0.35s;
}

.hero-slide.active .hero-content p {
  animation: fadeInUp 0.7s ease both 0.5s;
}

.hero-slide.active .hero-content .hero-cta {
  animation: fadeInUp 0.7s ease both 0.65s;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.2s both;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.text-gradient {
  background: linear-gradient(135deg, #7ed4f0, #a8e6b0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 20px 32px;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease 0.4s both;
  flex-wrap: wrap;
  gap: 0;
}

.stat {
  text-align: center;
  flex: 1;
  min-width: 80px;
}

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--white);
  display: block;
  line-height: 1;
}

.stat p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.25);
  margin: 0 20px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator {
  width: 28px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
}

.scroll-indicator span {
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  animation: scrollDown 1.5s ease infinite;
}

@keyframes scrollDown {
  0% {
    transform: translateY(0);
    opacity: 1
  }

  100% {
    transform: translateY(16px);
    opacity: 0
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* ---------- Clean Stats Strip Section Below Hero ---------- */
.hero-stats-strip {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 24px 0;
  border-bottom: 3px solid var(--green);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.hero-stats-strip .hero-stats {
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 18px 28px;
}

.hero-progress-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 5;
}

.hero-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green-light), var(--sky-mid));
}

@media (max-width: 1024px) {
  .hero-dots-container {
    position: relative;
    bottom: auto;
    right: auto;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    margin: 15px auto 0;
    z-index: 5;
  }
  .hero-dot .dot-label { display: none; }
  .hero-dot { padding: 6px 12px; }
  .hero-arrow { width: 44px; height: 44px; font-size: 1rem; }
  .hero-prev { left: 10px; }
  .hero-next { right: 10px; }
}

/* ---------- Service Card Enhancement & Badge Pill ---------- */
.service-badge-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, var(--navy-dark), var(--green-dark));
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.service-card-img img {
  filter: contrast(1.15) brightness(1.05);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.08);
  filter: contrast(1.2) brightness(1.1);
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

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

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

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.why-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--sky), var(--sky-mid));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 20px;
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--navy), var(--green));
  color: var(--white);
}

.why-card h3 {
  color: var(--navy);
  margin-bottom: 12px;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.1);
}

.service-card-img .service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 47, 110, 0.7), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover .service-overlay {
  opacity: 1;
}

.service-card-body {
  padding: 20px;
}

.service-card-body h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.service-card-body p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 12px;
  transition: var(--transition);
}

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

/* ============================================================
   VIDEO SHOWCASE
   ============================================================ */
.video-showcase {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--green-dark) 100%);
}

.video-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.video-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.video-card.main-video video {
  height: 420px;
}

.video-side .video-card video {
  height: 200px;
}

.video-card video {
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}

.video-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(26, 47, 110, 0.9), transparent);
  color: var(--white);
  padding: 24px 16px 14px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.process-step {
  text-align: center;
  flex: 1;
  min-width: 180px;
  padding: 32px 20px;
  position: relative;
}

.step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--sky-mid);
  line-height: 1;
  margin-bottom: 12px;
}

.step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--navy), var(--green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  margin: 0 auto 16px;
  box-shadow: 0 8px 20px rgba(26, 47, 110, 0.3);
}

.process-step h3 {
  color: var(--navy);
  margin-bottom: 10px;
}

.process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 1.4rem;
  padding-top: 60px;
  flex-shrink: 0;
}

/* ============================================================
   GALLERY PREVIEW
   ============================================================ */
.gallery-preview {
  background: linear-gradient(135deg, var(--navy) 0%, #1a4060 50%, var(--green-dark) 100%);
}

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

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

/* ============================================================
   BRANCHES SECTION
   ============================================================ */
.branches {
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(234,245,255,0.95) 100%);
}

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

.branches .section-header h2 {
  color: var(--navy-dark);
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.branch-card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(26, 47, 110, 0.08);
  border-radius: var(--radius-lg);
  padding: 26px 18px;
  text-align: center;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.branch-card::before {
  content: '\2713';
  position: absolute;
  top: 18px;
  left: 18px;
  width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(58, 125, 68, 0.18);
}

.branch-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(58, 125, 68, 0.25);
  background: #ffffff;
}

@media (max-width: 992px) {
  .branches-grid {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }
}

@media (max-width: 680px) {
  .branches-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
}

@media (max-width: 520px) {
  .branches-grid {
    grid-template-columns: 1fr;
  }
}

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

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

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 47, 110, 0.8), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

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

.gallery-item-overlay span {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-slider {
  position: relative;
  overflow: hidden;
}

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

.testimonial-card {
  width: calc(33.333% - 16px);
  margin-right: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  flex-shrink: 0;
}

.stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
}

.testimonial-card>p {
  color: var(--gray-600);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--navy), var(--green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
}

.testimonial-author span {
  display: block;
  color: var(--gray-400);
  font-size: 0.8rem;
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.testimonial-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-200);
  color: var(--navy);
  font-size: 1rem;
  transition: var(--transition);
}

.testimonial-nav button:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

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

.testimonial-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dots .dot.active {
  background: var(--navy);
  transform: scale(1.3);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--green-dark) 100%);
  padding: 60px 0;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

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

.cta-text p {
  color: rgba(255, 255, 255, 0.8);
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.8);
}

.footer-main {
  padding: 70px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-logo {
  height: 70px;
  width: auto;
  border-radius: 12px;
  margin-bottom: 16px;
}

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

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

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  transition: var(--transition);
}

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

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  border-radius: 2px;
}

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

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

.footer-links ul li a::before {
  content: '›';
  color: var(--green-light);
}

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

.footer-services-list {
  column-count: 2;
  column-gap: 20px;
}

@media (max-width: 480px) {
  .footer-services-list {
    column-count: 1;
  }
}

.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.footer-contact ul li i {
  color: var(--green-light);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact ul li a {
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition);
}

.footer-contact ul li a:hover {
  color: var(--white);
}

.whatsapp-footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 16px;
  transition: var(--transition);
}

.whatsapp-footer-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--green-light);
}

.footer-bottom a:hover {
  color: var(--white);
}

.colorful-link {
  background: linear-gradient(90deg, #ff8a00, #e52e71, #ff8a00);
  background-size: 200% auto;
  color: #fff !important;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 3s linear infinite;
  font-weight: 700;
  text-decoration: none;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: bounceIn 1s ease 2s both;
}

.whatsapp-float:hover {
  transform: scale(1.15);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

.call-float {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  z-index: 999;
  transition: var(--transition);
  animation: bounceIn 1s ease 2.2s both;
}

.call-float:hover {
  transform: scale(1.15);
  background: var(--green);
}

@keyframes bounceIn {
  from {
    opacity: 0;
    transform: scale(0.3)
  }

  50% {
    transform: scale(1.05)
  }

  to {
    opacity: 1;
    transform: scale(1)
  }
}

/* ============================================================
   SERVICE INNER PAGE
   ============================================================ */
.service-hero {
  background: var(--gradient-primary);
  padding: 100px 0 60px;
  text-align: center;
}

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

.service-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 24px;
  font-size: 1.1rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
}

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

.breadcrumb .separator {
  color: rgba(255, 255, 255, 0.4);
}

.service-detail {
  padding: 80px 0;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-detail-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-detail-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.service-detail-content h2 {
  color: var(--navy);
  margin-bottom: 16px;
}

.service-detail-content p {
  margin-bottom: 16px;
}

.feature-list {
  margin: 24px 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--gray-600);
}

.feature-list li i {
  color: var(--green);
  margin-top: 3px;
  flex-shrink: 0;
}

.service-gallery-section {
  padding: 60px 0;
  background: var(--off-white);
}

.service-img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.service-img-grid img {
  border-radius: var(--radius-md);
  height: 220px;
  width: 100%;
  object-fit: cover;
  transition: var(--transition);
  cursor: pointer;
}

.service-img-grid img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

.service-cta {
  background: linear-gradient(135deg, var(--navy), var(--green-dark));
  padding: 60px 0;
  text-align: center;
}

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

.service-cta p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

.service-cta .btn-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-page-hero {
  background: var(--gradient-primary);
  padding: 100px 0 60px;
  text-align: center;
}

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

.gallery-page-hero p {
  color: rgba(255, 255, 255, 0.8);
}

.gallery-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 40px 20px 20px;
}

.filter-btn {
  padding: 8px 22px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  transition: var(--transition);
  cursor: pointer;
}

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

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  padding: 20px 0 80px;
}

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

.gallery-thumb img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

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

.gallery-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 47, 110, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-thumb-overlay i {
  color: var(--white);
  font-size: 1.8rem;
}

/* Video items */
.gallery-thumb.video-thumb::before {
  content: '\f144';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(26, 47, 110, 0.75);
  color: var(--white);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 2;
  transition: var(--transition);
}

.gallery-thumb.video-thumb video {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img,
.lightbox-content video {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: var(--green);
}

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

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

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

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
  background: var(--gradient-primary);
  padding: 100px 0 60px;
  text-align: center;
}

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

.contact-hero p {
  color: rgba(255, 255, 255, 0.8);
}

.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sky-mid);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--navy), var(--green));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-card h4 {
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 1rem;
}

.contact-card p,
.contact-card a {
  color: var(--gray-600);
  font-size: 0.9rem;
  transition: var(--transition);
}

.contact-card a:hover {
  color: var(--navy);
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.contact-form-wrap h2 {
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-form-wrap>p {
  margin-bottom: 28px;
}

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

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--gray-800);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26, 47, 110, 0.1);
}

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

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 20px;
  color: var(--green);
  font-weight: 600;
}

.map-section {
  padding: 0 0 80px;
}

.map-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   SERVICES LIST PAGE
   ============================================================ */
.services-page-hero {
  background: var(--gradient-primary);
  padding: 100px 0 60px;
  text-align: center;
}

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

.services-page-hero p {
  color: rgba(255, 255, 255, 0.8);
}

.services-page-section {
  padding: 80px 0;
}

/* ============================================================
   ANIMATIONS & SCROLL
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

  .video-card.main-video video {
    height: 300px;
  }

  .video-side {
    flex-direction: row;
  }

  .video-side .video-card video {
    height: 200px;
  }

  .testimonial-card {
    width: calc(50% - 12px);
  }

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

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

@media (max-width: 768px) {
  .top-contact {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* ---- Mobile Nav Drawer ---- */
  .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: #ffffff !important;
    background: #ffffff !important;
    padding: 70px 20px 30px;
    gap: 2px;
    overflow-y: auto;
    z-index: 10001;
    /* ABOVE navbar (10000) and overlay (9999) */
    transform: translateX(110%);
    pointer-events: none;
    transition: transform 0.3s ease;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.3);
  }

  .nav-menu.open {
    transform: translateX(0);
    pointer-events: auto;
  }

  .nav-menu>li {
    width: 100%;
    border-bottom: 1px solid #f0f4f8;
  }

  .nav-menu>li:last-child {
    border-bottom: none;
  }

  .nav-menu>li>a {
    width: 100%;
    padding: 14px 12px;
    border-radius: 6px;
    justify-content: space-between;
    font-size: 1rem;
    color: #1a2f6e;
    font-weight: 600;
  }

  .nav-menu>li>a:hover {
    background: #e8f4fd;
  }

  .nav-menu>li>a::after {
    display: none;
  }

  /* Mobile dropdown */
  .dropdown-menu {
    position: static;
    columns: 1;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #e8f4fd;
    padding: 0;
    margin: 0 0 8px 0;
    border-radius: 6px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .dropdown.open .dropdown-menu {
    max-height: 700px;
  }

  .dropdown-menu li a {
    white-space: normal;
    color: #1a2f6e;
    padding: 10px 16px;
    font-size: 0.875rem;
  }

  .dropdown-menu li a:hover {
    background: #d0e8f7;
    padding-left: 20px;
  }

  /* Dark overlay behind nav drawer */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    /* below nav-menu (10001) but above page content */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav-overlay.show {
    opacity: 1;
    pointer-events: auto;
  }

  /* Remaining responsive styles */
  .section-pad {
    padding: 60px 0;
  }

  .hero-stats {
    padding: 16px;
  }

  .stat-divider {
    display: none;
  }

  .stat {
    min-width: 60px;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 140px);
  }

  .gallery-item.featured {
    grid-column: span 2;
    grid-row: span 1;
  }

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

  .cta-content {
    flex-direction: column;
    text-align: center;
  }

  .cta-actions {
    justify-content: center;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
  }

  .process-arrow {
    padding-top: 0;
    transform: rotate(90deg);
  }

  .testimonial-card {
    width: calc(100% - 24px);
    margin-right: 24px;
  }

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

  .contact-form-wrap {
    padding: 24px;
  }

  .video-side {
    flex-direction: column;
  }

  .hero {
    min-height: 480px;
  }

  .hero-content {
    padding: 40px 0 45px;
  }

  .hero-content h1 {
    font-size: 1.75rem;
    margin-bottom: 14px;
    line-height: 1.25;
  }

  .hero-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 24px;
  }

  .hero-badge {
    margin-bottom: 16px;
    padding: 6px 14px;
    font-size: 0.78rem;
  }

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

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

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    justify-content: center;
  }

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

  .gallery-item.featured {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-grid .gallery-item {
    height: 200px;
  }

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

  .cta-actions .btn {
    justify-content: center;
  }

  .nav-menu {
    width: 88%;
    max-width: 100%;
  }
}

/* ============================================================
   SAFETY NET COST ESTIMATOR CALCULATOR
   ============================================================ */
.calculator-section {
  background: linear-gradient(135deg, var(--sky) 0%, var(--white) 100%);
}

.calculator-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(58, 125, 68, 0.2);
  overflow: hidden;
}

.calculator-header {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 36px 30px;
  text-align: center;
}

.calculator-header h2 {
  color: var(--white);
  font-size: 1.8rem;
  margin: 8px 0;
}

.calculator-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.calculator-body {
  padding: 36px 30px;
}

.calc-group {
  margin-bottom: 22px;
}

.calc-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.calc-group label i {
  color: var(--green);
}

.calc-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  color: var(--gray-800);
  background: var(--off-white);
  outline: none;
  transition: var(--transition);
}

.calc-input:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(58, 125, 68, 0.15);
}

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

.calc-result-box {
  background: linear-gradient(135deg, rgba(232, 244, 253, 0.8), rgba(168, 230, 176, 0.15));
  border: 1px dashed var(--green);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  color: var(--gray-800);
}

.result-item.highlight {
  border-top: 1px solid rgba(58, 125, 68, 0.2);
  padding-top: 10px;
  font-size: 1.2rem;
}

.result-item.highlight strong {
  color: var(--green-dark);
  font-size: 1.4rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
}

.calc-actions {
  text-align: center;
}

.calc-actions .btn {
  width: 100%;
  padding: 16px 28px;
  font-size: 1.05rem;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: var(--white);
  transition: var(--transition);
}

.faq-item.active .faq-question {
  background: var(--sky);
}

.faq-question h3 {
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(26, 47, 110, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 0.85rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--green);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 16px 24px 24px;
}

.faq-answer p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .calc-row { grid-template-columns: 1fr; }
  .calculator-header, .calculator-body { padding: 24px 18px; }
  .faq-question { padding: 16px 18px; }
  .faq-question h3 { font-size: 0.95rem; }
}