/* =====================================================
   COUNTRIES PAGE
===================================================== */


/* =====================================================
   GLOBAL
===================================================== */

.section-space {
    padding: 105px 0;
}

.section-tag {
    display: inline-block;
    color: #b98226;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}


/* =====================================================
   HERO
===================================================== */

.countries-hero {
    min-height: 570px;
    position: relative;

    display: flex;
    align-items: center;

    /* IMAGE */
    background-image: url("../assets/countries.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    overflow: hidden; 
}


/* =====================================================
   HERO OVERLAY
===================================================== */

.countries-hero-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background: linear-gradient(
        90deg,
        rgba(5, 25, 47, 0.96) 0%,
        rgba(5, 25, 47, 0.78) 35%,
        rgba(5, 25, 47, 0.45) 65%,
        rgba(5, 25, 47, 0.18) 100%
    );
}


/* =====================================================
   HERO CONTENT
===================================================== */

.countries-hero-content {
    position: relative;
    z-index: 2;

    width: 100%;

    color: white;

    padding-top: 60px;
    padding-bottom: 60px;
}


/* =====================================================
   BREADCRUMB
===================================================== */

.countries-breadcrumb {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 35px;

    font-size: 13px;

    color: #d1d9e1;
}

.countries-breadcrumb a {
    color: #e1b45f;
    text-decoration: none;

    transition: 0.3s ease;
}

.countries-breadcrumb a:hover {
    color: #ffffff;
}

.countries-breadcrumb i {
    font-size: 9px;
    color: #c89436;
}


/* =====================================================
   SMALL TITLE
===================================================== */

.countries-small-title {
    display: block;

    color: #e0b765;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 12px;
}


/* =====================================================
   HERO HEADING
===================================================== */

.countries-hero h1 {
    max-width: 760px;

    margin: 0 0 22px;

    font-family: "Playfair Display", serif;

    font-size: clamp(45px, 6vw, 72px);

    line-height: 1.06;

    font-weight: 700;

    color: #ffffff;
}

.countries-hero h1 span {
    color: #e0b765;
}


/* =====================================================
   HERO PARAGRAPH
===================================================== */

.countries-hero p {
    max-width: 610px;

    margin: 0 0 30px;

    color: #d6dfe8;

    font-size: 15px;

    line-height: 1.8;
}


/* =====================================================
   HERO BUTTONS
===================================================== */

.countries-hero-buttons {
    display: flex;

    gap: 12px;

    flex-wrap: wrap;
}


/* =====================================================
   BUTTON
===================================================== */

.country-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 14px 23px;

    border-radius: 7px;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition: all 0.3s ease;
}


/* =====================================================
   PRIMARY BUTTON
===================================================== */

.country-btn-primary {
    color: #ffffff;

    background: #c89436;

    border: 1px solid #c89436;
}

.country-btn-primary:hover {
    color: #ffffff;

    background: #ae7822;

    border-color: #ae7822;

    transform: translateY(-3px);

    box-shadow: 0 10px 25px rgba(200, 148, 54, 0.25);
}


/* =====================================================
   OUTLINE BUTTON
===================================================== */

.country-btn-outline {
    color: #ffffff;

    background: transparent;

    border: 1px solid rgba(255, 255, 255, 0.55);
}

.country-btn-outline:hover {
    background: #ffffff;

    color: #071d35;

    border-color: #ffffff;

    transform: translateY(-3px);
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .countries-hero {
        min-height: 600px;

        background-position: center center;
    }

    .countries-hero-content {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .countries-breadcrumb {
        margin-bottom: 25px;
    }

    .countries-hero h1 {
        font-size: 45px;
    }

    .countries-hero p {
        font-size: 14px;
    }
}


@media (max-width: 480px) {

    .countries-hero {
        min-height: 650px;

        background-position: 60% center;
    }

    .countries-hero h1 {
        font-size: 38px;
    }

    .countries-hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .country-btn {
        width: 100%;
    }
}


/* =====================================================
   INTRO
===================================================== */

.countries-intro {

    background: white;
}


.countries-intro-grid {

    display: grid;

    grid-template-columns: 1.1fr .9fr;

    gap: 80px;

    align-items: center;
}


.countries-intro-content h2 {

    color: #071d35;

    font-family: "Playfair Display", serif;

    font-size: 44px;

    line-height: 1.15;

    margin: 12px 0 20px;
}


.countries-intro-content h2 span {

    color: #c28d32;
}


.countries-intro-content p {

    color: #718094;

    font-size: 14px;

    line-height: 1.8;

    margin-bottom: 15px;
}


.countries-intro-content .intro-highlight {

    color: #43556b;

    font-size: 16px;

    font-weight: 500;
}


.country-intro-points {

    display: grid;

    gap: 13px;

    margin-top: 27px;
}


.country-intro-point {

    display: flex;

    align-items: center;

    gap: 11px;

    color: #43556b;

    font-size: 13px;

    font-weight: 600;
}


.country-intro-point i {

    color: #c28d32;

    font-size: 17px;
}


/* =====================================================
   INTRO VISUAL
===================================================== */

.countries-intro-visual {

    min-height: 390px;

    border-radius: 20px;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #071d35,
            #173d5e
        );

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    color: white;
}


.countries-intro-visual::before {

    content: "";

    position: absolute;

    width: 360px;

    height: 360px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.10);
}


.countries-intro-visual::after {

    content: "";

    position: absolute;

    width: 240px;

    height: 240px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.08);
}


.globe-circle {

    position: relative;

    z-index: 2;

    width: 125px;

    height: 125px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: rgba(255,255,255,.08);

    border: 1px solid rgba(255,255,255,.18);

    backdrop-filter: blur(8px);
}


.globe-circle i {

    font-size: 65px;

    color: #dfb35e;
}


.visual-text {

    position: relative;

    z-index: 2;

    margin-top: 25px;

    text-align: center;
}


.visual-text strong {

    display: block;

    font-family: "Playfair Display", serif;

    font-size: 30px;
}


.visual-text span {

    color: #dfb35e;

    font-family: "Playfair Display", serif;

    font-size: 26px;
}


.visual-plane {

    position: absolute;

    z-index: 3;

    right: 17%;

    top: 20%;

    color: #dfb35e;

    font-size: 25px;

    transform: rotate(-20deg);
}

/* =====================================================
   COUNTRY SEARCH SECTION
===================================================== */

.country-search-section {

    width: 100%;

    padding: 55px 0;

    background: #f6f8fa;

    box-sizing: border-box;
}


/* =====================================================
   SEARCH MAIN BOX
===================================================== */

.country-search-box {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    box-sizing: border-box;
}


/* =====================================================
   SEARCH TITLE LEFT SIDE
===================================================== */

.search-title {

    flex: 1;

    display: block;

    min-width: 0;

    box-sizing: border-box;
}


/* =====================================================
   SMALL GOLD TITLE
===================================================== */

.search-title .section-tag {

    display: block;

    width: fit-content;

    margin: 0 0 10px 0;

    padding: 0;

    color: #b98226;

    font-size: 11px;

    font-weight: 800;

    line-height: 1.5;

    letter-spacing: 2px;

    text-transform: uppercase;

    white-space: normal;

    position: relative;

    z-index: 2;

}


/* =====================================================
   MAIN SEARCH HEADING
===================================================== */

.search-title h2 {

    display: block;

    width: 100%;

    max-width: 650px;

    margin: 0;

    padding: 0;

    color: #071d35;

    font-family: "Playfair Display", serif;

    font-size: 42px;

    font-weight: 700;

    line-height: 1.15;

    letter-spacing: 0;

    position: relative;

    z-index: 1;
}


/* =====================================================
   GOLD WORD - GO?
===================================================== */

.search-title h2 span {

    color: #c28d32;

    font-family: "Playfair Display", serif;
}


/* =====================================================
   SEARCH INPUT BOX
===================================================== */

.country-search {

    flex: 0 0 390px;

    width: 390px;

    height: 55px;

    display: flex;

    align-items: center;

    box-sizing: border-box;

    padding: 0 18px;

    background: #ffffff;

    border: 1px solid #e2e6eb;

    border-radius: 8px;

    transition: all 0.3s ease;

}


/* =====================================================
   SEARCH BOX HOVER
===================================================== */

.country-search:hover {

    border-color: #d5dbe2;

}


/* =====================================================
   SEARCH BOX FOCUS
===================================================== */

.country-search:focus-within {

    border-color: #c89436;

    box-shadow:
        0 8px 25px rgba(7, 29, 53, 0.07);

}


/* =====================================================
   SEARCH ICON
===================================================== */

.country-search i {

    flex-shrink: 0;

    margin-right: 12px;

    color: #b98226;

    font-size: 17px;

}


/* =====================================================
   SEARCH INPUT
===================================================== */

.country-search input {

    width: 100%;

    min-width: 0;

    height: 100%;

    padding: 0;

    margin: 0;

    border: none;

    outline: none;

    background: transparent;

    color: #071d35;

    font-family: inherit;

    font-size: 13px;

    font-weight: 400;

    line-height: normal;

    box-shadow: none;

}


/* =====================================================
   INPUT PLACEHOLDER
===================================================== */

.country-search input::placeholder {

    color: #a0a9b5;

    opacity: 1;

}


/* =====================================================
   REMOVE DEFAULT INPUT EFFECTS
===================================================== */

.country-search input:focus {

    border: none;

    outline: none;

    box-shadow: none;

}


/* =====================================================
   COUNTRIES SECTION
===================================================== */

.countries-section {

    width: 100%;

    background: #ffffff;

    padding: 105px 0;

    box-sizing: border-box;

}


/* =====================================================
   CENTER SECTION TITLE
===================================================== */

.section-title-center {

    width: 100%;

    max-width: 650px;

    margin: 0 auto 55px;

    text-align: center;

    box-sizing: border-box;

}


/* =====================================================
   SECTION SMALL TAG
===================================================== */

.section-title-center .section-tag {

    display: inline-block;

    color: #b98226;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

    line-height: 1.5;

}


/* =====================================================
   CENTER HEADING
===================================================== */

.section-title-center h2 {

    margin: 12px 0 14px;

    padding: 0;

    color: #071d35;

    font-family: "Playfair Display", serif;

    font-size: 43px;

    font-weight: 700;

    line-height: 1.15;

}


/* =====================================================
   CENTER HEADING GOLD TEXT
===================================================== */

.section-title-center h2 span {

    color: #c28d32;

}


/* =====================================================
   CENTER DESCRIPTION
===================================================== */

.section-title-center p {

    margin: 0;

    color: #718094;

    font-size: 14px;

    line-height: 1.7;

}


/* =====================================================
   RESPONSIVE - TABLET
===================================================== */

@media (max-width: 1000px) {

    .country-search-box {

        gap: 35px;

    }

    .search-title h2 {

        font-size: 36px;

    }

    .country-search {

        flex: 0 0 340px;

        width: 340px;

    }

}


/* =====================================================
   RESPONSIVE - MOBILE/TABLET
===================================================== */

@media (max-width: 850px) {

    .country-search-section {

        padding: 50px 0;

    }

    .country-search-box {

        flex-direction: column;

        align-items: flex-start;

        justify-content: flex-start;

        gap: 25px;

    }

    .search-title {

        width: 100%;

    }

    .search-title .section-tag {

        margin-bottom: 8px;

    }

    .search-title h2 {

        max-width: 100%;

        font-size: 38px;

    }

    .country-search {

        width: 100%;

        flex: none;

    }

}


/* =====================================================
   RESPONSIVE - MOBILE
===================================================== */

@media (max-width: 600px) {

    .country-search-section {

        padding: 45px 0;

    }

    .search-title h2 {

        font-size: 34px;

        line-height: 1.2;

    }

    .search-title .section-tag {

        font-size: 10px;

        letter-spacing: 1.7px;

    }

    .country-search {

        height: 52px;

        padding: 0 15px;

    }

    .country-search i {

        font-size: 16px;

        margin-right: 10px;

    }

    .country-search input {

        font-size: 13px;

    }

    .countries-section {

        padding: 75px 0;

    }

    .section-title-center h2 {

        font-size: 35px;

    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 400px) {

    .search-title h2 {

        font-size: 30px;

    }

    .section-title-center h2 {

        font-size: 31px;

    }

}

/* =====================================================
   COUNTRY GRID
===================================================== */

.countries-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 24px;
}


.country-card {

    background: white;

    border-radius: 13px;

    overflow: hidden;

    border: 1px solid #edf0f3;

    box-shadow:
        0 8px 25px rgba(7,29,53,.05);

    transition:
        transform .35s ease,
        box-shadow .35s ease;

    opacity: 1;
}


.country-card:hover {

    transform: translateY(-8px);

    box-shadow:
        0 20px 45px rgba(7,29,53,.12);
}


.country-image {

    height: 220px;

    position: relative;

    overflow: hidden;
}


.country-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;
}


.country-card:hover
.country-image img {

    transform: scale(1.08);
}


.country-badge {

    position: absolute;

    top: 14px;

    left: 14px;

    z-index: 3;

    background: #c89436;

    color: white;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1px;

    padding: 7px 10px;

    border-radius: 4px;
}


.country-overlay {

    position: absolute;

    inset: 0;

    background: rgba(7,29,53,.45);

    display: grid;

    place-items: center;

    opacity: 0;

    transition: .3s;
}


.country-overlay i {

    width: 50px;

    height: 50px;

    border-radius: 50%;

    background: #c89436;

    color: white;

    display: grid;

    place-items: center;
}


.country-card:hover .country-overlay {

    opacity: 1;
}


/* =====================================================
   COUNTRY CONTENT
===================================================== */

.country-content {

    padding: 19px;

    display: flex;

    align-items: center;

    gap: 12px;
}


.country-icon {

    flex: 0 0 40px;

    width: 40px;

    height: 40px;

    border-radius: 7px;

    background: #f6f0e5;

    color: #b98226;

    display: grid;

    place-items: center;

    font-size: 15px;
}


.country-info {

    flex: 1;
}


.country-info h3 {

    color: #071d35;

    font-family: "Playfair Display", serif;

    font-size: 18px;

    margin: 0 0 3px;
}


.country-info span {

    color: #8792a0;

    font-size: 10px;
}


.country-arrow {

    width: 35px;

    height: 35px;

    border-radius: 50%;

    border: 1px solid #e2e5e8;

    display: grid;

    place-items: center;

    color: #b98226;

    font-size: 12px;

    transition: .3s;
}


.country-arrow:hover {

    background: #c89436;

    color: white;

    border-color: #c89436;

}


/* =====================================================
   NO RESULT
===================================================== */

.country-no-result {

    display: none;

    text-align: center;

    padding: 60px 20px;

    color: #718094;
}


.country-no-result i {

    color: #c89436;

    font-size: 40px;

    margin-bottom: 15px;
}


.country-no-result h3 {

    color: #071d35;

    font-family: "Playfair Display", serif;

    font-size: 24px;

    margin-bottom: 7px;
}


.country-no-result p {

    font-size: 13px;
}


/* =====================================================
   VISA TYPES
===================================================== */

.country-visa-types {

    background: #f6f8fa;
}


.visa-type-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}


.visa-type-card {

    background: white;

    padding: 32px 25px;

    border-radius: 12px;

    text-align: center;

    border: 1px solid #edf0f3;

    transition: .3s;
}


.visa-type-card:hover {

    transform: translateY(-7px);

    box-shadow:
        0 15px 35px rgba(7,29,53,.08);
}


.visa-type-icon {

    width: 58px;

    height: 58px;

    border-radius: 10px;

    background: #f6f0e5;

    color: #b98226;

    display: grid;

    place-items: center;

    font-size: 22px;

    margin: 0 auto 20px;
}


.visa-type-card h3 {

    color: #071d35;

    font-family: "Playfair Display", serif;

    font-size: 21px;

    margin-bottom: 10px;
}


.visa-type-card p {

    color: #7b8796;

    font-size: 12px;

    line-height: 1.7;

    min-height: 58px;

    margin-bottom: 17px;
}


.visa-type-card a {

    display: inline-flex;

    gap: 8px;

    align-items: center;

    color: #b98226;

    font-size: 11px;

    font-weight: 800;
}


/* =====================================================
   CTA
===================================================== */

.countries-cta {

    min-height: 450px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    background:
        url("../assets/sbmit-application.webp")
        center/cover no-repeat;
}


.countries-cta-overlay {

    position: absolute;

    inset: 0;

    background: rgba(5,25,47,.89);
}


.countries-cta-content {

    position: relative;

    z-index: 2;

    color: white;
}


.countries-cta-content .section-tag {

    color: #e0b765;
}


.countries-cta-content h2 {

    max-width: 700px;

    margin: 12px auto 15px;

    font-family: "Playfair Display", serif;

    font-size: 49px;

    line-height: 1.15;
}


.countries-cta-content h2 span {

    color: #e0b765;
}


.countries-cta-content p {

    color: #cbd5df;

    font-size: 14px;

    margin-bottom: 28px;
}


.countries-cta-buttons {

    display: flex;

    justify-content: center;

    gap: 12px;

    flex-wrap: wrap;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1100px) {

    .countries-grid {

        grid-template-columns:
            repeat(3, 1fr);

    }


    .visa-type-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


@media (max-width: 850px) {

    .countries-intro-grid {

        grid-template-columns: 1fr;

    }


    .country-search-box {

        flex-direction: column;

        align-items: flex-start;

    }


    .country-search {

        width: 100%;

    }


    .countries-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


@media (max-width: 600px) {

    .section-space {

        padding: 75px 0;

    }


    .countries-hero {

        min-height: 500px;

    }


    .countries-hero h1 {

        font-size: 43px;

    }


    .countries-intro-content h2 {

        font-size: 35px;

    }


    .section-title-center h2 {

        font-size: 35px;

    }


    .countries-grid {

        grid-template-columns: 1fr;

    }


    .visa-type-grid {

        grid-template-columns: 1fr;

    }


    .countries-cta-content h2 {

        font-size: 37px;

    }

}


@media (max-width: 450px) {

    .countries-hero-buttons {

        flex-direction: column;

        align-items: stretch;

    }


    .country-btn {

        width: 100%;

    }

}