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

/* ==========================================
   CSS Design System & Variables
   ========================================== */
:root {
  /* Color Palette */
  --primary: #0A192F;          /* Deep Navy (Trust & Security) */
  --primary-light: #172A45;    /* Medium Navy */
  --primary-dark: #020C1B;     /* Deep Shadow Navy */
  --accent: #FFB800;           /* High-Vis Gold/Amber (Emergency & CTA) */
  --accent-hover: #E0A200;     /* Darker Gold */
  --accent-light: #FFF4D6;     /* Soft Yellow BG */
  --text-dark: #0F172A;        /* Slate 900 */
  --text-muted: #475569;       /* Slate 600 */
  --text-light: #F8FAFC;       /* Slate 50 */
  --text-light-muted: #94A3B8; /* Slate 400 */
  --bg-light: #F8FAFC;         /* Ice white background */
  --bg-dark: #0F172A;          /* Slate 900 background */
  --success: #10B981;          /* Emerald 500 */
  --error: #EF4444;            /* Red 500 */

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout & Grids */
  --container-max-width: 1200px;
  --header-height: 80px;

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(10, 25, 47, 0.1), 0 8px 16px -6px rgba(10, 25, 47, 0.05);
  --shadow-lg: 0 20px 40px -15px rgba(10, 25, 47, 0.15);
  --shadow-glow: 0 0 20px rgba(255, 184, 0, 0.4);
  --shadow-glow-green: 0 0 15px rgba(16, 185, 129, 0.4);

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* ==========================================
   Global Resets & Base Styles
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

.container {
  width: 90%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* ==========================================
   Buttons & UI Elements
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--accent);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 184, 0, 0.3);
}

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

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--text-light);
  transform: translateY(-2px);
}

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

.btn-dark:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-emergency {
  background-color: var(--accent);
  color: var(--primary);
  font-weight: 800;
  animation: pulse-glow 2s infinite;
}

.btn-emergency:hover {
  background-color: var(--accent-hover);
  animation: none;
}

/* ==========================================
   Utility Layout Classes
   ========================================== */
.section {
  padding: 5rem 0;
}

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

.section-dark h1, .section-dark h2, .section-dark h3 {
  color: var(--text-light);
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-subtitle {
  color: var(--text-light-muted);
}

/* ==========================================
   Header & Navigation
   ========================================== */
.top-bar {
  background-color: var(--primary-dark);
  color: var(--text-light-muted);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar-item a:hover {
  color: var(--accent);
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  fill: var(--accent);
}

.main-header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.main-header.scrolled {
  height: 70px;
  background-color: rgba(10, 25, 47, 0.98);
  box-shadow: var(--shadow-md);
}

.main-header.scrolled .logo-text {
  color: var(--text-light);
}

.main-header.scrolled .nav-link {
  color: var(--text-light-muted);
}

.main-header.scrolled .nav-link:hover, 
.main-header.scrolled .nav-link.active {
  color: var(--accent);
}

.main-header.scrolled .btn-emergency-nav {
  background-color: var(--accent);
  color: var(--primary);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo svg {
  width: 38px;
  height: 38px;
  fill: var(--accent);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.main-header.scrolled .logo-text span {
  color: var(--text-light-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-smooth);
}

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  margin-bottom: 5px;
  transition: var(--transition-smooth);
}

.main-header.scrolled .menu-toggle span {
  background-color: var(--text-light);
}

.menu-toggle span:last-child {
  margin-bottom: 0;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
  position: relative;
  background-color: var(--primary-dark);
  color: var(--text-light);
  min-height: calc(100vh - var(--header-height) - 34px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 4rem 0;
}

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

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

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(10,25,47,0.2) 0%, rgba(2,12,27,0.9) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 184, 0, 0.1);
  border: 1px solid rgba(255, 184, 0, 0.2);
  color: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  animation: pulse-ring 1.5s infinite;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.hero-title span {
  color: var(--accent);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-light-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-phone-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-phone-icon {
  background-color: rgba(255, 184, 0, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 184, 0, 0.3);
}

.hero-phone-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--accent);
}

.hero-phone-text span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light-muted);
}

.hero-phone-text a {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--accent);
}

.hero-trust-indicators {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-icon-box {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon-box svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
}

.trust-text h4 {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 600;
}

.trust-text p {
  font-size: 0.8rem;
  color: var(--text-light-muted);
}

/* Hero Right: Estimator Card */
.estimator-card {
  background: rgba(23, 42, 69, 0.8);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2.2rem;
  box-shadow: var(--shadow-lg);
}

.estimator-header {
  margin-bottom: 1.5rem;
}

.estimator-header h3 {
  font-size: 1.4rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.estimator-header p {
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

.estimator-step {
  display: none;
}

.estimator-step.active {
  display: block;
  animation: fade-in 0.3s ease;
}

.estimator-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.estimator-option-btn {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 8px;
  color: var(--text-light);
  text-align: left;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.estimator-option-btn:hover {
  background-color: rgba(255, 255, 255, 0.07);
  border-color: var(--accent);
  transform: translateX(4px);
}

.estimator-option-btn svg {
  width: 16px;
  height: 16px;
  fill: var(--text-light-muted);
  transition: var(--transition-smooth);
}

.estimator-option-btn:hover svg {
  fill: var(--accent);
  transform: translateX(2px);
}

.estimator-back {
  background: none;
  border: none;
  color: var(--text-light-muted);
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.estimator-back:hover {
  color: var(--text-light);
}

.estimator-progress {
  height: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.estimator-progress-bar {
  height: 100%;
  width: 33.3%;
  background-color: var(--accent);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.estimator-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.estimator-input {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  color: var(--text-light);
  font-size: 0.95rem;
}

.estimator-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.15);
}

.estimator-result {
  text-align: center;
  padding: 1.5rem 0;
}

.estimator-result-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.estimator-result-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--success);
}

.estimator-price {
  font-size: 2.2rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.estimator-price-label {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  margin-bottom: 1.5rem;
}

/* ==========================================
   Features / Values Section
   ========================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.feature-card {
  background-color: var(--text-light);
  border: 1px solid rgba(10, 25, 47, 0.05);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 184, 0, 0.2);
}

.feature-icon-box {
  background-color: var(--accent-light);
  width: 60px;
  height: 60px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon-box svg {
  width: 28px;
  height: 28px;
  fill: var(--primary);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================
   Services Grid
   ========================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.service-card {
  background-color: var(--text-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10, 25, 47, 0.05);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.service-img-wrapper {
  height: 250px;
  overflow: hidden;
  position: relative;
}

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

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

.service-content {
  padding: 2.2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.service-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-size: 0.95rem;
}

.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 1.5rem;
}

.service-price-indicator {
  display: flex;
  flex-direction: column;
}

.service-price-indicator span:first-child {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.service-price-indicator span:last-child {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

/* ==========================================
   Locations / Coverage
   ========================================== */
.coverage-panel {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.coverage-list-box h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.coverage-areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.area-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.area-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
}

.coverage-map-box {
  background: white;
  padding: 1rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
}

.coverage-map-frame {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 12px;
}

/* ==========================================
   Trust & Testimonials
   ========================================== */
.testimonials-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--primary-light);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 2.2rem;
  position: relative;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.2rem;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
}

.testimonial-card p {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-light-muted);
  margin-bottom: 1.5rem;
}

.testimonial-client {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-avatar {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.client-info h4 {
  font-size: 0.95rem;
  color: var(--text-light);
}

.client-info span {
  font-size: 0.8rem;
  color: var(--text-light-muted);
}

/* ==========================================
   About Page Specific Styles
   ========================================== */
.about-hero {
  background-color: var(--primary-dark);
  padding: 4rem 0;
  color: var(--text-light);
  text-align: center;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid white;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

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

.about-feat-icon {
  background-color: var(--accent-light);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feat-icon svg {
  width: 14px;
  height: 14px;
  fill: var(--primary);
}

.about-feat-text h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.about-feat-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================
   Contact Page Layout
   ========================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  gap: 1.5rem;
}

.contact-card-icon {
  background-color: var(--accent-light);
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--primary);
}

.contact-card-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact-card-details p, .contact-card-details a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.contact-card-details .phone-highlight {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

/* Contact Form */
.contact-form-box {
  background: white;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
}

.contact-form-box h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.contact-form-box p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.form-control {
  width: 100%;
  background-color: var(--bg-light);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 25, 47, 0.1);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A192F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

textarea.form-control {
  resize: vertical;
}

/* ==========================================
   24/7 Mobile Sticky Hotline (FAB)
   ========================================== */
.emergency-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--accent);
  color: var(--primary);
  padding: 0.85rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 800;
  box-shadow: var(--shadow-glow), 0 10px 30px rgba(0,0,0,0.25);
  transition: var(--transition-smooth);
  animation: pulse-glow 2s infinite;
}

.emergency-fab:hover {
  background-color: var(--accent-hover);
  transform: scale(1.05);
  animation: none;
}

.emergency-fab-icon {
  width: 20px;
  height: 20px;
  fill: var(--primary);
}

/* ==========================================
   Interactive AI Chat Widget Styles
   ========================================== */
.chat-launcher {
  position: fixed;
  bottom: 2rem;
  left: 2rem; /* Launcher sits bottom left, out of the way of the floating call button */
  z-index: 1000;
  background-color: var(--primary);
  border: 2px solid var(--accent);
  color: var(--accent);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-glow), 0 8px 25px rgba(0,0,0,0.3);
  transition: var(--transition-smooth);
}

.chat-launcher:hover {
  transform: scale(1.08) rotate(15deg);
  background-color: var(--primary-light);
}

.chat-launcher svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.chat-launcher-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background-color: var(--success);
  border: 2px solid var(--primary);
  border-radius: 50%;
  box-shadow: var(--shadow-glow-green);
}

/* Chat Room Panel */
.chat-widget {
  position: fixed;
  bottom: 6.5rem;
  left: 2rem;
  width: 380px;
  max-height: 520px;
  height: 80vh;
  z-index: 1000;
  background: rgba(10, 25, 47, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: var(--shadow-lg), 0 10px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.chat-widget.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.chat-header {
  background-color: var(--primary-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-bot-avatar {
  background-color: rgba(255, 184, 0, 0.1);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 184, 0, 0.3);
}

.chat-bot-avatar svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
}

.chat-bot-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.2;
}

.chat-bot-status {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--success);
  font-weight: 500;
}

.chat-bot-status span {
  width: 6px;
  height: 6px;
  background-color: var(--success);
  border-radius: 50%;
  display: inline-block;
  box-shadow: var(--shadow-glow-green);
}

.chat-close-btn {
  background: none;
  border: none;
  color: var(--text-light-muted);
  cursor: pointer;
  padding: 0.25rem;
  transition: var(--transition-fast);
}

.chat-close-btn:hover {
  color: var(--error);
}

.chat-close-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Chat Message Log */
.chat-messages {
  flex-grow: 1;
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Custom Scrollbar for Chat */
.chat-messages::-webkit-scrollbar {
  width: 4px;
}
.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}
.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
}

.chat-msg {
  max-width: 80%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.4;
  animation: message-slide 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-msg-bot {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.chat-msg-user {
  background-color: var(--accent);
  color: var(--primary);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  font-weight: 500;
}

/* Quick Replies chips */
.chat-chips-container {
  padding: 0.5rem 1rem;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.chat-chips-container::-webkit-scrollbar {
  height: 0px; /* Hide scrollbar */
}

.chat-chip {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  color: var(--text-light-muted);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.chat-chip:hover {
  background-color: rgba(255, 184, 0, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}

/* Chat Input Bar */
.chat-input-bar {
  padding: 0.8rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  background-color: var(--primary-dark);
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.chat-input-field {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.75rem 1rem;
  border-radius: 50px;
  color: var(--text-light);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-smooth);
}

.chat-input-field:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.chat-send-btn {
  background-color: var(--accent);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.chat-send-btn:hover {
  background-color: var(--accent-hover);
  transform: scale(1.05);
}

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

/* Typing Indicator Animation */
.typing-dots {
  display: flex;
  gap: 4px;
  padding: 0.2rem 0;
  align-self: flex-start;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background-color: var(--text-light-muted);
  border-radius: 50%;
  animation: typing-bounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typing-bounce {
  0%, 80%, 100% { 
    transform: scale(0);
  } 40% { 
    transform: scale(1);
  }
}

@keyframes message-slide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   Footer Section
   ========================================== */
.footer {
  background-color: var(--primary-dark);
  color: var(--text-light-muted);
  padding: 5rem 0 2rem;
  border-top: 2px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-widget h3 {
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-widget h3::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

.footer-widget p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-widget .logo-text {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.footer-widget .logo-text span {
  color: var(--text-light-muted);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
}

.footer-links a::before {
  content: '→';
  margin-right: 0.5rem;
  opacity: 0;
  transform: translateX(-5px);
  transition: var(--transition-fast);
  color: var(--accent);
}

.footer-links a:hover {
  color: var(--text-light);
  transform: translateX(5px);
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9rem;
}

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

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

.footer-contact-item .phone-highlight {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent);
}

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

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

.footer-bottom-links a:hover {
  color: var(--text-light);
}

/* ==========================================
   Animations
   ========================================== */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 184, 0, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(255, 184, 0, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 184, 0, 0);
  }
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 184, 0, 0.5), var(--shadow-sm);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255, 184, 0, 0), var(--shadow-sm);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 184, 0, 0), var(--shadow-sm);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   Media Queries & Responsiveness
   ========================================== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    font-size: 0.95rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .top-bar {
    display: none; /* Hide top bar on mobile to save vertical space */
  }

  /* Header & Navigation Mobile Styles */
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--primary-dark);
    flex-direction: column;
    padding: 3rem 1.5rem;
    transition: var(--transition-smooth);
    z-index: 99;
    align-items: stretch;
    box-shadow: var(--shadow-lg);
  }

  .main-nav.active {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .nav-link {
    color: var(--text-light);
    font-size: 1.2rem;
    display: block;
    width: 100%;
  }

  .nav-link::after {
    display: none; /* Disable line animation on mobile menu */
  }

  .btn-emergency-nav {
    width: 100%;
    text-align: center;
  }

  /* Hero Mobile Styles */
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-desc {
    font-size: 1.05rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .hero-phone-cta {
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 0.75rem;
    border-radius: 8px;
    background-color: rgba(255,255,255,0.02);
  }

  .hero-trust-indicators {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Features & Grid Mobile */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .coverage-panel {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .coverage-map-frame {
    height: 300px;
  }

  .testimonials-carousel {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-form-box {
    padding: 1.5rem;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }

  .emergency-fab {
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }

  /* Chat Widget Mobile styles */
  .chat-widget {
    width: calc(100% - 3rem);
    left: 1.5rem;
    bottom: 6rem;
    max-height: 440px;
  }
}
