
 /* Reset básico */
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 body {
     font-family: 'Poppins', sans-serif;
     background: #f9fafb;
     color: #222;
     line-height: 1.6;
     scroll-behavior: smooth;
 }

 /* Menú fijo */
 header {
     position: fixed;
     top: 0;
     width: 100%;
     background-color: rgb(213, 145, 202);
     box-shadow: 0 2px 4px -1px rgb(0 0 0 / 20%), 0 4px 5px 0 rgb(0 0 0 / 14%), 0 1px 10px 0 rgb(0 0 0 / 12%);
     z-index: 999;
 }

 nav {
     max-width: 1500px;
     margin: 0 auto;
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 1rem 2rem;
 }

 .logo {
     font-weight: 700;
     font-size: 1.5rem;
     color: #fff;
     letter-spacing: 1px;
     user-select: none;
 }

 ul.menu {
     list-style: none;
     display: flex;
     gap: 2rem;
     margin-top: 1.6em;
 }

 ul.menu li a {
     color: #e9f1f0;
     text-decoration: none;
     font-weight: 600;
     font-size: 1rem;
     padding: 0.3rem 0.5rem;
     transition: background-color 0.3s ease, color 0.3s ease;
     border-radius: 4px;
 }

 ul.menu li a:hover,
 ul.menu li a:focus {
     background-color: #e9f1f0;
     color: #2a9d8f;
     outline: none;
 }

 /* Secciones */
 section {
     padding: 120px 2rem 60px;
     /* padding-top para evitar estar bajo el header fijo */
     max-width: 900px;
     margin: 0 auto;
 }

 /* Sección Nosotros */
 /* Sección Nosotros con diseño elegante */
 #nosotros h2 {
     color: #264653;
     margin-bottom: 1rem;
     font-size: 2rem;
     text-align: center;
 }

 .nosotros-card {
     background-color: #f0f5f4;
     padding: 2rem;
     border-left: 6px solid #e9c46a;
     border-radius: 12px;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     max-width: 800px;
     margin: 2rem auto 0;
 }

 .nosotros-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
 }

 .nosotros-card h3 {
     color: #e76f51;
     font-size: 1.5rem;
     text-align: center;
     margin-bottom: 1rem;
 }

 .nosotros-card p {
     color: #444;
     font-size: 1rem;
     line-height: 1.6;
     text-align: justify;
 }


 /* Sección Experiencia */

#experiencia h2 {
    color: #264653;
    margin-bottom: 1rem;
    font-size: 2rem;
    text-align: center;
    letter-spacing: 1px; /* Mejora la legibilidad */
}

#experiencia ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 0;
}

#experiencia ul li {
    background-color: #e0f2f1;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.1);
    font-size: 1.1rem;
    color: #00695c;
    text-align: justify;
    /* font-weight: 600; */
    transition: transform 0.3s ease; /* Agrega interacción */
}

#experiencia ul li:hover {
    transform: scale(1.02); /* Pequeña animación al pasar el mouse */
}



 /* Sección Contacto */


 #contacto h2 {
     color: #264653;
     margin-bottom: 1rem;
     font-size: 2rem;
     text-align: center;
 }

 #contacto form {
     max-width: 450px;
     margin: 0 auto;
     display: flex;
     flex-direction: column;
     gap: 1rem;
 }

 #contacto input,
 #contacto textarea {
     padding: 0.8rem;
     border: 2px solid #2a9d8f;
     border-radius: 6px;
     font-size: 1rem;
     resize: vertical;
     transition: border-color 0.3s ease;
 }

 #contacto input:focus,
 #contacto textarea:focus {
     border-color: #264653;
     outline: none;
 }

 #contacto button {
     background-color: #2a9d8f;
     color: white;
     font-weight: 700;
     font-size: 1.1rem;
     padding: 0.8rem;
     border: none;
     border-radius: 6px;
     cursor: pointer;
     transition: background-color 0.3s ease;
 }

 #contacto button:hover,
 #contacto button:focus {
     background-color: #1e6b66;
     outline: none;
 }

 /* Sección Iniciar Sesión */
 #login {
     padding-top: 150px;
     max-width: 400px;
     margin: 0 auto 60px;
     background-color: #f0f5f4;
     border-radius: 10px;
     box-shadow: 0 4px 10px rgb(0 0 0 / 0.1);
     padding: 2rem;
 }

 #login h2 {
     text-align: center;
     margin-bottom: 1.5rem;
     color: #264653;
     font-size: 2rem;
 }

 #login form {
     display: flex;
     flex-direction: column;
     gap: 1rem;
 }

 #login input {
     padding: 0.8rem;
     font-size: 1rem;
     border: 2px solid #2a9d8f;
     border-radius: 6px;
     transition: border-color 0.3s ease;
 }

 #login input:focus {
     border-color: #264653;
     outline: none;
 }

 #login button {
     background-color: #2a9d8f;
     color: white;
     font-weight: 700;
     font-size: 1.1rem;
     padding: 0.8rem;
     border: none;
     border-radius: 6px;
     cursor: pointer;
     transition: background-color 0.3s ease;
 }

 #login button:hover,
 #login button:focus {
     background-color: #1e6b66;
     outline: none;


 }


 #noticias {
     padding: 120px 2rem 60px;
     max-width: 900px;
     margin: 0 auto;
 }

 #noticias h2 {
     color: #264653;
     margin-bottom: 2rem;
     font-size: 2rem;
 }

 .noticia-slide {
     background-color: #fff;
     border-left: 6px solid #e76f51;
     border-radius: 12px;
     padding: 2rem;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
     max-width: 800px;
     margin: 0 auto;
     text-align: center;
 }

 .noticia-slide h3 {
     color: #2a9d8f;
     font-size: 1.5rem;
     margin-bottom: 1rem;
 }

 .noticia-slide p {
     color: #444;
     font-size: 1rem;
     line-height: 1.6;
 }

 .noticia-slide .fecha {
     margin-top: 1rem;
     font-size: 0.9rem;
     color: #888;
 }

 /* Ajustes para los íconos de control */
 .carousel-control-prev-icon,
 .carousel-control-next-icon {
     background-color: rgba(0, 0, 0, 0.4);
     border-radius: 50%;
     padding: 10px;
 }

 /* #servicios {
            padding: 1rem 60px;
        } */

 /* Sección Servicios con tarjetas */
 #servicios h2 {
     color: #264653;
     margin-bottom: 1rem;
     font-size: 2rem;
     text-align: center;
 }

 #catalogo{
        color: #264653;
        margin-bottom: 1rem;
        font-size: 2rem;
        text-align: center;
 }

 .btn-inscribete  {
     border-radius: 1em;
     padding: 8px;
    color:black;
    background-color: #549c94;
    font-size: 1rem;
    border: none;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);

 }


 .btn-inscribete:hover {
    
     color: #549c94;
     background-color: #707c7b;

 }

 .servicios-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 1.5rem;
     margin-top: 2rem;
 }

 .servicio-card {
     background-color: #fff;
     border-radius: 12px;
     padding: 1.5rem;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
     border-top: 5px solid #e76f51;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
 }

 .servicio-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
 }

 .servicio-card h3 {
     color: #2a9d8f;
     font-size: 1.3rem;
     margin-bottom: 0.8rem;
     text-align: center;
 }

 .servicio-card p {
     color: #444;
     font-size: 1rem;
     line-height: 1.5;
     text-align: justify;
 }



 /* Sección Misión y Visión con diseño de tarjetas */
 #mision-vision h2 {
     color: #264653;
     margin-bottom: 1rem;
     font-size: 2rem;
     text-align: center;
 }

 .mv-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
     gap: 1.5rem;
     margin-top: 2rem;
 }

 .mv-card {
     background-color: #fff;
     border-radius: 12px;
     padding: 1.5rem;
     border-left: 6px solid #2a9d8f;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
 }

 .mv-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
 }

 .mv-card h3 {
     color: #e76f51;
     font-size: 1.3rem;
     margin-bottom: 0.8rem;
     text-align: center;
 }

 .mv-card p {
     color: #444;
     font-size: 1rem;
     line-height: 1.5;
     text-align: justify;
 }


  #equipo h2 {
      color: #264653;
      margin-bottom: 1rem;
      font-size: 2rem;
      text-align: center;
  }

 /* Sección Profesional a Cargo con tarjeta */


 #profesional h2 {
     color: #264653;
     margin-bottom: 1rem;
     font-size: 2rem;
     text-align: center;
 }

 .profesional-card {
     background-color: #fff;
     border-left: 6px solid #f4a261;
     border-radius: 12px;
     padding: 1rem;
     margin-top: 2rem;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     max-width: 700px;
     margin-left: auto;
     margin-right: auto;
 }

 .profesional-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
 }

 .profesional-card h3 {
     color: #e76f51;
     font-size: 1.4rem;
     margin-bottom: 1rem;
     text-align: center;
 }

 .profesional-card p {
     color: #444;
     font-size: 1rem;
     line-height: 1.6;
     text-align: justify;
 }

 .galeria-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
     gap: 1rem;
     padding: 1rem;
 }

 .galeria-item {
     width: 100%;
     height: 200px;
     overflow: hidden;
     border-radius: 8px;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
     transition: transform 0.3s ease;
 }

 .galeria-item:hover {
     transform: scale(1.02);
 }

 .galeria-item img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
     transition: transform 0.3s ease;
 }

 .galeria-item img:hover {
     transform: scale(1.05);
 }


 /* Responsive: menú hamburguesa para móviles */
 @media (max-width: 720px) {
     nav {
         flex-wrap: wrap;
         gap: 1rem;
     }

     ul.menu {
         width: 100%;
         justify-content: center;
         flex-wrap: wrap;
         gap: 1rem;
     }

     .logo {
         font-size: 1rem;
     }

     .nav h2 {
         margin-top: 3em;
     }
 }

 .menu-toggle {
     display: none;
     background: none;
     border: none;
     color: white;
     font-size: 1.5rem;
     cursor: pointer;
 }

 @media (max-width: 1314px) {
     ul.menu {
         display: none;
         flex-direction: column;
         background-color: rgb(211, 136, 201);
         position: absolute;
         top: 60px;
         /* altura del header */
         right: 0;
         width: 200px;
         border-radius: 0 0 0 8px;
     }

     ul.menu.show {
         display: flex;
     }

     .menu-toggle {
         display: block;
     }
 }



 .float {
     position: fixed;
     width: 50px;
     height: 50px;
     border-radius: 50%;
     box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
     z-index: 9999;
     /* Mucho más alto que el footer */
     cursor: pointer;
     display: flex;
     justify-content: center;
     align-items: center;
     transition: background-color 0.3s ease;
 }

 .float img {
     width: 28px;
     height: 28px;
 }

 .whatsapp {
     right: 20px;
     bottom: 80px;
     /* Un poco arriba del footer para que no tape el contenido */
     background-color: #25D366;
 }

 .whatsapp:hover {
     background-color: #1ebe5d;
 }

 .instagram {
     right: 80px;
     bottom: 80px;
     /* Igual arriba del footer */
     background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
 }

 .instagram:hover {
     opacity: 0.85;
 }

 .animated-name span {
     /* display: inline-block;
     /* font-size: 1.6rem; */
     font-weight: bold;
     /* animation: wave 2.2s ease-in-out infinite;  */
 }

 /* Ondulación individual */
 @keyframes wave {

     0%,
     100% {
         transform: translateY(0);
     }

     50% {
         transform: translateY(-5px);
     }
 }

 /* Colores y retrasos */
 .f {
     color: #ff5cb8;
     animation-delay: 0s;
 }

 .o1 {
     color: #7de6f6;
     animation-delay: 0.1s;
 }

 .n {
     color: #fccc4c;
     animation-delay: 0.2s;
 }

 .o2 {
     color: #7de6f6;
     animation-delay: 0.3s;
 }

 .p {
     color: #ff854c;
     animation-delay: 0.4s;
 }

 .l {
     color: #ffda59;
     animation-delay: 0.5s;
 }

 .a {
     color: #fccc4c;
     animation-delay: 0.6s;
 }

 .y {
     color: #7de6f6;
     animation-delay: 0.7s;
 }

 .k {
     color: #7a64ff;
     animation-delay: 0.8s;
 }

 .i {
     color: #ff5cb8;
     animation-delay: 0.9s;
 }

 .d {
     color: #ff854c;
     animation-delay: 1.0s;
 }

 .s {
     color: #fccc4c;
     animation-delay: 1.1s;
 }

 @media (max-width: 414px) {
     .animated-name {
         display: none;
     }
 }

 #faq h2 {
     color: #264653;
     font-size: 2rem;
     text-align: center;
     margin-bottom: 2rem;
 }

 .faq-bloque {
     margin-bottom: 2rem;
     background-color: #f0f5f4;
     padding: 1.5rem;
     border-radius: 10px;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
 }

 .faq-bloque h3 {
     color: #e76f51;
     margin-bottom: 1rem;
     font-size: 1.3rem;
 }

 details {
     background-color: #ffffff;
     padding: 1rem;
     border-radius: 8px;
     margin-bottom: 1rem;
     box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
     transition: box-shadow 0.3s ease;
     cursor: pointer;
 }

 details:hover {
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
 }

 summary {
     font-weight: 700;
     color: #2a9d8f;
     font-size: 1.05rem;
     list-style: none;
 }

 summary::-webkit-details-marker {
     display: none;
 }

 details[open] summary {
     color: #1e6b66;
 }

 details p {
     color: #444;
     font-size: 0.95rem;
     line-height: 1.5;
     margin-top: 0.5rem;
     text-align: justify;
 }

 .footer {
     background-color: #e0f2f1;
     padding: 1.5rem 1rem;
     font-size: 0.95rem;
     color: #004d40;
     margin-top: 2rem;
     border-top: 2px solid #b2dfdb;
 }

 .footer-container {
     display: flex;
     justify-content: space-between;
     flex-wrap: wrap;
     max-width: 1100px;
     margin: 0 auto;
     gap: 1rem;
     align-items: center;
 }

 .footer-left,
 .footer-right {
     display: flex;
     flex-direction: column;
     gap: 0.3rem;
 }

 .footer-right a {
     color: #00695c;
     text-decoration: none;
     font-weight: 600;
     transition: color 0.3s ease;
 }

 .footer-right a:hover {
     color: #004d40;
 }

 .footer a i {
     margin-right: 0.4rem;
 }

 @media (max-width: 600px) {
     .footer-container {
         flex-direction: column;
         text-align: center;
         gap: 1rem;
     }

     .footer-left,
     .footer-right {
         align-items: center;
     }
 }

 