/* Estilos generales */
.about-us, .values-section, .cta-section {
    padding: 80px 20px; /* Ajuste del padding para pantallas pequeñas */
}

/* Sección "Sobre Nosotros" */
.about-us {
    background-color: #f4f7fb;
    color: #333;
}

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap; /* Se ajusta para pantallas pequeñas */
}

.about-info {
    flex: 1;
}

.about-title {
    font-size: 2.8rem;
    font-weight: 600;
    color: #0e0c33;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-description {
    font-size: 1.2rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 30px;
}

.highlight {
    color: #87ec00;
    font-weight: bold;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 20% 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);
}

/* Sección de "Misión, Visión y Valores" */
.values-section {
    background-color: #08015e;
}

.values-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 80px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap; /* Ajuste para pantallas pequeñas */
}

.value-box {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    flex: 1;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px; /* Espacio entre las cajas */
}

.value-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* Colores personalizados para cada sección */
.mission {
    background-color: #05316a;
    color: #fff;
}

.vision {
    background-color: #87ec00;
    color: #fff;
}

.values {
    background-color: #0e0c33;
    color: #fff;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.value-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.value-text {
    font-size: 1rem;
    line-height: 1.6;
}

/* Sección de Llamado a la Acción */
.cta-section {
    background-color: #87ec00;
    color: #fff;
}

.cta-container {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cta-title {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-btn {
    font-size: 1.4rem;
    font-weight: bold;
    background-color: #fff;
    color: #87ec00;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-transform: uppercase;
}

.cta-btn:hover {
    background-color: #05316a;
    color: #fff;
}

/* Responsive Styles */

/* For devices with a width up to 1024px (tablets and smaller screens) */
@media (max-width: 1024px) {
    .about-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .values-container {
        flex-direction: column;
    }

    .value-box {
        width: 100%;
        margin-bottom: 20px;
    }

    .value-title {
        font-size: 1.6rem;
    }

    .value-text {
        font-size: 1rem;
    }

    .cta-container {
        padding: 40px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .cta-btn {
        font-size: 1.2rem;
    }
}

/* For devices with a width up to 768px (larger phones and small tablets) */
@media (max-width: 768px) {
    .about-title {
        font-size: 2.2rem;
    }

    .about-description {
        font-size: 1rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .cta-btn {
        font-size: 1.2rem;
    }

    .value-icon {
        font-size: 2rem;
    }

    .value-title {
        font-size: 1.4rem;
    }

    .value-text {
        font-size: 0.9rem;
    }

    .about-title {
        font-size: 1.8rem;
    }

    .about-description {
        font-size: 1rem;
    }
}

/* For devices with a width up to 480px (small phones) */
@media (max-width: 480px) {
    .about-title {
        font-size: 1.5rem;
    }

    .about-description {
        font-size: 1rem;
    }

    .cta-container {
        padding: 30px;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .cta-btn {
        font-size: 1rem;
        padding: 12px 25px;
    }

    .value-title {
        font-size: 1.2rem;
    }

    .value-text {
        font-size: 0.9rem;
    }

    .value-icon {
        font-size: 1.5rem;
    }

    .about-info {
        text-align: center;
    }

    .about-image {
        margin-top: 30px;
    }
}




/* Sección "¿Por qué elegir SecQuoIA?" */
.why-choose-secquoia {
    background-color: #f4f7fb;
    padding: 80px 0;
}
  
.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    color: #73ff00;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
  
.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 50px;
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
  
  /* Contenedor de las cards */
.why-secquoia-cards {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}
  
.why-secquoia-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px;
    width: 22%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
  
.why-secquoia-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}
  
.card-icon {
    font-size: 3rem;
    color: #87ec00;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}
  
.card-title {
    font-size: 1.0rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 40px;
}
  
.card-text {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    position: absolute;
    bottom: 20px;
    width: 100%;
    left: 0;
}
  
  /* Estilos para cada card (con colores personalizados) */
.why-secquoia-card:nth-child(1) {
    background-color: #011d9c;
    color: #fff;
}
  
.why-secquoia-card:nth-child(2) {
    background-color: #011d9c;
    color: #fff;
}
  
.why-secquoia-card:nth-child(3) {
    background-color: #011d9c;
    color: #fff;
}
  
.why-secquoia-card:nth-child(4) {
    background-color: #011d9c;
    color: #fff;
}
  
  /* Animación: cuando el ratón está sobre la card */
.why-secquoia-card:hover .card-text {
    opacity: 1;
    transform: translateY(0);
}
  
  /* Responsive Styles */
@media (max-width: 1024px) {
    .why-secquoia-cards {
      flex-direction: column;
      align-items: center;
    }
  
    .why-secquoia-card {
      width: 80%;
      margin-bottom: 20px;
    }
}
  
@media (max-width: 768px) {
    .section-title {
      font-size: 2.2rem;
    }
  
    .card-title {
      font-size: 1.4rem;
    }
  
    .card-text {
      font-size: 0.9rem;
    }
}
  