﻿/* Base Styles & Variables */
:root {
  --primary-color: #1a365d;
  --secondary-color: #2d5aa0;
  --accent-color: #f6ad3c;
  --success-color: #38a169;
  --text-dark: #2d3748;
  --text-light: #718096;
  --bg-light: #f7fafc;
  --white: #ffffff;
  --gradient: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
}

/* Utility Classes */
.center-text {
  text-align: center;
}

/* Styles */
.site-header {
  background: var(--gradient);
  color: var(--white);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 4px 8px 12px rgba(0, 0, 0, 0.6);
  margin-bottom: 0;
}

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

.header-container a {
  border-bottom: none;
}

.logo img {
  height: 109px;
  width: 364px;
  filter: brightness(1.2);
}

.quick-contact {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  font-size: 16px;
}

.contact-item i {
  font-size: 20px;
  color: var(--accent-color);
}

.contact-item a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.cta-button {
  background: var(--accent-color);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 4px 8px 12px rgba(246, 173, 60, 0.45);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 6px 12px 18px rgba(246, 173, 60, 0.75);
  color: var(--white);
}

/* Mobile Responsive Header */
@media (max-width: 768px) {
  .header-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 15px;
  }

  .contact-quick {
    flex-direction: column;
    gap: 15px;
  }

  .logo img {
    height: 60px;
  }
}

/* Hero Section Improvements */
body.homepage #header {
  min-height: 60vh !important;
}

#header {
  background: linear-gradient(rgba(26, 54, 93, 0.8), rgba(45, 90, 160, 0.8));
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

#header .inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

#header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

#header p {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  margin-bottom: 30px;
  opacity: 0.95;
}

#header .inner a {
  display: inline-block;
  margin: 0 auto;
  font-weight: bold;
  width: 6.5em;
  height: 6.5em;
  line-height: 6.5em;
}

/* Trust Indicators */
.trust-bar {
  background: var(--bg-light);
  padding: 20px 0;
  text-align: center;
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  font-weight: 600;
}

.trust-item i {
  color: var(--success-color);
  font-size: 20px;
}

/* Hero Banner Styles */
.hero-banner {
  background: var(--gradient);
  color: var(--white);
  padding: 60px 0;
  margin-bottom: 0;
}

.hero-banner h2 {
  color: var(--white);
  margin-bottom: 20px;
}

/* Sticky mobile Call Now button */
.call-now {
  position: fixed;
  bottom: 16px;
  right: 16px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #0a7;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}
@media (min-width: 900px) {
  .call-now {
    display: none;
  }
}

.hero-banner p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-align: center;
}

.hero-banner-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-banner .call-button {
  background: var(--accent-color);
  color: var(--primary-color);
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 700;
}

.hero-banner .call-button:hover {
  color: var(--white);
}

/* TODO: Add hover effects */
.hero-banner .scroll-button {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 30px;
}

.hero-banner .scroll-button:hover {
  background: var(--white);
  color: var(--primary-color);
}

/* Service Cards */
#services {
  padding: 1.5rem 3rem;
  background: var(--primary-color);
  margin-bottom: 0;
}

.services-header {
  text-align: center;
  margin-bottom: 3rem;
}

.services-header h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.services-header p {
  font-size: 1.2rem;
  color: #e7eefb;
  max-width: 800px;
  margin: 0 auto;
}

#services .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.5rem;
}

/* Modern Cards for Services */
.service-card {
  background: var(--white);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 10px 20px 30px rgba(0, 0, 0, 0.45);
  transition: all 0.3s ease;
  border-top: 3px solid var(--accent-color);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 20px 40px 60px rgba(0, 0, 0, 0.75);
}

#services .service-card a {
  margin-bottom: 1rem;
}

.service-card img {
  border-radius: 12px;
  margin-bottom: 0.5rem;
}

.service-card h3 {
  color: var(--primary-color) !important;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.service-card p {
  color: var(--secondary-color) !important;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.service-card li {
  color: var(--secondary-color) !important;
}

.service-card li span {
  color: var(--success-color) !important;
}

/* Additional specificity for service card text visibility */
#services .service-card p {
  color: var(--secondary-color) !important;
}

#services .service-card li {
  color: var(--secondary-color) !important;
}

#services .service-card h3 {
  color: var(--primary-color) !important;
}

#services .service-card h3 a {
  color: var(--primary-color) !important;
  text-decoration: none;
}

/* Why Choose Us Styles */
#why-choose-us {
  background: var(--primary-color);
  padding: 1.5rem 0;
  margin-bottom: 0;
}

#why-choose-us .container {
  /* Stack content for consistent alignment */
  display: block;
  max-width: 1100px;
  margin: 0 auto;
}

#why-choose-us img {
  border-radius: 18px;
  box-shadow: 10px 20px 30px rgba(0, 0, 0, 0.45);
  flex: 1;
  max-width: 50%;
}

#why-choose-us .content {
  flex: 1;
  padding: 20px;
  margin-left: 1rem;
}

#why-choose-us h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

#why-choose-us strong {
  color: var(--white);
  font-weight: 700;
}

#why-choose-us p {
  font-size: 1.3rem;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

#why-choose-us .content-item {
  display: flex;
  align-items: start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

#why-choose-us h3 {
  color: var(--white);
  margin-bottom: 5px;
}

#why-choose-us i {
  color: var(--accent-color);
  font-size: 24px;
  margin-top: 5px;
}

#why-choose-us .content-contact {
  text-align: center;
}

#why-choose-us .content-contact a {
  background: var(--gradient);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--white);
  font-size: 1.1rem;
  font-weight: 700;
}

#why-choose-us .content-contact a:hover {
  background: var(--white);
  color: var(--primary-color);
}

/* Align and style bullets in Why Choose Us */
#why-choose-us ul.feature-list {
  list-style: disc;
  color: var(--white);
  padding-left: 1.5rem;
  margin: 0;
}

#why-choose-us ul.feature-list li {
  margin: 0.4rem 0;
}

#why-choose-us ul.feature-list li strong {
  color: var(--white);
}

/* Service Locations */
#service-locations {
  background: var(--bg-light);
  padding: 1.5rem 0;
  margin-bottom: 0;
  text-align: center;
}

#service-locations h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

#service-locations .service-locations-header {
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 1rem;
}

#service-locations .service-locations-description {
  font-size: 1.2rem;
  text-align: center;
}

/* Service Area section on Automotive page */
#service-area {
  background: var(--primary-color);
  color: var(--white);
  padding: 1.5rem 0;
}

#service-area h2 {
  color: var(--white);
}

#service-area p {
  color: var(--white);
}

#service-locations h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

#service-locations ul {
  list-style: none;
  padding: 0;
}

#service-locations li {
  font-weight: bold;
  color: var(--secondary-color);
}

/* Footer Styles */
#footer {
  background: var(--primary-color);
  margin-top: 0;
  padding: 3rem 0;
}

#footer section {
  padding: 1rem;
}

#footer .icon-container {
  text-align: center;
  margin-bottom: 0.5rem;
}

#footer h3 {
  margin-bottom: 0.5rem;
}

#footer ul li {
  margin-top: 0;
  padding: 1rem;
}

/* Navigation */
#nav {
  position: relative;
  z-index: 100;
}

.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}

#nav > ul {
  line-height: 0px;
  margin: 0;
  border-left: solid 1px rgba(192, 192, 192, 0.75);
  border-right: solid 1px rgba(192, 192, 192, 0.75);
}

#nav > ul:before,
#nav > ul:after {
  content: "";
  display: block;
  width: 27.5%;
  position: absolute;
  top: 50%;
  margin-top: -3px;
  height: 9px;
  border-top: solid 1px rgba(192, 192, 192, 0.75);
  border-bottom: solid 1px rgba(192, 192, 192, 0.75);
}

@media (max-width: 1330px) {
  #nav > ul:before,
  #nav > ul:after {
    display: none;
  }
}

#nav > ul:before {
  left: 100%;
}

#nav > ul:after {
  right: 100%;
}

/* Navigation Items */
.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  white-space: nowrap;
  overflow: visible;
}

@media (max-width: 1330px) {
  .nav-menu > li > a {
    padding: 0.75rem;
    font-size: 1rem;
  }
}

.nav-menu > li > a:hover,
.nav-menu > li:hover > a {
  background: rgba(246, 173, 60, 0.45);
  border: 1px solid var(--accent-color);
  transform: translateY(-3px);
}

/* Dropdown Toggle Icons */
.dropdown-toggle i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

/* Standard Dropdown Menus */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    135deg,
    rgba(26, 54, 93, 0.9),
    rgba(45, 90, 160, 0.9)
  );
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.6);
  min-width: 320px;
  max-width: 90vw;
  max-height: 70vh;
  padding: 0.5rem;
  margin-top: 9px;
  list-style: none;
  z-index: 100;

  /* Hide by default */
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  pointer-events: none; /* prevent hover traps when hidden */
}

/* Show dropdowns on hover */
.dropdown:hover .dropdown-menu,
.dropdown.open > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Arrow for dropdowns */
/* Acts as a border */
.dropdown-menu::before,
.mega-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid rgba(255, 255, 255, 0.75);
  z-index: 1;
}

/* Arrow */
.dropdown-menu::after,
.mega-menu::after {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 9px solid rgba(26, 54, 93, 0.9);
  z-index: 2;
}

/* Dropdown Items */
.dropdown-menu li {
  margin: 0;
  border-radius: 6px;
}

.dropdown-menu li a {
  display: block;
  padding: 1rem 1.5rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  border: none;
  transition: all 0.3s ease;
  border-radius: 6px;
  height: fit-content;
  white-space: nowrap;
  overflow: visible;
  text-align: left;
}

.dropdown-menu li:hover a {
  background: rgba(246, 173, 60, 0.75);
  color: var(--white);
  transform: translateX(3px);
}

/* Two-Column Layout for Long Dropdowns */
@media (min-width: 992px) {
  .dropdown:not(.mega-dropdown) .dropdown-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    min-width: 300px;
    padding: 1rem;
  }
}

/* Mega Menu Styles */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    135deg,
    rgba(26, 54, 93, 0.97),
    rgba(45, 90, 160, 0.97)
  );
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.6);
  padding: 1rem;
  margin-top: 0.5rem;
  z-index: 100;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
  min-width: 720px;
  max-width: 90vw;

  /* Hide by default */
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  pointer-events: none; /* prevent hover traps when hidden */
}

/* Show mega menu on hover */
.mega-dropdown:hover .mega-menu,
.mega-dropdown.open > .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Service areas menu specific transform on larger screens */
@media (min-width: 992px) {
  .mega-dropdown:hover .service-areas-menu,
  .mega-dropdown.open > .service-areas-menu {
    transform: none;
  }
}

/* Service Areas Mega Menu - 3 columns */
.service-areas-menu {
  grid-template-columns: repeat(3, 1fr);
  min-width: 720px;
  max-width: 90vw;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 9px;
}

/* Prevent service areas menu from overflowing on the right */
@media (min-width: 992px) {
  .service-areas-menu {
    left: auto;
    right: 0;
    transform: none;
  }
}

/* Adjust arrow positioning for right-aligned service areas menu on larger screens */
@media (min-width: 992px) {
  .service-areas-menu::before,
  .service-areas-menu::after {
    left: auto;
    right: 2rem;
    transform: none;
  }
}

/* Mega Menu Sections */
.mega-section {
  padding: 0;
}

.mega-section p {
  color: var(--accent-color);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px !important;
  padding: 1rem 1.5rem;
  background: rgba(246, 173, 60, 0.15);
  border-radius: 6px;
  border: none;
}

.mega-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-section li {
  margin: 0;
}

.mega-section li a {
  display: block;
  padding: 1rem 1.5rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: none;
  white-space: nowrap;
  overflow: visible;
  text-align: left;
}

.mega-section li:hover a {
  background: rgba(246, 173, 60, 0.75);
  color: var(--white);
  transform: translateX(3px);
}

.mega-section .more-cities {
  color: var(--accent-color);
  font-style: italic;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  font-size: 1.1rem;
  font-weight: bold;
}

/* Mobile Navigation */
@media (max-width: 991px) {
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(26, 54, 93, 0.9);
    border-radius: 12px;
    padding: 1rem;
    margin: 1rem;
    gap: 9px;
  }

  .nav-menu > li {
    flex: 0 0 auto;
    position: relative;
  }

  .nav-menu > li > a {
    width: 100%;
    padding: 0.5rem 1rem;
  }

  .dropdown-menu,
  .mega-menu {
    top: 100%;
    left: 50%;
    right: auto;
    transform: none;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.6);
    background: linear-gradient(
      135deg,
      rgba(26, 54, 93, 0.9),
      rgba(45, 90, 160, 0.9)
    );
    max-height: 60vh;
    display: none;
    margin-top: 0;
  }

  .dropdown:hover .dropdown-menu,
  .mega-dropdown:hover .mega-menu {
    display: grid;
    opacity: 1;
    visibility: visible;
    transition-delay: 0.1s;
  }

  .mega-menu {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    max-width: 400px;
    height: auto;
    max-height: none;
    padding: 0.5rem;
  }

  .mega-menu.service-areas-menu {
    grid-template-columns: repeat(3, 1fr);
  }

  .dropdown-menu::before,
  .dropdown-menu::after,
  .mega-menu::before,
  .mega-menu::after {
    display: block;
  }

  .dropdown-menu {
    grid-template-columns: 1fr;
    min-width: auto;
  }
}

/* Mobile Menu Toggle */
@media (max-width: 736px) {
  #nav {
    display: none;
  }
}

/* Enhanced Scrollbar for Dropdowns */
.dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(246, 173, 60, 0.75);
  border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: rgba(246, 173, 60, 0.9);
}

/* Focus States for Accessibility */
.nav-menu a:focus,
.dropdown-menu a:focus,
.mega-section a:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
  background: rgba(246, 173, 60, 0.2);
}

/* Smooth animations */
.nav-menu a,
.dropdown-menu a,
.mega-section a {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Keep active navigation item highlighted */
.nav-menu > li.current > a {
  background: rgba(246, 173, 60, 0.2);
  color: var(--accent-color);
}

#footer a {
  font-weight: bold;
  border-bottom: 0;
}

#footer strong {
  color: #fff;
}

#footer table {
  width: 100%;
  font-size: 0.98em;
  border-collapse: collapse;
  margin-top: 8px;
}

#footer hr {
  margin: 0.5rem;
  top: 0;
}

#footer hr:before,
#footer hr:after {
  background: var(--accent-color);
  width: 33%;
}

#footer .contact {
  margin: 0;
}

#footer .contact .button {
  font-weight: bold;
  display: block;
  width: fit-content;
  padding: 0.75rem 1.5rem;
  margin: 1rem auto;
}

#footer .social-icons {
  border-radius: 18px;
}

/* TODO: Get proper colors and hover styles */
#footer .social-icons a {
  color: var(--white);
  transition: color 0.3s;
}

#footer .social-icons a:hover {
  color: var(--accent-color);
}

#footer .copyright p {
  text-align: center;
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Page Background Color Customization */
/* Set main content background to yellow, excluding header and footer */
#page-wrapper {
  background-color: #ffde59;
}

/* Override wrapper background to inherit the yellow color */
.wrapper {
  background-color: #ffde59 !important;
}

/* Also update hero banner to use yellow background */
.hero-banner {
  background-color: #ffde59 !important;
}

/* Update footer to use the same gradient as header */
#footer {
  background: var(--gradient) !important;
  color: var(--white);
}

/* Update trust-bar to use the same gradient as header */
.trust-bar {
  background: var(--gradient) !important;
  color: var(--white);
}

.trust-item {
  color: var(--white) !important;
}

.trust-item i {
  color: var(--white) !important;
}

/* Keep header with original styling */
#header {
  background-color: transparent;
}

/* Content text colors on yellow background (match screenshot)
   - Headings: primary deep blue
   - Body text: dark slate
*/
.wrapper h1, .wrapper h2, .wrapper h3, .wrapper h4, .wrapper h5, .wrapper h6 {
  color: var(--primary-color) !important;
}
.wrapper p, .wrapper li, .wrapper td, .wrapper th, .wrapper label, .wrapper a {
  color: var(--text-dark) !important;
}
.wrapper a:hover { color: var(--secondary-color) !important; }

/* Prevent horizontal overflow from mega menus */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

#page-wrapper {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Ensure mega menus don't extend beyond viewport on smaller screens */
@media (max-width: 1200px) {
  .service-areas-menu {
    min-width: 600px;
    max-width: 85vw;
  }
}

@media (max-width: 900px) {
  .service-areas-menu {
    min-width: 400px;
    max-width: 90vw;
  }
}

/* Fix hover area for Service Areas dropdown to prevent gaps */
.mega-dropdown:last-child {
  position: relative;
}

.mega-dropdown:last-child::before {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  height: 10px;
  background: transparent;
  z-index: 99;
}

/* FAQ accordion styling */
details {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  margin: 10px 0;
  background: rgba(255, 255, 255, 0.35);
}
details summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 16px;
  font-weight: 700;
  color: var(--primary-color) !important;
}
details[open] summary {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
details > *:not(summary) {
  padding: 12px 16px;
}

/* Chips for service areas */
.chips { margin-top: 8px; }
.chip {
  display: inline-block;
  padding: 6px 10px;
  margin: 4px 6px 0 0;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 999px;
  background: rgba(255,255,255,0.5);
  color: var(--text-dark) !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.chip:hover { background: rgba(255,255,255,0.75); }

/* Cards for related services */
.cards .card {
  display: block;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.5);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cards .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}
.cards .card h3 { padding: 10px 12px; color: var(--primary-color) !important; }

