body {
    background: #f2dd22;
}

/*loader*/
.loader {
   
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    font-size: 24px;
}

.glitch {
    position: relative;
    font-size: 30px;  /* Puedes ajustar el tamaño según lo necesites */
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    letter-spacing: 5px;
    z-index: 1;
    animation: shift 1s ease-in-out infinite alternate;
}

.glitch:before,
.glitch:after {
    display: block;
    content: attr(data-glitch);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.8;
}

.glitch:before {
    animation: glitch 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
    color: #8b00ff;
    z-index: -1;
}

.glitch:after {
    animation: glitch 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both infinite;
    color: #00e571;
    z-index: -2;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-3px, 3px);
    }

    40% {
        transform: translate(-3px, -3px);
    }

    60% {
        transform: translate(3px, 3px);
    }

    80% {
        transform: translate(3px, -3px);
    }

    to {
        transform: translate(0);
    }
}

@keyframes shift {
    0%, 40%, 44%, 58%, 61%, 65%, 69%, 73%, 100% {
        transform: skewX(0deg);
    }

    41% {
        transform: skewX(10deg);
    }

    42% {
        transform: skewX(-10deg);
    }

    59% {
        transform: skewX(40deg) skewY(10deg);
    }

    60% {
        transform: skewX(-40deg) skewY(-10deg);
    }

    63% {
        transform: skewX(10deg) skewY(-5deg);
    }

    70% {
        transform: skewX(-50deg) skewY(-20deg);
    }

    71% {
        transform: skewX(10deg) skewY(-10deg);
    }
}
.form-control:focus {
    box-shadow: none;
    border-color: #BA68C8;
}
.profile-button {
    background: rgb(99, 39, 120);
    box-shadow: none;
    border: none;
}
.profile-button:hover {
    background: #682773;
}
.profile-button:focus, .profile-button:active {
    background: #682773;
    box-shadow: none;
}
.back:hover {
    color: #682773;
    cursor: pointer;
}
.labels {
    font-size: 11px;
}
.add-experience:hover {
    background: #BA68C8;
    color: #fff;
    cursor: pointer;
    border: solid 1px #BA68C8;
}
.logOut{
    position:relative;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: end;
    height: 40px;
  
}
 .iconlogOut{
     color: #622777; 
     margin-right: 5%;
 }
 
.checkbox-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}
.form-check {
    display: flex;
    align-items: center;
    
    padding: 10px;
    border-radius: 5px;
}
.form-check-input {
    width: 30px;
    height: 30px;
    border: 2px solid purple;
    margin-right: 10px;
}
.form-check-label {
    font-weight: bold;
    color: #333;
}

@media (max-width: 576px) { /* Vista responsive para pantallas pequeñas */
    .checkbox-container {
        flex-direction: column;
        align-items: center;
    }
}
#hoverModal .modal-dialog {
    pointer-events: none; /* Evita que el modal bloquee eventos al pasar */
}
/*Video Youtube Section*/

 .video-background-section {
  position: relative;
  width: 100%;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
}

@media (max-width: 768px) {
  .video-background-section {
    height: 30vh;
  }
}

.video-background {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-background iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.77vh;
  height: 100%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

@media (max-width: 768px) {
  .video-background-section {
    height: 30vh; /* Aumenta un poco si deseas ver más del video */
  }

  .video-background iframe {
    height: 100%;
    width: 177.77vw; /* Usa ancho relativo, no basado en vh */
  }
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
  text-align: center;
  padding: 2rem;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

/* Estilo general del slider */
#servicios {
  padding: 40px 0;
  width: 100%;
}

/* Slider principal (Imágenes de fondo) */
.swiper-container {
  width: 100%;
  height: 500px; /* Ajusta la altura según tus necesidades */
}

.swiper-slide .bg-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
}

/* Ajuste en móviles */
@media (max-width: 768px) {
  .swiper-container {
    height: 300px; /* Ajusta la altura del slider para móviles */
  }
}

/* Estilo para los botones de navegación */
.swiper-nav-wrapper {
  display: flex;
  justify-content: space-between;
}

.swiper-nav-ctrl {
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
}

/* Estilo de los slides pequeños (thumbs) */
.swiper-container.gallery-thumbs {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}

.swiper-slide .slide-content-info {
  padding: 10px;
}

.slide-item-btn {
  background-color: #000;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  text-transform: uppercase;
  text-decoration: none;
}

.slide-item-btn:hover {
  background-color: #444;
}

/* navbar */
  .nav-link {
      font-size: 1.2rem; /* Aumenta el tamaño de la letra */
      color: #ffffff !important; /* Cambia el color a lila */
      border-color: #ffffff;
  }
  
  .nav-link:hover {
      color: #fff !important; /* Cambia el color a blanco al pasar el cursor */
      background-color: #9c9500 !important;
  }
  
  .btn-outline-light {
      font-size: 1.2rem; /* Tamaño de fuente más grande */
      color: #ffffff !important; /* Botón color lila */
      border-color: #ffffff;
  }
  
  .btn-outline-light:hover {
      background-color: #9c9500 !important;
      color: #ffff !important;
  }
  .nav-item {
      margin-right:25px;
      
    }
    
    .navbar-toggler{
        color:white;
    }
  
  @media (max-width: 768px) {
    
    .navbar-collapse {
      justify-content: center; /* Centra los elementos dentro del contenedor colapsable */
    }
  
    .nav-item {
      width: 100%; /* Asegura que cada ítem ocupe todo el ancho */
      
    }
    .btn-outline-light{
        width: 100%; /* Asegura que cada ítem ocupe todo el ancho */
    }
  
    .nav-link {
      width: 100%; /* Cada enlace ocupa todo el ancho */
      display: block; /* Fuerza los enlaces a ser bloques para centrar el texto */
      
    }
  
    .btn-outline-light {
      margin-bottom: 10px; /* Espaciado entre botones */
    }
  
    .btn-outline-light:last-child {
      margin-bottom: 0; /* Elimina el margen del último botón */
    }
  .nota {
      display: none;
  }
  
  /* Mostrar la nota solo en pantallas anchas (PCs) */
  @media (min-width: 1024px) {
      .nota {
          display: block;
          padding: 10px;
          border: 1px solid red;
          background-color: #ffe6e6;
          color: red;
          font-weight: bold;
          text-align: center;
          margin-top: 10px;
      }
  }
  }
  
@media screen and (max-width: 900px) {
    table:not(.ignorar) {
        border: 30px ;
        border-radius: 10px;
    }

    table:not(.ignorar) tr {
        margin-bottom: 5px;
        display: block;
        border-bottom: 2px solid #6a6b6b;
        box-shadow: 0px 2px 5px 1px rgba(0, 0, 0, .2);
        border-radius: 10px;
    }

    table:not(.ignorar) td {
        display: block;
        text-align: right;
        font-size: 0.9em;
        border-bottom: 1px dotted #6a6b6b;
        height: auto;
        border-radius: 10px;
        margin-bottom: 5px;
    }

    
    table:not(.ignorar) td:before {
        content: attr(data-label);
        float: left;
        font-weight: 600;
        border-radius: 10px;
    }

    table:not(.ignorar) thead {
        display: none;
        border-radius: 10px;
    }

    table:not(.ignorar) .displaNoneMedia {
        display: none;
    }
}
    
    .slider-container {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      width: 100vw;
      max-width: 100vw;
      position: relative;
      margin: 0;
    }
    
    .slide {
      position: relative;
      flex: 0 0 100vw;
      scroll-snap-align: start;
      aspect-ratio: 16 / 9;
      overflow: hidden;
    }
    
    .slide img {
      width: 100vw;
      height: 100%;
      object-fit: cover;
    }
    
  /* Contenido superior izquierdo */
    .slide-content-text {
      position: absolute;
      top: 30%;
      left: 6%;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
      max-width: 90%;
      z-index: 2;
    }
    
    .slide-content-text h2 {
      color: white;
      font-size: 4.6rem;
      margin: 0;
      text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8); /* sombra */
    }
    
    .second_title {
      font-size: 6rem;
      color: transparent;
      -webkit-text-stroke: 2px white;
      font-weight: bold;
      text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8); /* sombra */
    }
    
    .slide-content-text p {
      margin-top: 1rem;
      color: white !important;
      font-size: 1.2rem;
      max-width: 80%;
      text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7); /* sombra */
    }

    
    /* Botón inferior derecho */
      .slide-content-btn {
      margin-top: 1rem; /* Espacio entre texto y botón */
    }
    
    .slide-content-btn .btn {
      padding: 0.8rem 1.5rem;
      background-color: #ff5e57;
      color: white;
      text-decoration: none;
      border-radius: 8px;
      font-weight: bold;
      font-size: clamp(0.9rem, 2vw, 1.2rem);
      min-width: 120px;
      max-width: 60%;
      transition: background-color 0.3s;
      text-align: center;
    }
    
    .slide-content-btn .btn:hover {
      background-color: #e04c45;
    }
    
    /* Responsive ajustes */
    @media (max-width: 768px) {
      .slider-container {
          display: flex;
          overflow-x: auto;
          scroll-snap-type: x mandatory;
          scroll-behavior: smooth;
          width: 100vw;
          max-width: 100vw;
          position: relative;
          margin: 170px auto 0 auto !important;
        }
    
      .slide-content-text {
        top: 1rem;
        left: 1rem;
        max-width: 90%;
      }
    
      .slide-content-text h2 {
        font-size: 1.5rem;
      }
    
      .second_title {
        font-size: 1.5rem;
        -webkit-text-stroke: 1px white;
      }
    
      .slide-content-text p {
        display:none;
      }
    
      
    
      .slide-content-btn .btn {
        padding: 0.6rem 1rem;
        font-size: clamp(0.8rem, 3vw, 1rem);
        min-width: 100px;
        max-width: 70%;
      }
    }
    
/*Seccion de Servicios layout */
.testimonial-container {
  width: 100%;
  max-width: 90rem; /* Antes: 56rem */
  padding: 2rem;
}

.testimonial-grid {
  display: grid;
  gap: 2rem; /* Antes: 5rem */
}

.image-container {
  position: relative;
  width: 100%;
  max-width: none; /* Elimina límite fijo */
  margin: 0 auto;
  height: auto;
  perspective: 1000px;
}


.image-container img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}


@media (min-width: 1024px) {
  .image-container {
    max-width: 1000px;
  }
}

/* Ajuste completo para móviles */
@media (max-width: 768px) {
  .image-container {
    width: 100%;
    padding: 0 1rem;
  }
}

.testimonial-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.5rem;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.testimonial-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.name {
  font-size: 1.5rem;
  font-weight: bold;
  color: #000;
  margin-bottom: 0.25rem;
}
.designation {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 2rem;
}
.quote {
  font-size: 1.125rem;
  color: #4b5563;
  line-height: 1.75;
}
.arrow-buttons {
  display: flex;
  gap: 1rem;
  padding-top: 3rem;
}
.arrow-button {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background-color: #141414;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
}
.arrow-button:hover {
  background-color: #00a6fb;
}
.arrow-button svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: #f1f1f7;
  transition: transform 0.3s;
}
.arrow-button:hover svg {
  fill: #ffffff;
}
.prev-button:hover svg {
  transform: rotate(-12deg);
}
.next-button:hover svg {
  transform: rotate(12deg);
}
@media (min-width: 1024px) {
  .testimonial-grid {
    grid-template-columns: 2fr 1fr; /* Imagen 2/3, texto 1/3 */
  }
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }
  .arrow-buttons {
    padding-top: 0;
  }
}

.sectionServicios {
  position: relative;
  z-index: 1;
  padding: 3rem 1rem;
  
  background-color: #f1f1f7;
  display: flex;
  justify-content: center;
  flex-direction:column;
  align-items: center;
  font-family: sans-serif;
}

.custom-button {
  background-color: #ff5e56;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.custom-button:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

.custom-button:active {
  background-color: #00408d;
  transform: scale(0.98);
}

 .servi-texto {
    margin-top: 40px;
    margin-left: 80px;
    max-width: 100%;
    text-align:start;
    display:flex;
    justify-content:start;
    align-items:start;
    flex-direction:column;
}

.servi-texto h1 {
    font-size: 6.5em;
}

.servi-titulo-destacado {
    color: transparent;
    -webkit-text-stroke: 2px black;
    font-weight: bold;
}

.servi-texto p {
    font-size: 3em;
    line-height: 1.6;
    margin-top: 10px;
}



/* Responsive */
@media (max-width: 768px) {
   
    .servi-texto {
        margin: 20px;
        max-width: 90%;
    }
   
    .servi-texto h1 {
        font-size: 2.5em;
    }
  
}
/* Testimonios Usuarios */
 .testimonial-form {
    max-width: 500px;
    margin: auto;
    padding: 1rem;
    font-family: Arial, sans-serif;
  }

  .testimonial-form textarea {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    resize: vertical;
  }

  .stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    margin-bottom: 1rem;
  }

  .stars input[type="radio"] {
    display: none;
  }

  .stars label {
    font-size: 2rem;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
  }

  .stars input[type="radio"]:checked ~ label,
  .stars label:hover,
  .stars label:hover ~ label {
    color: #f5b301;
  }

  .testimonial-form button {
    padding: 0.7rem 1.5rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
  }

  .testimonial-form button:hover {
    background-color: #0056b3;
  }
  
  /* Slider Testimoniasl Layout */
  
.testimonialview-section {
  width: 100%;
  padding: 40px 20px;
  background-color: black;
  overflow: hidden;
}



.testimonialview-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: 20px;
}

.testimonialview-card {
  scroll-snap-align: start;
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  text-align: center;
  transition: transform 0.3s ease;
  box-sizing: border-box;
  width: 100%; /* Default para móvil */
}

/* Vista PC: 3 cards visibles */
@media (min-width: 768px) {
  .testimonialview-card {
    width: calc((100% - 40px) / 3); /* 3 cards con espacio entre ellas */
  }
}

.testimonialview-card:hover {
  transform: scale(1.03);
}

.testimonialview-img {
  width: 100px;
  height: 1o0px;
  max-height: 250px; 
  max-width: 200px; 
  border-radius: 50%!important;
  object-fit: contain;
  object-position: center;
  margin-bottom: 16px;
}


.testimonialview-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}

.testimonialview-text {
  font-size: 16px;
  color: #444;
  margin-bottom: 12px;
  word-wrap: break-word;      /* Para dividir palabras largas */
  overflow-wrap: break-word;  /* Compatibilidad más amplia */
  max-width: 100%;            /* Asegura que no exceda el ancho del card */
  text-align: center;         /* Opcional: mejora estética */
}


.testimonialview-stars {
  font-size: 18px;
  color: #ffc107;
}


.testimonialview-wrapper {
  position: relative;
}

.testimonialview-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 28px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 1;
  transition: background 0.3s ease;
}

.testimonialview-prev {
  left: 10px;
}

.testimonialview-next {
  right: 10px;
}

.testimonialview-arrow:hover {
  background-color: rgba(0,0,0,0.8);
}

.testimonialview-readmore {
    background-color: #ffffff; /* Fondo blanco */
    color: #000000;            /* Texto negro */
    border: 2px solid #ffffff;
    padding: 10px 20px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonialview-readmore:hover {
    background-color: #000000; /* Fondo negro al pasar el mouse */
    color: #ffffff;            /* Texto blanco */
    border-color: #000000;
    transform: scale(1.05);
}

/* Estilos responsivos para móviles */
@media (max-width: 768px) {
    .testimonialview-readmore {
        font-size: 0.9em;
        padding: 8px 16px;
        border-radius: 25px;
    }
}

  
 /* Modal para mostrar Testimonio Completo */
 
/* Fondo oscuro del modal */
.testimonialview-modal {
  display: none; /* Se activa con JS */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto; /* Permite scroll vertical */
  background-color: rgba(0, 0, 0, 0.8);
}

/* Contenido del modal */
.testimonialview-modal-content {
  background-color: #fff;
  margin: 40px auto;
  padding: 20px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  box-sizing: border-box;
  overflow-y: auto; /* También permite scroll si hay mucho contenido */
  max-height: calc(100vh - 80px); /* Restringe la altura y permite scroll interno */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Botón cerrar */
.testimonialview-modal-close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  align-self: flex-end;
  cursor: pointer;
}

.testimonialview-modal-close:hover {
  color: black;
}


.testimonial-texto {
    margin-top: 30px;
    margin-bottom: 50px;
    margin-left: 80px;
    max-width: 100%;
    text-align: start;
    display: flex;
    justify-content: start;
    align-items: start;
    flex-direction: column;
}

.testimonial-texto h1 {
    font-size: 6.5em;
}

.testimonial-titulo-destacado {
    color: transparent;
    -webkit-text-stroke: 2px white;
    font-weight: bold;
}


@media (max-width: 768px) {
    .testimonial-texto {
        margin-left: 20px;
        margin-right: 20px;
    }

    .testimonial-texto h1 {
        font-size: 2.5em;
    }

    .testimonial-titulo-destacado {
        -webkit-text-stroke: 1px white;
    }
}

/* Formulario de Contacto Latout */

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  background: #0d0d0d;
  color: #fff;
  padding: 60px 20px;
  gap: 40px;
  justify-content: center;
}

.contact-info {
  flex: 1 1 300px;
  max-width: 500px;
  background: #1a1a1a;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.contact-info h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 16px;
  color: #ccc;
}

.info-block p {
  margin-bottom: 8px;
}

.social-buttons {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: 20px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

#facebook {
  background-color: #3b5998;
}

#instagram {
  background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf);
}

#whatsapp {
  background-color: #25d366;
}

#youtube {
  background-color: #FF0000; /* Rojo YouTube */
}

.contact-form {
  flex: 1 1 300px;
  max-width: 600px;
  background: #1a1a1a;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 28px;
  color: #fff;
}

.form-group-contact {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.form-group-contact.full {
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  flex: 1;
  padding: 12px 16px;
  background: #262626;
  border: 1px solid #444;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  width: 100%;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
}

.contact-form textarea {
  resize: vertical;
}

.contact-btn {
  width: 100%;
  padding: 14px;
  background: #ff5e57;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-btn:hover {
  background: #e14e48;
}

@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }

  .form-group-contact{
    flex-direction: column;
    gap: 12px;
  }

  .contact-form,
  .contact-info {
    padding: 20px;
  }
}

.empresa-mapa {
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
}

.company-logo {
  max-width: 180px;
  margin-bottom: 20px;
  border-radius: 12px; /* Opcional si quieres bordes redondeados */
}

/* Vista quienes Somos */
.company-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.company-section {
    display: flex;
    align-items: center;
    margin: 40px 0;
}

.company-image-container {
    position: relative;
    width: 50%;
    padding: 20px;
    background-color: #FFAFAB; /* Color de fondo */
    margin: 0 20px;
}

.company-section img {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}

.company-content {
    padding: 20px;
    width: 50%;
}

.company-section-reverse {
    flex-direction: row-reverse;
}

h1, h2 {
    color: #333;
}

p {
    color: #666;
}

.company-quote {
    font-size: 24px;
    font-weight: bold;
    color: #27ae60;
    margin-bottom: 20px;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .company-section {
        flex-direction: column;
    }

    .company-image-container, .company-content {
        width: 100%;
    }

    .company-section-reverse {
        flex-direction: column;
    }
}

/* Diseño Docentes */
 .perfil-container {
   display: flex;
   flex-direction: column;
   gap: 3rem;
   max-width: 1000px;
   margin: auto;
 }

 .perfil {
   display: flex;
   flex-wrap: wrap;
   align-items: stretch;
   background-color: white;
   box-shadow: 0 4px 12px rgba(0,0,0,0.1);
   border-radius: 16px;
   overflow: hidden;
 }

 .perfil.reverse {
   flex-direction: row-reverse;
 }

 .perfil-imagen {
   flex: 1;
   min-width: 300px;
   position: relative;
   background-color: #eaeaea;
   display: flex;
   flex-direction: column;
   justify-content: flex-start;
   align-items: center;
   padding: 1rem;
 }

 .perfil-imagen img {
   width: 100%;
   height: auto;
   object-fit: cover;
   border-radius: 12px;
   border: 6px solid #ccc;
   box-shadow: 0 6px 18px rgba(0,0,0,0.15);
   max-height: 400px;
 }

 .perfil-nombre {
   font-size: 1.5rem;
   font-weight: bold;
   text-align: center;
   margin-bottom: 1rem;
   text-transform: capitalize;
   color: #333;
 }

 .perfil-texto {
   flex: 2;
   padding: 2rem;
   text-align: justify;
   line-height: 1.7;
   font-size: 1rem;
   color: #444;
 }

 .perfil-texto p {
   margin-bottom: 1rem;
   text-transform: capitalize;
 }

 @media (max-width: 768px) {
   .perfil,
   .perfil.reverse {
     flex-direction: column;
   }
 }
 
  /* Nuestras clases vista */
 .nuestras-clases-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    overflow: hidden;
  }
  

  .nuestras-clases-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .nuestras-clases-row.reverse {
    flex-direction: row-reverse;
  }

  .nuestras-clases-imagen, .nuestras-clases-texto {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
  }

  .nuestras-clases-imagen img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }

  .nuestras-clases-nombre {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
  }

  .nuestras-clases-descripcion {
    font-size: 1.6rem!important;
    color:black!important;
    line-height: 1.6;
    text-align: justify;
  }
    .book-texto2 {
        margin-top: 40px;
        margin-left: 80px;
        
    }
   
   .book-texto2 h1 {
       font-size: 5em;
   }
   .book-texto2 p {
       font-size: 1.6rem!important;
        color:black!important;
       
   }
   
   .book-titulo-destacado2 {
       color: transparent;
       -webkit-text-stroke: 2px black;
       font-weight: bold;
   }
        
  /* Estilos base ocultos */
[data-animate] {
  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="fade-left"] {
  transform: translateX(-60px);
}

[data-animate="fade-right"] {
  transform: translateX(60px);
}
.animate-visible {
  opacity: 1 !important;
  transform: translateX(0) !important;
}


/* Clase que se añade cuando el elemento entra en el viewport */
.noticias-container {
  padding: 20px;
  background: #f8f9fa;
}

.noticias-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #222;
}

.noticias-slider-wrapper {
  overflow: hidden;
  position: relative;
}

.noticias-slider {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.swiper-wrapper {
  display: flex;
  width: 100%;
  gap: 30px; /* 👈 espacio entre las tarjetas */
}

.swiper-slide {
  box-sizing: border-box;
  padding: 10px;
  flex: 0 0 100%; /* Por defecto: 1 slide visible */
}

@media (min-width: 768px) {
  .swiper-slide {
    flex: 0 0 33.3333%;
    padding: 0;
  }

  .swiper-wrapper {
    gap: 30px;
  }
}

@media (max-width: 767px) {
  .swiper-slide {
    flex: 0 0 95%;
    margin-right: 5%; /* ⚠️ para evitar que se acumulen los gaps */
  }

  .swiper-wrapper {
    gap: 0; /* Desactiva el gap en móviles */
  }
}


.noticias-slide {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.noticias-slide img {
  width: 100%;
  height: 500px;
  object-fit: contain;
  border-radius: 8px 8px 0 0;
}

.noticias-content {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.noticias-titulo {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.noticias-descripcion {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
  max-height: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.noticias-link {
  font-size: 14px;
  color: #007bff;
  text-decoration: underline;
  margin-top: auto;
}

.noticias-nav {
  text-align: center;
  margin-top: 20px;
}

.noticias-nav button {
  padding: 8px 16px;
  font-size: 18px;
  margin: 0 5px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.noticias-nav button:hover {
  background: #0056b3;
}
.topnav{
    background-color:black;
    margin-bottom:200px;
}



        
 
