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

:root{
    --primary-color: #dcd7f8;
    --text-dark: #3f3b57;
    --text-light: #908ca3;
    --white: #ffffff;
    --max-width: 1200px;
}

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

.section_container{
    max-width: var(--max-width);
    padding: 5rem 1rem;
    margin: auto;
}

.section_subheader{
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-light);
    text-align: center;
}

.section_header{
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--text-dark);
    text-align: center;
    line-height: 3.5rem;
}

img{
    display: flex;
    width: 100%;
}

a{
    text-decoration: none;
    transition: 0.3s;
}

ul{
    list-style: none;
}

html, body{
    scroll-behavior: smooth;
}

body{
    font-family: "Poppins", sans-serif;
}

nav{
    position: fixed;
    isolation: isolate;
    width: 100%;
    z-index: 9;
}

.nav_header{
    padding: 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--white);
}

.nav_logo a{
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.nav_menu_btn{
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

.nav_links{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    background-color: var(--white);
    transition: transform 0.5s;
    z-index: -1;
}

.nav_links.open{
    transform: translateY(100%);
}

.nav_links a{
    font-weight: 500;
    color: var(--text-dark);
}

.nav_links a:hover{
    color: var(--primary-color);
}

header{
    padding-top: 5rem;
    position: relative;
    isolation: isolate;
    background-color: var(--primary-color);
}

.header_bottom{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3rem;
    background-color: var(--white);
    z-index: -1;
}

.header_container{
    padding-block: 2rem 0;
    display: grid;
    gap: 2rem;
}

.header_content h4{
    max-width: fit-content;
    margin-inline: auto;
    margin-bottom: 1rem;
    padding: 5px 15px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    background-color: rgba(0,0,0,0.1);
    border-radius: 5rem;
}

.header_content h1{
    margin-bottom: 1rem;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 4.5rem;
    color: var(--text-dark);
    text-align: center;
}

.header_content h1 span{
    font-size: 5rem;
}

.header_content h2{
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
}

.header_content p{
    margin-bottom: 2rem;
    color: var(--text-light);
    text-align: center;
}

.header_btn button{
    padding-block: 0.5rem;
    padding-inline: 1.5rem 0.5rem;
    margin-inline: auto;
    outline: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: rgba(0,0,0,0.1);
    border-radius: 5rem;
    transition: 0.3s;
    cursor: pointer;
}

.header_btn button span{
    padding: 5px 7px;
    font-size: 1.5rem;
    background-color: rgba(0,0,0,0.1);
    border-radius: 100%;
}

.header_btn button:hover{
    color: var(--white);
    background-color: rgba(0,0,0,0.4);
}

.header_btn button:hover span{
    background-color: rgba(0,0,0,0.4);
}

.header_image{
    position: relative;
    isolation: isolate;
}

.header_image img{
    max-width: 400px;
    margin-inline: auto;
}

img.header_image-bg{
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    max-width: 300px !important;
    z-index: -1;
}

.intro_grid{
    margin-top: 4rem;
    display: grid;
    gap: 2rem;
}

.intro_card{
    text-align: center;
}

.intro_card div{
    max-width: fit-content;
    margin-inline: auto;
    margin-bottom: 1rem;
    padding: 2rem;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

.intro_card:nth-child(1) div{
    background-image: url(/assets/intro-1-bg.png);
}

.intro_card:nth-child(2) div{
    background-image: url(/assets/intro-2-bg.png);
}

.intro_card:nth-child(3) div{
    background-image: url(/assets/intro-3-bg.png);
}

.intro_card div img{
    width: unset;
    height: 75px;
}

.intro_card h4{
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.intro_card p{
    margin-bottom: 2rem;
    color: var(--text-light);
}

.intro_card a{
    display: inline-block;
    padding: 0.5rem 2rem;
    border: 2px solid;
    border-radius: 5rem;
    transition: 0.3s;
}

.intro_card:nth-child(1) a{
    color: #ffc737;
    border-color: #ffc737;
}

.intro_card:nth-child(1) a:hover{
    color: var(--white);
    background-color: #ffc737;
}

.intro_card:nth-child(2) a{
    color: #257ae7;
    border-color: #257ae7;
}

.intro_card:nth-child(2) a:hover{
    color: var(--white);
    background-color: #257ae7;
}

.intro_card:nth-child(3) a{
    color: #cba9b6;
    border-color: #cba9b6;
}

.intro_card:nth-child(3) a:hover{
    color: var(--white);
    background-color: #cba9b6;
}

.about_row{
    margin-top: 2rem;
    display: flex;
    gap: 2rem;
    flex-direction: column;
    overflow: hidden;
}

.about_row:nth-child(3){
    margin-top: 4rem;
}

.about_image{
    flex: 1;
    max-width: 400px;
    margin-inline: auto;
}

.about_content{
    flex: 1;
    text-align: center;
}

.about_content span{
    margin-inline: auto;
    margin-bottom: 1rem;
    width: 80px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}

.about_content span img{
    max-width: 40px;
}

.about_row:nth-child(3) .about_content span{
    background-color: #fdf2d9;
}

.about_row:nth-child(4) .about_content span{
    background-color: #e8f7fe;
}

.about_row:nth-child(5) .about_content span{
    background-color: #fbebf1;
}

.about_content h4{
    max-width: 450px;
    margin-inline: auto;
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 3rem;
}

.about_content p{
    max-width: 450px;
    margin-inline: auto;
    color: var(--text-light);
}

.product{
    position: relative;
    isolation: isolate;
}

.product::before{
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 65%;
    background-color: #fdf2d9;
    z-index: -1;
}

.product_grid{
    margin-top: 4rem;
    display: grid;
    gap: 2rem;
}

.product_card h4{
    margin-block: 1rem 5px;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
}

.product_card p{
    margin-bottom: 1rem;
    color: var(--text-light);
}

.product_card h3{
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.service_flex{
    margin-top: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
}

.service_card div{
    margin-bottom: 2rem;
    margin-inline: auto;
    width: 120px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #dff3fd;
    border-radius: 100%;
}

.service_card img{
    max-width: 45px;
}

.service_card p{
    font-weight: 500;
    color: var(--text-light);
}

.client{
    background-color: var(--primary-color);
}

.swiper{
    margin-top: 4rem;
    width: 100%;
}

.swiper_slide{
    min-width: 375px;
}

.client_card{
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 1rem;
    transition: 0.3s;
}

.client_details{
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client_details img{
    max-width: 50px;
    border-radius: 100%;
}

.client_details h4{
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.client_details h5{
    font-weight: 500;
    color: var(--text-light);
}

.client_card p{
    color: var(--text-dark);
}

.instagram_container p{
    max-width: fit-content;
    margin-bottom: 1rem;
    padding: 6px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    background-color: #e6e3fa;
    border-radius: 5rem;
}

.instagram_container .section_header{
    padding-bottom: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--text-light);
}

.instagram_grid{
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.footer_container{
    display: grid;
    gap: 4rem 2rem;
}

.footer_logo a{
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
}

.footer_col h4{
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.footer_links{
    display: grid;
    gap: 1rem;
}

.footer_links a{
    font-weight: 500;
    color: var(--text-dark);
}

.footer_links a:hover{
    color: var(--primary-color);
}

.footer_col p{
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.footer_col form{
    width: 100%;
    display: flex;
    align-items: center;
    border: 2px solid var(--primary-color);
    border-radius: 5rem;
}

.footer_col form input{
    padding-inline: 0.5rem;
    width: 100%;
    outline: none;
    border: none;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: transparent;
}

.footer_col form button{
    padding: 0.25rem 1.5rem;
    outline: none;
    border: none;
    color: var(--text-dark);
    font-size: 2rem;
    background-color: var(--primary-color);
    border-radius: 5rem;
    cursor: pointer;
}

.footer_socials{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer_socials a{
    display: inline-block;
    padding: 5px 8px;
    font-size: 1.125rem;
    color: var(--text-dark);
    background-color: var(--primary-color);
    border-radius: 100%;
}

.footer_bar{
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
}





@media (width > 540px) {
    .header_content h1{
        font-size: 4.5rem;
        line-height: 5rem;
    }

    .header_content h1 span{
        font-size: 6rem;
    }

    .intro_grid{
        grid-template-columns: repeat(2, 1fr);
    }

    .product_grid{
        grid-template-columns: repeat(2, 1fr);
    }

    .instagram_grid{
        grid-template-columns: repeat(4, 1fr);
    }

    .footer_container{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (width > 768px) {
    nav{
        position: static;
        padding: 2rem 1rem;
        max-width: var(--max-width);
        margin-inline: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }

    .nav_header{
        padding: 0;
        background-color: transparent;
    }

    .nav_logo a{
        font-size: 1.5rem;
    }

    .nav_menu_btn{
        display: none;
    }

    .nav_links{
        position: static;
        padding: 0;
        flex-direction: row;
        justify-content: flex-end;
        background-color: transparent;
        transform: none;
    }

    header{
        padding-top: 0;
    }

    .header_container{
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .header_content{
        grid-area: 1/2/2/3;
    }

    .header_content :is(h4, .header_btn button){
        margin-inline-start: unset;
    }

    .header_content :is(h1, h2){
        text-align: left;
    }

    .header_content p{
        max-width: 400px;
        text-align: left;
    }

    .header_image img{
        max-width: 500px;
    }

    .intro_grid{
        grid-template-columns: repeat(3, 1fr);
    }

    .about_row{
        flex-direction: row;
        align-items: center;
    }

    .about_row:nth-child(4){
        flex-direction: row-reverse;
    }

    .about_image{
        max-width: unset;
        margin-inline: auto;
    }

    .about_content{
        text-align: left;
    }

    .product_grid{
        grid-template-columns: repeat(3, 1fr);
    }

    .footer_container{
        grid-template-columns: repeat(4, 1fr);
    }
}