@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap");

* {
    margin: 0;
    padding: 0;
    font-family: Poppins;
}

#service-page-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),
        url("/hms/assets-webp/service/service-hero.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    margin: 0; /* ensure no weird offsets */
    padding: 0;
    top: -70px;
}

.title-h3 {
    font-size: 2.4375rem;
    font-weight: 800;
    top: 120px;
    left: 48px;
}

/* WCU */

.wcu {
    background: linear-gradient(
            rgba(16, 129, 198, 0.8),
            rgba(16, 129, 198, 0.8)
        ),
        url("/hms/assets-webp/service/wcu-hero.webp");
    background-size: cover;
    background-position: center;
    height: auto;
    min-height: 100vh;
    color: white;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.wcu-text {
    max-width: 550px;
    margin-bottom: 3rem;
}

.title-wcu {
    font-size: 2rem;
    font-weight: 700;
}

.desc-wcu {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6rem;
}

.counter h4 {
    margin-top: 0.5rem;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.counter h6 {
    font-size: 1rem;
    font-weight: 400;
}

#map {
    height: 80vh;
    width: 100%;
    position: relative;
}

.info-box {
    height: 80vh;
    overflow-y: auto;
    padding: 2rem;
    background: #f8f9fa;
}

.location-card {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 1rem;
    padding: 1.5rem;
    color: #000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.location-card img {
    max-height: 250px;
    object-fit: cover;
    width: 100%;
}

.city-buttons {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 800;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* logistics-section */
.logistics-section {
    background: #fff;
    position: relative;
    overflow: hidden;
}

.logistics-section .image-wrapper {
    width: 50%;
    left: 0;
    top: 0;
    bottom: 0;
    position: absolute;
}

.logistics-section .main-image {
    width: 85%;
    height: 95%;
    object-fit: cover;
    z-index: 10;
}

.logistics-section .curve-line {
    position: absolute;
    left: 5px;
    top: 170px;
    z-index: 0;
}

.logistics-section .service-item {
    position: relative;
    left: 162px;
    z-index: 1;
}

.logistics-section .service-item:nth-child(4) {
    left: 40px;
    top: 0;
}
.logistics-section .service-item:nth-child(5) {
    left: 75px;
}
.logistics-section .service-item:nth-child(6) {
    left: 85px;
}
.logistics-section .service-item:nth-child(7) {
    left: 75px;
}
.logistics-section .service-item:nth-child(8) {
    left: 40px;
}

.logistics-section .service-item:hover {
    transform: translateY(-4px);
    filter: brightness(1.05);
}
.logistics-section .icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0099ff, #0066ff);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.logistics-section .icon-circle img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logistics-section .service-item:hover .icon-circle {
    transform: scale(1.15);
    background: linear-gradient(135deg, #00b0ff, #007bff);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.35);
}

.logistics-section .service-item:hover .icon-circle img {
    transform: scale(1.1);
}

.logistics-section p {
    margin-bottom: 0;
    font-size: 1rem;
    color: #333;
}

.logistics-section h2 {
    font-weight: 700;
    color: #034c91;
    margin-bottom: 1rem;
}

.logistics-section .text-muted {
    color: #6c757d !important;
}
/* ======================= */
/* RESPONSIVE ADJUSTMENTS */
/* ======================= */

@media (max-width: 991px) {
    .logistics-section .image-wrapper {
        position: relative;
        width: 100%;
        height: auto;
        margin-bottom: 2rem;
    }

    .logistics-section .main-image {
        width: 100%;
        height: auto;
    }

    .logistics-section .curve-line {
        display: none;
    }

    .logistics-section .service-item {
        left: 0 !important;
        justify-content: flex-start;
        flex: 1 1 100%;
    }

    .logistics-section .col-md-7 {
        margin: 0 auto;
        text-align: left;
    }
    .logistics-section .service-item p {
        font-size: 1rem !important;
    }

    .service-item {
        display: flex;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .logistics-section {
        text-align: center;
        padding: 2rem 1rem;
        overflow: visible;
    }
    .logistics-section .service-item {
        display: flex;
    }

    .logistics-section .image-wrapper {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        top: 0;
        left: 0;
        margin-bottom: 1.5rem;
        z-index: 1;
    }

    .logistics-section .main-image {
        width: 100%;
        height: auto;
        border-radius: 0;
        position: relative;
        left: -20px;
        top: -50px;
    }
    .logistics-section .service-item p {
        font-size: 0.9rem !important;
        line-height: 1.4;
    }

    .logistics-section .container {
        position: relative;
        z-index: 2;
    }

    .logistics-section .curve-line {
        display: none !important;
    }

    .logistics-section .service-item {
        left: 0 !important;
        justify-content: center;
        /* flex-direction: column; */
        align-items: center;
        margin-bottom: 1.2rem;
        flex: 1 1 100%;
    }

    .logistics-section .icon-circle {
        width: 40px;
        height: 40px;
        margin-bottom: 0.5rem;
    }

    .logistics-section .icon-circle img {
        width: 22px;
        height: 22px;
    }

    .logistics-section h2,
    .logistics-section p {
        text-align: center;
    }
}

@media (prefers-color-scheme: dark) {
    .location-card {
        background: rgba(0, 0, 0, 0.4);
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .info-box {
        background: #1a1a1a;
    }
}
