/* ==========================================
   LOCATION SECTION
========================================== */

.location-section {
    width: 100%;
    padding: 50px 0 35px;
    background: #ffffff;
    overflow: hidden;
}


/* ==========================================
   CONTENT CONTAINER
========================================== */

.location-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* ==========================================
   CONTENT
========================================== */

.location-content {
    width: 100%;
    margin-bottom: 30px;
}


/* ==========================================
   FULL WIDTH SLIDER AREA
========================================== */

.location-slider-area {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
}


/* ==========================================
   SLIDER
========================================== */

.location-slider {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
    padding: 0 30px;
    overflow: hidden;
    scroll-behavior: smooth;
    user-select: none;
}


/* ==========================================
   LOCATION CARD
========================================== */

.location-card {
    flex: 0 0 280px;
    width: 280px;
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}


/* ==========================================
   LOCATION IMAGE
========================================== */

.location-image {
    width: 100%;
    height: 170px;
    overflow: hidden;
    border-radius: 10px;
    background: #eeeeee;
}

.location-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}


/* ==========================================
   LOCATION TITLE
========================================== */

.location-city__title {
    margin: 11px 5px 0;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
    text-align: center;
    color: #07527f;
    transition: color 0.25s ease;
}


/* ==========================================
   CARD HOVER
========================================== */

@media (hover: hover) {

    .location-card:hover .location-image img {
        transform: scale(1.05);
    }

    .location-card:hover .location-city__title {
        color: #f15a24;
    }

}


/* ==========================================
   NAVIGATION
========================================== */

.location-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}


/* ==========================================
   ROUND BUTTON
========================================== */

.location-control {
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid #07527f;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        opacity 0.25s ease;
}


/* ==========================================
   ARROW
========================================== */

.location-arrow {
    position: relative;
    display: block;
    width: 15px;
    height: 15px;
}


/* Arrow line */

.location-arrow::before {
    content: "";
    position: absolute;
    top: 7px;
    width: 15px;
    height: 1px;
    background: #07527f;
}


/* Arrow head */

.location-arrow::after {
    content: "";
    position: absolute;
    top: 4px;
    width: 7px;
    height: 7px;
    border-top: 1px solid #07527f;
    border-right: 1px solid #07527f;
}


/* ==========================================
   LEFT ARROW
========================================== */

.location-arrow-left::before {
    left: 0;
}

.location-arrow-left::after {
    left: 0;
    transform: rotate(-135deg);
}


/* ==========================================
   RIGHT ARROW
========================================== */

.location-arrow-right::before {
    right: 0;
}

.location-arrow-right::after {
    right: 0;
    transform: rotate(45deg);
}


/* ==========================================
   BUTTON HOVER
========================================== */

@media (hover: hover) {

    .location-control:hover {
        background: #07527f;
        border-color: #07527f;
        transform: translateY(-2px);
    }

    .location-control:hover .location-arrow::before {
        background: #ffffff;
    }

    .location-control:hover .location-arrow::after {
        border-color: #ffffff;
    }

}


/* ==========================================
   DISABLED BUTTON
========================================== */

.location-control:disabled {
    opacity: 0.30;
    cursor: default;
    background: #ffffff;
}

.location-control:disabled:hover {
    background: #ffffff;
    border-color: #07527f;
    transform: none;
}


/* ==========================================
   COMPLIANCE SECTION
========================================== */

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 60px;
}

.compliance-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.compliance-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.10);
}

.compliance-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.iam-logo {
    height: 52px;
    max-width: 65px;
}

.iamx-logo {
    height: 40px;
    max-width: 80px;
}


/* ==========================================
   GALLERY
========================================== */

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
}

.gallery-item {
    background: #fff;
    border: 2px solid #444;
    padding: 5px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}


/* ==========================================
   LARGE DESKTOP
========================================== */

@media (min-width: 1500px) {

    .location-card {
        flex-basis: 300px;
        width: 300px;
    }

    .location-image {
        height: 180px;
    }

}


/* ==========================================
   TABLET
   768px - 991px
========================================== */

@media (max-width: 991px) {

    /* Location */

    .location-section {
        padding: 40px 0 30px;
    }

    .location-card {
        flex-basis: 250px;
        width: 250px;
    }

    .location-image {
        height: 150px;
    }

    .location-city__title {
        font-size: 14px;
    }


    /* Compliance */

    .compliance-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding-top: 45px;
    }

    .compliance-card {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .compliance-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }

    .iam-logo {
        height: 48px;
        max-width: 62px;
    }

    .iamx-logo {
        height: 38px;
        max-width: 72px;
    }


    /* Gallery */

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* ==========================================
   MOBILE
   Up to 767px
========================================== */

@media (max-width: 767px) {

    /* Location */

    .location-section {
        padding: 35px 0 25px;
    }

    .location-container {
        padding: 0 15px;
    }

    .location-slider {
        gap: 12px;
        padding: 0 15px;
    }

    .location-card {
        flex-basis: 240px;
        width: 240px;
    }

    .location-image {
        height: 145px;
        border-radius: 9px;
    }

    .location-city__title {
        font-size: 13px;
    }

    .location-controls {
        gap: 16px;
        margin-top: 22px;
    }

    .location-control {
        width: 44px;
        height: 44px;
    }


    /* Compliance */

    .compliance-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-top: 35px;
    }

    .compliance-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .compliance-icon {
        width: 58px;
        height: 58px;
        margin-bottom: 12px;
    }

    .iam-logo {
        height: 46px;
        max-width: 60px;
    }

    .iamx-logo {
        height: 36px;
        max-width: 68px;
    }


    /* Gallery */

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px;
    }

}


/* ==========================================
   SMALL MOBILE
   Up to 500px
========================================== */

@media (max-width: 500px) {

    /* Gallery */

    .gallery {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }

}


/* ==========================================
   VERY SMALL MOBILE
   Up to 400px
========================================== */

@media (max-width: 400px) {

    /* Location */

    .location-card {
        flex-basis: 220px;
        width: 220px;
    }

    .location-image {
        height: 130px;
    }


    /* Compliance */

    .compliance-grid {
        gap: 15px;
        padding-top: 30px;
    }

    .compliance-card {
        padding: 22px 16px;
        border-radius: 15px;
    }

    .compliance-icon {
        width: 56px;
        height: 56px;
    }

    .iam-logo {
        height: 44px;
        max-width: 58px;
    }

    .iamx-logo {
        height: 34px;
        max-width: 64px;
    }

}