/* ===================================
   Medilab Piping Solutions - Stylesheet
   Clean, Modern Design - No Gradients
   =================================== */

/* CSS Variables */
:root {
  --primary-red: #C41E3A;
  --primary-red-dark: #9B1B30;
  --black: #1A1A1A;
  --dark-gray: #2D2D2D;
  --medium-gray: #5A5A5A;
  --light-gray: #E8E8E8;
  --off-white: #F5F5F5;
  --white: #FFFFFF;
  --font-main: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.3s ease;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background-color: var(--white);
}

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

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

ul {
  list-style: none;
}

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

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

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  margin-bottom: 1rem;
  color: var(--medium-gray);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Image Placeholder */
.image-placeholder {
  background-color: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--medium-gray);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.image-placeholder img,
.features-image img,
.about-image img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===================================
   Top Banner
   =================================== */
.top-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background-color: var(--black);
  color: var(--white);
  padding: 10px 0;
  font-size: 0.875rem;
}

.top-banner-content {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}

.top-banner-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  transition: var(--transition);
}

.top-banner-item:hover {
  color: var(--primary-red);
}

.top-banner-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--primary-red);
  fill: none;
}

@media (max-width: 600px) {
  .top-banner-content {
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }
  
  .top-banner-item {
    font-size: 0.8rem;
  }
}

/* ===================================
   Header & Navigation
   =================================== */
.header {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.logo img {
  height: 44px;
  width: auto;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  gap: 32px;
}

.nav-desktop a {
  font-weight: 500;
  color: var(--dark-gray);
  padding: 8px 0;
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-red);
  transition: var(--transition);
}

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

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--primary-red);
}

.header-cta {
  display: none !important;
}

@media (min-width: 768px) {
  .header-cta {
    display: block !important;
  }
}

.header-cta.btn {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background-color: var(--primary-red);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

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

.mobile-menu-btn:active {
  transform: scale(0.95);
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Animated hamburger to X */
.mobile-menu-btn.active {
  background-color: var(--black);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation */
.nav-mobile {
  position: fixed;
  top: 116px;
  left: 0;
  right: 0;
  background-color: var(--white);
  padding: 24px;
  box-shadow: var(--shadow-md);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.nav-mobile.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav-mobile a {
  display: block;
  padding: 12px 0;
  font-weight: 500;
  color: var(--dark-gray);
  border-bottom: 1px solid var(--light-gray);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--primary-red);
}

.nav-mobile .btn {
  color: var(--white);
  border-bottom: none;
  padding: 14px 28px;
  text-align: center;
}

.nav-mobile .btn:hover {
  color: var(--white);
}

/* Desktop Styles */
@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }

  .nav-desktop {
    display: block;
  }
}

/* ===================================
   Buttons
   =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background-color: var(--primary-red-dark);
  border-color: var(--primary-red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  background-color: var(--black);
  color: var(--white);
}

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

.btn-white:hover {
  background-color: var(--off-white);
}

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

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

/* ===================================
   Hero Section - Arrow Cut Design
   =================================== */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  background-color: var(--white);
  color: var(--black);
  overflow: hidden;
  padding-top: 116px; /* Account for top banner + fixed header */
}

/* Arrow-shaped image container */
.hero-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background-color: var(--light-gray);
  background-image: url('assets/suction-pump.jpg');
  background-size: cover;
  background-position: center;
  /* Arrow clip-path cutting into the left */
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%, 20% 50%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--medium-gray);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.hero-content {
  max-width: 560px;
  padding: 48px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(196, 30, 58, 0.1);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-red);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 28px;
  border: 1px solid rgba(196, 30, 58, 0.2);
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 28px;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.hero h1 span {
  color: var(--primary-red);
  display: block;
}

/* Decorative accent line */
.hero-deco-line {
  width: 80px;
  height: 5px;
  background-color: var(--primary-red);
  margin-bottom: 28px;
  border-radius: 3px;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--medium-gray);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

/* Stats bar at bottom of hero content */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid var(--light-gray);
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-red);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--medium-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero image placeholder (hidden on desktop, shown on mobile) */
.hero-image {
  display: none;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    min-height: auto;
    padding-top: 116px;
  }
  
  .hero-bg-image {
    position: relative;
    width: 100%;
    height: 280px;
    clip-path: none;
    order: -1;
    background-image: url('assets/suction-pump.jpg');
  }
  
  .hero-content {
    padding: 40px 0;
    max-width: 100%;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .hero-stats {
    gap: 16px;
  }
  
  .stat-number {
    font-size: 1.75rem;
  }
}

@media (min-width: 901px) {
  .hero-content {
    padding: 56px 0;
  }
  
  .hero-stats {
    max-width: 420px;
  }
}

/* ===================================
   Section Styles
   =================================== */
.section {
  padding: 80px 0;
}

.section-dark {
  background-color: var(--black);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.7);
}

.section-gray {
  background-color: var(--off-white);
}

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

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-red);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-header h2 {
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .section {
    padding: 120px 0;
  }
}

/* ===================================
   Services Section
   =================================== */
.services-grid {
  display: grid;
  gap: 24px;
}

.service-card {
  background-color: var(--white);
  border-radius: 16px;
  padding: 32px;
  transition: var(--transition);
  border: 1px solid var(--light-gray);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  background-color: var(--primary-red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--white);
  fill: none;
}

.service-card h3 {
  margin-bottom: 12px;
}

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

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary-red);
}

.service-link:hover {
  gap: 12px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .services-grid .service-card {
    grid-column: span 2;
  }

  .services-grid .service-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .services-grid.services-grid--2x2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid.services-grid--2x2 .service-card {
    grid-column: auto;
  }

  .services-grid.services-grid--2x2 .service-card:nth-child(4) {
    grid-column: auto;
  }
}

.expect-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .expect-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===================================
   Features Section
   =================================== */
.features-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.features-image {
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
}

.features-content h2 {
  margin-bottom: 24px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.feature-item {
  display: flex;
  gap: 16px;
}

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

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--white);
  fill: none;
}

.feature-text h4 {
  font-size: 1.125rem;
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 0.9375rem;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .features-image {
    height: 500px;
  }
}

/* ===================================
   CTA Section
   =================================== */
.cta {
  background-color: var(--primary-red);
  padding: 80px 0;
}

.cta-container {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

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

.cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 32px;
}

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

/* ===================================
   About Page
   =================================== */
.about-hero {
  padding: 140px 0 80px;
  background-color: var(--off-white);
}

.about-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.about-content h1 {
  margin-bottom: 24px;
}

.about-image {
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .about-image {
    height: 500px;
  }
}

/* Values */
.values-grid {
  display: grid;
  gap: 32px;
}

.value-card {
  text-align: center;
  padding: 40px 32px;
  background-color: var(--white);
  border-radius: 16px;
  border: 1px solid var(--light-gray);
}

.value-icon {
  width: 72px;
  height: 72px;
  background-color: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.value-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary-red);
  fill: none;
}

.value-card h3 {
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===================================
   Services Page
   =================================== */
.services-hero {
  padding: 140px 0 80px;
  background-color: var(--off-white);
  text-align: center;
}

.services-hero h1 {
  margin-bottom: 16px;
}

.services-hero p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.125rem;
}

.service-detail {
  display: grid;
  gap: 48px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--light-gray);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail-image {
  height: 350px;
  border-radius: 16px;
  overflow: hidden;
}

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

.service-detail-content ul {
  margin-top: 24px;
}

.service-detail-content li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--medium-gray);
}

.service-detail-content li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-color: var(--primary-red);
  border-radius: 50%;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-width: 768px) {
  .service-detail {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding: 100px 0;
  }

  .service-detail:nth-child(even) .service-detail-image {
    order: 2;
  }
}

/* ===================================
   Gallery Page
   =================================== */
.gallery-hero {
  padding: 140px 0 80px;
  background-color: var(--off-white);
  text-align: center;
}

.gallery-hero h1 {
  margin-bottom: 16px;
}

.gallery-hero p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.125rem;
}

.gallery-grid {
  display: grid;
  gap: 24px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.gallery-item .image-placeholder,
.gallery-item > img {
  height: 280px;
}

.gallery-item-large .image-placeholder,
.gallery-item-large > img {
  height: 400px;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background-color: rgba(0, 0, 0, 0.7);
  color: var(--white);
}

.gallery-caption h3 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 4px;
}

.gallery-caption p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .gallery-item-large .image-placeholder,
  .gallery-item-large > img {
    height: 450px;
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

/* ===================================
   Contact Page
   =================================== */
.contact-hero {
  padding: 140px 0 80px;
  background-color: var(--off-white);
  text-align: center;
}

.contact-hero h1 {
  margin-bottom: 16px;
}

.contact-hero p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.125rem;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.contact-grid .contact-info {
  order: 1;
}

.contact-grid .contact-form-wrapper {
  order: 2;
}

.contact-grid .service-areas {
  order: 3;
}

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

.contact-item {
  display: flex;
  gap: 16px;
}

.contact-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background-color: var(--primary-red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--white);
  fill: none;
}

.contact-item h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-item p {
  margin-bottom: 0;
}

.contact-item a {
  color: var(--primary-red);
  font-weight: 500;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
  background-color: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 500;
  color: var(--black);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 16px;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

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

.form-row {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    grid-template-rows: auto auto;
    gap: 48px 64px;
    align-items: start;
  }

  .contact-grid .contact-info {
    grid-column: 1;
    grid-row: 1;
    order: unset;
  }

  .contact-grid .contact-form-wrapper {
    grid-column: 2;
    grid-row: 1 / 3;
    order: unset;
  }

  .contact-grid .service-areas {
    grid-column: 1;
    grid-row: 2;
    order: unset;
    margin-top: 0;
  }

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

/* Service Areas */
.service-areas {
  padding-top: 40px;
  border-top: 1px solid var(--light-gray);
}

.service-areas h3 {
  margin-bottom: 16px;
}

.section-header + .areas-list {
  margin-top: -24px;
}

.areas-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 820px;
  margin: 0 auto;
}

.area-tag {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--off-white);
  border-radius: 100px;
  font-size: 0.875rem;
  color: var(--medium-gray);
}

/* ===================================
   Footer
   =================================== */
.footer {
  background-color: var(--black);
  color: var(--white);
  padding: 80px 0 24px;
}

.footer-grid {
  display: grid;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  background-color: var(--white);
  padding: 8px 12px;
  border-radius: 8px;
  width: fit-content;
}

.footer-logo img {
  height: 36px;
  width: auto;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

.footer-section h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-section ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

.footer-section a:hover {
  color: var(--primary-red);
}

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

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ===================================
   Utilities
   =================================== */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mt-4 {
  margin-top: 32px;
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

/* ===================================
   FAQ Section
   =================================== */
.faq-grid {
  display: grid;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--black);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary-red);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--primary-red);
  transition: var(--transition);
}

.faq-icon::before {
  width: 2px;
  height: 14px;
  top: 5px;
  left: 11px;
}

.faq-icon::after {
  width: 14px;
  height: 2px;
  top: 11px;
  left: 5px;
}

.faq-item.active .faq-icon::before {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 24px 20px;
  color: var(--medium-gray);
  line-height: 1.7;
}

.faq-answer-content p {
  margin-bottom: 0;
}

/* ===================================
   Home Contact Form
   =================================== */
.home-contact-grid {
  display: grid;
  gap: 48px;
  align-items: start;
}

.home-contact-info h2 {
  margin-bottom: 16px;
}

.home-contact-info > p {
  margin-bottom: 32px;
}

.quick-contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quick-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.quick-contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: var(--primary-red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-contact-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--white);
  fill: none;
}

.quick-contact-item h4 {
  font-size: 0.875rem;
  color: var(--medium-gray);
  font-weight: 500;
  margin-bottom: 2px;
}

.quick-contact-item p {
  margin-bottom: 0;
  color: var(--black);
  font-weight: 600;
}

.quick-contact-item a {
  color: var(--black);
}

.quick-contact-item a:hover {
  color: var(--primary-red);
}

@media (min-width: 768px) {
  .home-contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
  }
}

/* ===================================
   Coverage Tiers
   =================================== */
.coverage-tiers {
  display: grid;
  gap: 24px;
}

.coverage-card {
  background-color: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 16px;
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.coverage-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.coverage-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
}

.coverage-card--metro .coverage-icon {
  background-color: var(--primary-red);
}

.coverage-card--metro .coverage-icon svg {
  stroke: var(--white);
}

.coverage-card--regional .coverage-icon {
  background-color: var(--black);
}

.coverage-card--regional .coverage-icon svg {
  stroke: var(--white);
}

.coverage-card--national .coverage-icon {
  background-color: rgba(196, 30, 58, 0.1);
}

.coverage-card--national .coverage-icon svg {
  stroke: var(--primary-red);
}

.coverage-card h3 {
  font-size: 1.375rem;
  margin-bottom: 10px;
}

.coverage-desc {
  color: var(--medium-gray);
  font-size: 0.9375rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.coverage-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  list-style: none;
}

.coverage-areas li {
  background-color: var(--off-white);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--dark-gray);
  font-weight: 500;
}

.coverage-card:hover .coverage-areas li {
  background-color: #fce8eb;
  color: var(--primary-red);
}

.coverage-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-top: 20px;
  border-top: 1px solid var(--light-gray);
  width: 100%;
  margin-top: auto;
}

.coverage-badge svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary-red);
  fill: none;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .coverage-tiers {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===================================
   Map Container (legacy)
   =================================== */
.map-container {
  margin-top: 48px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ===================================
   Services Grid Layout (Card Grid)
   =================================== */
.services-section {
  background-color: var(--white);
}

.services-grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .services-grid-layout {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Service Card Styling */
.service-card-item {
  background-color: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card-item:hover {
  border-color: var(--primary-red);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

/* Card Header */
.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.card-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(196, 30, 58, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary-red);
}

.service-card-item h2 {
  font-size: 1.5rem;
  margin-bottom: 0;
}

.service-card-item > p {
  color: var(--medium-gray);
  margin-bottom: 24px;
  font-size: 1rem;
}

/* Pill Tags */
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.tag {
  background-color: var(--off-white);
  color: var(--dark-gray);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.service-card-item:hover .tag {
  background-color: #fce8eb;
  color: var(--primary-red);
}

/* Card Footer & Link */
.card-footer {
  margin-top: auto;
  border-top: 1px solid var(--light-gray);
  padding-top: 20px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary-red);
  font-size: 1rem;
}

.link-arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

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

/* Maintenance Banner */
.maintenance-banner {
  background-color: var(--primary-red);
  border-radius: 12px;
  padding: 32px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.maintenance-content {
  display: flex;
  align-items: center;
  gap: 24px;
}

.maintenance-content h3 {
  color: var(--white);
  margin-bottom: 8px;
}

.maintenance-content p {
  color: rgba(255,255,255, 0.9);
  margin-bottom: 0;
}

.maintenance-banner .icon-wrapper {
  background-color: rgba(255,255,255,0.2);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.maintenance-banner svg {
  width: 28px;
  height: 28px;
  stroke: var(--white);
}

@media (min-width: 768px) {
  .maintenance-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

