/* =========================================
   SERVICE AREA DIRECTORY CUSTOM STYLES
   ========================================= */

:root {
    --primary: #059EFF;
    --secondary: #DEF3FF;
    --text-dark: #000000;
    --text-body: #4a4a4a;
    --bg-light: #F4F9FD;
    --bg-page: #ffffff;
    --border-color: #E5E9F0;
}

.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: #7FB401;
}

.sp-subtitle {
    color: #7FB401;
    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: #7FB401;
    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: #6a9901;
    color: #ffffff;
}

/* --- 1. Header Banner --- */
.sa-header-banner {
    position: relative;
    width: 100%;
    height: 220px;
    background-image: url('/img/coupon_background.jpg') !important;
    background-size: cover;
    background-position: center;
    background-color: #b0bec5; /* fallback */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

}

.sa-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sa-page-title {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
    color: #ffffff;
    font-size: 36px;
    font-weight: 600;
    line-height: 36px;
    text-transform: uppercase;
    text-align: center !important;
}

.sa-breadcrumb {
    font-size: 13px;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sa-breadcrumb a {
    color: #7FB401;
    text-decoration: none;
    transition: color 0.3s;
}

.sa-breadcrumb a:hover {
    color: var(--primary);
}

.sa-breadcrumb span {
    color: #000000;
}

/* --- 2. Alphabetical Directory Grid --- */
.sa-alphabet-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 40px;
    align-items: start;
}

/* Letter group — no card, no border, no shadow */
.sa-letter-group {
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
}

/* Bold letter header */
.sa-category-title {
    font-size: 18px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 8px;
    padding-bottom: 0;
    border-bottom: none;
}

/* The Tables */
.sa-table {
    width: 100%;
    border-collapse: collapse;
}

.sa-table td {
    padding: 0;
    border-bottom: none;
}

.sa-table a {
    display: block;
    padding: 4px 0;
    color: #333333;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* .sa-table a:hover {
    color: #7FB401;
    text-decoration: underline;
    padding-left: 0;
    background: transparent;
} */

.sa-table a::after {
    display: none;
}

/* --- 3. Bottom CTA Section --- */
.sd-cta-section {
    background-color: rgba(119, 180, 1, 0.12);
}

/* --- Responsive Queries --- */
@media (max-width: 1199px) {
    .sa-alphabet-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .sa-alphabet-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .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: repeat(2, 1fr);
    }

    .sa-page-title {
        font-size: 26px;
    }

    .sa-header-flex {
        align-items: center;
        text-align: center;
    }

    .section-padding {
        padding: 50px 0;
    }

    .container-1200 {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 480px) {
    .sa-alphabet-grid {
        grid-template-columns: 1fr;
    }
    .sa-header-banner{
        height: 160px;

    }
}