/* =========================================
   SERVICE AREA DIRECTORY CUSTOM STYLES
   ========================================= */

:root {
    --primary: #059EFF;
    --secondary: #DEF3FF;
    --text-dark: #000000;
    --text-body: #4a4a4a;
    --bg-light: #F4F9FD;
    --border-color: #E5E9F0;
}

.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: var(--primary); }
.sp-subtitle {
    color: var(--primary);
    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: var(--primary);
    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. Hero Section --- */
.sa-hero {
    height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.sa-hero-title {
    color: #ffffff;
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.sa-hero-subtitle {
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    margin: 0;
}

/* --- 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: var(--primary);
    font-size: 28px;
    font-weight: 800;
    padding: 15px 25px;
    border-bottom: 2px solid var(--primary);
}

/* 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 */
    }
}

@media (max-width: 767px) {
    .sa-alphabet-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
    .sa-hero {
        height: 250px;
    }
    .sa-hero-title {
        font-size: 36px;
    }
    .sa-hero-subtitle {
        font-size: 16px;
    }
    .section-padding { padding: 50px 0; }
}