/*********************** UTILITIES ***********************************/

@font-face {
    font-family: "FuturaBLK";
    src: url('fonts/FuturaBLK.ttf') format('truetype');
}

@font-face {
    font-family: "Futura-Bold";
    src: url('fonts/Futura-Bold.ttf');
    src: url('fonts/Futura-Bold.eot') format('embedded-opentype'),
        url('fonts/Futura-Bold.woff2') format('woff2'),
        url('fonts/Futura-Bold.woff') format('woff'),
        url('fonts/Futura-Bold.ttf') format('truetype');
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul {
    margin: 0;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}



/**************************** NAVBAR STYLING STARTS ******************************/

.page-header {
    min-height: fit-content;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

.trigger-menu-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    transition: transform 0.4s;
    padding: 10px 3.5rem;
    background-color: #EEFCFE;
    height: 5rem;
}

.page-main section {
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100vh;
}

.page-main section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
}

header ul {
    width: 100%;
}

header ul li a {
    color: #007B86;
    font-family: 'Futura-Bold';
}

.line-purple {
    width: calc(7vw + 100px);
}

/*CUSTOM VARIABLES HERE*/

.trigger-menu-wrapper {
    transition: transform 0.4s;
    box-shadow: 0px 5px 13px rgba(0, 0, 0, 0.04);
}

.scroll-down .trigger-menu-wrapper {
    transform: translate3d(0, -100%, 0);
    background: #EEFCFE;
}


.scroll-up .trigger-menu-wrapper {
    transform: none;
}

.scroll-up:not(.menu-open) .trigger-menu-wrapper {
    background: #EEFCFE;
}


/************  HOVERS  ***************/

.hover-1:after, .hover-2:after, .hover-3:after, .hover-4:after {
    content: '';
    width: 0px;
    height: 2px;
    display: block;
    background: #007B86;
    transition: 300ms;
}

.hover-1:hover:after, .hover-2:hover:after, .hover-3:hover:after, .hover-4:hover:after {
    width: 100%;
}


/* HAMBURGER */


.navbar {
    min-height: fit-content;
    position: fixed;
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 35px;
}

.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #007B86;
}

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

.nav-link {
    font-size: 1.2rem;
    font-weight: 400;
}

.nav-logo {
    display: none;
}

.img-logo {
    min-width: 60px;
    width: 60px;
}

.nav-item {
    min-width: 125px;
}

.item-form {
    background: #007B86;
    min-width: 185px;
    padding: 12px 16px 12px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 6px;
}

.item-form a {
    color: #ffffff;
    font-family: 'FuturaBLK';
}


/****************  BODY STYLE  ****************/

.black {
    color: #535353;
}

.titleh1 {
    font-family: 'Futura-Bold';
    font-size: calc(18px + 2.05vw);
    width: 80%;
    line-height: 125%;
    margin-bottom: 6%;
    color: #535353;
}

.container {
    width: 80%;
    margin: auto;
    padding-top: calc(18px + 6rem);
}

.normal-text {
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    font-size: calc(12px + 0.85vw);
    width: 80%;
    line-height: 130%;
    text-align: initial;
}

.actually-center-it {
    margin: auto;
    text-align: center;
}

.hero-wrap {
    display: flex;
    align-items: center;
}

.right-wrap, .left-wrap {
    width: 50%;
}

.right-wrap img {
    width: 100%;
}

.blue-background {
    margin-top: 5%;
    height: fit-content;
    background-color: #EEFCFE;
    overflow: hidden;
    padding-bottom: 4%;
}

.container-started {
    background-color: #007B86;
    width: 90%;
    margin: auto;
    margin-top: 5%;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 14px;
    padding: 4.5rem;
    background-image: url('img/background-carre.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.container-who {
    width: 90%;
    padding: 0 4.5rem;
    margin: auto;
    margin-top: 4%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.general-title {
    font-family: 'Futura-Bold';
    font-size: calc(18px + 2.5vw);
    margin-bottom: 40px;
}

.cta {
    background-color: #fff;
    padding: 18px 5rem;
    border-radius: 6px;
    color: #01747E;
    font-family: 'FuturaBLK';
    margin-top: 40px;
    cursor: pointer;
    border: 1px solid #01747E;
    font-size: 1.2rem;

}

.details {
    margin-top: 40px;
    display: flex;
    width: 80%;
    justify-content: center;
}

.details>* {
    max-width: 300px;
}

.tamere {
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    font-size: calc(12px + 1vh);
    color: #007B86;
    margin-bottom: 5px;
}

.tameretext {
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    font-size: calc(10px + 0.8vh);
    color: #535353;
    width: 75%;
    margin: auto;
}

.info-quote {
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    font-size: calc(10px + 0.8vh);
    display: flex;
    align-items: center;
    gap: 15px;
}

.container-quote {
    width: 90%;
    padding: 0 4.5rem;
    margin: auto;
    margin-top: 4%;
    display: flex;
    justify-content: center;
}

.quote-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10%;
}

.quote-right {
    padding: 5% 5%;
    background-color: #fff;
    box-shadow: 0px 5px 10px 1px rgba(0, 0, 0, 0.06);
    border-radius: 14px;
}

#contact-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 350px;
    gap: 5px;
}

::placeholder {
    color: #A3A3A3;
    opacity: 0.85;
    font-family: 'Kanit', sans-serif;
}

#contact-form input:focus, #contact-form textarea:focus {
    outline: none !important;
    border:1px solid #00CCD7;
    box-shadow: 0 0 2px #007B86;
}

#contact-form h4 {
    font-family: 'Kanit', sans-serif;
    font-weight: 400;
    margin-bottom: 3px;
}

#contact-form input, #contact-form textarea {
    border: 1px solid #BFBFC0;
    padding: 0 5%;
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    width: 100%;
    min-height: 35px;
    border-radius: 8px;
}

.form-button {
    font-family: 'FuturaBLK', sans-serif;
    color: #fff;
    border: none;
    background: #007B86;
    font-size: 1.2rem;
    cursor: pointer;
    width: 100%;
    border-radius: 8px;
    padding: 4% 2%;
}

#contact-form textarea {
    resize: none;
    height: 100px;
}

#contact-form button {
    align-self: center;
}

.bottom {
    display: flex;
    gap: 2%;
}

.bottom>* {
    margin-right: max(15px, 1%);
}

.mid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.white-again {
    width: 90%;
    padding: 0 4.5rem;
    margin: auto;
    margin-top: 4%;
}

.quote-title {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    justify-content: center;
}

.quote-title img {
    width: 12%;
    max-width: 125px;
    min-width: 50px;
}

.green-title {
    font-family: 'Futura-Bold';
    font-style: sans-serif;
    font-weight: 500;
    text-align: center;
    color: #007B86;
    font-size: calc(16px + 1vw);
}

footer {
    padding: 2% 10%;
    margin-top: 4%;
    color: #fff;
    display: flex;
    flex-direction: column;
    background-color: #007B86;
    overflow: hidden;

}

.foot-link {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.foot-logo {
    display: flex;
    align-items: center;
}

.foot-left {
    padding: 0 94px 0 94px;
    display: flex;
    flex-direction: column;
    color: #fff;
}

.foot-left>a {
    color: inherit;
    width: fit-content;
    font-family: 'Kanit';
    font-style: normal;
    font-weight: 300;
    font-size: calc(10px + 0.55vw);
    line-height: 135%;
}

.foot-right {
    padding: 0 94px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.foot-link-social {
    display: flex;
    align-items: center;
    gap: 25px;
}

.follow {
    margin-bottom: 5px;
}

.copyright {
    text-align: center;
    margin-top: 25px;
    font-family: 'Kanit';
    font-style: sans-serif;
    font-weight: 300;
    font-size: calc(12px + 0.55vw);
    line-height: 40px;
    color: #FFFFFF;
    opacity: 0.85;
}

.foot-logo h2 {
    font-family: 'Futura-Bold';
    font-style: sans-serif;
    font-weight: 500;
    font-size: calc(16px + 1vw);
}

.follow {
    font-family: 'Futura-Bold';
    font-style: sans-serif;
    font-weight: 500;
    font-size: calc(12px + 0.55vw);
    line-height: 40px;
    color: #FFFFFF;
    opacity: 0.25;
}

.container-hidden, .container-hidden-2 {
    display: none;
    margin-top: 40px;
}

/* .container-hidden {
    margin-top: 40px;
} */

.container-hidden-2 {
    flex-direction: column;
    align-items: center;
}

.scrollToTopBtn {
    background-color: #2A2A2C;
    border: 2px solid #fff;
    color: white;
    cursor: pointer;
    font-size: 18px;
    line-height: 48px;
    width: 48px;
    height: 48px;
    border-radius: 35%;
    /* place it at the bottom right corner */
    position: fixed;
    bottom: 20px;
    right: 20px;
    /* keep it at the top of everything else */
    z-index: 100;
    /* hide with opacity */
    opacity: 0;
    /* also add a translate effect */
    transform: translateY(100px);
    /* and a transition */
    transition: transform 0.5s, opacity 0.5s ease;
}

.showBtn {
    opacity: 1;
    transform: translateY(0);
}


.scrollToTopBtn svg {
    display: block;
    margin: auto;
}

.scrollToTopBtn:hover svg polygon {
    fill: #00CCD7;
}

.scrollToTopBtn:hover {
    border-color: #00CCD7;
}

/************** MEDIA QUERRIES *****************/

@media only screen and (max-width: 790px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 5rem;
        flex-direction: column;
        background-color: #EEFCFE;
        width: 100%;
        border-radius: 10px;
        text-align: center;
        transition: 0.3s;
        box-shadow:
            0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .quote-left {
        display: none;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-item {
        margin: 2.5rem 0;
    }

    .nav-item:nth-of-type(3) {
        display: none;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-logo {
        display: block;
        width: 60px;
    }

    .right {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .hero-wrap {
        flex-direction: column;
    }

    .right-wrap, .left-wrap {
        width: 90%;
        margin-bottom: 5%;
    }

    .right-wrap {
        margin-top: 5%;
    }

    .titleh1 {
        width: 100%;
    }

    .normal-text {
        width: 100%;
    }

    .img-logo:has(> li.nav-item) {
        display: none;
    }

    .container-started {
        padding: 2.5rem 10%;
    }

    .general-title {
        text-align: center;
        line-height: 130%;
        margin-bottom: 25px;
    }

    .cta {
        padding: 18px 3rem;
        display: flex;
        justify-content: center;
    }

    .container-who {
        width: 100%;
        padding: 0 10%;
        margin-top: 40px;
    }

    .details {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .tameretext {
        width: 90%;
    }

    .container-quote {
        margin-top: 40px;
    }
    .container-hidden, .container-hidden-2 {
        padding: 0 10%;
        display: flex;
        justify-content: center;
    }
    .bottom, .mid {
        min-width: 250px;
    }
    .bottom {
        margin-top: 40px;
    }

     .quote-right, .container-quote {
        width: 100%;
    }

    .container-quote {
        padding: 0 10%;
    }
    #contact-form {
        min-width: 0px;
    }
    .item-img-nav {
        display: none;
    }
}