/* Brand Theme Variable Palette */
:root {
  --primary-red: #f5212f;          
  --primary-red-hover: #d31825;    
  --accent-yellow: #f4bf6f;       
  --accent-yellow-dark: #e0a34e;  
  --dark-bg: #111827;              
  --dark-surface: #1f2937;         
  --light-bg: #f8fafc;             
  --text-main: #1f2937;            
  --text-muted: #64748b;           
  --border-color: #e2e8f0;         
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

/* Base Styles & Resets (Added overflow hidden for mobile safety) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden; /* Prevents mobile edge spill over */
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--dark-bg);
}

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

/* Custom Text Logo Component (Now Stacked & Block Style) */
.text-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  transition: opacity 0.2s ease;
}

.text-logo:hover {
  opacity: 0.9;
}

.logo-text-main {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.logo-badge {
  background-color: var(--primary-red);
  color: #ffffff;
  font-size: 0.75rem; /* Slightly smaller for premium contrast */
  font-weight: 700;
  padding: 5px 0; /* Padding top/bottom only */
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1;
  width: 100%; /* Stretch to match width of AUTOSTAR */
  letter-spacing: 2.5px; /* High letter spacing for pro look */
  text-transform: uppercase;
  margin-top: 4px;
}

.logo-badge i {
  color: var(--accent-yellow);
  font-size: 0.65rem;
}

/* Button UI Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
}

.btn-primary {
  background-color: var(--primary-red);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-red-hover);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

.btn-link {
  background: none;
  border: none;
  color: var(--primary-red);
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  text-decoration: none;
}

/* Top Announcement Bar */
.top-bar {
  background-color: var(--primary-red);
  color: #ffffff;
  font-size: 0.85rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-content {
  display: flex;
  justify-content: center; /* Centered alignment for desktop */
  align-items: center;
  flex-wrap: wrap;
  column-gap: 24px; /* Horizontal gap between items */
  row-gap: 6px; /* Much smaller vertical gap for mobile stacking */
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.top-bar-item i {
  color: var(--accent-yellow);
}

/* Dark Premium Navbar */
.navbar {
  background-color: var(--dark-bg); /* Changed from white to dark blue */
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--primary-red);
}

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

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff; /* Changed to white */
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent-yellow);
}

.phone-button {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--primary-red); /* Changed from transparent to red */
  border: 2px solid var(--primary-red);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
}

.phone-button i {
  font-size: 1.4rem;
  color: #ffffff; /* Icon is white */
}

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

.phone-label {
  font-size: 0.75rem;
  color: #ffe4e6; /* Light pink/white for better contrast on red */
  font-weight: 600;
  text-transform: uppercase;
}

.phone-number {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
}

.phone-button:hover {
  background-color: var(--primary-red-hover);
  border-color: var(--primary-red-hover);
}
/* Removed old .phone-button:hover .phone-label rule as it's now handled by the base color */

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #ffffff; /* Ensure visible on dark background */
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  background: url('../images/AutoStar-Mechanics-Burnaby.avif') no-repeat center center;
  background-size: cover;
  color: #ffffff;
  padding: 100px 0 120px 0;
  overflow: hidden;
}

/* Dark Overlay with Gradient for Readability */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(17, 24, 39, 0.7) 100%);
  z-index: 1;
}

/* Subtle Dot Pattern Overlay */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 2;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 10; /* Ensure content is above overlays */
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(244, 191, 111, 0.15);
  border: 1px solid var(--accent-yellow);
  color: var(--accent-yellow);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: 2.8rem;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 24px;
}

.hero-benefits {
  list-style: none;
  margin-bottom: 30px;
}

.hero-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 12px;
  color: #e2e8f0;
}

.hero-benefits i {
  color: var(--accent-yellow);
}

.hero-form-card {
  background-color: var(--dark-surface);
  color: #ffffff;
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--accent-yellow); /* Yellow border as requested */
}

.form-header h3 { font-size: 1.5rem; color: #ffffff; margin-bottom: 5px; }
.form-header p { font-size: 0.9rem; color: #cbd5e1; margin-bottom: 20px; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; color: #e2e8f0; }
.form-group input {
  width: 100%; 
  padding: 12px; 
  border: 1px solid rgba(255, 255, 255, 0.2); 
  border-radius: var(--radius-sm); 
  font-size: 0.95rem;
  background-color: var(--dark-bg);
  color: #ffffff;
}

.form-group select {
  width: 100%; 
  padding: 12px; 
  border: 1px solid rgba(255, 255, 255, 0.2); 
  border-radius: var(--radius-sm); 
  font-size: 0.95rem;
  background-color: var(--dark-bg);
  color: #ffffff;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

/* Ensure options are readable in the dropdown */
.form-group select option {
  background-color: var(--dark-surface);
  color: #ffffff;
}

.form-group input::placeholder {
  color: #94a3b8;
}

.btn-accent {
  background-color: var(--accent-yellow);
  color: var(--dark-bg);
}

.btn-accent:hover {
  background-color: var(--accent-yellow-dark);
}

.form-privacy {
  margin-top: 15px;
  font-size: 0.75rem;
  color: #94a3b8;
  text-align: center;
}

/* SVG Trust Badges Banner */
.trust-banner {
  background-color: var(--light-bg);
  padding: 50px 0;
  border-bottom: 1px solid var(--border-color);
}

.trust-banner-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.trust-content {
  text-align: center;
  width: 100%;
}

.trust-banner-title {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 25px;
  text-transform: uppercase;
}

/* Brand Logos Banner */
.brand-logos-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 45px; /* Increased gap for desktop breathing room */
}

.brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  filter: grayscale(100%);
  opacity: 0.6;
  flex: 0 0 auto;
}

.brand-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-5px);
}

.brand-item img {
  height: 45px; /* Increased height from 35px to 45px for desktop */
  width: auto;
  object-fit: contain;
}

.brand-item span {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem; /* Increased font size for desktop */
  font-weight: 700;
  color: var(--dark-bg);
  letter-spacing: 1.5px;
}

/* Specific logic for 4x2 grid on mobile */
@media (max-width: 768px) {
  .brand-logos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Exactly 4 columns */
    gap: 20px;
    padding: 0 10px;
  }

  .brand-item img {
    height: 30px; /* Smaller for mobile grid */
  }

  .brand-item span {
    font-size: 0.7rem; /* Smaller for mobile grid */
    letter-spacing: 0.5px;
  }
}

@media (max-width: 480px) {
  .brand-logos-grid {
    grid-template-columns: repeat(4, 1fr); /* Keep 4 columns even on small phones */
    gap: 15px;
  }
}

@media (max-width: 992px) {
  .trust-banner-wrapper {
    text-align: center;
  }
  
  .trust-badges-grid {
    justify-content: center;
  }
}

/* Services Section */
.services-section { 
  padding: 60px 0 90px 0; /* Reduced top padding from 100px to 60px */
  background-color: #ffffff;
}

.section-header { 
  text-align: center; 
  margin-bottom: 60px; /* Increased bottom margin for better breathing room before the grid */
}

.sub-heading { 
  color: var(--primary-red); 
  font-weight: 800; 
  font-size: 0.85rem; 
  letter-spacing: 1.5px; 
  text-transform: uppercase; 
  display: block;
  margin-bottom: 12px; /* Added gap between sub-heading and h2 */
}

.section-header h2 { 
  font-size: 2.5rem; 
  margin-bottom: 18px; /* Added gap between h2 and paragraph */
  line-height: 1.2;
}

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

.services-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); 
  gap: 30px; 
}

.service-card { 
  background: #ffffff;
  border: 1px solid var(--border-color); 
  border-radius: var(--radius-lg); 
  overflow: hidden; 
  display: flex; 
  flex-direction: column; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

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

.service-image-wrap { 
  position: relative; 
  height: 220px; 
  overflow: hidden;
}

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

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

.service-tag { 
  position: absolute; 
  top: 12px; 
  right: 12px; 
  background: var(--accent-yellow); 
  color: var(--dark-bg); 
  font-weight: 800; 
  font-size: 0.75rem; 
  padding: 4px 10px; 
  border-radius: 4px; 
  z-index: 10;
}

.service-tag.hot {
  background: var(--primary-red);
  color: #ffffff;
}

.service-content { 
  padding: 30px; 
  flex-grow: 1; 
  display: flex; 
  flex-direction: column; 
}

.service-icon-box {
  width: 60px;
  height: 60px;
  background: var(--dark-bg);
  color: var(--accent-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border-radius: var(--radius-md);
  margin-top: -60px;
  position: relative;
  z-index: 5;
  box-shadow: var(--shadow-md);
  border: 2px solid #ffffff;
}

.service-card h3 { 
  font-size: 1.4rem; 
  margin: 20px 0 12px 0; 
  color: var(--dark-bg);
}

.service-card p { 
  color: var(--text-muted); 
  font-size: 0.95rem; 
  line-height: 1.6;
  flex-grow: 1; 
  margin-bottom: 25px;
}

.service-cta {
  width: 100%;
  padding: 14px;
  background-color: var(--light-bg);
  border: 1px solid var(--border-color);
  color: var(--dark-bg);
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-block;
}

.service-card:hover .service-cta {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  color: #ffffff;
}

.hero-experience-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: rgba(245, 33, 47, 0.15);
  border-left: 4px solid var(--primary-red);
  padding: 10px 18px;
  margin-bottom: 25px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.exp-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-yellow);
  line-height: 1;
}

.exp-txt {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  line-height: 1.2;
}

/* Why Us Section */
.why-us { 
  padding: 100px 0; 
  background-color: var(--light-bg); 
}

.why-us-grid { 
  display: grid; 
  grid-template-columns: 1.1fr 0.9fr; 
  gap: 60px; 
  align-items: center; 
}

.why-us-content h2 { 
  font-size: 2.5rem; 
  margin-bottom: 20px; 
  margin-top: 10px;
}

.why-us-content > p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

.feature-list { 
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.feature-item { 
  display: flex; 
  gap: 20px; 
  background: #ffffff;
  padding: 25px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid transparent;
}

.feature-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--primary-red);
}

.feature-icon { 
  width: 50px; 
  height: 50px; 
  background: var(--dark-bg); 
  color: var(--accent-yellow); 
  border-radius: 12px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 1.4rem; 
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--dark-bg);
}

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

.why-us-image-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-img { 
  width: 100%; 
  border-radius: var(--radius-lg); 
  box-shadow: var(--shadow-lg);
}

.floating-trust-card {
  background: var(--primary-red);
  color: #ffffff;
  padding: 25px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 250px;
  text-align: center;
  margin-top: -35px; /* Overlap the image slightly for design depth */
  position: relative;
  z-index: 10;
}

.trust-card-num {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-yellow);
  line-height: 1;
  margin-bottom: 5px;
}

.trust-card-text {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 1100px) {
  .floating-trust-card {
    right: 20px;
    bottom: 20px;
  }
}

@media (max-width: 992px) {
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .why-us-image-card {
    order: 0; /* Changed from -1 to put image below content on mobile */
  }

  .floating-trust-card {
    position: relative;
    right: 0;
    bottom: 0;
    margin: -20px auto 0 auto;
    max-width: 280px;
  }
}

/* Reviews Section */
.reviews-section { 
  padding: 100px 0; 
  background-color: var(--dark-bg);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Add a subtle background texture to the dark reviews section */
.reviews-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.reviews-section .section-header h2 {
  color: #ffffff;
}

.reviews-section .section-header .sub-heading {
  color: var(--accent-yellow); /* Yellow sub-heading for better visibility on dark */
}

.google-rating {
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.1rem;
}

.google-rating i {
  color: var(--accent-yellow);
}

.reviews-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
  gap: 30px; 
  position: relative;
  z-index: 5;
}

.review-card { 
  background: var(--dark-surface); 
  padding: 35px; 
  border-radius: var(--radius-lg); 
  border: 1px solid rgba(255, 255, 255, 0.05); 
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-yellow);
}

.stars {
  margin-bottom: 20px;
  color: var(--accent-yellow);
  font-size: 0.9rem;
}

.review-text {
  font-size: 1rem;
  line-height: 1.7;
  font-style: italic;
  color: #e2e8f0;
  margin-bottom: 25px;
  flex-grow: 1;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.reviewer-avatar {
  width: 45px;
  height: 45px;
  background: var(--primary-red);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.reviewer-name {
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
}

.reviewer-loc {
  font-size: 0.85rem;
  color: var(--accent-yellow);
}

.reviews-footer {
  text-align: center;
  margin-top: 50px;
}

.btn-outline-white {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--dark-bg);
}
/* Location Section */
.location-section { 
  padding: 100px 0; 
  background: var(--light-bg); 
}

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

.location-info h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.location-info > p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

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

.info-card-compact {
  background: #ffffff;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  gap: 15px;
  transition: all 0.3s ease;
}

.info-card-compact:hover {
  border-color: var(--primary-red);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.info-card-compact.emergency {
  grid-column: span 2;
  background: var(--dark-bg);
  color: #ffffff;
  border-color: var(--dark-bg);
}

.info-icon {
  width: 40px;
  height: 40px;
  background: var(--dark-bg);
  color: var(--accent-yellow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.info-card { 
  background: #fff; 
  padding: 24px; 
  border-radius: var(--radius-md); 
  border: 1px solid var(--border-color); 
  margin-top: 20px; 
}

.info-item { 
  display: flex; 
  gap: 16px; 
  margin-bottom: 20px; 
  align-items: flex-start;
}

.yellow-icon {
  color: var(--accent-yellow) !important;
  font-size: 1.2rem;
  margin-top: 4px;
  /* Dark background outline for the icon */
  text-shadow: 
    -1px -1px 0 var(--dark-bg),  
     1px -1px 0 var(--dark-bg),
    -1px  1px 0 var(--dark-bg),
     1px  1px 0 var(--dark-bg);
}

.emergency .info-icon {
  background: var(--primary-red);
  color: #ffffff;
}

.info-details {
  display: flex;
  flex-direction: column;
}

.info-details strong {
  font-size: 0.95rem;
  color: var(--dark-bg);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.emergency .info-details strong {
  color: var(--accent-yellow);
}

.info-details span, .info-details a {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
  text-decoration: none;
}

.emergency .info-details span {
  color: #e2e8f0;
  font-weight: 600;
}

.phone-link {
  color: var(--primary-red) !important;
  font-weight: 700;
}

.map-wrapper {
  height: 100%;
  min-height: 450px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

@media (max-width: 992px) {
  .location-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .info-card-compact.emergency {
    grid-column: span 1;
  }
}
/* Footer */
.footer { 
  background: var(--dark-bg); 
  padding: 80px 0 20px 0; 
  color: #94a3b8; 
  border-top: 4px solid var(--primary-red);
}

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

.footer-col h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background: var(--primary-red);
}

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

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

.footer-links a { 
  color: #94a3b8; 
  text-decoration: none; 
  transition: all 0.2s ease;
  display: inline-block;
}

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

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

.footer-contact-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  align-items: flex-start;
  font-size: 0.95rem;
}

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

.footer-contact-list a {
  color: #94a3b8;
  text-decoration: none;
}

.footer-socials {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  background: var(--dark-surface);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: var(--primary-red);
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: #94a3b8;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.mobile-sticky-bar { display: none; }

/* Responsive Media Queries - Corrected */
@media (max-width: 992px) {
  .hero-grid, .why-us-grid, .location-grid, .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    gap: 40px;
    text-align: center;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-contact-list li {
    justify-content: center;
  }

  .footer-socials {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .top-bar-content { justify-content: center; }
  .nav-links, .nav-actions { display: none; }
  .mobile-toggle { display: block; }
  
  /* Make mobile drop-down dark to match the new Navbar */
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background-color: var(--dark-surface);
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
  }
  
  .hero-text h1 { font-size: 2.1rem; }
  .hero { padding: 40px 0 60px 0; }
  .hero-form-card { padding: 20px; }
  
  .mobile-sticky-bar {
    display: block;
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    background: transparent; padding: 12px 16px;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
  }

  .mobile-sticky-bar.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  body { padding-bottom: 70px; }
}