/* ---- Theme Setup ---- */

body {
    font-family: "Kanit", sans-serif;
}

a {
    cursor: pointer;
}

.heading_1 {
    font-family: "Marcellus", sans-serif;
    font-size: 60px;
    font-weight: 900;
    line-height: 150%;
    letter-spacing: normal;

    @media only screen and (max-width: 1023px){
        font-size: 20px;
    }
}

.heading_2 {
    font-size: 50px;
    line-height: 150%;
    letter-spacing: normal;
}

.heading_3 {
    font-size: 40px;
    line-height: 150%;
    letter-spacing: normal;
}

.heading_4 {
    background: linear-gradient(90deg, rgba(0, 155, 157, 1) 0%, rgba(26, 56, 118, 1) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 30px;
    line-height: 150%;
    letter-spacing: normal;
    text-transform: capitalize;
    font-weight: 600;

    @media only screen and (max-width: 750px){
        font-size: 20px;
    }
}

.heading_5 {
    font-size: 20px;
    line-height: 150%;
    letter-spacing: normal;

    @media only screen and (max-width: 750px){
        font-size: 16px;
    }
}

.paragraph_text {
    font-family: "Nunito Sans", sans-serif;
    font-size: 16px;
    line-height: normal;
    letter-spacing: normal;
    font-weight: 500;
    text-transform: capitalize;

    @media only screen and (max-width: 750px){
        min-height: fit-content;
    }
}

.video__text .content__wrapper{
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
}
.content__wrapper .heading_1{
    text-align: center;
}

.custom_button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
    width: fit-content;
    height: 20px;
    margin: auto;
}

.label_content {
    font-weight: 400;
    font-size: 10px;
    z-index: 1;
    margin: 0;
    padding: 10px;
    transition: all 350ms linear;
}

.custom_button:hover .btn_animate {
    width: 110%;
}

.custom_button svg {
    width: 10px;
    height: 10px;
    vertical-align: middle;
}

.btn_animate {
    width: 110%;
    height: 110%;
    position: absolute;
    top: 0;
    left: 0px;
    background: linear-gradient(90deg, rgba(0, 155, 157, 1) 0%, rgba(26, 56, 118, 1) 100%);
    border-radius: 1000px;
    transition: all 350ms linear;
}

/* ---- No Animate Button ---- */

.custom_no_animate_button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    -moz-column-gap: 10px;
    column-gap: 10px;
    width: -moz-fit-content;
    width: fit-content;
    height: 50px;
    padding: 10px;
}

.custom_no_animate_button .no_animate {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0px;
    background: linear-gradient(90deg, rgba(0, 155, 157, 1) 0%, rgba(26, 56, 118, 1) 100%);
    border-radius: 1000px;
    transition: all 350ms linear;
}

.custom_no_animate_button .label_content {
    padding-inline-start: unset;
}

@media only screen and (min-width: 749px) {

    .custom_button:hover .label_content {
        padding-inline-start: 10px;
    }

    .custom_button {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        column-gap: 10px;
        width: fit-content;
        height: 50px;
    }

    .label_content {
        font-weight: 400;
        font-size: 14px;
        margin: 0;
        z-index: 1;
        padding-inline-start: 20px;
        transition: all 350ms linear;
    }

    .btn_animate {
        width: 50px;
        left: 0px;
    }

    .custom_button svg {
        width: 19px;
        height: 13px;
        vertical-align: middle;
    }

    .custom_button:hover .btn_animate {
        width: 110%;
    }
}

/* ----- End of Theme Setup ----- */

body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    background-color: #F5F5F5;
    border-radius: 10px;
}

body::-webkit-scrollbar {
    width: 10px;
    background-color: #F5F5F5;
}

body::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #FFF;
    background-image: linear-gradient(90deg, rgba(0, 155, 157, 1) 0%, rgba(26, 56, 118, 1) 100%);
}

.page-width {
    padding: 0 40px;

    @media only screen and (max-width: 750px){
        padding: 0 10px;
    }
}

.header__sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    color: #fff;
    transition: all .3s linear;
}

.header__sticky .nav__text {
    position: relative;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1px;
    background: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all .3s linear;
}

.header__sticky .nav__text::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    border-bottom: 3px solid #06c7c9;
    transform: scale(0);
    transform-origin: 0 50%;
    transition: transform 0.5s ease;
}

.header__sticky .nav__text:hover:after {
    transform: scale(1);
}

.logo__container {
    position: relative;
}

.nav__logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all .3s linear;
}

.is-hidden {
    visibility: hidden;
    opacity: 0;
}

.is-active {
    visibility: visible;
    opacity: 1;
}

.sticky {
    background: #ececec;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

.sticky .nav__text {
    background: linear-gradient(90deg, rgba(0, 155, 157, 1) 0%, rgba(26, 56, 118, 1) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#desktop-nav{
    display: block;
}

.mobile__nav{
    display: none;
}

@media only screen and (max-width: 768px) {
    .logo__container{
        width: 150px;
        height: 50px;
    }

    #desktop-nav{
        display: none;
    }
    .mobile__nav{
        display: block;
        position: relative;
    }

    #menuToggle {
        display: block;
        -webkit-user-select: none;
        user-select: none;
    }

    #menuToggle a {
        text-decoration: none;
        color: #000;
        transition: color 0.3 ease;
    }

    #menuToggle a:hover {
        color: orange;
    }

    #menuToggle input {
        display: block;
        width: 40px;
        height: 32px;
        position: absolute;
        top: -7px;
        left: -5px;
        cursor: pointer;
        opacity: 0;
        /* hide this */
        z-index: 2;
        /* and place it over the hamburger */
        -webkit-touch-callout: none;
    }

    #menuToggle span {
        display: block;
        width: 33px;
        height: 4px;
        margin-bottom: 5px;
        position: relative;
        background: #fff;
        border-radius: 3px;
        z-index: 1;
        transform-origin: 4px 0px;
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), opacity 0.55s ease;
    }
    .sticky #menuToggle span {
        background: #000;
    }

    #menuToggle span:first-child {
        transform-origin: 0% 0%;
    }

    #menuToggle span:nth-last-child(2) {
        transform-origin: 0% 100%;
    }

    /* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
    #menuToggle input:checked~span {
        opacity: 1;
        transform: rotate(45deg) translate(-2px, -1px);
        background: #232323;
    }

    /*
   * But let's hide the middle one.
   */
    #menuToggle input:checked~span:nth-last-child(3) {
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }

    /*
   * Ohyeah and the last one should go the other direction
   */
    #menuToggle input:checked~span:nth-last-child(2) {
        transform: rotate(-45deg) translate(0, -1px);
    }

    /*
   * Make this absolute positioned
   * at the top left of the screen
   */
    #menu {
        position: absolute;
        width: 300px;
        height: 100dvh;
        top: -35px;
        left: 75px;
        /* margin: -100px 0 0 -50px; */
        padding: 50px;
        padding-top: 125px;

        background: #ececec;
        list-style-type: none;
        -webkit-font-smoothing: antialiased;
        /* to stop flickering of text in safari */

        transform-origin: 0% 0%;
        transform: translate(100%, 0);

        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
    }

    #menu li {
        padding: 10px 0;
        font-size: 22px;
    }

    /*
   * And let's slide it in from the left
   */
    #menuToggle input:checked~ul {
        transform: translate(-100%, 0);
    }

}

/* ---- Hero Section ---- */
.section__cards {
    background: #fff;
    position: relative;
    z-index: 2;
}

.video__container {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    position: relative;
}

.video__container .video__overlay {
    background: rgba(0, 0, 0, 0.35);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.video__container .is-active {
    background-color: unset;
}


.video__container .video__wrapper {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.video__container .video__wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video__container .video__text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ---- Splide Arrows ---- */
.hero__section .splide__arrow {
    background: linear-gradient(90deg, rgba(0, 155, 157, 1) 0%, rgba(26, 56, 118, 1) 100%);
    height: 3em;
    width: 3em;
}

.hero__section .splide__arrow svg {
    fill: #fff;
}

@media only screen and (max-width: 750px){
    .hero__section .splide__arrow{
        width: 2em;
        height: 2em;
    }
    .splide__arrow svg{
        height: 1em;
        width: 1em;
    }
}

/* ---- End of Splide Arrows ---- */

/* ---- Image Cards Accordian ---- */

.accordian__images {
    position: relative;
    z-index: 2;
    padding-top: 52px;
    padding-bottom: 52px;

    @media only screen and (max-width: 750px) {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

.accordian__wrappper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.accordian__wrappper #images {
    display: flex;
    justify-content: center;
    align-items: center;
}

#images .image {
    position: relative;
    width: 50px;
    height: 300px;
    margin: 0 5px;
    background-position: center;
    background-size: cover;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 0 6px rgba(2, 4, 3, 0.2);
    transition: all 0.5s ease-in-out;
}

#images .image:hover {
    width: 330px;
    filter: none;
    border-radius: 10px;
}

#images .image:hover::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 65%, rgba(2, 4, 3, 0.7));
}

#images .image:not(:hover) {
    filter: grayscale(100%);
}

.image .icon {
    position: absolute;
    left: 10%;
    bottom: 3%;
    width: 40px;
    transition: all 0.5s ease-in-out;
}

.image:hover .icon {
    left: 3%;
    bottom: 3%;
}

.image .title,
.image .location {
    position: absolute;
    opacity: 0;
    left: 0;
    bottom: -3%;
    text-transform: capitalize;
    color: #ffffff;
    transition: all 0.5s ease-in-out;
}

.image .title {
    bottom: 9%;
    font-size: 18px;
}

.image .location {
    bottom: 3%;
    font-size: 15px;
}

.image:hover .title,
.image:hover .location {
    opacity: 1;
    left: 18%;
}

@media only screen and (max-width: 750px){
    .accordian__wrappper #images{
        flex-direction: column;
        gap: 20px;
    }
    #images .image {
        width: 330px;
        filter: none;
        border-radius: 10px;
    }
    #images .image::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(transparent 65%, rgba(2, 4, 3, 0.7));
    }
    #images .image:not(:hover){
        filter: none;
    }
    .image .icon {
        left: 3%;
        bottom: 3%;
    }
    .image .title,
    .image .location {
        opacity: 1;
        left: 18%;
    }
    
}

/* ---- End of Image Cards Accordian ---- */

/* ---- About Service Section ---- */
.about__services {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
    padding-top: 52px;
    padding-bottom: 52px;
}

.services__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    width: 100%;

    @media only screen and (max-width: 750px) {
        grid-template-columns: repeat(1, 1fr);
    }
}

.card__wrappper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    border-radius: 20px;
    /* box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset; */
    background-color: rgba(255 255 255 / 1);
}

.card__wrappper .custom_button .btn_animate {
    width: 110% !important;
}

/* ---- End of About Service Section ---- */

/* ---- Client Logos ---- */
.client__logos {
    padding-top: 52px;
    padding-bottom: 52px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

.logos__wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    place-items: center;
    width: 100%;
    max-width: 100%;
}

.logos__wrapper .logo__img {
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.logos__wrapper .logo__img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ---- End of Client Logos ---- */

/* Why Choose US Media Queries */

@media only screen and (max-width: 750px) {
    .grid__details{
        grid-template-columns: repeat(1, 1fr);
    }
}