@import url("https://fonts.googleapis.com/css?family=DM+Sans:400,500,700&display=swap");
@import 'animate.css';
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
    --yellow: #ffbc00;
    --black: #111111;
    --brown1: #1d0c0a;
    --brown2: #3a1913;
    --brown3: #57251d;
    --brown4: #743226;
    --brown5: #913e30;
    --brown6: #d38a59;
    --brown7: #F8EDB1;
    --verde: #7F8D44;

    --txtSize: clamp(13px, 4vw + .6rem, 30px);
    --txtSizeFooter: clamp(7px, 1.5vw + .5rem, 17px);
    --fontTittle: clamp(7px, 1.5vw + .5rem, 17px);
    --fontGeneral: clamp(10px, .5vw + .9rem, 18px);
    --fonttype: "Plus Jakarta Sans", serif;
}


.root-container {
    color: var(--brown7);
    height: 34em;
    text-align: center;
    background-attachment: fixed;
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0.474), rgba(0, 0, 0, 0.69), rgba(0, 0, 0, 0.474)), url(img/fajashilos.webp);
    place-content: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

}

.callOutStart {
    font-size: var(--fontGeneral);
    place-content: center;
    text-align: center;
    border: 2px solid var(--verde);
    border-radius: 10px;
    margin: 2rem 10%;
    height: auto;
    padding: 15px;
    width: 80%;
    background-color: #7e8d44ad;
}

@media (max-width:800px) {
    .callOutStart {
        margin: 1rem 10% 1rem 10%;
        width: auto;
    }
}

.imagenstatic {
    background-image: url(img/saragurocloseup.webp);
    filter: opacity(0.9);
    background-size: cover;
    background-attachment: fixed;
    background-position: bottom;
    height: 30em;
    width: 100%;
}

@media (max-width: 500px) {
    .imagenstatic {
        background-attachment: local !important;
    }
}

.containerHeresWhy {
    font-size: 1.3rem;
    text-align: justify;
    width: auto;

    padding: 5% 10% 1% 10%;
    display: flex;
    flex-direction: column;
}

.containerHeresWhy h2 {

    color: #4E5D0F;
    font-size: 1.3rem;
    margin: 1.5rem 3px;
}
.h2HWhy{
    text-align: center !important;
}

@media (max-height:700px) {
    .arreglo{
        height: 60vh;
    }
}

.containerHeresWhy section p {
    font-size: var(--fontGeneral);
}

.containerHeresWhy ul {
    font-size: var(--fontGeneral);
    margin-top: 1.5rem;
    display: block;
    margin-left: 7%;
    width: 93%;
    height: auto;
    list-style: decimal;
    text-align: justify;
}

.headerWhy {
    margin-bottom: 30px;
    font-size: clamp(10px, 1.5vw + .9rem, 80px);
    border-radius: 25px;
    color: #F8EDB1;
    align-content: center;
    height: 7rem;
    width: 100%;
    background-color: #4E5D0F;
    text-align: center;
}

h1 {
    text-align: center;
    margin-top: 40px;
    font-size: 2.5rem;
    color: #2c3e50;
}

p.intro {
    text-align: justify;
    font-size: 1.2rem;
    margin: 20px auto;
    max-width: 600px;
    color: #555;
}
.iconFlat-Img{
    place-content: center;
    width: 40px;
}
.misiones-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.mision-card {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mision-card i,
.valueCard i {
    font-size: var(--fontTittle);
    color: #111111;

}

.mision-card:hover {
    transition: 1.5s;
    justify-content: flex-start;
    height: 16rem;
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.mision-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #e74c3c;
}

.mision-card h3,
.valueCard h3 {
    margin-top: 10rem;
    font-size: 1.5rem;
    margin: 0;
    color: #463310;
}

.mision-card p {
    font-size: 1rem;
    margin: 10px 0 0;
    color: rgba(84, 22, 22, 0.789);
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
}

.mision-card:hover p {
    opacity: 1;
}

/* Mostrar el texto en móviles al hacer clic */
.mision-card.active p {
    opacity: 1;
    position: static;
    margin-top: 10px;
}

/* Colores de fondo para cada tarjeta */
.mision-card:nth-child(1) {
    background-color: #819c147e;
}

.mision-card:nth-child(2) {
    background-color: #dbb74181;
}

.mision-card:nth-child(3) {
    background-color: #d38a59a1;
}

.mision-card:nth-child(4) {
    background-color: #ffbb0070;
}

.mision-card:nth-child(5) {
    background-color: #738a1a9a;
}

@media (max-width: 768px) {
    p.intro {
        padding: 0px 10%;
    }
}

/* or values styles */

.value-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 4rem 7% 1rem 7%;
    justify-content: space-between;
}

.valueCard {
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important;
    gap: .5rem;
    flex: 1 1 220px;
    height: auto;
    width: 300px;
    background-color: #cc9144ac;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
    place-content: center;
    text-align: center;
    align-items: center;
}

.valueCard p {
    padding-top: 1rem;
}