/* nosotros4 .css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
}

.nosotros4 {
    margin: 0;
    padding-top:69px;
    background-color: #FFD700;
    display: flex;
    flex-direction: column;
}

.nosotros4 {
    background-color: #FFD700;
    color: #004D40;
}

.nosotros4 .title {
    max-width: 1200px;
    padding: 0px 20px;
    margin: 0 80px;
    text-align: center;
    padding-top: 2vh;
    background-color: #FFD700;
    z-index: 1;
    left: 0;
    top: 0;
}

.nosotros4 .title h1 {
    margin-top: 0px;
    font-size: 3.2vw;
    color: #004D40;
    text-align: left;
}

.nosotros4 .title p {
    margin-top: 10px;
    font-size: 1.5vw;
    color: #004D40;
    text-align: left;
    font-weight: 100;
}

.nosotros4 .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    padding-top: 2vh;
    background-color: #FFD700;
    padding-bottom: 0px;
}

.nosotros4 .columns {
    display: flex;
    justify-content: space-around;
    gap: 10vw;
    flex-grow: 1;
    align-items: flex-end;
}

.nosotros4 .rectangulo-redondeado {
    width: 18.5vw;
    height: calc(70vh - 20px);
    background-color: #064635;
    border-top-left-radius: 18vw;
    border-top-right-radius: 18vw;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2vw;
    text-align: center;
}

.nosotros4 .circulo {
    width: 4vw;
    height: 4vw;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
}

.nosotros4 .subtitle {
    margin-top: calc(20% + 5px);
    font-size: 23px;
    color: #BBE124;
    position: relative;
    padding:0 5px;
}

.nosotros4 .underline {
    width: 100px;
    height: 5px;
    background-color: #FFD700;
    margin: 10px auto;
}

.nosotros4 .description {
    font-size: 16px;
    line-height: 1.5;
    margin-top: 10px;
    text-align: justify;
    padding: 0 25px;
    max-height: 30vh;
    overflow-y: auto;
}

/* Para pantallas de 1336x768 (pantalla del cliente) */
@media screen and (max-width: 1336px) and (max-height: 768px) {
    .nosotros4 .rectangulo-redondeado {
        height: 60vh;
        width: 25vw;
    }

    .nosotros4 .circulo {
        top: 3%;
        width: 5vw;
        height: 5vw;
    }

    .nosotros4 .subtitle {
        margin-top: 20%;
        font-size: 20px;
    }

    .nosotros4 .description {
        font-size: 14px;
        max-height: 25vh;
    }
}

/* Media Queries */
@media screen and (max-width: 1200px) {
    .nosotros4 .title h1 {
        font-size: 2.2em;
    }
    
    .nosotros4 .title p {
        font-size: 1em;
    }
    
    .nosotros4 .rectangulo-redondeado {
        width: 250px;
        height: 450px;
    }
}

@media screen and (max-width: 992px) {
    .nosotros4 .columns {
        flex-direction: column;
        align-items: center;
    }
    
    .nosotros4 .rectangulo-redondeado {
        width: 80%;
        max-width: 400px;
        height: auto;
        margin-bottom: 30px;
        padding-bottom: 30px;
    }
    
    .nosotros4 .description {
        max-height: none;
    }
}

@media screen and (max-width: 768px) {
    .nosotros4 .title h1 {
        font-size: 1.8em;
    }
    
    .nosotros4 .title p {
        font-size: 0.9em;
    }
    
    .nosotros4 .rectangulo-redondeado {
        width: 90%;
    }
}





/* Media Queries para alturas específicas */
@media screen and (max-height: 768px) {
    
    .nosotros4 .title {
        padding: 10px 20px;
    }
    
    .nosotros4 .rectangulo-redondeado {
        height: 450px;
        padding-top: 80px;
    }

    
    .nosotros4 .description {
        max-height: 200px;
    }
}

@media screen and (max-height: 600px) {
    .nosotros4 {
        padding-top: 20px;
    }
    
    .nosotros4 .title h1 {
        font-size: 2em;
    }
    
    .nosotros4 .title p {
        font-size: 1em;
    }
    
    .nosotros4 .rectangulo-redondeado {
        height: 400px;
        padding-top: 60px;
    }
    
    .nosotros4 .circulo {
        width: 60px;
        height: 60px;
        top: 20px;
    }
    
    .nosotros4 .subtitle {
        font-size: 0.8em;
    }
    
    .nosotros4 .description {
        font-size: 0.85em;
        max-height: 180px;
    }
}
