@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/**{*/
/*    border: 1px solid red;*/
/*}*/

:root {
    --bs-primary: #2E3094;
    --bs-secondary: #3D941F;
    --bs-gray: #666666;
    --bs-dark: #292929;
    --bs-white: #FFFFFF;
    --bs-black: #212529;
    --text-gradient: rgb(8, 93, 188);
    --gradient: #10A0FF;
}

::placeholder {
    color: var(--bs-gray);
    opacity: 1;
}

.text-justify {
    text-align: justify;
    text-justify: inter-word;
}

body {
    font-family: 'Inter', sans-serif;
}

.contact-header {
    margin-left: 13rem;
}

.top-bar-icons {
    margin-left: -200px;
}

.top-bar {
    height: 2.625rem;
    background: var(--bs-secondary);
}

.nav-bar-logo {
    height: 177px;
    width: 190px;
}


.navbar-nav .nav-link.active, .navbar-nav .show > .nav-link {
    padding-bottom: 1rem;
    font-weight: bold;
}

.nav-bar-down {
    background: var(--bs-primary);
}

/*.banner-img{*/
/*    background-color: rgba(165, 55, 253,0.5); !* Black background with opacity *!*/
/*}*/

.banner-back {
    position: absolute;
    left: 51.04%;
    right: 9.38%;
    top: 21.22%;
    bottom: 14.08%;
    padding: 48px;
    height: 317px;
    background: rgba(16, 16, 37, 0.8);
    margin-top: 104px;
}

.book {
    justify-content: center;
    align-items: center;
    padding: 12px 30px;
    position: absolute;
    width: 261px;
    height: 48px;
    background: #3D941F;
    border-radius: 5px;
    margin-top: 40px;
    border-color: #3D941F;
}

.about-us {
    padding-top: 8rem;
    padding-bottom: 10rem;
    height: 100%;
    background: #F4F5FF;
}

/*.mission-img{*/
/*    width: 28%;*/
/*}*/

.top-banner {
    background-image: url("../images/top-banner-2.png");
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 10rem;
}

.top-banner-overlay {
    width: 100%;
    height: 10rem;
    background-color: rgba(46, 48, 138, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.flag {
    background-image: url("../images/flags/aus.png"); /**destination background change **/
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 191px;
    margin-bottom: 2rem;
}

.flag-overlay {
    width: 100%;
    height: 191px;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}


.mission {
    padding-top: 8rem;
    height: 100%;
}

.learn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 10px;
    gap: 10px;
    position: absolute;
    width: 170px;
    height: 48px;
    border-color: #3D941F;
    background: #3D941F;
    border-radius: 8px;
}

.ielts-img {
    width: 23%;
}

.image-stack {
    position: relative;
    width: 50%;
    display: grid;
}

.image-bottom-about {
    position: absolute;
    z-index: 1;
    width: 100% !important;
    left: 40px;
    top: 20px;
}

.image-top {
    position: absolute;
    z-index: 2;    /* Place this image in front of the img1 */
    width: 100%;
    left: 20px!important;
}

.about-shadow{
    height: 480px;
    width: 550px;
}
.destinations {
    padding-top: 3rem;
    height: 100%;
    text-align: center;
}

.flags {
    cursor: pointer;
    width: 370px;
    height: 191px;
    /*opacity: 80%;*/
    margin-top: 18px;
}

/*.flag-img{*/
/*    background-color: rgba(165, 55, 253,0.5); !* Black background with opacity *!*/

/*}*/

.flags-text {
    margin-top: 67px;
    font-weight: 700;
    font-size: 24px;
    line-height: 29px;
    text-align: center;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.2);
    width: 10rem;
}

.services {
    padding-top: 7rem;
    height: 100%;
    background: #F4F5FF;
    text-align: center;
}

.services .card {
    height: 450px;
    width: 315px;
    border-radius: 6px;
    padding: 30px;
}

.service-card :hover {
    background-color: #2E3094;
    color: white;
    cursor: pointer;
}

/*.services .card-title :hover {*/
/*    text-decoration-color: white*/
/*}*/

.service-img {
    border-radius: 50%;
    width: 26%;
    height: 61px;
}

.courses {
    padding-top: 5rem;
    height: 100%;
    background: #3D941F;
    text-align: center;
}

.courses-img {
    height: 168px;
}

input, select {
    height: 3rem;
}

/** footer */
footer {
    padding-top: 4rem;
}

.footer-dialog {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px 16px;
    gap: 20px;
    width: 770px;
    height: 87px;
    background: #2F3093;
    border-radius: 4px;
}

.footer-dialog-text {
    padding-top: 23px;
}

.footer {
    z-index: 0;
    background: #101025;
}

.footer-logo {
    width: 13%;
}

.footer h5 {
    margin: 1.5rem 0 1.5rem 0;
    font-weight: bold;
    color: #E6E6E6;
}

.footer ul li a, .footer p {
    color: white;
    font-weight: 400;
    font-size: 0.875rem;
}

.footer ul li a:hover {
    color: var(--bs-secondary);
}

.footer svg {
    margin-top: 0.25rem;
}

.footer-copyright {
    margin-top: 2rem;
}

.footer-copyright p {
    text-align: center;
    margin-top: 2rem;
}


/** newsletter */
.newsletter {
    height: 3rem;
    width: 12.625rem;
    border-radius: unset;
}

.newsletter-text {
    width: 300px;
}

.btn-subscribe {
    font-size: 0.875rem;
    font-weight: bold;
    color: var(--bs-white);
    width: 6.375rem;
    height: 3rem;
    background: var(--bs-secondary);
    border: var(--bs-secondary);
}

.country-img {
    width: 35%;
}

.country-desc {
    margin-top: 50px;
    margin-left: 34rem;
    padding: 25px;
}

/** top */
#btn-back-to-top {
    border-color: var(--bs-secondary);
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    height: 46px;
    display: none;
    color: white;
    background: var(--bs-secondary);
    z-index: 1;
}

/** media queries mobile */
@media only screen and (min-width: 200px) and (max-width: 600px) {
    .image-stack{
        display: none;
    }
    .nav-bar-logo {
        top: 0;
        left: 2rem;
        background: white;
        height: 128px;
        width: 133px;
    }

    .nav-main-logo {
        display: none;
    }

    .nav-content {
        background-color: #2E3094;
    }

    .top-nav-tab {
        display: none;
        margin-right: 3rem;
    }

    .top-bar-icons {
        display: none;
        margin-left: 10rem;
    }

    .navbar > .container, .navbar > .container-fluid, .navbar > .container-lg, .navbar > .container-md, .navbar > .container-sm, .navbar > .container-xl, .navbar > .container-xxl {
        display: block;
    }

    .home-img {
        width: 75%;
        margin: auto;
        padding-bottom: 2rem;
        padding-top: 2rem;
    }


    .nav-bar nav {
        height: 5.563rem;
        box-shadow: 0 0.2px 1px rgba(0, 0, 0, 0.25);
    }

    .navbar-toggler {
        z-index: 1;
    }

    #navbarTogglerSTTN ul {
        margin-top: 1rem;
    }

    .faq svg {
        width: 20rem;
        height: 12rem;
    }

    .banner-back {
    display: none;
    }

    .about-us {
        padding-top: 2rem;
        padding-bottom: 2rem;
        height: 100%;
    }

    .learn {
        width: 137px;
        height: 41px;
        left: 8px;
    }

    .image-bottom {
        display: none;
    }


    .rect-about {
        width: 90%;
        margin-top: 60px;
    }

    .destinations {
        padding-top: 0.5rem;
        height: 100%;
        text-align: center;
    }

    .flags {
        cursor: pointer;
        width: 100%;
        height: 100%;
        border: none;
    }

    .services {
        padding-top: 1rem;
        height: 100%;
    }

    .services .card {
        width: 100%;
        margin-bottom: 1rem;
    }

    .mission {
        height: 1270px;
        padding-top: 6rem;
    }

    .mission-img {
        margin-top: 36rem;
    }

    .courses {
        height: 100%;
    }

    .courses .card {
        margin-bottom: 1rem;
    }

    .footer-copyright p {
        margin-top: 1rem;
        margin-left: 6.4rem;
    }

    .footer h5 {
        margin: 1rem 0 1rem 0;
    }

    .footer-dialog {
        height: 122px;
    }

    .copyright-footer {
        margin-left: -7rem !important;
    }

    #btn-back-to-top {
        bottom: 1.438rem;
        right: 0.625rem;
    }

}

/** media queries tablets */
@media only screen and (min-width: 601px) and (max-width: 768px) {

    .nav-bar-logo {
        top: 0;
        left: 2rem;
        background: white;
        height: 128px;
        width: 133px;
    }

    .nav-main-logo {
        display: none;
    }

    .nav-content {
        background-color: #2E3094;
    }

    .top-nav-tab {
        display: none;
        margin-right: 3rem;
    }

    .top-bar-icons {
        display: none;
        margin-left: 10rem;
    }

    .navbar > .container, .navbar > .container-fluid, .navbar > .container-lg, .navbar > .container-md, .navbar > .container-sm, .navbar > .container-xl, .navbar > .container-xxl {
        display: block;
    }

    .top-bar-icons {
        display: none;
        margin-left: 10rem;
    }

    .banner-back {
        display: none;
    }

    .banner-back .h1, h1 {
        font-size: calc(1.375rem);
    }

    .book {
        padding: 0;
        height: 41px;
        border-radius: 5px;
        margin-top: 8px;
    }

    .about-us {
        height: 100%;
    }

    .image-bottom {
        display: none;
    }

    .learn {
        top: 52rem;
    }

    .rect-about {
        width: 43%;
        margin-top: 3rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .destinations {
        height: 100%;
    }

    .services {
        padding-top: 2rem;
        height: 100%;
    }

    .services .card {
        width: 100%;
        margin-bottom: 1rem;
    }

    .courses {
        padding-top: 2rem;
        height: 100%;
    }

    .courses .card {
        margin-bottom: 1rem;
    }

    #btn-back-to-top {
        bottom: 1.438rem;
        right: 2.5rem;
    }

}

