/* HERO */

.countries-hero{
    position:relative;
    padding:140px 0;
    background:url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?q=80&w=1600&auto=format&fit=crop');
    background-size:cover;
    background-position:center;
}

.countries-hero::before{
    content:'';
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
}

.countries-hero-content{
    position:relative;
    z-index:2;
    text-align:center;
    color:#fff;
}

.countries-hero-content h1{
    color:#fff;
    margin:15px 0;
}

.countries-hero-content p{
    max-width:700px;
    margin:auto;
}

/* IMAGE COUNTRY CARDS */

.countries-grid-section{
    padding:80px 0;
}

.image-card{
    overflow:hidden;
    padding:0;
    display:flex;
    flex-direction:column;
    height:100%;
    background:var(--color-card-bg);
    border:1px solid var(--color-card-border);
    border-radius:8px;
    box-shadow:0 10px 28px rgba(7,59,115,.1);
    transition:transform var(--transition-base), box-shadow var(--transition-base);
}

.image-card:hover{
    transform:translateY(-5px);
    box-shadow:0 16px 34px rgba(7,59,115,.16);
}

.image-card img{
    width:100%;
    height:240px;
    display:block;
    object-fit:cover;
    object-position:center;
    background:var(--color-primary-light);
}

.country-content{
    padding:25px;
    flex:1;
    display:flex;
    flex-direction:column;
}

.country-content h3{
    color:#073B73;
    margin-bottom:12px;
    font-size:1.55rem;
    line-height:1.2;
}

.country-content p{
    margin-bottom:20px;
    color:var(--color-text);
}

.country-content a{
    margin-top:auto;
    color:#E5A12A;
    font-weight:600;
    text-decoration:none;
}

.country-content a:hover,
.country-content a:focus{
    color:#B78322;
}

/* COMPARISON TABLE */

.comparison-table{
    border-radius:10px;
    overflow:hidden;
}

.comparison-table th{
    background:#073B73;
    color:#fff;
    padding:15px;
}

.comparison-table td{
    padding:15px;
}

/* BEST COUNTRY SECTION */

.best-country-section{
    padding:80px 0;
    background:var(--color-page-bg);
}

.suggestion-card{
    background:var(--color-card-bg);
    border:1px solid var(--color-card-border);
    border-radius:10px;
    text-align:center;
    padding:30px;
    height:100%;
    transition:.3s;
}

.suggestion-card:hover{
    transform:translateY(-5px);
}

.suggestion-card h4{
    color:#073B73;
    margin-bottom:10px;
}

.suggestion-card p{
    color:#E5A12A;
    font-weight:700;
    margin:0;
}

/* CTA */

.country-cta{
    background:var(--color-white);
    padding:80px 0;
    text-align:center;
    border-bottom: var(--border-width-base) solid var(--color-border);
    transition: box-shadow var(--transition-base), background-color var(--transition-base);

}

.country-cta h2{
    color:#0e0000;
}

.country-cta p{
    color:#0e0000;
}

.apply-btn{
    display:inline-block;
    padding:12px 30px;
    background:#E5A12A;
    color:#fff;
    border-radius:6px;
    text-decoration:none;
    transition:.3s;
}

.apply-btn:hover{
    background:#c98b20;
    color:#fff;
}

@media(max-width:767.98px){
    .countries-hero{
        padding:86px 0;
    }

    .comparison-table{
        display:block;
        width:100%;
    }

    .comparison-table table,
    table.comparison-table{
        min-width:720px;
    }

    .best-country-section,
    .countries-grid-section,
    .country-cta{
        padding:56px 0;
    }

    .apply-btn{
        width:100%;
        text-align:center;
    }
}
