/* ======== HERO SECCIÓN INICIO ======== */
.hero-content {
    position: relative;
    color: #ffffff;
    padding: 40px;
    max-width: 700px;
	text-align: center;
    margin-left: 80px;
    z-index: 2;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;


}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px #000000;
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.6;
    text-shadow: 1px 1px 3px #000000;
}

/* Ajuste responsivo */
@media (max-width: 768px) {
    .hero-content {
        margin-left: 20px;
        padding: 20px;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
}

}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero {
        height: 80vh;
        background-position: center;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1rem;
        padding: 0 10px;
    }
}
* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.navbar {
    width: 100%;
    background: #ffffff;
    border-bottom: 2px solid #00a859;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 30px;
    position: fixed;
    top: 0;
    z-index: 999;
}

.logo img {
    height: 50px;
}

.menu ul {
    display: flex;
    list-style: none;
}

.menu ul li {
    margin-left: 25px;
}

.menu ul li a {
    text-decoration: none;
    color: #00a859;
    font-weight: 600;
    transition: .3s;
}

.menu ul li a:hover {
    color: #000000;
}

/* Botón menú móvil */
.toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #00a859;
}

/* Responsivo */
@media(max-width: 768px) {
    .menu {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background: #ffffff;
        text-align: center;
        padding: 10px 0;
        border-top: 2px solid #00a859;
    }

    .menu ul {
        flex-direction: column;
    }

    .menu ul li {
        margin: 10px 0;
    }

    .menu.active {
        display: block;
    }

    .toggle {
        display: block;
    }
}
/* ==== GALERÍA ==== */
.galeria {
    padding: 80px 50px;
    background: #fff;
    text-align: center;
}

.galeria h2 {
    color: #00a859;
    font-size: 2.3rem;
    margin-bottom: 40px;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.galeria-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
    border: 2px solid #00a85933;
}

.galeria-grid img:hover {
    transform: scale(1.05);
}

/* ==== ALCANCES ==== */
.alcances {
    position: relative;
    background-image: url("img/fondo2.jpg");
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    text-align: center;
    color: #fff;
}

.alcances .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00a859;
    z-index: 1;
}

.alcances-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.alcance-item {
    width: 220px;
}

.alcance-item img {
    height: 60px;
    margin-bottom: 15px;
}

.alcance-item h3 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 5px;
}

.alcance-item p {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
}

/* Responsivo */
@media (max-width: 768px) {
    .alcances-content {
        flex-direction: column;
        align-items: center;
    }
}
.certificaciones {
    background-color: #f9f9f9;
    padding: 80px 40px;
    text-align: center;
}

.certificaciones h2 {
    color: #00a859;
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cert-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.cert-item {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: start;
    max-width: 1000px;
    width: 100%;
    padding: 20px;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.cert-item img {
    width: 120px;
    height: auto;
    flex-shrink: 0;
}

.cert-text {
    text-align: left;
}

.cert-text h3 {
    color: #00a859;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.cert-text p {
    color: #333;
    font-size: 1rem;
    line-height: 1.5;
}

/* Responsivo */
@media (max-width: 768px) {
    .cert-item {
        flex-direction: column;
        text-align: center;
    }

    .cert-text {
        text-align: center;
    }

    .cert-item img {
        width: 100px;
    }
}

/* Chatbot */
.chatbot-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
}

.chatbot-icon img {
    width: 65px;
    height: 65px;
    cursor: pointer;
    border-radius: 50%;
    background-color: #ffffff;      /* Fondo blanco */
    border: 2px solid #1b5e20;      /* Borde verde para mantener identidad */
    padding: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    transition: transform 0.3s;
}


.chatbot-icon img:hover {
    transform: scale(1.1);
}

.chatbot-window {
    display: none;
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    overflow: hidden;
    flex-direction: column;
}

.chatbot-header {
    background-color: #1b5e20;
    color: white;
    padding: 10px;
    font-weight: bold;
    text-align: center;
}

.chatbot-messages {
    height: 250px;
    overflow-y: auto;
    padding: 10px;
    text-align: left;
}

.bot-message, .user-message {
    background-color: #e8f5e9;
    padding: 8px;
    border-radius: 8px;
    margin: 5px 0;
    max-width: 80%;
}

.user-message {
    background-color: #c8e6c9;
    align-self: flex-end;
}

.chatbot-input {
    display: flex;
    border-top: 1px solid #ccc;
}

.chatbot-input input {
    flex: 1;
    border: none;
    padding: 10px;
}

.chatbot-input button {
    background-color: #1b5e20;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}
/* ======== FOOTER ======== */
/* ======== FOOTER OSCURO ======== */
.footer {
    background-color: #2b2b2b; /* Plomo oscuro elegante */
    color: #eaeaea;
    padding: 60px 30px 30px;
    font-size: 0.95rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    width: 180px;
    margin-bottom: 15px;
    filter: brightness(1.1);
}

.footer p {
    line-height: 1.6;
    color: #dcdcdc;
}

.footer-col h3 {
    color: #00a859;
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-transform: uppercase;
    border-left: 4px solid #00a859;
    padding-left: 8px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin: 8px 0;
}

.footer-col ul li a {
    color: #dcdcdc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #00a859;
}

.social-links a {
    display: inline-block;
    margin: 8px;
}

.social-links img {
    width: 28px;
    height: 28px;
   
    transition: 0.3s;
}

.social-links img: {
    filter: ;
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    margin-top: 40px;
    padding-top: 15px;
    font-size: 0.9rem;
    color: #aaa;
}

/* Responsivo */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-col {
        margin-bottom: 20px;
    }
}


/* Responsivo */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .social-links img {
        width: 30px;
        height: 30px;
    }
}
/* ======== GALERÍA ======== */
.galeria {
    background-color: #f8f8f8;
    padding: 80px 40px;
    text-align: center;
}

.galeria h2 {
    color: #00a859;
    font-size: 2.2rem;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.galeria-item {
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.galeria-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
}

.galeria-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* ======== MODAL ======== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-contenido {
    margin: auto;
    display: block;
    max-width: 80%;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

#caption {
    text-align: center;
    color: #f1f1f1;
    padding: 10px 0;
    font-size: 1rem;
}

.cerrar {
    position: absolute;
    top: 40px;
    right: 60px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.cerrar:hover {
    color: #00a859;
}

/* Responsivo */
@media (max-width: 768px) {
    .galeria {
        padding: 60px 20px;
    }

    .modal-contenido {
        width: 95%;
    }

    .cerrar {
        right: 25px;
        top: 20px;
        font-size: 30px;
    }
}
.job-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.job-card {
    padding: 20px;
    border-radius: 12px;
    background: #ffffff;
    border: 2px solid #0e6836;
    color: #0e6836;
    transition: .3s;
}

.job-card:hover {
    background: #0e6836;
    color: #ffffff;
    transform: translateY(-4px);
}

.form {
    max-width: 550px;
    margin: 0 auto;
    display: grid;
    gap: 15px;
}

.form input,
.form select,
.form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.btn {
    background: #0e6836;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: .3s;
}

.btn:hover {
    background: #0a4f28;
}

.alert {
    background: #d1ffd9;
    padding: 12px;
    border-left: 5px solid #0e6836;
    width: 100%;
    margin-bottom: 20px;
}
/*------boton sobre nosotros----*/

.btn-mvv {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background: #00a859;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-mvv:hover {
    background: #007f4a;
}


/*estilo subpagina*/
/* ==========================================
   FONDO COMPLETO SUBPÁGINA MVV
========================================== */
.mvv-background { 
    width: 100%;
    min-height: 100vh;
    background-image:url("../img/fondomision.jpg"); /* <-- CAMBIA AQUÍ TU IMAGEN */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding-top: 120px;
    padding-bottom: 80px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.mvv-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 60, 30, 0.55);
    backdrop-filter: blur(3px);
}

.mvv-container {
    position: relative;
    max-width: 900px;
    width: 90%;
    text-align: center;
    z-index: 5;
}

.mvv-title {
    text-align: center;
    color: #fff;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 40px;
    text-shadow: 3px 3px 8px #000;
}

/* TARJETAS GLASS */
.subcard {
	text-align: left;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    border-radius: 15px;
    padding: 25px 30px;
    margin-bottom: 35px;
    color: white;
    border-left: 6px solid #00a859;
    box-shadow: 0 5px 18px rgba(0,0,0,0.4);
}

.subcard h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 5px #000;
    margin-bottom: 10px;
}

.subcard p,
.valores-list li {
    font-size: 1.1rem;
    line-height: 1.7;
    text-shadow: 1px 1px 3px #000;
}

.valores-list li {
    margin-bottom: 8px;
}

/* RESPONSIVE */
@media(max-width: 768px) {

    .mvv-container {
        width: 95%;
    }

    .mvv-title {
        font-size: 2.2rem;
    }

    .subcard {
        padding: 18px;
    }
}

/* Slider Servicios */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 40px;
}

.slider-wrapper {
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.card-serv {
    width: 28%;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #00a859;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.card-serv img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* Botones */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #00a859;
    color: #fff;
    border: none;
    padding: 12px 18px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
    z-index: 10;
}

.slider-btn:hover {
    background: #006b3b;
}

.slider-btn.left {
    left: 10px;
}
.slider-btn.right {
    right: 10px;
}

/* Responsivo */
@media(max-width: 768px) {
    .slide {
        flex-direction: column;
        align-items: center;
    }

    .card-serv {
        width: 90%;
    }
}
