/* ===== Countries We Offer (layout handled by Bootstrap grid) ===== */
.countries {
    --c-navy: #0f1f5c;
    --c-gold: #dc9a1c;
    scroll-margin-top: 5rem;
}

/* Heading */
.countries-line {
    width: 34px;
    height: 2px;
    background: var(--c-gold);
}

.countries-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    color: var(--c-navy);
}

.countries-title {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3.6vw, 2.9rem);
    line-height: 1.15;
    color: var(--c-navy);
}

.countries-title span {
    color: var(--c-gold);
}

/* Card */
.country-card {
    min-height: 132px;
    overflow: hidden;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e6edf8;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 31, 92, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.country-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(15, 31, 92, 0.16);
}

/* Landmark photo on the right, fading into white on the left */
.country-photo {
    position: absolute;
    top: 0;
    right: 0;
    width: 62%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.country-card:hover .country-photo {
    transform: scale(1.06);
}

.country-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, #fff 0%, #fff 36%, rgba(255, 255, 255, 0) 66%);
    pointer-events: none;
}

.country-body {
    z-index: 2;
    padding: 16px 16px 14px;
}

.country-flag {
    display: block;
    width: 27px;
    height: 20px; /* all flags are 4:3, so every flag is the same size */
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.country-name {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: 1.3rem;
    color: var(--c-navy);
}

.country-meta {
    font-size: 0.75rem;
    line-height: 1.4;
}

.country-explore {
    font-size: 0.8rem;
    color: var(--c-navy);
}

.country-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f7c85a;
    font-size: 0.65rem;
    color: #fff;
}

/* ===== Tablet (2 columns) ===== */
@media (max-width: 991.98px) {
    .country-card {
        min-height: 140px;
    }
}

/* ===== Mobile (1 column) ===== */
@media (max-width: 575.98px) {
    .countries-line {
        width: 22px;
    }

    .country-card {
        min-height: 126px;
    }

    .country-photo {
        width: 58%;
    }
}