/* ==========================================================================
   TG2 AMBULANCE - ULTRAPREMIUM PRIVATE HOSPITAL DESIGN SYSTEM
   ========================================================================== */

/* --- Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

/* --- Custom CSS Variables --- */
:root {
  /* Color Palette */
  --brand-navy: #1F2937;       /* Premium Dark Grey (originally #0B1E36) */
  --brand-blue: #1E40AF;       /* Royal Hospital Blue */
  --brand-blue-light: #3B82F6; /* Tech Medical Blue */
  --brand-cyan: #06B6D4;       /* Medical Cyan Accent */
  --brand-cyan-light: #ECFDF5; /* Cyan Tint */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;     /* Light Slate */
  --bg-tertiary: #F1F5F9;
  
  /* Status Colors */
  --success: #10B981;          /* LINE Green */
  --success-hover: #059669;
  --emergency: #EF4444;        /* Critical Red */
  --emergency-hover: #DC2626;
  
  /* Text Colors */
  --text-primary: #0F172A;      /* Slate 900 */
  --text-secondary: #475569;    /* Slate 600 */
  --text-light: #64748B;        /* Slate 500 */
  --text-white: #FFFFFF;
  
  /* Shadows (Super Soft & Deep) */
  --shadow-sm: 0 2px 8px rgba(31, 41, 55, 0.04);
  --shadow-md: 0 10px 20px rgba(31, 41, 55, 0.06);
  --shadow-lg: 0 20px 40px rgba(31, 41, 55, 0.08);
  --shadow-premium: 0 30px 60px rgba(31, 41, 55, 0.05), 0 2px 10px rgba(31, 41, 55, 0.02);
  --shadow-glow: 0 0 25px rgba(59, 130, 246, 0.35);
  
  /* Typography */
  --font-base: 'Kanit', sans-serif;
  
  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-base);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: 126px; /* Offset the fixed main header on desktop */
}

/* --- Fixed Main Header --- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050; /* Keep header on top of all page content */
  box-shadow: var(--shadow-sm);
  background-color: transparent;
}

.top-banner {
  background-color: #1f2937; /* Matching updated brand-navy color */
  color: var(--text-white);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  padding: 8px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-banner a {
  color: #60a5fa;
  text-decoration: underline;
  margin-left: 4px;
}


h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.2;
}

h1 { font-size: clamp(2.25rem, 6vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.85rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.65rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 700; }

p {
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  outline: none;
}

/* --- Layout Wrappers --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-bg {
  padding: 100px 0;
  background-color: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-blue-light);
  background-color: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* --- Custom SVG Icons & Badges styling --- */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background-color: rgba(59, 130, 246, 0.06);
  color: var(--brand-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-smooth);
}

.icon-box svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
  fill: none;
  stroke: currentColor;
}

/* --- Buttons System --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  white-space: nowrap;
}

.btn-emergency {
  background-color: var(--emergency);
  color: var(--text-white);
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.2);
  position: relative;
}

.btn-emergency:hover {
  background-color: var(--emergency-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(239, 68, 68, 0.3);
}

.btn-line {
  background-color: var(--success);
  color: var(--text-white);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.btn-line:hover {
  background-color: var(--success-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--brand-blue-light);
  border: 2px solid rgba(59, 130, 246, 0.3);
}

.btn-outline:hover {
  background-color: rgba(59, 130, 246, 0.05);
  border-color: var(--brand-blue-light);
  transform: translateY(-2px);
}

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

.btn-white:hover {
  background-color: var(--bg-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* --- Sticky Glass Navbar --- */
.navbar {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 30, 54, 0.05);
  transition: all var(--transition-smooth);
}

.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  border-bottom-color: rgba(15, 30, 54, 0.08);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  transition: all var(--transition-smooth);
}

.navbar-scrolled .container {
  height: 76px;
}

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

.nav-logo-img {
  height: 64px;
  width: auto;
  display: block;
  transition: all var(--transition-smooth);
}

.navbar-scrolled .nav-logo-img {
  height: 52px;
}

.footer-logo-img {
  height: 58px;
  width: auto;
  display: block;
  background-color: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-smooth);
}

.footer-logo-img:hover {
  transform: scale(1.03);
}

.nav-logo-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand-blue-light) 0%, var(--brand-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-weight: 800;
  font-size: 1.4rem;
  box-shadow: 0 8px 16px rgba(30, 64, 175, 0.2);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1;
}

.nav-brand-sub {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
  margin-top: 2px;
  letter-spacing: 0.5px;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-blue-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  border-radius: var(--radius-full);
  background-color: var(--brand-blue-light);
  transition: width var(--transition-fast);
}

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

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

/* Hamburger toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 2.5px;
  background-color: var(--brand-navy);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

/* --- Hero Banner Section --- */
.hero-banner-new {
  position: relative;
  background-color: var(--brand-navy);
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--text-white);
  padding: 140px 0 100px 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.58;
  filter: contrast(1.05) brightness(0.8);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.85) 100%);
  z-index: 2;
}

.hero-container-new {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  width: 100%;
}

/* Left side styling */
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 6;
}

.hero-brand-title {
  font-size: 5.2rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  font-family: 'Kanit', sans-serif;
}

.hero-brand-badge {
  display: inline-block;
  background-color: #10b981; /* Premium Emerald green */
  color: var(--text-white);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 1px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
  text-transform: uppercase;
}

.hero-subtext {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin-bottom: 30px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Glassmorphic Contact Card Widget */
.hero-contact-widget {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  width: fit-content;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}

.widget-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.widget-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.widget-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.widget-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.widget-numbers {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.widget-numbers .phone-num {
  font-size: 1.65rem;
  font-weight: 800;
  color: #fbbf24; /* Amber yellow */
  text-decoration: none;
  transition: color var(--transition-fast);
}

.widget-numbers .phone-num:hover {
  color: #f59e0b;
}

.widget-numbers .divider {
  color: rgba(255, 255, 255, 0.3);
  font-weight: 600;
}

.hero-ctas-new {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.btn-emergency-new {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  color: var(--text-white) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  padding: 15px 32px !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3) !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none !important;
  transition: all var(--transition-fast) !important;
  text-decoration: none;
}

.btn-emergency-new:hover {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.45) !important;
}

.btn-line-new {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  color: var(--text-white) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  padding: 15px 32px !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.25) !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none !important;
  transition: all var(--transition-fast) !important;
  text-decoration: none;
}

.btn-line-new:hover {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.4) !important;
}

.hero-line-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-line-qr {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.hero-line-qr img {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  display: block;
}

.hero-line-qr span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
  width: 50px;
}

@media (max-width: 768px) {
  .hero-line-qr {
    display: none;
  }
}

/* Shield crest frames inside hero (Medical Theme) */
.hero-hexagons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.hero-hex {
  position: relative;
  width: 110px;
  height: 120px; /* Taller vertical ratio for shield */
  background-color: var(--text-white);
  clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 50% 100%, 0% 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-smooth);
}

.hero-hex:hover {
  transform: translateY(-8px) scale(1.08);
  z-index: 10;
}

.hero-hex-inner {
  width: 93%;
  height: 93%;
  clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 50% 100%, 0% 75%);
  overflow: hidden;
}

.hero-hex-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Right side styling */
.hero-right {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 6;
  height: 100%;
  min-height: 450px;
}

/* Red Round Premium Seal Badge */
.hero-red-hexagon {
  position: absolute;
  top: 0;
  right: 15%;
  width: 160px;
  height: 160px;
  background-color: #dc2626; /* Crimson red */
  border-radius: 50%;
  border: 4px double var(--text-white); /* Double white border for premium medical seal style */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 12;
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.45);
  animation: floatRedBadge 4s ease-in-out infinite;
  transform: rotate(-5deg); /* Slight angle for design flair */
}

.red-hex-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  text-align: center;
  font-weight: 800;
  line-height: 1.25;
}

.red-hex-title {
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}

.red-hex-subtitle {
  font-size: 1.35rem;
  font-weight: 900;
}

.red-hex-hours {
  font-size: 0.85rem;
  background-color: var(--text-white);
  color: #dc2626;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  margin-top: 6px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

@keyframes floatRedBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* White Van Container */
.hero-van-container {
  width: 100%;
  max-width: 580px;
  z-index: 8;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatVan 6s ease-in-out infinite;
}

.hero-van-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.45));
}

@keyframes floatVan {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Responsive Overrides */
@media (max-width: 1100px) {
  .hero-brand-title {
    font-size: 4rem;
  }
  .hero-brand-badge {
    font-size: 1.25rem;
  }
  .hero-phone-box .phone-link {
    font-size: 1.6rem;
  }
  .hero-van-container {
    max-width: 480px;
  }
}

@media (max-width: 992px) {
  .hero-banner-new {
    min-height: auto;
    padding: 120px 0 80px 0;
  }
  .hero-container-new {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-left {
    align-items: center;
    text-align: center;
  }
  .hero-right {
    justify-content: center;
    min-height: auto;
  }
  .hero-red-hexagon {
    right: 5%;
    top: -20px;
    width: 140px;
    height: 121px;
  }
  .red-hex-title { font-size: 0.95rem; }
  .red-hex-subtitle { font-size: 1.15rem; }
  .red-hex-hours { font-size: 0.75rem; }
  .hero-van-container {
    max-width: 460px;
  }
}

@media (max-width: 576px) {
  .hero-brand-title {
    font-size: 3.2rem;
  }
  .hero-brand-badge {
    font-size: 1rem;
    padding: 6px 16px;
    margin-bottom: 20px;
  }
  .hero-phone-box {
    font-size: 1.2rem;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
  }
  .hero-phone-box .phone-link {
    font-size: 1.45rem;
  }
  .hero-phone-box .phone-separator {
    display: none;
  }
  .hero-hexagons {
    justify-content: center;
  }
  .hero-hex {
    width: 100px;
    height: 86px;
  }
}

/* --- Hero Banner subpages --- */
.hero-sub {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
  padding: 160px 0 80px 0;
  color: var(--text-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-sub .container {
  position: relative;
  z-index: 3;
}

.hero-sub h1 {
  color: var(--text-white);
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); /* Text shadow for subpage titles */
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 16px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5); /* Text shadow for breadcrumbs */
}

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

.breadcrumb span {
  opacity: 0.5;
}

/* --- Premium Grid Layouts --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* --- Premium Hospital Cards --- */
.card {
  background-color: var(--bg-primary);
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 30, 54, 0.04);
  box-shadow: var(--shadow-premium);
  padding: 40px;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(59, 130, 246, 0.15);
}

.card .icon-box {
  margin-bottom: 28px;
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--brand-navy);
}

.card-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 28px;
  flex-grow: 1;
}

.card-link {
  font-weight: 700;
  color: var(--brand-blue-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  transition: transform var(--transition-fast);
}

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

/* --- Card with Image Variant --- */
.card-img {
  padding: 0;
  overflow: hidden;
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.card-img:hover .card-img-wrapper img {
  transform: scale(1.06);
}

.card-img-body {
  padding: 28px 32px 32px 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-img-body .card-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card-img-body .card-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-img-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-white);
  background-color: var(--brand-blue-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.3px;
}

/* --- Why Choose Us (Asymmetrical premium layout) --- */
.why-us-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}

.why-us-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.why-us-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.why-us-badge-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.why-us-badge-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--brand-blue-light);
  line-height: 1;
}

.why-us-badge-txt {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-navy);
  text-transform: uppercase;
}

.why-us-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.why-us-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-smooth);
}

.why-us-item:hover {
  background-color: var(--bg-secondary);
}

.why-us-item .icon-box {
  flex-shrink: 0;
  background-color: rgba(6, 182, 212, 0.08);
  color: var(--brand-cyan);
}

.why-us-item-title {
  margin-bottom: 6px;
  color: var(--brand-navy);
}

/* --- Trust Metrics Bar (High-Tech Theme) --- */
.metrics-bar {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.metrics-bar::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.metric-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  position: relative;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.metric-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(96, 165, 250, 0.3);
  box-shadow: 0 15px 30px rgba(59, 130, 246, 0.15);
}

.metric-icon-box {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa; /* Cyan blue */
  border: 1px solid rgba(59, 130, 246, 0.2);
  transition: all var(--transition-smooth);
}

.metric-item:hover .metric-icon-box {
  background: #3b82f6;
  color: var(--text-white);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.metric-icon-box svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.metric-number {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(59, 130, 246, 0.25));
  font-family: 'Kanit', sans-serif;
  letter-spacing: -0.5px;
}

.metric-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.2px;
}

/* --- Reviews Section --- */
.reviews-section {
  overflow: hidden;
}

.reviews-carousel-container {
  position: relative;
  width: 100%;
}

.reviews-track {
  display: flex;
  gap: 24px;
  transition: transform var(--transition-smooth);
  padding: 12px 0;
}

.review-card {
  min-width: calc(33.333% - 16px);
  background-color: var(--bg-primary);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 30, 54, 0.03);
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-rating {
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  gap: 4px;
  font-size: 1.1rem;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-style: italic;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.review-user-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: rgba(59, 130, 246, 0.08);
  color: var(--brand-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.review-user-photo {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid rgba(59, 130, 246, 0.15);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.review-user-info h4 {
  font-size: 1rem;
  color: var(--brand-navy);
  margin-bottom: 2px;
}

.review-user-info p {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* --- Page-based Carousel --- */
.reviews-page {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reviews-page.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.reviews-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.reviews-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.reviews-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(59, 130, 246, 0.3);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.reviews-dot.active {
  background: var(--brand-blue-light);
  border-color: var(--brand-blue-light);
  transform: scale(1.2);
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

.reviews-dot:hover:not(.active) {
  border-color: var(--brand-blue-light);
  background: rgba(59, 130, 246, 0.15);
}

.reviews-nav-btn {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(59, 130, 246, 0.15);
  background-color: var(--bg-primary);
  color: var(--brand-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.reviews-nav-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

.reviews-nav-btn:hover {
  background-color: var(--brand-blue-light);
  color: var(--bg-primary);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.25);
  border-color: var(--brand-blue-light);
}

/* --- Review Split Layout (Image Left + Content Right) --- */
.review-split {
  display: flex;
  align-items: center;
  gap: 56px;
}

.review-split__media {
  flex: 0 0 50%;
  max-width: 50%;
}

.review-split__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Gradient heading */
.review-split__title {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.25;
  background: linear-gradient(135deg, var(--brand-navy) 0%, #1e40af 40%, #0891b2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 8px 0 0 0;
  letter-spacing: -0.02em;
}

/* Decorative accent line */
.review-split__accent {
  width: 60px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4, #8b5cf6);
  background-size: 200% 100%;
  animation: accentShimmer 3s ease-in-out infinite;
  margin: 16px 0 20px 0;
}

@keyframes accentShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Description */
.review-split__desc {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin: 0 0 20px 0;
}

/* Quote card */
.review-split__quote {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(6, 182, 212, 0.04));
  border-left: 3px solid;
  border-image: linear-gradient(180deg, #3b82f6, #06b6d4) 1;
  margin-bottom: 24px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
  position: relative;
}

.review-split__quote-icon {
  flex-shrink: 0;
  color: #3b82f6;
  margin-top: 2px;
  opacity: 0.7;
}

/* Mini stat cards */
.review-split__stats {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  width: 100%;
}

.review-stat {
  flex: 1;
  text-align: center;
  padding: 20px 10px 16px 10px;
  border-radius: 16px;
  background: var(--bg-primary);
  border: 1px solid rgba(59, 130, 246, 0.08);
  box-shadow: 0 2px 12px rgba(11, 30, 54, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* Gradient top accent on stat cards */
.review-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.review-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.14);
}

.review-stat:hover::before {
  opacity: 1;
}

.review-stat__icon {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.review-stat__number {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand-navy), #1e40af);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.review-stat__label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Premium CTA button */
.review-split__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 60px;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #0891b2 100%);
  background-size: 200% 200%;
  animation: ctaGradient 4s ease-in-out infinite;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow:
    0 4px 20px rgba(59, 130, 246, 0.3),
    0 1px 4px rgba(11, 30, 54, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  z-index: 1;
}

.review-split__cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 8px 32px rgba(59, 130, 246, 0.4),
    0 2px 8px rgba(11, 30, 54, 0.12);
}

@keyframes ctaGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Pulse ring behind CTA */
.review-split__cta-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 60px;
  border: 2px solid rgba(59, 130, 246, 0.4);
  animation: ctaPulse 2s ease-out infinite;
  pointer-events: none;
}

@keyframes ctaPulse {
  0%   { transform: scale(1);    opacity: 0.6; }
  70%  { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(1.12); opacity: 0; }
}

/* Frame (re-used) */
.review-showcase-frame {
  position: relative;
  width: 100%;
  border-radius: 20px;
  padding: 5px;
  background: linear-gradient(135deg, var(--brand-sky) 0%, var(--brand-navy) 50%, var(--brand-sky) 100%);
  background-size: 200% 200%;
  animation: reviewFrameShimmer 6s ease-in-out infinite;
  box-shadow:
    0 8px 32px rgba(59, 130, 246, 0.15),
    0 2px 12px rgba(11, 30, 54, 0.10);
  transition: transform 0.45s cubic-bezier(.25,.46,.45,.94),
              box-shadow 0.45s cubic-bezier(.25,.46,.45,.94);
}

.review-showcase-frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 48px rgba(59, 130, 246, 0.22),
    0 4px 16px rgba(11, 30, 54, 0.12);
}

@keyframes reviewFrameShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Decorative corner accents */
.frame-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  z-index: 2;
  pointer-events: none;
}
.frame-corner::before,
.frame-corner::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 2px;
}
.frame-corner::before { width: 100%; height: 3px; }
.frame-corner::after  { width: 3px;  height: 100%; }

.frame-corner--tl { top: -3px; left: -3px; }
.frame-corner--tl::before { top: 0; left: 0; }
.frame-corner--tl::after  { top: 0; left: 0; }

.frame-corner--tr { top: -3px; right: -3px; }
.frame-corner--tr::before { top: 0; right: 0; }
.frame-corner--tr::after  { top: 0; right: 0; }

.frame-corner--bl { bottom: -3px; left: -3px; }
.frame-corner--bl::before { bottom: 0; left: 0; }
.frame-corner--bl::after  { bottom: 0; left: 0; }

.frame-corner--br { bottom: -3px; right: -3px; }
.frame-corner--br::before { bottom: 0; right: 0; }
.frame-corner--br::after  { bottom: 0; right: 0; }

/* Glow behind image */
.review-showcase-glow {
  position: absolute;
  inset: -24px;
  border-radius: 28px;
  background: radial-gradient(ellipse at center,
    rgba(59, 130, 246, 0.12) 0%,
    rgba(59, 130, 246, 0.04) 50%,
    transparent 70%);
  z-index: -1;
  animation: reviewGlowPulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes reviewGlowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.03); }
}

/* Image */
.review-showcase-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}

/* Responsive: stack on mobile */
@media (max-width: 900px) {
  .review-split {
    flex-direction: column;
    gap: 36px;
  }
  .review-split__media {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
  .review-split__content {
    align-items: center;
    text-align: center;
  }
  .review-split__title {
    text-align: center;
  }
  .review-split__accent {
    margin-left: auto;
    margin-right: auto;
  }
  .review-split__quote {
    text-align: left;
  }
  .review-split__stats {
    justify-content: center;
  }
  .review-split__cta {
    align-self: center;
  }
}

@media (max-width: 480px) {
  .review-split__title {
    font-size: 1.7rem;
  }
  .review-split__stats {
    flex-direction: row;
    gap: 8px;
    width: 100%;
  }
  .review-stat {
    padding: 10px 2px;
    flex: 1;
  }
  .review-stat__number {
    font-size: 1rem;
  }
  .review-stat__label {
    font-size: 0.65rem;
    margin-top: 2px;
  }
  .review-showcase-frame {
    border-radius: 14px;
    padding: 4px;
  }
  .review-showcase-img {
    border-radius: 11px;
  }
  .review-split__cta {
    padding: 14px 24px;
    font-size: 0.95rem;
  }
}




/* --- FAQ Accordion --- */
.faq-container {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-primary);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15, 30, 54, 0.04);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  transition: all var(--transition-smooth);
}

.faq-item.faq-open {
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 24px 32px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.faq-question:hover {
  background-color: var(--bg-secondary);
  color: var(--brand-blue-light);
}

.faq-icon-svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  transition: transform var(--transition-smooth);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth) ease-out;
}

.faq-answer-content {
  padding: 0 32px 28px 32px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.faq-item.faq-open .faq-icon-svg {
  transform: rotate(180deg);
  color: var(--brand-blue-light);
}

/* --- Timeline Steps --- */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 35px;
  width: 2px;
  background-color: rgba(59, 130, 246, 0.15);
}

.timeline-step {
  position: relative;
  margin-bottom: 48px;
  padding-left: 88px;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background-color: var(--bg-primary);
  border: 4px solid var(--bg-secondary);
  color: var(--brand-blue-light);
  font-weight: 800;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 2;
  transition: all var(--transition-smooth);
}

.timeline-step.active .timeline-badge {
  background-color: var(--brand-blue-light);
  color: var(--text-white);
  border-color: var(--brand-blue-light);
  box-shadow: var(--shadow-glow);
}

.timeline-content {
  background-color: var(--bg-primary);
  padding: 32px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(15, 30, 54, 0.03);
}

.timeline-title {
  margin-bottom: 8px;
  color: var(--brand-navy);
  font-size: 1.25rem;
}

/* --- High-Impact Closing CTA --- */
.cta-closing {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  border-top: 4px solid #ef4444; /* Alert Crimson accent border */
  text-align: center;
}

.cta-closing::before {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.cta-closing-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-closing h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.cta-closing p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  font-weight: 500;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-closing-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* Upgraded Closing Buttons */
.cta-closing-buttons .btn-emergency {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
  color: var(--text-white) !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  padding: 18px 44px !important;
  border-radius: var(--radius-full) !important;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition-smooth) !important;
  text-decoration: none;
}

.cta-closing-buttons .btn-emergency:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 40px rgba(239, 68, 68, 0.55) !important;
}

.cta-closing-buttons .btn-line {
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%) !important;
  color: var(--text-white) !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  padding: 18px 44px !important;
  border-radius: var(--radius-full) !important;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition-smooth) !important;
  text-decoration: none;
}

.cta-closing-buttons .btn-line:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 40px rgba(34, 197, 94, 0.5) !important;
}

/* --- Contact Page Grid --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

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

.contact-method {
  display: flex;
  gap: 20px;
  background-color: var(--bg-primary);
  border: 1px solid rgba(15, 30, 54, 0.03);
  padding: 28px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-premium);
  transition: all var(--transition-smooth);
}

.contact-method:hover {
  border-color: rgba(59, 130, 246, 0.15);
}

.contact-method .icon-box {
  flex-shrink: 0;
  background-color: rgba(59, 130, 246, 0.06);
  color: var(--brand-blue-light);
}

.contact-method-details h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.contact-map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 460px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 30, 54, 0.05);
}

/* --- Area Badges grid --- */
.area-badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

.area-badge {
  background-color: var(--bg-secondary);
  color: var(--brand-navy);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid rgba(15, 30, 54, 0.05);
  transition: all var(--transition-fast);
}

.area-badge:hover {
  background-color: var(--brand-blue-light);
  color: var(--text-white);
  border-color: var(--brand-blue-light);
}

/* --- Footer --- */
.footer {
  background: linear-gradient(180deg, #1f2937 0%, #111827 60%, #030712 100%);
  color: #94a3b8;
  padding: 0;
  border-top: none;
  position: relative;
  overflow: hidden;
}

/* Decorative top accent line */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    #1e40af 15%, 
    #3b82f6 30%, 
    #06b6d4 50%, 
    #3b82f6 70%, 
    #1e40af 85%, 
    transparent 100%);
  animation: footerLineShimmer 4s ease-in-out infinite;
}

@keyframes footerLineShimmer {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Background glow orbs */
.footer::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding: 80px 0 0 0;
}

.footer-glow-left {
  position: absolute;
  bottom: -50px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand-text {
  margin-top: 20px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: #64748b;
}

.footer-title {
  color: var(--text-white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 28px;
  font-weight: 800;
  position: relative;
  padding-bottom: 14px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  border-radius: 2px;
}

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

.footer-link {
  font-size: 0.9rem;
}

.footer-link a {
  color: #94a3b8;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.footer-link a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  transition: width 0.3s ease;
  border-radius: 2px;
  flex-shrink: 0;
}

.footer-link a:hover {
  color: #e2e8f0;
  padding-left: 4px;
}

.footer-link a:hover::before {
  width: 14px;
}

/* Contact info special styling */
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.3s ease;
  margin-bottom: 10px;
}

.footer-contact-item:hover {
  background: rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.12);
  transform: translateX(4px);
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.footer-contact-icon svg {
  display: block;
  transform: translateX(3px); /* Nudge icon further to the right inside the circle */
}

.footer-contact-icon.phone { background: rgba(239, 68, 68, 0.12); }
.footer-contact-icon.line { background: rgba(34, 197, 94, 0.12); }
.footer-contact-icon.facebook { background: rgba(59, 130, 246, 0.12); }

.footer-contact-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-contact-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #64748b;
  font-weight: 700;
}

.footer-contact-value {
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-contact-value a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-value a:hover {
  color: #60a5fa;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom-text {
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.6;
}

.footer-bottom-socials {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
  color: #60a5fa;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.2);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}


/* --- Floating Quick Action Buttons --- */
.floating-ctas {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
}

.float-btn {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(11, 30, 54, 0.15);
  transition: all var(--transition-smooth);
  color: var(--text-white);
  cursor: pointer;
  position: relative;
}

.float-btn:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 15px 35px rgba(11, 30, 54, 0.25);
}

.float-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.float-phone {
  background-color: var(--emergency);
  animation: pulse 2s infinite;
}

.float-line {
  background-color: var(--success);
}

.float-fb {
  background-color: #1877f2;
}

/* Tooltips */
.float-btn::after {
  content: attr(aria-label);
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--brand-navy);
  color: var(--text-white);
  padding: 8px 16px;
  border-radius: var(--radius-xs);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.float-btn:hover::after {
  opacity: 1;
}

/* --- Keyframe Animations --- */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

/* Scroll reveal class animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive Adaptations --- */

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-us-image-wrapper img {
    height: auto;
  }
  .reviews-track {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }
  .review-card {
    min-width: calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
  }
  
  .navbar .container {
    height: 76px;
  }
  


  /* Removed mobile layout image overrides to keep full-bleed uniform cover */

  .nav-menu {
    position: absolute;
    top: 100%; /* Sits exactly below the navbar container */
    right: -100%;
    left: auto;
    width: 60%;
    max-width: 280px;
    height: calc(100vh - 76px);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 40px 24px;
    gap: 28px;
    box-shadow: -10px 15px 30px rgba(0, 0, 0, 0.1);
    transition: right var(--transition-smooth);
    border-left: 1px solid rgba(15, 23, 42, 0.05);
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-actions {
    display: none;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .reviews-track {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 16px;
  }
  .review-card {
    min-width: 100%;
    padding: 30px;
  }
  
  .hero {
    padding: 120px 0 80px 0;
  }
  
  .hero-ctas {
    flex-direction: column;
  }
  
  .hero-ctas .btn {
    width: 100%;
  }
  
  .floating-ctas {
    bottom: 24px;
    right: 24px;
    gap: 12px;
  }
  
  .float-btn {
    width: 56px;
    height: 56px;
  }
  
  .float-btn::after {
    display: none; /* Disable tooltips on mobile devices */
  }
  
  .card {
    padding: 32px;
  }

  .nav-logo-img {
    height: 52px;
  }
  
  /* Footer Mobile Optimization */
  .footer-inner {
    padding: 60px 0 0 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    margin-bottom: 40px;
  }
  
  .footer .nav-brand {
    justify-content: center;
    margin-bottom: 16px;
  }
  
  .footer-brand-text {
    text-align: center;
    max-width: 380px;
    margin: 16px auto 0;
  }
  
  .footer-title {
    margin-bottom: 20px;
    display: inline-block;
    width: auto;
    padding-bottom: 10px;
  }
  
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-links {
    align-items: center;
  }
  
  .footer-contact-item {
    margin: 0 auto 12px;
    max-width: 290px;
    text-align: left;
  }
}

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

/* ==========================================================================
   HIGH-CONVERSION OPTIMIZATION STYLES
   ========================================================================== */


/* --- Emergency Pulse Glow --- */
.btn-pulse {
  position: relative;
  overflow: visible;
}

.btn-pulse::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.8);
  animation: pulse-ring 1.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.8);
  }
  50% {
    opacity: 0.6;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
    box-shadow: 0 0 0 12px rgba(239, 68, 68, 0);
  }
}

/* --- FAQ Section Grid Layout --- */
@media (min-width: 1025px) {
  .faq-section-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: start;
  }
}

.hero-conversion-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-md);
  padding: 30px;
  color: var(--text-primary);
  box-shadow: 0 25px 50px -12px rgba(11, 30, 54, 0.25);
  position: relative;
  z-index: 3;
}

.hero-conversion-card h3 {
  font-size: 1.2rem;
  color: var(--brand-navy);
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(30, 64, 175, 0.08);
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-conversion-card h3 svg {
  color: var(--emergency);
  flex-shrink: 0;
}

.qa-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.qa-item {
  border-bottom: 1px solid rgba(15, 30, 54, 0.06);
  padding-bottom: 14px;
}

.qa-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.qa-question-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand-blue);
  margin-bottom: 6px;
}

.qa-question-box span {
  background-color: rgba(30, 64, 175, 0.08);
  color: var(--brand-blue-light);
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  font-weight: 800;
  white-space: nowrap;
}

.qa-answer-box {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 2px;
}

.qa-answer-box strong {
  color: var(--brand-navy);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .hero-conversion-card {
    margin-top: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* --- Mobile Sticky CTA Bottom Bar --- */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(31, 41, 55, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px 16px;
  z-index: 1001;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
  display: none; /* Hidden on desktop */
}

.sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-white);
  text-align: center;
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sticky-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.sticky-btn-line {
  background-color: var(--success);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.25);
}

.sticky-btn-line:hover {
  background-color: var(--success-hover);
}

.sticky-btn-phone {
  background-color: var(--emergency);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.25);
  animation: pulse-sticky-emergency 2s infinite;
}

.sticky-btn-phone:hover {
  background-color: var(--emergency-hover);
}

.sticky-btn-fb {
  background-color: #1877f2;
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.25);
}

.sticky-btn-fb:hover {
  background-color: #166fe5;
}

@keyframes pulse-sticky-emergency {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.8), 0 6px 16px rgba(239, 68, 68, 0.25);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0), 0 6px 16px rgba(239, 68, 68, 0.25);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0), 0 6px 16px rgba(239, 68, 68, 0.25);
  }
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: grid; /* Show sticky bar on mobile */
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 8px 10px;
  }
  
  .sticky-btn {
    flex-direction: column;
    gap: 3px;
    font-size: 0.72rem;
    padding: 8px 2px;
  }

  .sticky-btn svg {
    width: 20px;
    height: 20px;
  }
  
  body {
    padding-top: 132px !important; /* Offset for wrapped mobile header */
    padding-bottom: 76px; /* Prevent footer content blocking */
  }
  
  /* Hide the old floating CTAs on mobile to avoid clutter */
  .floating-ctas {
    display: none !important;
  }
  
  .card {
    padding: 24px 20px !important;
  }

  /* --- Global Mobile Section Padding & Spacing --- */
  .section {
    padding: 50px 0 !important;
  }
  .section-bg {
    padding: 50px 0 !important;
  }
  .section-title {
    font-size: 1.65rem !important;
    line-height: 1.35 !important;
    text-align: center !important;
  }
  .section-desc {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    text-align: center !important;
  }
  .section-header {
    margin-bottom: 35px !important;
  }

  /* --- Hero Stats Grid for Mobile --- */
  .hero-stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px 12px !important;
    margin-top: 30px !important;
  }
  .hero-stat-num {
    font-size: 1.8rem !important;
  }
  .hero-stat-label {
    font-size: 0.78rem !important;
  }

  /* --- Metrics Bar Mobile Sizing (Fix text-wrap/cut-off) --- */
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .metric-item {
    padding: 16px 8px !important;
    min-height: 110px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .metric-number {
    font-size: 1.65rem !important;
    margin-bottom: 4px !important;
  }
  .metric-label {
    font-size: 0.75rem !important;
    line-height: 1.25 !important;
  }
  .metric-icon-box {
    width: 38px !important;
    height: 38px !important;
    margin-bottom: 8px !important;
  }
  .metric-icon-box svg {
    width: 16px !important;
    height: 16px !important;
  }

  /* --- Timeline / Process Mobile Responsive layout --- */
  .timeline::before {
    left: 20px !important;
  }
  .timeline-step {
    padding-left: 50px !important;
    margin-bottom: 28px !important;
  }
  .timeline-badge {
    width: 40px !important;
    height: 40px !important;
    font-size: 0.95rem !important;
    border-width: 2px !important;
  }
  .timeline-content h3 {
    font-size: 1rem !important;
    margin-bottom: 4px !important;
  }
  .timeline-content p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }

  /* --- FAQ Accordion padding mobile --- */
  .faq-question {
    padding: 14px 18px !important;
    font-size: 0.95rem !important;
  }
  .faq-answer-content {
    padding: 0 18px 14px 18px !important;
    font-size: 0.85rem !important;
  }
  .hero-conversion-card {
    padding: 20px 16px !important;
    border-radius: 12px !important;
  }
  .qa-question-box {
    font-size: 0.88rem !important;
  }
  .qa-answer-box {
    font-size: 0.82rem !important;
  }

  /* --- Hero CTAs and QR Code mobile adjustment --- */
  .hero-line-qr {
    display: none !important; /* Hide QR code on mobile devices */
  }
  .hero-line-container {
    width: 100%;
  }
  .hero-ctas-new {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 12px;
  }
  .btn-emergency-new, .btn-line-new {
    width: 100% !important;
    justify-content: center;
    padding: 12px 20px !important;
    font-size: 0.92rem !important;
  }

  /* Closing CTA buttons mobile optimization */
  .cta-closing-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }
  
  .cta-closing-buttons .btn-emergency,
  .cta-closing-buttons .btn-line {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 20px !important;
    font-size: 0.92rem !important;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px !important;
  }
  .mission-card {
    padding: 24px 20px !important;
  }
  .equip-card {
    padding: 24px 20px !important;
  }
  .timeline-item {
    padding: 20px 16px !important;
  }
}
