/* Importación de fuente moderna */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&family=Roboto:wght@400;500;700&display=swap');

/* Variables CSS */
:root {
    --font-family: 'Poppins', sans-serif;
    --secondary-font: 'Roboto', sans-serif;
    --body-margin: 15px;
    --body-text-color: #333;
    --gradient-color1: #dbdbec;
    --gradient-color2: #6787df;
    --gradient-color3: #084ea3;
    --header-background: rgba(173, 191, 228, 0.9);
    --menu-link-color: white;
    --menu-link-hover-color: #ff6600;
    --carousel-indicator-bg: rgba(255, 255, 255, 0.6);
    --carousel-indicator-active-bg: #ff6600;
    --h1-color: #003366;
    --h2-color: #003366;
    --p-color: #444;
    --documentos-h2-color: #003366;
    --documentos-link-color: #007bff;
    --documentos-link-hover-color: #0056b3;
    --hero-background: rgba(255, 255, 255, 0.1);
    --service-icon-color: #007bff;
    --service-title-color: #003366;
    --service-text-color: #444;
    --service-button-bg: #007bff;
    --service-button-hover-bg: #ff6600;
    --planes-background: #f4f4f4;
    --plan-box-color: #1a1a1a;
    --btn-bg: hsl(210, 75%, 61%);
    --btn-hover-bg: #ff6600;
    --btn-hover-color: #002966;
    --footer-background: hsl(210, 79%, 72%);
    --footer-text-color: white;
}

/* Estilos Generales */
body {
    font-family: var(--font-family);
    margin: var(--body-margin);
    padding: 0;
    background: linear-gradient(to top, var(--gradient-color1), var(--gradient-color2), var(--gradient-color3));
    color: var(--body-text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Header */
header {
    background: var(--header-background);
    padding: 10px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.6);
    transition: background 0.3s ease-in-out, padding 0.3s;
    height: 100px;
    box-sizing: border-box; 
    
}

/* Logo */
.logo-container img {
    height: 80px;
    width: auto;
    margin-left: 15px;
}

/* Menú */
nav {
    display: flex;
    justify-content: flex-end;
    margin-right: 30px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    margin-right: 30px;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    color: var(--menu-link-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s ease-in-out, background 0.3s;
    padding: 10px 15px;
    border-radius: 8px;
}

nav ul li a:hover {
    color: var(--menu-link-hover-color);
    background: rgba(255, 255, 255, 0.1);
}

/* Botón menú hamburguesa */
/* Estilos para el botón hamburguesa en móviles */
.menu-toggle {
    display: none; /* Ocultarlo en pantallas grandes */
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: white;
}

/* Aplicar la misma fuente a toda la página */
h1, h2, h3, h4, h5, h6, p, a, button, input, textarea, label, span, div {
    font-family: var(--font-family);
}


/* Tipografía y sombras en encabezados */
h1, h2, h3 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

h1 {
    color: var(--h1-color);
    font-size: 2.8em;
    font-weight: 600;
}

h2 {
    color: var(--h2-color);
    font-size: 2.4em;
    font-weight: 500;
}

p {
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--p-color);
}

#documentos h2 {
    color: var(--documentos-h2-color);
    font-size: 1.8em;
    font-weight: 600;
}

#documentos ul li a {
    color: var(--documentos-link-color);
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

#documentos ul li a:hover {
    color: var(--documentos-link-hover-color);
}

/* Estilos del Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: var(--hero-background);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-size: 2.5em;
    color: var(--h1-color);
    animation: fadeIn 1.5s ease-in-out;
}

/* Sección de Servicios */
.services {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 80px 20px;
    background: linear-gradient(to right, #f4f4f4, #e6e9f0);
    flex-wrap: wrap;
    margin-bottom: 0;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 15px 15px 0 0;
}

/* Estilo de las tarjetas de servicios */
.service {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.5s ease-in-out;
    animation-fill-mode: both;
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.service i {
    font-size: 50px;
    color: var(--service-icon-color);
    margin-bottom: 10px;
}

.service h2 {
    font-size: 1.8em;
    color: var(--service-title-color);
    margin-bottom: 10px;
}

.service p {
    font-size: 1em;
    color: var(--service-text-color);
    line-height: 1.5;
}

/* Estilo del botón en servicios */
.service .btn {
    display: inline-block;
    padding: 12px 18px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    background: var(--service-button-bg);
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    margin-top: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    align-self: center;
}

.service .btn:hover {
    background: var(--service-button-hover-bg);
    color: white;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
}

/* Sección de Planes */
#planes {
    border-radius: 0 0 15px 15px;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(to right, #f4f4f4, #e6e9f0);
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
}

#planes h2 {
    font-size: 2.5em;
    color: var(--h2-color);
    margin-bottom: 20px;
}

/* Contenedor de los planes */
.planes-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.features {
    list-style: none;
    padding: 0;
    margin: 0 auto 1.5rem auto;
}

.features li {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* usa flex-start si quieres que se alineen a la izquierda */
    margin-bottom: 0.5rem;
    gap: 0.5rem;
    font-size: 1rem;
}


/* Estilo de las tarjetas de planes */
.plan {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.5s ease-in-out;
    animation-fill-mode: both;
}

.plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.plan h3 {
    font-size: 1.8em;
    color: var(--service-title-color);
    margin-bottom: 10px;
}

.plan p {
    font-size: 1em;
    color: var(--service-text-color);
    line-height: 1.5;
}

/* Estilo del botón en planes */
.plan .btn {
    display: inline-block;
    padding: 12px 18px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    background: var(--service-button-bg);
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    margin-top: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    align-self: center;
}

.plan .btn:hover {
    background: var(--service-button-hover-bg);
    color: white;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
}

.inscription-number {
    margin-top: 20px;
    font-size: 0.95rem;
    color: #333;
    font-style: italic;
    text-align: center;
}


#contratarModal {
    display: none; /* Ocultar al inicio */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

#contratarModal .modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.3);
}



/* Estilos generales para el aside */
.aside-info {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.aside-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.aside-info h3 {
    color: var(--h2-color);
    font-size: 1.5em;
    margin-bottom: 10px;
}

.aside-info p {
    color: var(--p-color);
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 20px;
}

.aside-info .btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    color: white;
    background: var(--service-button-bg);
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

.aside-info .btn:hover {
    background: var(--service-button-hover-bg);
    color: white;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
}

.aside-info i {
    font-size: 2.5em;
    color: var(--service-icon-color);
    margin-bottom: 10px;
}

.btn-whatsapp {
    background: white;
    color: #004080;
    padding: 12px 20px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

.btn-whatsapp:hover {
    background: #ff6600;
    color: white;
}


.formas-pago {
    background: #f1f5fb;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
  
  .formas-pago h3 {
    color: #084ea3;
    margin-bottom: 15px;
  }
  
  .formas-pago ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .formas-pago li {
    font-size: 1.1em;
    margin: 8px 0;
    color: #333;
  }
  



/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: var(--footer-background);
    color: var(--footer-text-color);
}

.social-icons {
    margin-bottom: 10px;
}

.social-icons a {
    color: var(--footer-text-color);
    margin: 0 10px;
    font-size: 1.5em;
    transition: color 0.3s ease-in-out;
}

.social-icons a:hover {
    color: var(--menu-link-hover-color);
}




/* Ajuste responsivo */

/* Ajustes para pantallas medianas (tablets) */
@media (min-width: 769px) and (max-width: 1024px) {
    .services {
        padding: 40px 20px;
        gap: 20px;
    }

    .service {
        width: calc(50% - 10px);
        max-width: none;
        padding: 20px;
    }

    .service h2 {
        font-size: 1.8em;
    }

    .service p {
        font-size: 1.1em;
    }

    #planes {
        padding: 20px 20px;
    }

    .planes-container {
        gap: 20px;
    }

    .plan {
        width: calc(50% - 10px);
        max-width: none;
        padding: 20px;
    }

    .plan h3 {
        font-size: 1.8em;
    }

    .plan p {
        font-size: 1.1em;
    }
}

/* Ajuste en tablets */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Mostrar el botón hamburguesa en móviles */
    }

    #menu {
        display: none; /* Ocultar el menú por defecto */
        flex-direction: column;
        background: rgba(80, 130, 231, 0.9);
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(129, 178, 235, 0.5);
    }

    #menu.show {
        display: flex; /* Mostrar el menú cuando se activa */
    }

    #menu ul {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 0;
        list-style: none;
        text-align: center;
    }

    #menu ul li a {
        color: white;
        font-size: 1.2rem;
        text-decoration: none;
        padding: 10px;
        display: block;
    }
    .carousel {
        margin-top: 180px;
        width: 100%;
        height: auto;
    }

    nav {
        display: none;
        position: absolute;
        top: 180px;
        padding: 25px;
        background: rgba(0, 10, 30, 0.9);
        width: 100%;
        text-align: center;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        padding: 10px 0;
    }

    nav.show {
        display: flex;
        flex-direction: column;
        margin-right: 10px;
    }

    .plan {
        width: 80%;
        max-width: 350px;
    }

    #planes {
        padding: 20px 20px;
    }

    .services {
        padding: 20px 10px;
        gap: 15px;
    }

    .service {
        width: 100%;
        max-width: none;
        padding: 15px;
    }

    .service h2 {
        font-size: 1.5em;
    }

    .service p {
        font-size: 1em;
    }

    .planes-container {
        gap: 15px;
    }

    .plan {
        width: 100%;
        max-width: none;
        padding: 15px;
    }

    .plan h3 {
        font-size: 1.5em;
    }

    .plan p {
        font-size: 1em;
    }
    .plan ul.features {
  list-style: none;          /* Elimina los puntos */
  padding-left: 0;           /* Elimina el sangrado izquierdo */
  margin: 0;
}

.plan ul.features li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 1rem;
}
}

/* Ajuste en celulares */
@media (max-width: 480px) {
    body {
        margin: 20px;
    }

    .carousel {
        margin-top: 80px;
        width: 100%;
        height: auto;
    }

    .carousel-images img {
        max-height: 300px;
    }

    .hero {
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 2.2em;
    }

    .services {
        padding: 20px;
        gap: 15px;
    }

    .service {
        width: 100%;
        max-width: none;
    }

    .service h2 {
        font-size: 2em;
    }

    .service p {
        font-size: 1.2em;
    }

    #planes {
        padding: 20px;
    }

    #planes h2 {
        font-size: 2.2em;
        width: 85%;
    }

    .plan {
        width: 85%;
        max-width: none;
    }

    .plan h3 {
        font-size: 1.8em;
    }

    .plan p {
        font-size: 1.2em;
    }

    .btn {
        font-size: 1.2em;
        padding: 15px 25px;
    }
    .plan ul.features {
  list-style: none;          /* Elimina los puntos */
  padding-left: 0;           /* Elimina el sangrado izquierdo */
  margin: 0;
}

.plan ul.features li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 1rem;
}
}

