
/* ===== NAVBAR ===== */
.navbar {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.95)) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    visibility: visible;
    transform: translateY(0);
}



.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: white !important;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0;
    height: 100px;
    position: relative;
    z-index: 2;
}


.navbar-logo {
    height: 100px;
    width: auto;
    transition: all 0.4s ease;
    margin-left: 6px;
    margin-right: -31px;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
    vertical-align: middle;
}



.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--primary-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}



/* ===== BOTONES ===== */
.btn-signin {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
    padding: 12px 20px;
    border-radius: 25px;
    background: transparent;
    backdrop-filter: none;
    border: none;
    margin: 0 5px;
}

.btn-signin::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 8px;
    left: 50%;
    background: linear-gradient(90deg, #60a5fa, #fcfbfc);
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.btn-signin:hover::after {
    width: 80%;
}

.btn-signin:hover {
    transform: translateY(-2px);
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-blue), #1e3a5f);
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #132c47, var(--primary-blue));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(19, 44, 71, 0.3);
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(26,26,46,0.9), rgba(22,33,62,0.9)),
                url('../lexia-hero-image2.png') no-repeat 25% center; /* más a la izquierda */
    background-size: 30% auto; /* ancho de la imagen de fondo */
    padding: 160px 0 140px 0;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.shape:nth-child(4) {
    width: 40px;
    height: 40px;
    top: 30%;
    right: 30%;
    animation-delay: 1s;
}

.shape:nth-child(5) {
    width: 100px;
    height: 100px;
    top: 70%;
    left: 60%;
    animation-delay: 3s;
}

/* Hero Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particleFloat 8s linear infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.particle:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.particle:nth-child(3) {
    top: 40%;
    left: 80%;
    animation-delay: 4s;
    animation-duration: 7s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 30%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.particle:nth-child(5) {
    top: 10%;
    right: 40%;
    animation-delay: 3s;
    animation-duration: 5s;
}

.particle:nth-child(6) {
    top: 90%;
    right: 10%;
    animation-delay: 5s;
    animation-duration: 10s;
}


/* Imagen principal */


.hero-header-image {
    max-width: 1000px; /* hazla grande */
    height: auto;
    border-radius: 0;   /* sin bordes redondeados */
    background: none;   /* quita el recuadro */
    padding: 0;         /* sin margen interior */
    box-shadow: none;   /* sin sombra */
    transition: all 0.4s ease;
    display: block;
    margin: 0 auto;
    animation: float 6s ease-in-out infinite; /* si quieres mantener el efecto flotante */
}




.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    color: white;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #fcfdfd, #132c47);
    border-radius: 2px;
    animation: slideInLeft 1.2s ease-out 0.5s both;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-demo {
    background: linear-gradient(135deg, #132c47, #3580b6);
    border: none;
    color: white;
    border-radius: 50px;
    padding: 18px 40px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.4);
    animation: fadeInUp 1s ease-out 0.4s both;
    animation: glow 2s ease-in-out infinite alternate;
}

.btn-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-demo:hover::before {
    left: 100%;
}

.btn-demo:hover {
    background: linear-gradient(135deg, #132c47, #3580b6);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 35px rgba(96, 165, 250, 0.6);
}



/* ===== VALUE PROPOSITION ===== */
.value-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.85);
    position: relative;
    backdrop-filter: blur(10px);
}

.value-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--bg-light), transparent);
}

.value-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), #1e3a5f);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

/* ===== FEATURES SECTION ===== */
.features-section {
    background: rgba(229, 229, 229, 0.85);
    padding: 80px 0;
    position: relative;
    backdrop-filter: blur(10px);
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23132c47" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid #f3f4f6;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: scale(1.20); /* Zoom del card completo */
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}


.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(19, 44, 71, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: translateX(100%);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), #1e3a5f);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-card:hover .feature-icon::after {
    opacity: 0.2;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.85);
    position: relative;
    backdrop-filter: blur(10px);
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 4rem;
    color: var(--primary-blue);
    opacity: 0.1;
    font-family: serif;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.testimonial-card:hover .testimonial-avatar {
    border-color: var(--primary-blue);
    transform: scale(1.1);
}

.testimonial-quote {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

/* ===== CTA SECTION ===== */
.cta-section {
    position: relative;
    background: 
      url('../lexia-cta-section1.png') no-repeat left top,
      url('../lexia-cta-section2.png') no-repeat right top,
      linear-gradient(135deg, #dcd9d9da, #adacace6); /* degradado de fondo */
    background-size: contain, contain, cover; /* para imágenes y gradiente */
    background-blend-mode: normal; /* evita que el degradado opaque las imágenes */
    color: rgba(255, 255, 255, 0.85);
    padding: 90px 0;
  }
  

  .cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    pointer-events: none;
  }
  
  
  

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 8px; 
    color: rgba(26, 26, 46, 0.95);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-content {
    margin-top: 0;
  }

  .btn-cta {
    background: linear-gradient(135deg, #132c47, #3580b6);
    border: none;
    color: white;
    border-radius: 50px;
    padding: 18px 40px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.4);
    animation: fadeInUp 1s ease-out 0.4s both, 
               glow 2s ease-in-out infinite alternate;

    cursor: pointer; /* 👈 Esto hace que salga la manita */
}


.btn-cta::before {
    pointer-events: none;
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:hover {
    background: linear-gradient(135deg, #132c47, #3580b6);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 35px rgba(96, 165, 250, 0.6);
}





/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.95));
    color: white;
    padding: 60px 0 30px;
    position: relative;
    backdrop-filter: blur(10px);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-dots" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-dots)"/></svg>');
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: #b6b7b9;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}


.footer-description {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-heading {
    color: #f3f4f6;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-link {
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0;
}

.footer-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #103663, #6f92ba);
    transition: width 0.3s ease;
}

.footer-link:hover::before {
    width: 100%;
}

.footer-link:hover {
    color: #f3f4f6;
    transform: translateX(5px);
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #374151, #4b5563);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    margin-right: 0.75rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, #132c47, #93c5fd);
    transform: translateY(-3px) scale(1.1);
    border-color: #132c47;
    box-shadow: 0 5px 15px rgba(96, 165, 250, 0.3);
}

.footer-divider {
    border-color: #374151;
    margin: 2rem 0;
    opacity: 0.5;
}

.footer-bottom {
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #60a5fa;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #93c5fd;
}


/* ===== FAQ ===== */

.faq-section {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.95));
    color: white;
    position: relative;
    backdrop-filter: blur(10px);
    padding-top: 140px !important; /* prueba forzada */
    scroll-margin-top: 180px; /* mejora cuando se hace scroll por anchors */
  }
  
  /* 2) Si quieres un espacio sólo para el título */
  .faq-title {
    margin-top: 0;           /* limpia valores anteriores */
    padding-top: 0;
    display: block;
  }
    
  .faq-subtitle {
    position: relative;
    z-index: 2;
    color: #a5a7a9;
  }
  
  .accordion {
    position: relative;
    z-index: 2;
  }
  
  .accordion-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  .accordion-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }
  
  .accordion-button {
    background: transparent;
    color: #f3f4f6;
    font-weight: 600;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
  }
  
  .accordion-button::after {
    filter: invert(1); /* que la flecha sea blanca */
  }
  
  .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #132c47, #1e3a5f);
    color: #fff;
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.1);
  }
  
  .accordion-body {
    background: rgba(255,255,255,0.03);
    color: #d1d5db;
    padding: 1rem 1.25rem;
    line-height: 1.6;
  }
  
/* Sección Contáctanos */
.contact-section {
    position: relative;
    background: linear-gradient(135deg, rgba(26,26,46,0.9), rgba(22,33,62,0.9)),
                url('../contactanos-image.png') no-repeat 25% center; /* más a la izquierda */
    background-size: 30% auto; /* ancho de la imagen de fondo */
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 140px !important; /* prueba forzada */
    scroll-margin-top: 180px; 
  }

  
  .contact-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    gap: 50px;
    align-items: flex-start;
    justify-content: center;
  }
  

  .contact-section {
    position: relative;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    color: white;
  }
  
  .contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../contactanos-image.png') center/cover no-repeat;
    filter: blur(2px) brightness(0.5);
    z-index: 0;
  }
  
  .contact-container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    gap: 50px;
    align-items: flex-start;
    justify-content: center;
    z-index: 1;
  }

  .contact-left {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 300px;
  }
  
  /* Espacio vacío a la derecha */
  .contact-right {
    flex: 1;
    min-width: 200px; /* ajustable según el diseño */
  }
  
  .contact-info {
    flex: 1;
    min-width: 300px;
    text-align: center;
  }
  
  .contact-info h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #d5dce6, #6f92ba);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
  }
  
  .contact-info p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #f0f0f0;
  }
  
  .contact-form {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(255,255,255,0.1); /* Transparencia */
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  }

  .contact-info p.contact-detail {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 600;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6), 0 0 10px rgba(255, 255, 255, 0.3);
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    resize: none;
    background: rgba(255,255,255,0.2);
    color: white;
    backdrop-filter: blur(5px);
  }
  
  .contact-form input::placeholder,
  .contact-form textarea::placeholder {
    color: rgba(255,255,255,0.7);
  }
  
  .contact-form button {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #103663, #6f92ba);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .contact-form button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(96, 165, 250, 0.3);
  }
  