@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Cormorant+Garamond:wght@600;700&display=swap');

body{
  font-family:'Inter',sans-serif;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;  
}

html{
  scroll-behavior:smooth;   
}
                                        
body{
  font-family:'Inter',sans-serif;  
  background:#f8fafc;
  color:#1e293b;
  line-height:1.6;
}

/* =========================
   HERO SECTION OF COUNTRY GUIDE
========================= */

.country-hero{
    position:relative;
    min-height:92vh;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    text-align:center;
   padding:180px 20px 120px;
    background:
        linear-gradient(rgba(244,248,255,.82), rgba(244,248,255,.88)),
        url("images/world-map.png") center center/cover no-repeat;
}

/* Overlay */

.country-hero .hero-overlay{
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at top right,
        rgba(30,58,138,.08),
        transparent 45%);
    z-index:1;
}

/* Content */

.country-hero .hero-content{
    position:relative;
    z-index:2;
    max-width:950px;
}

/* Badge */

.country-hero .hero-badge{
    display:inline-block;
    padding:10px 22px;
    border-radius:50px;
    background:#1E3A8A;
    color:#fff;
    font-size:.82rem;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:32px;
}

/* Heading */

.country-hero .hero-content h1{
    font-size:4.2rem;
    line-height:1.15;
    font-weight:700;
    color:#143D8D;
    margin-bottom:28px;
}

.country-hero .hero-content h1 span{
    color:#F4B400;
}

/* Paragraph */

.country-hero .hero-content p{
    max-width:760px;
    margin:0 auto;
    font-size:1.25rem;
    line-height:1.9;
    color:#5A6B86;
}

/* Buttons */

.country-hero .hero-buttons{
    margin-top:55px;
    display:flex;
    justify-content:center;
    gap:22px;
    flex-wrap:wrap;
}

.country-hero .btn-primary,
.country-hero .btn-secondary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    padding:18px 42px;
    border-radius:999px;
    font-size:1rem;
    font-weight:600;
    transition:.35s;
}

/* Primary Button */

.country-hero .btn-primary{
    background:#FFC72C;
    color:#163E8F;
    box-shadow:0 14px 35px rgba(255,199,44,.35);
}

.country-hero .btn-primary:hover{
    background:#ffbb00;
    transform:translateY(-4px);
}

/* Secondary Button */

.country-hero .btn-secondary{
    border:2px solid #1E3A8A;
    color:#1E3A8A;
    background:#fff;
}

.country-hero .btn-secondary:hover{
    background:#1E3A8A;
    color:#fff;
    transform:translateY(-4px);
}

/* =========================
   Responsive
========================= */

@media (max-width:991px){

    .country-hero{
        min-height:80vh;
        padding:100px 25px;
    }

    .country-hero .hero-content h1{
        font-size:3rem;
    }

    .country-hero .hero-content p{
        font-size:1.1rem;
    }

}

@media (max-width:768px){

    .country-hero .hero-content h1{
        font-size:2.4rem;
    }

    .country-hero .hero-content p{
        font-size:1rem;
        line-height:1.8;
    }

    .country-hero .hero-buttons{
        flex-direction:column;
        align-items:center;
    }

    .country-hero .btn-primary,
    .country-hero .btn-secondary{
        width:280px;
        text-align:center;
    }

}

@media (max-width:480px){

    .country-hero{
        padding:80px 20px;
    }

    .country-hero .hero-badge{
        font-size:.72rem;
        padding:9px 18px;
    }

    .country-hero .hero-content h1{
        font-size:2rem;
    }

}




/* =====================================================
   COUNTRY DIRECTORY
===================================================== */

.country-directory{
    width:100%;
    padding:60px 8% 100px;
    background:#f8fbff;
}

.country-directory .directory-container{
    max-width:1400px;
    margin:0 auto;
    width:100%;
}

/* =====================================================
   SEARCH & FILTER
===================================================== */

.country-directory .directory-toolbar{
    display:flex;
    align-items:center;
    gap:24px;
    margin-bottom:50px;
    flex-wrap:wrap;
}

.country-directory .search-box{
    flex:2 1 500px;
}

.country-directory .filter-box{
    flex:1 1 260px;
}

/* Search */

.country-directory .search-box input{
    width:100%;
    height:60px;
    padding:0 22px;

    border:1px solid #d8e3ef;
    border-radius:16px;

    background:#fff;

    font-size:17px;
    color:#123a8a;

    outline:none;

    transition:.3s ease;

    box-shadow:0 8px 22px rgba(15,23,42,.05);
}

.country-directory .search-box input::placeholder{
    color:#8b98ab;
}

.country-directory .search-box input:focus{
    border-color:#123a8a;

    box-shadow:
        0 10px 30px rgba(18,58,138,.10),
        0 0 0 4px rgba(18,58,138,.08);
}

/* Filter */

.country-directory .filter-box select{
    width:100%;
    height:60px;

    padding:0 22px;

    border:1px solid #d8e3ef;
    border-radius:16px;

    background:#fff;

    font-size:17px;
    color:#123a8a;

    cursor:pointer;

    outline:none;

    transition:.3s ease;

    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;

    box-shadow:0 8px 22px rgba(15,23,42,.05);

    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%23123A8A' viewBox='0 0 16 16'%3E%3Cpath d='M3.204 5h9.592L8 10.481 3.204 5z'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 20px center;
}

.country-directory .filter-box select:focus{
    border-color:#123a8a;

    box-shadow:
        0 10px 30px rgba(18,58,138,.10),
        0 0 0 4px rgba(18,58,138,.08);
}

/* =====================================================
   COUNTRY GRID
===================================================== */

.country-directory .country-grid{
    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:28px;
}

/* =====================================================
   CARD
===================================================== */

.country-directory .country-card{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    padding:32px 22px;

    background:#fff;

    border:1px solid #e5edf6;

    border-radius:22px;

    text-align:center;

    text-decoration:none;

    color:inherit;

    transition:.35s ease;

    box-shadow:0 10px 25px rgba(15,23,42,.05);

    min-height:230px;
}

.country-directory .country-card:hover{
    transform:translateY(-8px);

    border-color:#123a8a;

    box-shadow:0 20px 40px rgba(18,58,138,.12);
}

.country-directory .country-card:visited{
    color:inherit;
}

/* Flag */

.country-directory .country-card img{
    width:88px;

    aspect-ratio:4/3;

    object-fit:cover;

    border-radius:8px;

    margin-bottom:20px;

    transition:.35s ease;

    display:block;
}

.country-directory .country-card:hover img{
    transform:scale(1.08);
}

/* Country Name */

.country-directory .country-card h3{
    margin:0;

    font-size:20px;

    font-weight:700;

    color:#123a8a;

    line-height:1.35;
}

/* Link */

.country-directory .country-card span{
    margin-top:12px;

    font-size:15px;

    color:#64748b;

    transition:.3s;
}

.country-directory .country-card:hover span{
    color:#123a8a;
}

/* Remove Underlines */

.country-directory .country-card,
.country-directory .country-card *,
.country-directory .country-card:hover,
.country-directory .country-card:visited{
    text-decoration:none;
}

/* ===========================================
   COUNTRY DIRECTORY RESPONSIVE
=========================================== */

@media (max-width:992px){

    .country-directory{
        padding:50px 5% 80px;
    }

    .country-directory .directory-toolbar{
        flex-direction:column;
        gap:18px;
        align-items:stretch;
    }

    .country-directory .search-box,
    .country-directory .filter-box{
        flex:unset;
        width:100%;
    }

    .country-directory .country-grid{
        grid-template-columns:repeat(3,1fr);
        gap:20px;
    }

}

@media (max-width:768px){

    .country-directory{
        padding:40px 20px 70px;
    }

    .country-directory .country-grid{
        grid-template-columns:repeat(2,1fr);
        gap:18px;
    }

    .country-directory .country-card{
        min-height:180px;
        padding:22px 15px;
    }

    .country-directory .country-card img{
        width:64px;
    }

    .country-directory .country-card h3{
        font-size:16px;
    }

    .country-directory .country-card span{
        font-size:13px;
    }

}

@media (max-width:480px){

    .country-directory{
        padding:35px 15px 60px;
    }

    .country-directory .directory-toolbar{
        gap:15px;
    }

    .country-directory .search-box input,
    .country-directory .filter-box select{
        height:52px;
        font-size:15px;
    }

    .country-directory .country-grid{
        grid-template-columns:1fr;
        gap:16px;
    }

    .country-directory .country-card{
        min-height:170px;
    }

    .country-directory .country-card img{
        width:60px;
    }

    .country-directory .country-card h3{
        font-size:17px;
    }

}

/* =====================================================
   Country Guide FOOTER
===================================================== */

.site-footer{

    background:#0A3A8A;
    padding:30px 20px;      /* was 28px */
    margin-top:80px;

}

.footer-container{

    max-width:1300px;
    margin:0 auto;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;

}

.footer-right{

    color:#fff;
    font-size:20px;         /* Increase this until it matches */
    font-weight:500;
    line-height:1.8;

}

.footer-right a{

    color:#fff;
    text-decoration:none;
    font-size:20px;         /* Same size as text */
    transition:.3s;

}

.footer-right a:hover{

    color:#FFC83D;

}
