/* ===== SECCIÓN CURSOS ON-DEMAND ===== */
.courses-section {
    background-color: #003356;
    padding: 4rem 1rem;
    position: relative;
    z-index: 1;
}

.courses-container {
    max-width: 1200px;
    margin: 0 auto;
}

.courses-title {
    color: white;
    text-align: center;
    font-size: 2.3rem;
    margin-bottom: 3rem;
    font-family: 'Obold', sans-serif;
    line-height: 1.3;
    padding: 0 1rem;
}

.courses-title span {
    color: #f8c32e;
    font-style: italic;
    display: inline-block;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.course-card {
    background: #0a5588;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.course-card:hover {
    transform: translateY(-10px);
}

.course-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-title {
    color: white;
    text-align: center;
    padding: 1.5rem 1rem 0;
    margin: 0;
    font-size: 1.4rem;
    font-family: 'Obold', sans-serif;
    min-height: 60px;
    letter-spacing: 0.5px;
}

.course-buttons {
    padding: 1.5rem 1rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.course-btn {
    display: block;
    text-align: center;
    padding: 12px 20px;
    margin: 0 auto;
    width: 90%;
    max-width: 220px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-family: 'Oregular', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: 2px solid transparent;
}

.sample-btn {
    background: #f8c32e;
    color: #003356 !important;
    font-weight: 600;
}

.sample-btn:hover {
    background: #003356;
    color: #f8c32e !important;
    border-color: #f8c32e;
}

.advisor-btn {
    background: transparent;
    color: #f8c32e;
    border: 2px solid #f8c32e;
}

.advisor-btn:hover {
    background: #f8c32e;
    color: #003356 !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .courses-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .courses-section {
        padding: 3rem 1rem;
    }
    
    .courses-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .course-image {
        height: 200px;
    }
}



@media (max-width: 480px) {
    .courses-title {
        font-size: 1.6rem;
        padding: 0 0.5rem;
    }
    
    .course-title {
        font-size: 1.2rem;
        min-height: auto;
    }
    
    .course-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}





/* === ¿POR QUÉ ELEGIR CEIAO? === */
.why-ceiao-section {
    background: linear-gradient(135deg, #e6f4ff 0%, #cce9ff 100%); /* Azul claro con difuminado */
    padding: 5rem 1rem;
    position: relative;
    overflow: hidden;
}

.why-ceiao-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 30%);
    pointer-events: none;
}

.why-ceiao-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.why-ceiao-title {
    font-size: 2.5rem;
    color: #003356;
    margin-bottom: 1rem;
}

.why-ceiao-subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.why-ceiao-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.9); /* Fondo blanco semi-transparente */
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px); /* Efecto de vidrio esmerilado */
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    margin-bottom: 1.5rem;
}

.benefit-icon img {
    width: 60px;
    height: 60px;
}

.benefit-title {
    font-size: 1.4rem;
    color: #003356;
    margin-bottom: 1rem;
}

.benefit-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.why-ceiao-footer {
    font-size: 0.9rem;
    color: #777;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .why-ceiao-grid {
        grid-template-columns: 1fr;
    }
    
    .why-ceiao-title {
        font-size: 2rem;
    }
    
    .why-ceiao-subtitle {
        font-size: 1rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
}




/* === MÉTODOS DE EDUCACIÓN === */
.education-methods-section {
    background: #ffffff;
    padding: 5rem 1rem;
}



.education-methods-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.education-methods-title {
    font-size: 2.5rem;
    color: #003356;
    margin-bottom: 3rem;
}

.education-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.method-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    text-align: left;
    transition: transform 0.3s ease;
}

.method-card:hover {
    transform: translateY(-5px);
}

.method-title {
    font-size: 1.8rem;
    color: #003356;
    margin-bottom: 1.5rem;
}

.method-title span {
    color: #f8c32e;
    font-style: italic;
}

.method-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}



.method-features li {
    visibility: visible !important;
    font-size: 1rem;
    color: #555;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.method-features li::before {
    content: "•";
    color: #f8c32e;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -3px;
}

.method-button {
    display: inline-block;
    background: #f8c32e;
    color: #003356;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.method-button:hover {
    background: #003356;
    color: #f8c32e;
}

/* Estilos para los botones de sesión */
.btn-login, .btn-logout {
    background-color: #f8c32e; /* Amarillo CEIAO */
    color: #003356; /* Azul oscuro para el texto */
    padding: 10px 20px;
    border-radius: 25px; /* Bordes redondeados */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease; /* Transición suave */
    border: 2px solid transparent; /* Borde transparente por defecto */
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

/* Efecto hover para ambos botones */
.btn-login:hover, .btn-logout:hover {
    background-color: #003356; /* Fondo azul oscuro */
    color: #f8c32e; /* Texto amarillo */
    border-color: #f8c32e; /* Borde amarillo */
    transform: translateY(-2px); /* Efecto de levantar */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra suave */
}

/* Estilo adicional para el botón de cerrar sesión */
.btn-logout {
    background-color: #dc3545; /* Rojo para cerrar sesión */
    color: white;
}

.btn-logout:hover {
    background-color: #c82333; /* Rojo más oscuro al hacer hover */
    color: white;
    border-color: #dc3545;
}

/* Responsive */
@media (max-width: 768px) {
    .education-methods-grid {
        grid-template-columns: 1fr;
    }
    
    .education-methods-title {
        font-size: 2rem;
    }
    
    .method-title {
        font-size: 1.5rem;
    }
    
    .method-features li {
        font-size: 0.9rem;
    }
    
    .method-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}




/* === SECCIÓN DE DESCUENTO === */
.discount-section {
    background: linear-gradient(135deg, #003356 0%, #0a5588 100%);
    padding: 4rem 1rem;
    color: white;
    text-align: center;
}

.discount-container {
    max-width: 1200px;
    margin: 0 auto;
}

.discount-content {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.discount-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #f8c32e;
}

.discount-price {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.original-price {
    text-decoration: line-through;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.discounted-price {
    font-size: 2rem;
    font-weight: bold;
    color: #f8c32e;
}

.discount-description {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.discount-note {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.discount-button {
    display: inline-block;
    background: #f8c32e;
    color: #003356;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.discount-button:hover {
    background: #ffffff;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .discount-title {
        font-size: 2rem;
    }
    
    .original-price {
        font-size: 1.2rem;
    }
    
    .discounted-price {
        font-size: 1.5rem;
    }
    
    .discount-description {
        font-size: 1rem;
    }
    
    .discount-button {
        padding: 10px 20px;
        font-size: 1rem;
    }
}






/* === SECCIÓN DE ACCESIBILIDAD === */
.accessibility-section {
    background: #f8f9fa;
    padding: 4rem 1rem;
    text-align: center;
}

.accessibility-container {
    max-width: 1200px;
    margin: 0 auto;
}

.accessibility-content {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.accessibility-title {
    font-size: 2.5rem;
    color: #003356;
    margin-bottom: 1rem;
}

.accessibility-description {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.accessibility-button {
    display: inline-block;
    background: #f8c32e;
    color: #003356;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.accessibility-button:hover {
    background: #003356;
    color: #f8c32e;
    transform: translateY(-3px);
}

/* === SECCIÓN TALLER DE ATM === */
.atm-workshop-section {
    background: linear-gradient(135deg, #003356 0%, #0a5588 100%);
    padding: 4rem 1rem;
    color: white;
    text-align: center;
}

.atm-workshop-container {
    max-width: 1200px;
    margin: 0 auto;
}

.atm-workshop-content {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.atm-workshop-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #f8c32e;
}

.atm-workshop-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.atm-workshop-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.atm-workshop-button {
    display: inline-block;
    background: #f8c32e;
    color: #003356;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.atm-workshop-button:hover {
    background: #ffffff;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .accessibility-title, .atm-workshop-title {
        font-size: 2rem;
    }
    
    .accessibility-description, .atm-workshop-description {
        font-size: 1rem;
    }
    
    .accessibility-button, .atm-workshop-button {
        padding: 10px 20px;
        font-size: 1rem;
    }
}



/* === SECCIÓN DE TESTIMONIOS === */
.testimonials-section {
    background: #ffffff;
    padding: 5rem 1rem;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.testimonials-title {
    font-size: 2.5rem;
    color: #003356;
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-size: 1.4rem;
    color: #003356;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-title {
        font-size: 2rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-name {
        font-size: 1.2rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
}



/* === SECCIÓN DE COMUNIDAD === */
.community-section {
    background: linear-gradient(135deg, #003356 0%, #0a5588 100%);
    padding: 5rem 1rem;
    color: white;
    text-align: center;
}

.community-container {
    max-width: 1200px;
    margin: 0 auto;
}

.community-content {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 3rem 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.community-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #f8c32e;
}

.community-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.community-button {
    display: inline-block;
    background: #f8c32e;
    color: #003356;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.community-button:hover {
    background: #ffffff;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .community-title {
        font-size: 2rem;
    }
    
    .community-subtitle {
        font-size: 1rem;
    }
    
    .community-button {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

/* === MÉTODOS DE EDUCACIÓN === */
.education-methods-section {
    background: #ffffff;
    padding: 5rem 1rem;
}

/* ... todos tus estilos originales ... */

/* === MEDIA QUERIES CORREGIDOS (al final del archivo, sin anidar) === */
@media (max-width: 768px) {
  .education-methods-grid {
    grid-template-columns: 1fr;
  }

  .method-card {
    padding: 1.5rem;
    overflow: visible !important;
    min-height: unset;
  }

  .method-features {
    display: block !important;
    max-height: none !important;
  }

  .method-features li {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
}

@media (max-width: 480px) {
  .method-card {
    padding: 1rem;
  }
  
  .method-title {
    font-size: 1.3rem !important;
  }
}

/* === SOLUCIÓN FINAL (Reemplaza los estilos de diagnóstico) === */
@media (max-width: 768px) {
    .method-card {
      background: #f8f9fa !important; /* Fondo original */
      border: 2px solid transparent !important; /* Elimina borde verde de diagnóstico */
    }
  
    .method-features {
      background: transparent !important; /* Quita el fondo rojo */
      border: none !important;
    }
  
    .method-features li {
      color: #555 !important; /* Color de texto original */
      border: none !important; /* Elimina borde verde de ítems */
      background: transparent !important;
      font-size: 14px !important;
      padding: 8px 0 8px 1.5rem !important; /* Espaciado móvil óptimo */
      line-height: 1.4 !important;
    }
  
    /* === NUEVO ESTILO (CENTRADO VERTICAL) === */
.method-features li::before {
    content: "•";
    color: #f8c32e;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 50%; /* Centrado vertical */
    transform: translateY(-50%); /* Ajuste fino */
}
  }

  /* === AJUSTES FINALES (Añade esto al final de tu CSS) === */
@media (max-width: 768px) {
    .education-methods-section {
      z-index: 1 !important; /* Asegura posición sobre otros elementos */
    }
  
    .method-card {
      background: #f8f9fa !important;
      padding: 1.5rem !important;
      overflow: visible !important;
      position: relative !important; /* Resetea posicionamiento */
    }
  
    .method-features {
      display: block !important;
      opacity: 1 !important;
      height: auto !important;
      clip-path: none !important;
    }
  
    .method-features li {
      color: #555 !important;
      font-size: 14px !important;
      line-height: 1.5 !important;
      visibility: visible !important;
      position: static !important; /* Desactiva posicionamiento absoluto */
      width: auto !important;
      height: auto !important;
      padding: 8px 0 8px 1.5rem !important;
      background: transparent !important;
      border: none !important;
    }
  
    .method-features li::before {
      color: #f8c32e !important;
      font-size: 1.5rem !important;
      top: -2px !important;
    }
  }

  @media (max-width: 768px) {
    .method-features li::before {
      font-size: 1rem !important; /* Tamaño móvil */
      left: -5px !important; /* Espaciado izquierdo */
    }
  }

/* ... todo tu CSS actual ... */


