@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --main-color: #22b3c1;
    --heading-color: #2a2a2a;
    --paragraph-color: #afafaf;
    --grey-light: #eeeeee;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    padding-left: 7px;
    padding-right: 7px;
    background-color: #fff;
}

section,
nav,
footer {
    display: flex;
    align-items: center;
    justify-content: center;
}

.section {
    padding: 150px 0;
}

.container {
    width: 1400px;
    height: auto;
    padding: 0 50px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-weight: 700;
}

p {
    font-size: 15px;
    line-height: 30px;
    color: var(--paragraph-color);
}

img {
    width: 100%;
    overflow: hidden;
    display: block;
}

ul li {
    list-style: none;
}

a {
    text-decoration: none;
    cursor: pointer;
}

button,
.button {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    opacity: 0.8;
}

/*-------------------- Nav --------------------*/

nav {
    width: 100%;
    height: 80px;
    background-color: var(--main-color);
    position: fixed;
    top: 0;
    z-index: 777;
    transition: all 0.5s ease;
    visibility: visible;
}

.nav-colored {
    visibility: visible;
}

.nav-transparent {
    visibility: hidden;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.nav-container .logo-img img {
    width: 150px;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.nav-menu .nav-menu-item a {
    color: #f7f7f7;
    padding: 5px;
    position: relative;

}

.nav-menu .nav-menu-item:hover a {
    opacity: 0.8;
}

.nav-menu-item.active a::before {
    content: '';
    width: 20px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    top: 0;
    left: 5px;
}

.nav-mobile {
    display: none;
}

/*-------------------- Hero section --------------------*/

.hero-section {
    background-image: url(assets/banner-01.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100vh;
    transition: background-image 1.5s;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: 100%;
    padding: 50px 0;
}

.main-header,
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.main-header h4,
.header h4,
.cta-header h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 500;
}

.main-header h1,
.header h1,
.cta-header h1 {
    color: #fff;
    font-size: 50px;
}

.header>button {
    background: transparent;
    border: 1px solid var(--main-color);
    color: var(--main-color);
}

.header>button:hover {
    background-color: var(--main-color);
    color: #fff;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100px;
}

.hero-info {
    border-radius: 60px;
    background-color: #fff;
    padding: 30px 60px;
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    row-gap: 30px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.info-card {
    display: flex;
    vertical-align: middle;
    align-items: center;
}

.info-card .icon {
    width: 60px;
    height: 60px;
    padding: 5px;
    border-radius: 50%;
    border: 1px solid var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.info-card .icon i {
    color: var(--main-color);
    font-size: 30px;
}

.info-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

h5>span {
    color: var(--paragraph-color);
    font-size: 15px;
    font-weight: 500;
}

h5 {
    color: var(--main-color);
    font-size: 20px;
    font-weight: 600;
    line-height: 8px;
    text-align: left;
}

.card-btn {
    background-color: var(--main-color);
    color: #fff;
}

.progressbar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    width: 60%;
    margin-top: 40px;
}

.line-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.line-slide .line {
    width: 100%;
    height: 2px;
    background-color: #fff;
    margin-bottom: 20px;
}

.line-slide .line-colored {
    width: 0;
    height: 2px;
    background-color: var(--main-color);
    margin-bottom: 20px;
    position: absolute;
    left: 0;
    top: 0;
}

.progressbar-animation {
    width: 100% !important;
    transition: width 3s linear;
}

.line-slide .number {
    color: #fff;
    font-size: 20px;
}

.line-slide .number:hover {
    color: var(--main-color);
}

/*-------------------- Visit section --------------------*/

.visit-container {
    display: flex;
    flex-direction: column;
    margin: 150px 0;
}

.visit-container .header {
    align-items: flex-start;
    width: 40%;
}

h2 {
    font-size: 30px;
    line-height: 36px;
}

.about-country {
    display: flex;
}

.country-card-wrapper {
    width: 75%;
    padding-bottom: 50px;
}

.country-map-wrapper {
    width: 25%;
}

.country-card {
    width: 95%;
    display: flex;
    padding: 30px 0;
    border-bottom: 1px solid var(--grey-light);
}

.country-card-img {
    width: 40%;
    margin-right: 25px;
}

.country-card-img img {
    border-radius: 25px;
    object-fit: contain;
}

.country-card-info-header .name {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.country-card-info-header .name>h5 {
    color: var(--heading-color);
}

.country-card-info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.country-card-info-statistic {
    margin: 20px 0;
    padding: 8px 0;
    border-bottom: 1px solid var(--grey-light);
    border-top: 1px solid var(--grey-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.statistic-item {
    display: flex;
    vertical-align: middle;
    align-items: center;
}

.statistic-item i {
    color: var(--paragraph-color);
    font-size: 20px;
    margin-right: 10px;
}

.statistic-item p {
    color: var(--paragraph-color);
    font-size: 15px;
}

.country-card-info>a {
    color: var(--main-color);
    font-size: 15px;
}

.country-card-info>a>i {
    color: var(--main-color);
    font-size: 20px;
    vertical-align: middle;
}

.country-swiper {
    width: 100%;
    height: calc(100% + 70px)
}

.swiper-pagination span.swiper-pagination-bullet {
    margin-top: 150px;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    border: 2px solid var(--main-color);
    color: var(--main-color);
    text-align: center;
    line-height: 40px;
    opacity: 1 !important;
}

.swiper-pagination span.swiper-pagination-bullet-active {
    background-color: var(--main-color);
    border: 2px solid var(--main-color);
    color: #fff;
}

/*-------------------- CTA section --------------------*/
.cta-section {
    background-image: url(assets/cta-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 300px;
}

.cta-header {
    align-items: flex-start;
}

.cta-btn {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.cta-btn:hover {
    background-color: #fff;
    color: var(--main-color);
}

/*-------------------- Footer --------------------*/
footer {
    width: 100%;
    background-color: var(--main-color);
    height: 150px;
}

.footer-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-container p {
    color: #fff;
    font-weight: 400;
}

.footer-container p>span {
    font-weight: 500;
}

/*-------------------- Media query --------------------*/


@media screen and (max-width: 1200px) {
    .container {
        width: 960px;
    }

    .nav-menu {
        gap: 20px;
    }
}

@media screen and (max-width: 992px) {

    body {
        padding-left: 0;
        padding-right: 0;
    }

    .container {
        width: 720px;
    }

    button {
        padding: 8px 24px;
        border: none;
        border-radius: 20px;
        font-size: 12px;
    }

    p {
        font-size: 14px;
        line-height: 25px;
    }

    .nav-container .logo-img {
        position: absolute;
        left: 20px;
        top: 20px;
    }

    .nav-container .logo-img img {
        width: 90px;
    }

    .nav-menu {
        width: 100%;
        margin-top: 260px;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 0;
        transition: transform 0.5s ease-in-out;
        visibility: hidden;
    }

    .open {
        visibility: visible;
    }

    .nav-menu-item a {
        color: black !important;
    }

    .nav-menu-item.active a {
        color: var(--main-color) !important;
    }

    .nav-menu-item {
        width: 100%;
        border-radius: none;
        padding: 10px 0;
        border-bottom: 1px solid var(--grey-light);
    }

    .nav-mobile {
        display: block;
    }

    .nav-mobile .checkbox {
        position: absolute;
        display: block;
        height: 32px;
        width: 32px;
        top: 17px;
        right: 17px;
        z-index: 5;
        opacity: 0;
        cursor: pointer;
    }

    .nav-mobile .hamburger-lines {
        display: block;
        height: 22px;
        width: 27px;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .nav-mobile .hamburger-lines .line {
        display: block;
        height: 2px;
        width: 100%;
        border-radius: 10px;
        background: #fff;
    }

    .nav-mobile .hamburger-lines .line1 {
        transform-origin: 0% 0%;
        transition: transform 0.4s ease-in-out;
    }

    .nav-mobile .hamburger-lines .line2 {
        transition: transform 0.2s ease-in-out;
        width: 70%;
    }

    .nav-mobile .hamburger-lines .line3 {
        transform-origin: 0% 100%;
        transition: transform 0.4s ease-in-out;
    }

    .nav-mobile input[type="checkbox"]:checked~.hamburger-lines .line1 {
        transform: rotate(45deg);
    }

    .nav-mobile input[type="checkbox"]:checked~.hamburger-lines .line2 {
        transform: scaleY(0);
    }

    .nav-mobile input[type="checkbox"]:checked~.hamburger-lines .line3 {
        transform: rotate(-45deg);
    }

    .hero-info {
        border-radius: 30px;
    }

    .info-card .icon {
        width: 45px;
        height: 45px;
    }

    .info-card .icon i {
        font-size: 20px;
    }

    .visit-container .header {
        width: 70%;
    }

    .country-card-wrapper {
        width: 100%;
        margin-bottom: 70px;
    }

    .country-map-wrapper {
        display: none;
    }

    .country-card-img {
        width: 40%;
        margin-right: 25px;
    }

    .country-card-info {
        width: 55%;
    }

    .statistic-item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .header h4,
    .cta-header h4 {
        font-size: 18px;
        width: 80%;
        text-align: center;
    }

    .header h1,
    .cta-header h1 {
        font-size: 40px;
    }
}

@media screen and (max-width: 768px) {
    .container {
        width: 540px;
    }
}

@media screen and (max-width: 576px) {
    .container {
        width: 370px;
        padding: 0 25px;
    }

    .hero-info {
        width: 90%;
        padding: 20px;
        transform: translateY(-30px);
    }

    .hero-content {
        height: 150px;
    }

    .progressbar {
        visibility: hidden;
    }

    .visit-container .header {
        width: 90%;
    }

    .about-country {
        display: flex;
        flex-direction: column;
    }

    .country-card-wrapper {
        width: 100%;
        padding-bottom: 0;
    }

    .country-map-wrapper {
        width: 100%;
        display: block;
    }

    .country-card {
        width: 95%;
        display: flex;
        flex-direction: column;
    }

    .country-card-img {
        width: 100%;
        margin-bottom: 30px;
    }

    .country-card-info {
        width: 100%;
    }

    .country-swiper {
        width: 100%;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
        justify-content: space-around;
    }

    .header h4,
    .cta-header h4 {
        font-size: 15px;
    }

    .header h1,
    .cta-header h1 {
        font-size: 30px;
    }

    footer {
        text-align: center !important;
    }
}