/* =====================================================
   SERVICE AREAS
===================================================== */

.service-areas-section {
    position: relative;
    padding: 100px 0;
    background:
            radial-gradient(circle at 10% 10%, rgba(14, 101, 182, 0.05), transparent 30%),
            linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    overflow: hidden;
}


/* =====================================================
   SECTION HEADING
===================================================== */

.service-areas-heading {
    margin-bottom: 55px;
}

.service-areas-heading .section-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    padding: 7px 16px;

    background: rgba(255, 169, 3, 0.12);
    border: 1px solid rgba(255, 169, 3, 0.25);
    border-radius: 50px;

    color: #d98f00;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.service-areas-heading h2 {
    margin-bottom: 18px;

    color: #002A5C;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -1.5px;
}

.service-areas-heading p {
    max-width: 700px;
    margin: 0 auto;

    color: #687386;
    font-size: 17px;
    line-height: 1.8;
}


/* =====================================================
   TOWN CARD
===================================================== */

.service-areas-section .town-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 18px;

    height: 100%;
    min-height: 175px;
    padding: 27px 24px;

    background: #ffffff;
    border: 1px solid #e7ebf0;
    border-radius: 14px;

    text-decoration: none;

    box-shadow:
            0 5px 15px rgba(0, 42, 92, 0.03),
            0 15px 40px rgba(0, 42, 92, 0.04);

    transition:
            transform 0.3s ease,
            box-shadow 0.3s ease,
            border-color 0.3s ease;
}


/* Orange accent line */
.service-areas-section .town-card::before {
    content: "";
    position: absolute;

    left: 0;
    top: 28px;

    width: 3px;
    height: 0;

    background: #FFA903;
    border-radius: 0 5px 5px 0;

    transition: height 0.3s ease;
}


/* =====================================================
   ICON
===================================================== */

.service-areas-section .town-icon {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f2f7fc;
    border: 1px solid #e2edf7;
    border-radius: 12px;

    color: #0e65b6;
    font-size: 21px;

    transition:
            background 0.3s ease,
            color 0.3s ease,
            transform 0.3s ease;
}


/* =====================================================
   CONTENT
===================================================== */

.service-areas-section .town-content {
    min-width: 0;
}

.service-areas-section .town-state {
    display: block;
    margin-bottom: 4px;

    color: #9aa3af;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.service-areas-section .town-content h3 {
    margin: 0 0 15px;

    color: #002A5C;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;

    transition: color 0.3s ease;
}

.service-areas-section .town-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #687386;
    font-size: 12px;
    font-weight: 600;

    transition: color 0.3s ease;
}

.service-areas-section .town-link i {
    font-size: 14px;

    transition: transform 0.3s ease;
}


/* =====================================================
   HOVER
===================================================== */

.service-areas-section .town-card:hover {
    transform: translateY(-6px);

    border-color: rgba(14, 101, 182, 0.22);

    box-shadow:
            0 10px 20px rgba(0, 42, 92, 0.05),
            0 25px 50px rgba(0, 42, 92, 0.10);
}

.service-areas-section .town-card:hover::before {
    height: 65px;
}

.service-areas-section .town-card:hover .town-icon {
    background: #002A5C;
    border-color: #002A5C;
    color: #FFA903;

    transform: scale(1.05);
}

.service-areas-section .town-card:hover h3 {
    color: #0e65b6;
}

.service-areas-section .town-card:hover .town-link {
    color: #002A5C;
}

.service-areas-section .town-card:hover .town-link i {
    transform: translateX(5px);
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767.98px) {

    .service-areas-section {
        padding: 70px 0;
    }

    .service-areas-heading {
        margin-bottom: 38px;
    }

    .service-areas-heading h2 {
        font-size: 32px;
        letter-spacing: -0.8px;
    }

    .service-areas-heading p {
        font-size: 15px;
    }

    .service-areas-section .town-card {
        min-height: auto;
        padding: 22px;
    }

    .service-areas-section .town-content h3 {
        font-size: 19px;
    }

}