


/* ===== SERVICE AREAS ===== */
.service-areas {
    background: #ffffff;
  }
  
  
  /* ===== SERVICE AREAS — LARGE SCREEN OPTIMIZATION ===== */
  .service-areas {
    padding: clamp(5rem, 8vw, 10rem) 0;
  }
  
  .service-areas__inner {
    max-width: 1600px; /* fills large monitors properly */
    margin: 0 auto;
    padding-left: clamp(2rem, 6vw, 6rem);
    padding-right: clamp(2rem, 6vw, 6rem);
  }
  
  
  .service-areas__head {
    max-width: 1100px; /* allows headline to breathe */
    margin-bottom: clamp(3rem, 4vw, 5rem);
  }
  
  .service-areas__eyebrow {
    font-size: clamp(1.05rem, 0.9vw, 1.35rem);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 0.75rem;
    display: inline-block;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
  }
  
  .service-areas__title {
    font-size: clamp(3.4rem, 3vw, 6.75rem);
    line-height: 1.1;
    font-weight: 800;
  }
  
  .service-areas__subtitle {
    font-size: clamp(1.35rem, 1.1vw, 2.35rem);
    max-width: 900px;
  }
  /* Subtle text lift */
  .service-areas__head h2,
  .service-areas__head p,
  .service-areas__head span {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.08);
    transform: translateZ(0);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
  }
  
  .service-areas__head h2:hover {
    transform: translateY(-2px);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.12);
  }
  
  /* Grid */
  .service-areas__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(2rem, 2.5vw, 3.5rem);
  }
  
  /* Card */
  .service-area-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #fff;
    color: #fff;
    min-height: clamp(360px, 28vw, 480px);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    transition: transform 0.9s ease, box-shadow 0.9s ease;
  }
  
  .service-area-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.65);
  }
  
  /* Background image */
  .service-area-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.55);
    z-index: 1;
  }
  
  /* Content wrapper */
  .service-area-card__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 2rem;
    text-align: left;
  }
  
  /* Card text */
  .service-area-card__title {
    font-size: clamp(1.6rem, 1.4vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
  }
  
  .service-area-card__regions {
    font-size: clamp(1rem, 0.95vw, 1.15rem);
    line-height: 1.4;
    opacity: 0.95;
    margin-bottom: 1rem;
  }
  
  .service-area-card__services {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    justify-content: flex-start;
  }
  
  .service-area-card__services li {
    flex: 1 1 auto;
    min-width: 80px;
    max-width: 100%;
    text-align: center;
    padding: 0.35rem 0.6rem;
    background: #ffffff;
    color: #111;
    border-radius: 999px;
    box-sizing: border-box;
    position: relative;
  }
  
  /* Make entire card clickable */
  .service-area-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .service-area-card__link:hover .service-area-card,
  .service-area-card__link:focus .service-area-card {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.12);
    outline: none;
  }
  
  
  /* ===== SERVICE AREAS DARK MODE ===== */
  [data-theme="dark"] .service-areas {
    background: #111; /* Dark background */
  }
  
  [data-theme="dark"] .service-areas__head {
    max-width: 760px;
    margin-bottom: 3.5rem;
  }
  
  [data-theme="dark"] .service-areas__eyebrow {
    font-size: clamp(1.05rem, 0.9vw, 1.35rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #aaa; /* Lighter gray for dark background */
    margin-bottom: 0.75rem;
    display: inline-block;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
  }
  
  [data-theme="dark"] .service-areas__title {
    font-size: clamp(3.4rem, 3vw, 6.75rem);
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #fff; /* White for contrast */
  }
  
  [data-theme="dark"] .service-areas__subtitle {
    font-size: clamp(1.35rem, 1.1vw, 2.35rem);
    line-height: 1.6;
    color: #ccc;
  }
  
  /* Subtle text lift */
  [data-theme="dark"] .service-areas__head h2,
  [data-theme="dark"] .service-areas__head p,
  [data-theme="dark"] .service-areas__head span {
    text-shadow: 0 2px 4px rgba(0,0,0,0.8), 0 1px 2px rgba(0,0,0,0.6);
    transform: translateZ(0);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
  }
  
  [data-theme="dark"] .service-areas__head h2:hover {
    transform: translateY(-2px);
    text-shadow: 0 4px 8px rgba(0,0,0,0.85), 0 2px 4px rgba(0,0,0,0.7);
  }
  
  /* Grid remains the same */
  [data-theme="dark"] .service-areas__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
  }
  
  /* Card */
  [data-theme="dark"] .service-area-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #1a1a1a; /* Dark card background */
    color: #fff;
    min-height: 340px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
    transition: transform 0.9s ease, box-shadow 0.9s ease;
  }
  
  [data-theme="dark"] .service-area-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.95);
  }
  
  /* Background image */
  [data-theme="dark"] .service-area-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.55); /* Darker for contrast */
    z-index: 1;
  }
  
  /* Content wrapper */
  [data-theme="dark"] .service-area-card__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 2rem;
    text-align: left;
  }
  
  /* Card text */
  [data-theme="dark"] .service-area-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    color: #fff;
  }
  
  [data-theme="dark"] .service-area-card__regions {
    font-size: 0.95rem;
    line-height: 1.4;
    opacity: 0.85;
    margin-bottom: 1rem;
    color: #fff;
  }
  
  [data-theme="dark"] .service-area-card__services li {
    flex: 1 1 auto;
    min-width: 80px;
    max-width: 100%;
    text-align: center;
    padding: 0.35rem 0.6rem;
    background: #333; /* Darker pill background */
    color: #fff;      /* White text */
    border-radius: 999px;
    box-sizing: border-box;
    position: relative;
  }
  
  /* Make entire card clickable */
  [data-theme="dark"] .service-area-card__link:hover .service-area-card,
  [data-theme="dark"] .service-area-card__link:focus .service-area-card {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.5);
    outline: none;
  }
  
  
  @media (min-width: 1800px) {
  
    .service-areas__inner {
      max-width: 1800px;
    }
  
    .service-areas__title {
      font-size: 4rem;
    }
  
    .service-areas__subtitle {
      font-size: 1.45rem;
    }
  
    .service-area-card {
      min-height: 520px;
    }
  
    .service-area-card__title {
      font-size: 2.2rem;
    }
  
  }
  
  
  
  /* ===== BRAND COLOR EMPHASIS ===== */
  .brand-aio { color: #2563eb; font-weight: 700; }
  .brand-vend { color: #10b981; font-weight: 700; }
  .brand-aio-b { color: #2563eb; font-weight: 700; font-size: 2rem; }
  .brand-vend-b { color: #10b981; font-weight: 700; font-size: 2rem; }
  .brand-aio-c { color: #2563eb; font-weight: 700; font-size: 3rem; }
  .brand-vend-c { color: #10b981; font-weight: 700; font-size: 3rem; }
  
  /* ===== CONTACT CTA ===== */
  .contact-cta {
    background: linear-gradient(135deg, #f0f9ff 0%, #e6fffa 100%);
    padding: 5rem 1rem;
    text-align: center;
    box-shadow: 0px -20px 10px rgba(0, 0, 0, 0.1);
  }
  
  .contact-cta__title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.2;
  }
  
  .contact-cta__subtitle {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 3rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
  }
  
  .contact-cta__buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  
  .contact-cta__btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 1rem 2.2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    overflow: hidden;
    transition: all 0.35s ease;
    min-width: 220px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.55);
  }
  
  .contact-cta__btn i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
  }
  
  .contact-cta__btn:hover i {
    transform: translateX(4px) rotate(5deg);
  }
  
  .contact-cta__btn--call {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.95);
  }
  
  .contact-cta__btn--call:hover {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.45);
  }
  
  .contact-cta__btn--email {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.95);
  }
  
  .contact-cta__btn--email:hover {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.45);
  }
  
  .contact-cta__hours {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-top: 0.3rem;
    display: block;
    color: #f9fafb;
  }
  
  .contact-cta__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    transform: skewX(-25deg);
    transition: all 0.5s ease;
  }
  
  .contact-cta__btn:hover::before {
    left: 125%;
  }
  
  /* =========================
     CONTACT CTA — DARK MODE ENHANCEMENTS
     ========================= */
     :root[data-theme="dark"] {
      /* Section background */
      .contact-cta {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        box-shadow: 0px -20px 10px rgba(0, 0, 0, 0.6);
        color: #e2e8f0;
      }
    
      /* Titles and subtitles */
      .contact-cta__title {
        color: #f3f4f6; /* slightly brighter for headings */
      }
      .contact-cta__subtitle {
        color: #cbd5e1; /* lighter gray for readability */
      }
    
      /* Buttons */
      .contact-cta__btn {
        color: #f9fafb; /* ensure high contrast text */
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.85);
      }
      .contact-cta__btn::before {
        background: rgba(255, 255, 255, 0.15);
      }
    
      /* Call button */
      .contact-cta__btn--call {
        background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
        box-shadow: 0 8px 24px rgba(37, 99, 235, 0.95);
      }
      .contact-cta__btn--call:hover {
        background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
        box-shadow: 0 12px 28px rgba(37, 99, 235, 0.55);
      }
    
      /* Email button */
      .contact-cta__btn--email {
        background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
        box-shadow: 0 8px 24px rgba(16, 185, 129, 0.95);
      }
      .contact-cta__btn--email:hover {
        background: linear-gradient(135deg, #059669 0%, #10b981 100%);
        box-shadow: 0 12px 28px rgba(16, 185, 129, 0.55);
      }
    
      /* Hours or small text */
      .contact-cta__hours {
        color: #cbd5e1;
        opacity: 0.9;
      }
    
      /* Responsive shadow/glow for hover states */
      .contact-cta__btn:hover {
        transform: translateY(-2px) scale(1.02);
      }
    }
    
    /* Optional: subtle glow on hover for dark mode */
    .contact-cta__btn--call:hover,
    .contact-cta__btn--email:hover {
      filter: drop-shadow(0 4px 12px rgba(255,255,255,0.12));
    }
    
  
  
    /* ===== SECTION DIVIDER (Service Areas → Catalog) ===== */
  .section-divider {
    width: 100%;
    max-width: 1000px;
    height: 1px;
    margin: 0 auto;
    background: #10b981; /* light gray */
  }
  [data-theme="dark"] .section-divider {
    background: #2563eb; /* subtle gray for dark mode */
  }
  .section-divider2 {
    width: 100%;
    max-width: auto;
    height: 10px;
    background: #2563eb; /* light gray */
    margin-top: -115px;
  }
  [data-theme="dark"] .section-divider2 {
    background: #10b981; /* subtle gray for dark mode */
  }
  

  /* ===== SERVICES MOBILE & TABLET IMPROVEMENTS ===== */
@media (max-width: 1024px) {

  /* SERVICES SECTION PADDING & SPACING */
  .mm-services-section__intro {
    padding: 2.5rem 3vw;
  }

  .mm-services-section__header h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    line-height: 1.25;
    margin-bottom: 1rem;
  }

  .mm-services-section__subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 2rem;
  }

  /* SERVICES GRID: STACK CARDS ON MOBILE */
  .mm-services-section__content.upgraded-services {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
  }

  .service-card .service-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
  }

  .service-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
  }

  .service-card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  /* IN-DEPTH SERVICES GRID: STACK ARTICLES */
  .in-depth-services__grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .service-item__image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
  }

  .service-item__content {
    padding: 1rem 0;
  }

  .service-item__content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .service-item__content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  /* CATALOG GRID: STACK */
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 3vw;
  }

  .catalog-card__content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
  }

  .catalog-card__content p {
    font-size: 0.875rem;
    line-height: 1.4;
  }

  /* NATIONAL COVERAGE & FAQ */
  .national-coverage__container,
  .service-faq-pro__container {
    padding: 2rem 3vw;
  }

  .national-coverage__header h2,
  .service-faq-pro__header h2 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 1rem;
  }

  .national-coverage__lead,
  .service-faq-pro__lead {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }

  .national-coverage__highlights span,
  .service-faq-pro__item h3 {
    font-size: 0.95rem;
  }

  .service-faq-pro__item p {
    font-size: 0.875rem;
    line-height: 1.45;
  }

  /* CONTACT CTA */
  .contact-cta {
    padding: 3rem 2vw;
  }

  .contact-cta__title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .contact-cta__subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .contact-cta__buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-cta__btn {
    min-width: 100%;
  }
}


/* =========================
   Center service icons on mobile
   ========================= */
   @media (max-width: 768px) {
    /* For service cards grid */
    .mm-services-section__content .service-card {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    /* Center the icon */
    .mm-services-section__content .service-card .service-icon {
      margin-bottom: 1rem;
      font-size: 2.5rem; /* optional: slightly bigger on mobile */
      display: block;
    }
  
    /* Ensure content text is centered */
    .mm-services-section__content .service-card div {
      text-align: center;
    }
  
    /* Adjust spacing for buttons or highlights if needed */
    .hero-mm__actions,
    .hero-mm__highlights {
      justify-content: center;
    }
  }
  