/* --- Variables y Estilos Globales --- */
:root {
    --primary-color: #005A9C; /* Azul profesional y profundo */
    --secondary-color: #F28E1C; /* Naranja cálido y enérgico */
    --accent-color: #E63946; /* Rojo coral para acentos */
    --dark-color: #1D3557;
    --light-color: #F1FAEE;
    --text-color: #457B9D;
    --bg-light: #FFFFFF;
    --bg-dark: #F8F9FA;
    --font-family: 'Poppins', sans-serif;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--dark-color);
    line-height: 1.6;
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: var(--dark-color);
    line-height: 1.2;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

h2 {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}

section {
    padding: 100px 0;
    width: 100%;
}

.section-light {
    background-color: var(--bg-light);
}

.section-dark {
    background-color: var(--bg-dark);
}

/* --- Header y Navegación --- */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    transition: all 0.3s ease;
}

.logo {
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

.navbar {
    display: flex;
    gap: 2rem;
}

.navbar a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}

.navbar a:hover::after, .navbar a.active::after {
    width: 80%;
    left: 10%;
}

.navbar a:hover, .navbar a.active {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* --- Sección Inicio (Carrusel) --- */
.hero-carousel {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    margin-top: 70px; /* Espacio para el header fijo */
}

.carousel-slides-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 53, 87, 0.7), rgba(0, 90, 156, 0.7));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    z-index: 3;
}

.carousel-arrow:hover {
    background: #fff;
    color: var(--primary-color);
}

.carousel-arrow.prev { left: 20px; }
.carousel-arrow.next { right: 20px; }

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #fff;
}

/* --- Botones --- */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #00457d;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 90, 156, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-secondary:hover {
    background-color: #d67d0e;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(242, 142, 28, 0.3);
}

/* --- Sección Nosotros --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--text-color);
}

.about-values {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.value-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.value-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.value-icon i {
    font-size: 1.5rem;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.value-card p {
    margin: 0;
    color: var(--text-color);
}

/* --- Sección Servicios --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--secondary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    background: var(--bg-dark);
    color: var(--secondary-color);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px auto;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-color);
}

/* --- Sección Testimonios --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-color);
}

.testimonial-author strong {
    color: var(--dark-color);
    display: block;
}

.testimonial-author span {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* --- Sección Trabaja con Nosotros --- */
.career-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.career-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

/* --- Sección Contacto --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-right: 20px;
    width: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form button {
    align-self: flex-start;
}

/* --- Footer --- */






.footer {
    background-color: var(--dark-color);
    color: #fff;
    text-align: center;
    padding: 3rem 0;
}

/* 🔥 ESTILO DEL LINK */
.footer {
    background-color: #17252a;
    color: #ffffff;
    padding: 30px 0;
    text-align: center;
}

.footer-link,
.footer-link-directora {
    text-decoration: none;
    color: #2b7a78;
    font-weight: 600;
}

.footer-link:hover,
.footer-link-directora:hover {
    color: #def2f1;
}

.footer-directora {
    margin-top: 12px;
}

.footer-name {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.footer-formacion {
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* ICONOS EN BLANCO */
.social-links a {
    color: #ffffff;
    font-size: 1.2rem;
    margin: 0 8px;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.7;
}



/* --- Botón Flotante de WhatsApp --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

/* --- Responsividad --- */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem 5%;
    }

    .menu-toggle {
        display: flex;
    }

    .navbar {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .navbar.active {
        left: 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2.2rem;
    }
    section {
        padding: 70px 0;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer .container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .carousel-arrow.prev { left: 10px; }
    .carousel-arrow.next { right: 10px; }
}



/* Desktop grande */
.logo-img{
    height: 100px;
    width: auto;
    display: block;
}

/* Notebook / pantallas medianas */
@media (max-width: 1200px){
    .logo-img{
        height: 110px;
    }
}

/* Tablets */
@media (max-width: 768px){
    .logo-img{
        height: 70px;
    }
}

/* Celulares */
@media (max-width: 480px){
    .logo-img{
        height: 60px;
    }
}

.logo-img2 {
    height: 180px;
    width: auto;
    display: block;
    margin: 0 auto;
}



.link-directora {
    text-decoration: none;   /* saca el subrayado */
    color: #2b7a78;          /* color elegante (verde azulado) */
    font-weight: 600;
}

.link-directora:hover {
    color: #17252a;          /* un poco más oscuro al pasar el mouse */
}
