/* ================================
   COUNTRY CARD
================================ */

.country-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.country-card img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* MOBILE CTA */
.mobile-cta {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 120px;
}

.cta-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(62, 58, 57, 0.75) 100%);
}

.cta-content {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 14px;
    font-family: 'Lato';
    font-weight: 400;
}

.cta-lottie {
    width: 40px;
    margin: 0 auto 8px;
}

/* overlay gradient */
.country-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 24px;
    /* background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.45) 0%,
        rgba(0,0,0,0.15) 40%,
        rgba(0,0,0,0) 100%
    ); */
}

.country-overlay h4 {
    color: rgb(255 255 255 / 50%);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 42px;
}

/* hover effect */
.country-card:hover {
    box-shadow: 0 0 44px rgba(0, 0, 0, 0.15);
}

.country-card:hover img {
    transform: scale(1.05);
}

/* responsive */
@media (max-width: 768px) {
    .country-card img {
        height: 449px;
    }

    .country-overlay h4 {
        font-size: 38px;
    }

    .btn-partnermap-wrapper {
        justify-content: flex-start;
        display: flex;
    }

    .partnermap-title {
        font-size: 24px;
    }
}

/* ==============================
   OFFICE CARD
================================ */

.office-card {
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: 'Lato', sans-serif;
}

/* Header */

.office-header {
    background: #00A4CA;
    padding: 14px 16px 8px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: #fff;
}

.office-title .brand {
    display: block;
    color: white;
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    word-wrap: break-word;
}

.office-title strong {
    color: white;
    font-size: 18px;
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    word-wrap: break-word;
    text-transform: uppercase;
}

/* Body */

.office-body {
    flex: 1;
    background: #fff;
    padding: 10px 4px;
    box-shadow: 0 0 2px rgba(113, 113, 113, 0.5);
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
}

/* Search */

.office-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #F7F7F7;
    padding: 6px 12px;
    border-radius: 24px;
}

.office-search .search-icon {
    color: #717171;
}

.office-search input {
    border: none;
    background: transparent;
    font-size: 14px;
    width: 100%;
    outline: none;
    color: #717171;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    line-height: 20px;
    word-wrap: break-word;
}

/* List */

.office-list {
    flex: 1;
    overflow-y: auto;
    padding-right: 6px;
    text-align: left;
}

.office-item {
    padding: 8px 14px;
    font-size: 16px;
    color: #717171;
    cursor: pointer;
    transition: 0.2s ease;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    word-wrap: break-word;
}

.office-item:hover {
    background: #77CCD126;
    color: #3E3A39;
    border-radius: 20px;
}

/* Custom Scrollbar */

.office-list::-webkit-scrollbar {
    width: 4px;
}

.office-list::-webkit-scrollbar-thumb {
    background: #717171;
    border-radius: 999px;
}

.country-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

/* panel hidden */
.country-search-panel {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    transform: translateY(100%);
    transition: transform 0.7s ease;
    z-index: 3;

    display: flex;
    flex-direction: column;
}

/* DESKTOP ONLY */
@media (min-width: 992px) {
    .country-card:hover .country-search-panel {
        transform: translateY(0);
    }
}

/* MOBILE ONLY */
@media (max-width: 991px) {
    .country-card.active .country-search-panel {
        transform: translateY(0);
    }
}