


#homepage_body{
    background-color: white !important;
}

/* Base styles for mobile devices */
.wrapper_home {
    display: block;
    width: 90vw; /* Ensure it doesn't exceed 90% of the viewport width */
    margin: 0 auto; /* Keep centered */
    

    padding-top: 0rem; /* No top padding */
    padding-bottom: 0rem; /* No bottom padding */
    padding-left: .5rem;
    padding-right: .5rem;
    position: relative;
  }
  



.two_grid_layout{
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.profile_images_layout{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
}

.services_layout{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1rem;
    z-index: 500 !important;
    position: relative;
}

.name_type{
    font-size: 60px;
    font-weight: 900;
}


@media (max-width: 899px) {
    .two__grid__layout{
        display: Flex;
        flex-direction: column;
        gap: 2rem;
    }

    .profile_images_layout{
        display: flex;
        flex-direction: column;
        gap: .5rem;
    }

    .services_layout{
        display: flex;
        flex-direction: column;
        gap: .5rem;
        padding: 2rem;
    }
  }
  









.profile_card{
    background-image: url("../assets/images/background_gradient.png");
    width: 100%;
    height: 20rem;
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;

    display: grid;
    grid-template-columns: 1fr 1fr;
}




.profile_name{
    
    
    color: white !important;

    width: 100%;
    height: 100;

    padding: 2rem;
}

.profile_name h4{
    color: white;
}



.profile_image{
    width: 100%;
    height: 100%;
    background-position: bottom;
    background-position-x: right;
    background-repeat: no-repeat;
    background-size: contain;

}


.specialties{
    margin-bottom: 2rem;
}



.service_image{
    height: 100%;
    width: 100%;

    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;

}



.service_image_extend{
    height: 100%;
    width: 100%;

    background-position: bottom;
    background-size: Cover;
    background-repeat: no-repeat;

}





.service_card{
    background-image: url("../assets/images/background_gradient.png");
    width: 100%;
    height: 20rem;
    background-position: center;
    background-size: cover;


    display: grid;
    grid-template-rows: 1fr 2fr;
}

.service_card:hover {
    cursor: pointer;
    transform: translate(0.25rem, -0.25rem); /* Apply transformation on hover */
}




.product_card_button{
    margin-top: 1rem;
    display: block;
    border-bottom: solid var(--font-300) 2px;
}


.service_name{
    color: white !important;
    padding: 2rem;
}

.service_name h4{
    color: white;
}



.service_type{
    height: 2rem;
    width: 2rem;
    position: absolute;
    top: 1rem;
    left: 1rem;



}

.leaf_the_studio{
    background-image: url('../assets/svg/leaf_the_studio.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}



#homepage_banner {
    position: relative;
    background-image: url('../assets/homepage/banner.jpg');
    height: 600px;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: grid;
    grid-template-columns: 2fr 1fr;
    justify-content: center;
    align-items: center;
    color: white;
    z-index: 500;
}




.service_header {
    font-size: 24px;
    font-weight: 900;
    background-color: black;
    padding: 2rem;
    position: relative; /* Ensures the ::before is positioned relative to this element */
    z-index: 1; /* Keeps the text above the background */
    color: white;

}

.service_header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 200px;
    background-color: black;
    z-index: -1; /* Places it behind the content */
    transform: translateX(-50%); /* Centers it horizontally */

    background-image: url('../assets/homepage/banner_blur.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


#blurbackground {
    position: absolute;
    top: 149px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw; /* Adjust as needed */
    height: 300px; /* Adjust as needed */
    background-color: black;
    z-index: 0;
    overflow: hidden; /* Prevents the blurred image from overflowing */
}

/* Blurred background effect */
#blurbackground::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 200%;
    height: 200%;
    background-image: url('../assets/homepage/banner.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(100px); /* Adjust blur strength */
    z-index: -1;
    transform: translateX(-50%); /* Centers it horizontally */
}




#welcome_text{
    font-size: 24px;
    font-weight: 900;
    color: lightgray;

}

#leaf_type{
    font-size: 128px;
    color: white;
    font-weight: 900;
}

#welcome_layout{
    margin-left: 4rem;
}

#explenation_text{
    font-size: medium;
    color: white;
    margin-right: 4rem;
}

#leaf_logo{
    position: absolute;
    top: 1rem;
    left: 4rem;
    width: 3rem;
    height: 3rem;

    background-image: url(../assets/svg/leaf_square_logo.svg);
}


#homepage_content{
    z-index: 500;
}




/* Tablet (768px and below) */
@media (max-width: 768px) {
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    #homepage_banner {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        height: fit-content;

        padding-top: 6rem;
        padding-bottom: 4rem;
        justify-content: left;
        align-items: left;

    }

    #explenation_text{
        margin-right: 0;
        padding: 1rem;
    }

    #welcome_layout{
        margin-left: 0;
        padding: 1rem;
    }


    .profile_card{
        display: flex;
        flex-direction: column;
        height: fit-content;
    }

    .profile_image{
        width: 100%;
        height: 15rem;
    }

    .profile_name{
        width: calc(100% - 2rem);
        padding: 1rem;
    }


    #leaf_logo{

        top: .5rem;
        left: 1rem;
    }
    

    .two_grid_layout{
        display: flex;
        flex-direction: column;
    }

    .footer-container {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .footer-section {
        width: 100%;
    }
    


}

#homepage_footer{

    margin-top: 4rem;
        position: relative;
        background-color: #110f10;
        height: fit-content;
        width: calc(100% - 4rem);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        justify-content: center;
        align-items: center;
        color: white;
        z-index: 500;
        padding: 2rem;
}




.footer-container {
    display: flex;
    justify-content: space-around;
    padding: 0 20px;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: white;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
}

.footer-bottom p {
    font-size: 14px;
    text-align: center;
}