/* =========================================
   SERVICE AREA DIRECTORY CUSTOM STYLES
   ========================================= */

:root {
  --primary: #059eff;
  --secondary: #def3ff;
  --text-dark: #000000;
  --text-body: #4a4a4a;
  --bg-light: #f4f9fd;
  --bg-page: #f8f9fa; /* The missing grey background variable */
  --border-color: #e5e9f0;
}

/* The missing wrapper class to make the white elements pop */
.service-area-page {
  background-color: var(--bg-page);
  min-height: 100vh;
}

.section-padding {
  padding: 80px 0;
}
.text-center {
  text-align: center;
}
.mt-4 {
  margin-top: 40px;
}

/* Base Typography */
.sd-heading {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.sd-heading span {
  color: #0d8bce;
}
.sp-subtitle {
  color: #0d8bce;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 14px;
  display: block;
}
.sa-intro p {
  color: var(--text-body);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Base Primary Button */
.btn-primary {
  display: inline-block;
  background-color: #70cbff;
  color: #fff;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background-color: #0482d6;
  box-shadow: 0 4px 12px rgba(5, 158, 255, 0.3);
}

/* --- 1. Header Banner --- */
.sa-header-banner {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 35px 0;
}
.sa-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sa-page-title {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
}
.sa-breadcrumb {
  font-size: 13px;
  color: #888;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sa-breadcrumb a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s;
}
.sa-breadcrumb a:hover {
  color: var(--primary);
}
.sa-breadcrumb span {
  color: #07669c;
}

/* --- 2. Alphabetical Directory Grid --- */
.sa-alphabet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
  gap: 40px 50px;
}

.sa-letter-group {
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

/* The Large Letter Header */
.sa-letter-header {
  background-color: var(--secondary);
  color: #07669c;
  font-size: 28px;
  font-weight: 800;
  padding: 15px 25px;
  border-bottom: 2px solid #07669c;
}

/* The Tables */
.sa-table {
  width: 100%;
  border-collapse: collapse;
}

.sa-table td {
  padding: 0;
  border-bottom: 1px solid var(--border-color);
}

.sa-table tr:last-child td {
  border-bottom: none;
}

.sa-table a {
  display: block;
  padding: 15px 25px;
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.sa-table a::after {
  content: "\2192"; /* Unicode Right Arrow */
  position: absolute;
  right: 25px;
  color: var(--primary);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

/* Hover Effects */
.sa-table a:hover {
  background-color: var(--bg-light);
  color: var(--primary);
  padding-left: 30px; /* Slight nudge right */
}

.sa-table a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* --- 3. Bottom CTA Section --- */
.sd-cta-section {
  background-color: var(--secondary);
}

/* --- Responsive Queries --- */
@media (max-width: 991px) {
  .sa-alphabet-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
  }
  .sa-header-flex {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
    gap: 15px;
  }
}

@media (max-width: 767px) {
  .sa-alphabet-grid {
    grid-template-columns: 1fr; /* 1 column on mobile */
  }
  .sa-page-title {
    font-size: 26px;
  }
  .sa-header-flex {
    align-items: center;
    text-align: center;
  }
  .section-padding {
    padding: 50px 0;
  }
}

.sa-accordion-item {
  border: 1px solid #e5e9f0;
  border-radius: 4px;
  margin-bottom: 15px;
  overflow: hidden;
}

.sa-accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #ffffff;
  border: none;
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  cursor: pointer;
  transition:
    background 0.3s,
    color 0.3s;
}

.sa-accordion-item.is-open .sa-accordion-header {
  background-color: #0d8bce;
  color: #ffffff;
}

.sa-accordion-icon {
  font-size: 20px;
  font-weight: 700;
}

.sa-accordion-panel {
  padding: 25px;
}

.sa-areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 30px;
}

.sa-areas-col p {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px dotted #e5e9f0;
}

.sa-areas-col a {
  color: #4a4a4a;
  text-decoration: none;
  font-size: 18px;
}

.sa-areas-col a:hover {
  color: #0d8bce;
}

@media (max-width: 767px) {
  .sa-areas-grid {
    grid-template-columns: 1fr;
  }
}
