.summary-section {
    .hero-image {
        position: absolute;
        inset: 0;
        z-index: 0;
    }

    img {
        object-fit: cover;
        transition: transform 1s ease-in-out;
        overflow: hidden;
        width:100%;
        height:100%;
        object-position:center;
    }
    
    div.banner-text {
        top: 45%;
        padding: 0 7rem
    }

    h1 {
        font-size: 2.5rem;
    }

    span {
        font-size: 1.3rem;
        height: 1.5rem;
        border-left: 8px solid #33b2e9;
    }

    p {
        font-size: 1rem;
    }
}

.summary-section .bg-overlay:before {
    background: linear-gradient(90deg, rgba(9, 70, 107, 0.9) 0%, rgba(9, 70, 107, 0.6) 55%, rgba(9, 70, 107, 0.25) 100%);
    opacity: 0.95;
}

.summary-section:hover .bg-image {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transition: all 1.5s ease-in-out;
    -webkit-transition: all 1.5s ease-in-out;
}

.summary-2-section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;

    h2 {
        color: #1975bd;
        font-size: 1.8rem;
        letter-spacing: -0.03em;
    }

    h2 span {
        font-weight: 700;
    }
}

.summary-service-grid {
    margin-top: 1rem;
}

.summary-2-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.summary-service-card {
    display: flex;
    min-height: 640px;
    border-radius: 25px;
    overflow: hidden;
    background: #0d4e76;
    box-shadow: 0 20px 40px rgba(7, 54, 82, 0.16);
    isolation: isolate;
}

.summary-service-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.summary-service-card__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(26, 143, 226, 0.75) 0%, rgba(8, 86, 140, 0.72) 58%, rgba(22, 19, 19, 0.92) 100%),
        linear-gradient(90deg, rgba(5, 42, 67, 0.42) 0%, rgba(5, 42, 67, 0.12) 100%);
}

.summary-service-card__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    padding: 3rem 2rem;
    color: white;
}

.summary-service-card h3 {
    max-width: 12rem;
    margin: 0 0 1.75rem;
    color: white;
    font-size: 2rem;
}

.summary-service-card p {
    margin: 0 0 2rem;
    color: white;
    font-size: 0.96rem;
    line-height: 1.7;
}

.summary-service-card__button {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    align-self: flex-start;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: white;
    color: #1975bd;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(12, 40, 57, 0.18);
}

.summary-service-card__button i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 2px solid #46b9f5;
    border-radius: 999px;
    color: #46b9f5;
    font-size: 0.9rem;
}

.summary-service-card:hover .summary-service-card__image {
    transform: scale(1.05);
}

.summary-3-section {
    .hero-image {
        position: absolute;
        inset: 0;
        z-index: 0;
    }

    img {
        object-fit: cover;
        transition: transform 1s ease-in-out;
        overflow: hidden;
        width:100%;
        height:100%;
        object-position:center;
    }

    h2 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    h3 {
        font-size: 0.8rem;
        letter-spacing: 0.2rem;
    }

    div.rounded-circle {
        height:6rem;
        width: 6rem;
    }
}

.summary-3-section:hover .bg-image {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transition: all 1.5s ease-in-out;
    -webkit-transition: all 1.5s ease-in-out;
}

.summary-4-section {
    h2 {
        font-size: 2.5rem;
    }

    p {
        font-size: 1rem;
    }

    h3 {
        font-size: 1rem
    }
}

.summary-4-section:hover .bg-image {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transition: all 1.5s ease-in-out;
    -webkit-transition: all 1.5s ease-in-out;
}

.maps-section {
    h2 {
        color: #33b2e9;
        font-size: 1.8rem;
    }
}

.contact-section {
    h2 {
        color: #33b2e9;
        font-size: 1.8rem;
    }
}

.map-location-panel {
    height: 650px;
    padding: 1rem;
    border-radius: 24px;
    background: #f7fbff;
    box-shadow: inset 0 0 0 1px rgba(25, 117, 189, 0.08);
}

.map-location-tabs {
    gap: 0.75rem;
}

.map-location-tabs .nav-link {
    border-radius: 999px;
    padding: 0.75rem 1.25rem;
    background: #e9f4fc;
    color: #1975bd;
    font-weight: 600;
}

.map-location-tabs .nav-link.active {
    background: linear-gradient(90deg, #1f9ae0 0%, #0e4f78 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(14, 79, 120, 0.2);
}

.map-location-tab-content {
    height: calc(100% - 60px);
}

.map-location-tab-content .tab-pane {
    height: 100%;
}

.map-location-list {
    max-height: 100%;
    overflow-y: auto;
}

.map-location-list .places {
    border: 0;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(11, 64, 98, 0.08);
}

.product-modal {
    img {
        border-radius: 1.5rem 0 0 1.5rem;
    }

    .custom-modal {
        max-width: 900px;
        margin: 40px auto;
        border-radius: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        border: 1px solid #ddd;
    }

    .modal-content {
        display: flex;
        flex-direction: row;
        background-color: white;
    }

    .modal-image {
        width: 70%;
    }

    .modal-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .modal-text {
        padding: 30px;
        flex: 1;
    }

    .modal-text ul {
        list-style-type: disc;
        padding-left: 20px;
    }

    .modal-text li {
        margin-bottom: 20px;
        line-height: 1.7;
        font-size: 16px;
    }

    /* RESPONSIVE */
    @media screen and (max-width: 768px) {
        img {
            border-radius: 1.5rem 1.5rem 0 0;
        }

        .modal-content {
            flex-direction: column;
        }

        .modal-image img {
            max-width: 100%;
            height: auto;
        }

        .modal-text {
            padding: 20px;
        }
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .summary-section {
        h1 {
            font-size: 1.8rem;
        }

        span {
            font-size: 0.8rem;
            height: 3rem;
        }

        p {
            font-size: 0.8rem;
        }
    }

    .summary-2-section {
        h2 {
            font-size: 1.8rem;
        }
    }

    .summary-3-section {
        h2 {
            font-size: 2rem;
        }

        p {
            font-size: 1rem;
        }

        h3 {
            font-size: 0.8rem;
            letter-spacing: 0.2rem;
        }

        div.rounded-circle {
            height:6rem; width: 6rem;
        }
    }

    .summary-4-section {
        h2 {
            font-size: 2.5rem;
        }

        p {
            font-size: 1rem;
        }

        h3 {
            font-size: 1rem
        }
    }

    .maps-section {
        h2 {
            font-size: 1.8rem;
        }
    }

    .contact-section {
        h2 {
            font-size: 1.8rem;
        }
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .summary-section {
        h1 {
            font-size: 3.3rem;
        }

        span {
            font-size: 2rem;
            height: 3rem;
        }

        p {
            font-size: 1.3rem;
        }
    }

    .summary-2-section {
        h2 {
            font-size: 2.5rem;
        }
    }

    .summary-3-section {
        h2 {
            font-size: 3.2rem;
        }

        p {
            font-size: 1.2rem;
        }

        h3 {
            font-size: 0.6rem;
            letter-spacing: 0.2rem;
        }

        div.rounded-circle {
            height:6.5rem;
            width: 6.5rem;
        }
    }

    .summary-4-section {
        h2 {
            font-size: 3rem;
        }

        p {
            font-size: 1.3rem;
        }

        h3 {
            font-size: 1.2rem
        }
    }

    .maps-section {
        h2 {
            font-size: 2.5rem;
        }
    }

    .contact-section {
        h2 {
            font-size: 2.5rem;
        }
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .summary-2-section {
        h2 {
            font-size: 3.3rem;
        }
    }

    .summary-3-section {
        h2 {
            font-size: 2.3rem;
        }

        p {
            font-size: 1.3rem;
        }

        h3 {
            font-size: 0.7rem;
            letter-spacing: 0.3rem;
        }

        div.rounded-circle {
            height:8rem; width: 8rem;
        }
    }

    .summary-4-section {
        h2 {
            font-size: 3.2rem;
        }

        p {
            font-size: 1.3rem;
        }

        h3 {
            font-size: 0.9rem
        }
    }
    
    .maps-section {
        h2 {
            font-size: 3.3rem;
        }
    }
    
    .contact-section {
        h2 {
            font-size: 3.3rem;
        }
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .summary-section {
        h1 {
            font-size: 4rem;
        }

        span {
            font-size: 2.5rem;
            height: 4rem;
        }

        p {
            font-size: 1.4rem;
        }
    }

    .summary-2-section {
        h2 {
            font-size: 3.5rem;
        }
    }

    .summary-3-section {
        h2 {
            font-size: 2.8rem;
        }

        p {
            font-size: 1.5rem;
        }

        h3 {
            font-size: 0.8rem;
            letter-spacing: 0.2rem;
        }

        div.rounded-circle {
            height:10rem;
            width: 10rem;
        }
    }

    .summary-4-section {
        h2 {
            font-size: 3.5rem;
        }

        p {
            font-size: 1.5rem;
        }

        h3 {
            font-size: 1.2rem
        }
    }

    .maps-section {
        h2 {
            font-size: 3.5rem;
        }
    }

    .contact-section {
        h2 {
            font-size: 3.5rem;
        }
    }
}

@media (max-width: 1439px) {
    .map-section-container {
        width: 100% !important;
    }
}

@media (max-width: 1399.98px) {
    .summary-service-card {
        min-height: 560px;
        border-radius: 38px;
    }

    .summary-service-card h3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 991.98px) {
    .summary-2-section {
        padding-top: 3.25rem;
        padding-bottom: 3.25rem;
    }

    .summary-2-container {
        width: 90% !important;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .summary-service-card {
        min-height: 520px;
    }

    .summary-service-card__content {
        padding: 2.5rem 1.8rem 1.8rem;
    }

    .summary-service-card h3 {
        max-width: none;
        font-size: 2.35rem;
    }

    .map-location-panel {
        height: auto;
        margin-top: 1rem;
    }

    .map-location-tab-content {
        height: auto;
    }

    .map-location-list {
        max-height: 520px;
    }
}

@media (max-width: 575.98px) {
    .summary-2-section h2 {
        font-size: 1.55rem;
    }

    .summary-2-section {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .summary-2-container {
        width: 100% !important;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .summary-service-grid {
        margin-top: 0.25rem;
    }

    .summary-service-card {
        min-height: 460px;
        border-radius: 32px;
    }

    .summary-service-card__content {
        padding: 2rem 1.5rem 1.5rem;
    }

    .summary-service-card h3 {
        font-size: 2rem;
    }

    .summary-service-card p {
        font-size: 0.92rem;
    }

    .map-location-tabs {
        gap: 0.5rem;
    }

    .map-location-tabs .nav-link {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }
}

@media (min-width: 992px) {
    .summary-2-section {
        min-height: 100vh;
        display: flex;
        align-items: center;
    }

    .maps-section {
        min-height: 100vh;
        display: flex;
        align-items: center;
    }

    .contact-section {
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
}

@media (min-width: 1440px) {
    .map-section-container {
        width: 75% !important;
    }
}
