html{
    font-size: 14px;
}

body{
    font-family: 'Archivo', sans-serif;

}

.body {
    padding: 1rem 3rem;

}

*{
    margin: 0;
}

.body_index{
    background: linear-gradient(180deg, #330098 4%,  white 50%, white 100%);

}

.header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}



.logo_image_wrapper > img{
    height: 2rem;
}

.header_nav{
    display: flex;
    gap: 1rem;
}

.header_nav > .button{
    background-color: transparent;
    color: white;
    transition: background-color 0.3s, color 0.3s;
}

.header_nav > .button:hover{
    background-color: white;
    color: #330098;
}

.header_nav_about .button{
    color: black;
}

.header_nav_about .button:hover{
    background-color: #330098;
    color: white;
}

.main{
    padding-top: 5rem;
}

.main_about {
    padding-top: 2rem;
}

.main > section{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main_section{
    padding: 0rem 5rem;
    gap: 2rem ;
    color: white;

}

.main_section {
    padding: 0rem 5rem;
    gap: 2rem;
    color: white;
}


.description{
    text-align: center;
    padding: 0rem 5rem;
    font-weight: 300;
    font-size: 1rem;
}

/* Breakpoints for responsiveness */

/* Medium screens (e.g., tablets) */
@media (max-width: 1024px) {
    .main_section {
        padding: 0rem 3rem; /* Adjust padding for medium-sized screens */
    }

    .body{
        padding: 1rem 2rem;
    }
    
    .description{
        padding: 0rem 3rem;
    }
}

/* Small screens (e.g., phones) */
@media (max-width: 600px) {
    .main_section {
        padding: 0rem 1rem; /* Reduce padding for smaller screens */
    }

    .body{
        padding: 1rem 1rem;
    }

    .description{
        padding: 0rem 1rem;
    }
}

.main_section > *{
    margin: 0;
}

.title{
    font-size: 3rem;
    text-align: center;
}


.greenhouse_image {
    display: block;
    max-width: 100%;
    margin: 4rem auto; /* Center image horizontally */
}


.description_caption{
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: -1rem;
    text-align: center;

}


.products_section{
    margin-top: 5rem;
    gap: 2rem;
    color: black ;
}

.products_row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: stretch;
}

.product_box{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.product_box > *{
    margin: 0;
    text-align: center;
}

.product_box > img{
    max-width: 100%;
}
.product_box > a{
    margin-top: auto;
}

.button{
    display: inline-block;
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
    background-color: black;
    color: white;
    outline: none;
    border: none;
    font-weight: 300;
    cursor: pointer;
    text-decoration: none; /* Remove underline */
    text-align: center;
    transition: background-color 0.3s, color 0.3s;

}

.products_title {
    font-size: 2rem;
}

.product_description {
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.3rem; 
}

.cambio_footer{
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cambio_row{

    display: flex;
    justify-content: space-between;
}

.cambio_title{
    margin: 0;
    font-size: 3rem;
}

.social_grid > *{
    margin: 0;
    font-size: 0.9rem;
    outline: none;
    color: black;
    text-decoration: none;
}

.social_grid{
    height: fit-content;
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2rem;
    row-gap: 1rem;
}

.cambio_logo {
    width: 10rem; /* Maintain the aspect ratio */
}

.cambio_column{
    display: flex;
    flex-direction: column;
    gap: 10rem;
}

.separator{
    border-top: 1px solid black;
    width: 100%;
}

.copyright_caption{
    margin: 0;
    font-size: 0.8rem;
    font-weight: 300;
}

.about_title_container {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

.about_title_image {
    
    display: block;
    width: 100%;
    height: 18rem;
    position: relative;
}

.overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.about_title {
    color: white;
    position: absolute;
    text-align: center;
    z-index: 2; /* Ensure the text is on top of the image */
}

.about_text_container{
    margin-top: 4rem;
    max-width: 60%;
    line-height: 1.7rem;
}

.about_description{
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}
.about_caption{
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.about_meet_us_section{
    display: flex;
    flex-direction: row !important;
    gap: 4rem;
    margin-top: 5rem;
}

.about_meet_us_text_column{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-self: flex-start;
    width: 50%;
}

.about_meet_us_text_column > *{
    margin: 0;
}

.about_meet_us_image_wrapper {
    flex: 1; /* Take up equal space */
    width: 50%; /* Explicit width */
    height: 35rem; /* Fixed height */
    background-image: url('/assets/tech1.png');
    background-size: cover; /* Fill the container */
    background-position: center;
    background-repeat: no-repeat;
}
.about_meet_us_description{
    padding-top: 1rem;
    font-weight: 300;
    line-height: 1.8rem;

}

.about_meet_us_caption{
    font-weight: 500;
}

.about_meet_us_title{
    font-size: 2.5rem;
    font-weight: 600;
}

.mail_icon{
    width: 2.5rem;
}

.contact_mail_section{
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mail_title{
    font-size: 2rem;
    font-weight: 600;
}

.mail_caption{
    font-size: 1rem;
    font-weight: 300;
}

.mail_button{
    background-color: white !important;
    border: 1px solid black !important;
    color: black !important;
    transition: background-color 0.3s, color 0.3s;
}

.mail_button:hover{
    background-color: black !important;
    color: white !important;
}
/* Subfooter Styles */
.subfooter {
    
    padding: 4rem 3rem;
    background-color: #EEEAF7;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    box-sizing: border-box; /* Ensure padding doesn't add extra width */
    overflow-x: hidden; /* Prevent horizontal overflow */
}

.subfooter_contact_row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    gap: 2rem; /* Add some space between columns */
    overflow: hidden;
    flex-wrap: wrap; /* Allow wrapping if content overflows horizontally */
}

.subfooter_contact_column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 200px; /* Prevent columns from shrinking too much */
    flex: 1; /* Distribute space equally */
}

.subfooter_contact_icon {
    height: 1.5rem;
    width: auto;
    object-fit: contain;
    object-position: 0rem;
}

.subfooter_contact_title {
    font-size: 1.5rem;
    font-weight: 600;
}

.subfooter_contact_description {
    font-weight: 300;
    font-size: 0.9rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.subfooter_caption {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 2rem;
}

.product_box > .button:hover{
    background-color: #330098;
}

.redes_logos{
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: -5rem;
}

.redes_logos{
    width: 100%;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.iframe{
    border: none; 
    width: 100%; 
    height: 60rem; 
    margin-top: 5rem; 
    width: calc(100% + 6rem);
    margin-left: -2rem;
}


/* Small screens (e.g., phones) */
@media (max-width: 600px) {
    .products_row {
        flex-direction: column; /* Change to a single column layout */
    }

    .cambio_row{
        flex-direction: column;
        gap: 2rem;
    }

    .cambio_logo{
        display: none;
    }


}

