/* Add these styles to your nosotros.css file */
#hero {
   background-image: url('../Recursos/portada1.jpg'); /* Replace with the correct path */
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    position: relative;
}

#hero .hero-content {
    text-align: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    padding: 180px 10;
    border-radius: 10px;
    max-width: 5000px;
    margin: 0 auto;
    position: relative;
    
   
    
 
}

#hero h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

#hero p {
    font-size: 0.9em;
    margin-bottom: 10px;

   

}

/* Contenedor de las tarjetas */
.values {
    display: flex;
    justify-content: space-around; /* Distribuye las tarjetas de manera uniforme */
    flex-wrap: wrap; /* Permite que las tarjetas se muevan a la siguiente línea en pantallas más pequeñas */
    margin: 0 auto; /* Centra el contenedor en la página */
    max-width: 1200px; /* Limita el ancho máximo para asegurar que no se expandan demasiado */
    padding: 20px;
}

/* Estilo de cada tarjeta */
.value-card {
    background-color: #2b3a67; /* Cambia a un fondo más oscuro si lo prefieres */
    border-radius: 15px;
    padding: 20px;
    width: 300px; /* Ancho fijo de las tarjetas */
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px; /* Espacio entre las filas de tarjetas */
}

/* Estilo de las imágenes dentro de las tarjetas */
.value-icon {
    width: 60px;
    margin-bottom: 15px;
}

.value-card:hover {
    transform: translateY(-10px); /* Adds a lift effect on hover */
}

/* Mission Section Styling */
.mission-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 0;
    max-width: 1200px;
    margin: 0 auto;
    flex-direction: row-reverse; /* Esto coloca la misión a la derecha */
}

.mission-info {
    width: 45%;
    padding: 20px;
    text-align: left; /* Alinea el texto a la izquierda dentro del contenedor */
}

.mission-card {
    position: relative;
    width: 50%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-right: 20px; /* Agrega un pequeño margen entre la imagen y el texto */
}

.mission-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.mission-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 20px;
    border-radius: 0 0 15px 15px;
    font-size: 1.2em;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.mission-text-overlay .quote {
    font-style: italic;
}

.mission-text-overlay .quote-author {
    margin-top: 10px;
    font-size: 0.9em;
    text-align: right;
}

/* Additional styling for other sections as needed */



/* Contenedor de las tarjetas */
.values {
    display: flex;
    justify-content: space-around; /* Distribuye las tarjetas de manera uniforme */
    flex-wrap: wrap; /* Permite que las tarjetas se muevan a la siguiente línea en pantallas más pequeñas */
    margin: 0 auto; /* Centra el contenedor en la página */
    max-width: 1200px; /* Limita el ancho máximo para asegurar que no se expandan demasiado */
    padding: 20px;
}

/* Estilo de cada tarjeta */
.value-card {
    background-color: #2b3a67; /* Cambia a un fondo más oscuro si lo prefieres */
    border-radius: 15px;
    padding: 20px;
    width: 300px; /* Ancho fijo de las tarjetas */
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px; /* Espacio entre las filas de tarjetas */
}

/* Estilo de las imágenes dentro de las tarjetas */
.value-icon {
    width: 60px;
    margin-bottom: 15px;
}


.value-card:hover {
    transform: translateY(-10px); /* Adds a lift effect on hover */
}


/* Remove the purple/blue overlay from the background */
.hero-content {
    position: relative;
    text-align: center;
    padding: 100px 20px;
    color: white;
    z-index: 2; /* Ensures the text is above the background */
}

.hero-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Recursos/background.jpg'); /* Replace with your actual background image path */
    background-size: cover;
    background-position: center;
    opacity: 1; /* Set to 1 for no overlay */
    z-index: 1;
}

/* Ensure the hero text remains readable */
.hero-content h1, .hero-content p {
    position: relative;
    z-index: 2;
}

/* If you had an overlay on the hero, remove it or set opacity to 0 */
.hero-overlay {
    display: none; /* or you could just remove this class if it exists */
}


.mission-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 0;
    max-width: 1200px;
    margin: 0 auto;
    flex-direction: row-reverse; /* Esto coloca la misi贸n a la derecha */
}

.mission-info {
    width: 45%;
    padding: 20px;
    text-align: left; /* Alinea el texto a la izquierda dentro del contenedor */
}

.mission-card {
    position: relative;
    width: 50%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-right: 20px; /* Agrega un peque帽o margen entre la imagen y el texto */
}



.mission-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.mission-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 20px;
    border-radius: 0 0 15px 15px;
    font-size: 1.2em;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.mission-text-overlay .quote {
    font-style: italic;
}

.mission-text-overlay .quote-author {
    margin-top: 10px;
    font-size: 0.9em;
    text-align: right;
}


.mission-info h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.mission-info p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.mission-stats {
    display: flex;
    justify-content: space-between;
}

.mission-stats div {
    text-align: center;
}

.mission-stats h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.mission-stats p {
    font-size: 1.5em;
    font-weight: bold;
}

.learn-more-link {
    display: inline-block;
    margin-top: 20px;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.learn-more-link:hover {
    text-decoration: underline;
}

.team-section {
    text-align: center;
    padding: 50px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.features {
    display: flex;
    justify-content: space-around;
    margin-bottom: 50px;
}

.feature-card {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.feature-card:hover {
    transform: scale(1.05);
}

.icon-wrapper {
    font-size: 40px;
    margin-bottom: 15px;
    color: #007bff;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 16px;
    color: #555;
}

.team-photos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.photo-card {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.photo-card img {
    width: 100%;
    display: block;
}

.photo-card:hover {
    transform: scale(1.05);
}

.principles-section {
    padding: 50px;
    text-align: center;
    background-color: #f4f7fa;
}

.section-title {
    font-size: 36px;
    color: #333;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.principle-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.principle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.icon-wrapper {
    font-size: 50px;
    color: #007bff;
    margin-bottom: 15px;
}

.principle-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #333;
}

.principle-card p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.testimonials-section {
    padding: 50px;
    text-align: center;
    background-color: #f9f9f9;
}

.section-title {
    font-size: 36px;
    color: #333;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-text {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.testimonial-author h4 {
    font-size: 18px;
    margin: 0;
    color: #333;
}

.testimonial-author p {
    font-size: 14px;
    color: #777;
    margin: 0;
}
