/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

body {
    font-family: Arial, sans-serif;
    background: url('../img/04-fondo.jpg');
    color: black;
    text-align: center;
}

/* ----- HEADER ----- */
header {
    display: flex;
        background: url('../img/04-fondo.jpg');

    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}
.swiper {
  width: 100%;
  padding: 20px 0;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}
.navbar {
    display: flex;
            background: url('../img/04-fondo.jpg');

    flex-direction: column;
    align-items: center;
    width: 100%;
}

.navbar-brand img {
    display: block;
    margin: 0 auto 10px; /* Centra la imagen y añade un margen inferior */
    max-width: 200px; /* Ajusta el tamaño del logo */
}

.navbar-nav {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 20px;
}

.navbar-nav .nav-item {
    text-align: center;
}

.navbar-nav .nav-link {
    font-weight: bold;
    color: rgba(208, 130, 13, 0.784);
    padding: 10px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: orange;
    transform: scale(1.1);
}

/* ----- MENÚ DESPLEGABLE ----- */
.dropdown-menu {
    transition: opacity 0.3s ease-in-out, transform 0.2s ease-in-out;
    opacity: 0;
    transform: translateY(10px);
    display: block;
    visibility: hidden;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* Estilos generales para el menú */
.navbar-nav .dropdown-menu {
    border: none;
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.dropdown-menu .dropdown-item {
    font-weight: bold;
    color: rgba(208, 130, 13, 0.784);
    text-transform: uppercase;
}

.dropdown-menu .dropdown-item:hover {
    background: orange;
    color: white;
}

/* Estilos para los submenús */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: -1px;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

/* Ajustes para hacer que los submenús sean en varias columnas */
.dropdown-menu {
    min-width: 200px;
}

.dropdown-menu .dropdown-item {
    padding: 10px 15px;
}

.campus-container {
  padding: 0 !important;
  display: flex!important;
  align-items: center!important;
}

/* Botón naranja permanente en el navbar */
.campus-btn {
  background-color: #eb6909 !important;
  color: white !important;
  text-transform: uppercase;
  font-weight: bold!important;
  text-align: center!important;
  padding: 10px 30px!important;
  border-radius: 10px !important;
  display: inline-block!important;
  height: 100%!important;
  transition: none!important;
  box-shadow: none!important;
  margin: 0!important;
}

.campus-btn:hover {
  background-color: #eb6909; /* mismo color en hover para que no cambie */
  color: white !important;
  transform: none;

}

.alquiler-aulas{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    background-color: #f6770f;
}

/* Estilos generales de la sección */
/* Sección de Cursos */
.cursos-container {
    background-color: #f8f9fa; /* Fondo gris claro */
    padding: 60px 20px;
    text-align: center; /* Centramos el contenido */
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
}
.curso-card img {
    width: 100%; /* La imagen ocupa todo el ancho de la card */
    height: auto; /* Mantiene la proporción */
    max-height: 180px; /* Evita que la imagen sea demasiado grande */
    object-fit: cover; /* Ajusta la imagen sin deformarla */
    border-radius: 8px; /* Opcional: suaviza los bordes */
}

/* Contenedor que agrupa las tarjetas y la imagen */
.cursos-wrapper {
    display: flex;
    justify-content: center; /* Centra el contenido */
    align-items: center;
    gap: 150px; /* Reduce la separación */
    max-width: 1000px; /* Hace que todo esté más compacto */
}

/* Grid para los cursos */
.cursos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px; /* Menos espacio entre tarjetas */
    max-width: 500px; /* Ajusta el ancho */
}

/* Estilos de las tarjetas */
.curso-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}
.titulo-seccion {
    font-size: 28px; /* Tamaño del título */
    font-weight: bold; /* Hace el texto más grueso */
    color: #333; /* Color oscuro */
    text-align: left; /* Puedes cambiar a center o right */
    margin-bottom: 40px; /* Espacio entre el título y las tarjetas */
}

/* Botón en las tarjetas */
.btn-curso {
    display: inline-block;
    background: rgba(208, 130, 13, 0.784);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
    margin-top: 10px;
}

.btn-curso:hover {
    background: #804e0d;
}

/* Contenedor de imagen con texto */
/* Contenedor de imagen con texto */
.curso-imagen {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 250px;
}

/* Imagen redonda */
.curso-imagen img {
    width: 180px;
    height: 180px;
    border-radius: 50%; 
    object-fit: cover;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}


/* Texto debajo de la imagen */
.curso-texto h3 {
    font-size: 20px; /* Reduce el tamaño para mejor ajuste */
    color: #333;
}

.curso-texto p {
    font-size: 14px;
    color: #666;
}

/* Responsive */
@media (max-width: 900px) {
    .cursos-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .cursos-grid {
        grid-template-columns: 1fr; 
    }

    .curso-imagen {
        max-width: 100%;
        text-align: center;
    }

    .curso-imagen img {
        width: 150px;
        height: 150px;
    }
}
/* Footer */
/* Footer */
/* Footer */
footer {
    background-color: #222; /* Fondo oscuro */
    color: white;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between; /* Distribuye los elementos en línea */
    align-items: center;
    flex-wrap: wrap; /* Permite que los elementos bajen en pantallas pequeñas */
}

/* Logo */
.footer-logo {
    height: 50px;
}

/* Información de contacto */
.footer-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.footer-info h3 {
    font-size: 18px;
    color: #FF7F00; /* Naranja */
    margin-bottom: 5px;
}
.footer-icons h3 {
    font-size: 18px;
    color: #FF7F00; /* Naranja */
    margin-bottom: 5px;
}

.footer-info p {
    font-size: 14px;
    color: #ccc;
    margin: 3px 0;
}

/* Redes Sociales */
.footer-icons {
    display: flex;
    gap: 15px;
}

.footer-icons svg {
    width: 24px;
    height: 24px;
    fill: #FF7F00; /* Color naranja */
    transition: transform 0.3s ease, fill 0.3s ease;
    cursor: pointer;
}

.footer-icons svg:hover {
    fill: #FFA500; /* Naranja más claro */
    transform: scale(1.2);
}

/* Aviso Legal */
.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
}

.footer-links a:hover {
    color: #FF7F00;
}

/* Responsive */
@media (max-width: 900px) {
    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-info {
        align-items: center;
        text-align: center;
        margin-bottom: 10px;
    }
}
/* Contenedor general */
.container {
    max-width: 1100px;
    margin: auto;
}

/* Sección del mapa y formulario */
.contact-section {
    background-color: #f8f9fa; /* Color de fondo suave */
    padding: 50px 20px;
    border-radius: 10px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1); /* Sombra ligera */
}

/* Títulos */
.contact-section h3 {
    font-size: 22px;
    color: #333; /* Naranja corporativo */
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

/* Estilos para el formulario y el mapa */
.contact-box {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    align-items: center;
}
.contact-section {
    background: url('../img/07-fondo-alquiler.jpg') no-repeat center center/cover; 
    /* o un color */
    /* background-color: #f4f4f4; */
    padding: 50px 20px;
}

/* Formulario */
.contact-box iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

/* Mapa */
.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 0;
    box-shadow: none;
}


/* Responsive */
@media (max-width: 768px) {
    .contact-box {
        flex-direction: column;
        align-items: center;
    }

    .contact-box iframe {
        height: 500px;
    }

    .map-container iframe {
        height: 350px;
    }
}

/* Nueva sección con fondo de imagen a pantalla completa */
.alquiler-aulas-full {
  position: relative;
  background: url('../img/alquiler.png') no-repeat center center/cover;
  background-size: cover;
  background-position: center;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 60px 40px;
  color: #000;
}

/* Contenido sobre la imagen */
.contenido-sobre-imagen {
  max-width: 600px;
  text-align: left;
}

.contenido-sobre-imagen h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.contenido-sobre-imagen p {
  font-size: 18px;
  margin-bottom: 25px;
}

/* Botón */
.contenido-sobre-imagen .btn {
  padding: 10px 25px;
  background: #EB6909;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.contenido-sobre-imagen .btn:hover {
  background: #e15a00;
}

/* Responsive */
@media (max-width: 768px) {
  .alquiler-aulas-full {
    justify-content: center;
    text-align: center;
        background-image: url('../img/07-fondo-alquiler.jpg'); /* fondo alternativo para móvil */

  }

  .contenido-sobre-imagen {
    max-width: 90%;
  }
}

/* Fondo oscuro translúcido */
#spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    visibility: hidden; /* Oculto por defecto */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* Estilo del spinner */
.spinner-grow text-danger {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #FF7F00; /* Color del spinner */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animación del spinner */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Mostrar el spinner */
#spinner-overlay.active {
    visibility: visible;
    opacity: 1;
}
.hero {
  position: relative;
  height: 100vh;
  background-image: url('/assets/img/home4.png'); /* tu imagen de fondo */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* clave para texto a la izquierda */
  color: rgb(0, 0, 0);
}
@media (max-width: 768px) {
  .hero {
    background-image: url('/assets/img/07-fondo-alquiler.jpg'); /* fondo móvil */
  }
}
.clientes-bg {
  background: url('/assets/img/07-fondo-alquiler.jpg') no-repeat center center;
  background-size: cover;
  padding: 60px 20px; /* Ajusta si quieres espacio */
  color: #fff; /* Cambia según contraste */
}

.hero-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 8%;
}

.swiper {
  width: 100%;
  padding: 40px 0;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-text {
  max-width: 600px;
}


.hero-text h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: #e66900;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}
.hero-divider {
  width:100%;
  display: block;
  margin-top: 5px; /* opcional si necesitas pegarla al borde */
}
.section-separator {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

.hero-text .btn {
  display: inline-block;
  background-color: #eb6909;
  color: #fff;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 12px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-text .btn:hover {
  background-color: #c65500;
  transform: scale(1.05);
}


  .gallery {
    text-align: center;
    padding: 60px 20px;
    background-color: #fff;
  }
  
  .gallery h2 {
    font-size: 2rem;
    color: #2d2d2d;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: bold;
  }
  .gallery h3 {
    font-size: 1.8rem;
    color: #2d2d2d;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: bold;
  }
  
  
  .gallery p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
  }
  
  .gallery .grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 80px;
  }
  
  .gallery .grid .card {
    max-width: 270px;
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 10px;
    transition: transform 0.3s ease;
  }
  
  .gallery .grid .card:hover {
    transform: scale(1.06);
  }
  
 .gallery .grid .card img {
  width: 100%;
  height: auto;
  border-radius: 12px; /* Bordes redondeados suaves */
  object-fit: cover;
  border: 4px solid white; /* Borde blanco */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Sombra para resaltar */
  transition: transform 0.3s ease;
}

  
  .gallery .grid .card p {
    font-size: 0.95rem;
    color: #333;
    margin-top: 15px;
    min-height: 60px;
  }
  
  .gallery .grid .card .btn {
    background-color: #EB6909;;
    padding: 8px 18px;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: bold;
    margin-top: 10px;
    display: inline-block;
    transition: background-color 0.3s ease;
  }
  
  .gallery .grid .card .btn:hover {
    background-color: #EB6909;;
  }
  .info-section.orange {
  background-color: #FBBC21; /* Naranja más suave como en la imagen */
  color: #000; /* Texto negro */
  padding: 60px 20px;
}

.info-section.orange .content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

.info-section.orange .orange-texts {
  max-width: 600px;
  text-align: left;
}

.info-section.orange h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: left;
  color: #000;
}

.info-section.orange p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
  color: #000;
}

.info-section.orange .btn {
  background-color: #e66900;
  padding: 12px 24px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 10px;
  font-size: 1rem;
  display: inline-block;
  transition: background 0.3s ease;
}

.info-section.orange .btn:hover {
  background-color: #c65500;
}

.info-section.orange .content img {
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  background-color: white;
  border: 4px solid white;
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);
  object-fit: contain;
}

  .info-section.orange .content img:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
  }
  
  .info-section.orange .orange-texts {
    max-width: 600px;
  }
  
  .info-section.orange h2 {
    font-size: 1.9rem;
    color: rgb(0, 0, 0);
    text-align: center;
    margin-bottom: 20px;
  }
  
  .info-section.orange p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
    color: #000000;
  }
  
  .info-section .btn {
    background-color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    color: #e66900;
    border-radius: 5px;
    font-size: 1rem;
  }
  .info-section .btn:hover {
    background-color: #000000;
  }
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(40px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .fade-up {
    animation: fadeInUp 1s ease-out forwards;
  }
  @keyframes slideInLeft {
    0% {
      opacity: 0;
      transform: translateX(-50px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  .slide-in-left {
    animation: slideInLeft 2s ease-out forwards;
  }
  @keyframes slideInRight {
    0% {
      opacity: 0;
      transform: translateX(50px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  .slide-in-right {
    animation: slideInRight 1s ease-out forwards;
  }
  .animate-on-scroll {
    opacity: 0;
    transform: translateY(20px); /* posición inicial opcional */
    transition: all 0.6s ease-out;
  }
  
  .animate-on-scroll.appear {
    opacity: 1;
    transform: translateY(0);
  }
  
  .bloque-img {
    width: 180px;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
    background-color: white;
    padding: 5px;
  }
  .bloque-box {
    height: 230px; /* altura fija para todos */
  display: flex;
  align-items: center;
  justify-content: start;
  }
  .bloque-box ul {
    margin-left: 15px;
  }
  .text-orange li {
    color: #f57c00; /* naranja o el color que uses */
    font-weight: 500;
  }
  .bloque-img:hover {
    transform: scale(1.05);
}
.section-title {
  font-size: 2.5rem;
  color: #333;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  animation: fadeIn 1s ease-in-out;
}

.section-title::after {
  content: '';
  width: 60%;
  height: 4px;
  background-color: #f36f21; /* Naranja corporativo */
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Animación suave */
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(10px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Estilo general para el contenedor del swiper */
.swiper-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
  position: relative;
}

/* Estilo de los slides */
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  border-radius: 12px;
  overflow: hidden;
  padding: 10px;
}
.logo-ajuste {
  padding-top: 50px;
}
.logo-ajuste1{
  padding-top: 20px;
}
.swiper-slide img {
  max-width: 100%;       /* Para que no se salga del contenedor */
  max-height: 130px;     /* Ajusta este valor según lo que necesites */
  object-fit: contain;   /* Mantiene proporciones sin recortar */
  display: block;
  margin: auto;
}

/* Flechas de navegación */
.swiper-button-next,
.swiper-button-prev {
  color: #000;
  background-color: transparent;
  border-radius: 50%;
  padding: 10px;
  box-shadow: transparent;
  transition: background-color 0.3s ease;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 24px;          /* Tamaño de la flecha */
  color: orange;             /* Color de la flecha */
  font-weight: bold;
}


.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: transparent;
}

/* Responsivo */
@media (max-width: 768px) {
  .swiper {
    padding: 1rem 0;
  }

  .swiper-slide img {
    max-width: 100px;
  }
}

.mySwiper h2 {
  text-align: center;
  font-size: 1.8rem;
  color: #2d2d2d;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: bold;
}

.mySwiper .btn {
  display: inline-block;
  background: #FF7F00;         /* Color principal (naranja) */
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
  margin: 10px auto 0 auto;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Sombra sutil */
}

.mySwiper .btn:hover {
  background: #e56700;          /* Un naranja más oscuro al hacer hover */
  transform: scale(1.05);       /* Ligera ampliación al pasar el ratón */
  color: white;
}

.btn-naranja {
  display: inline-block;
  background: #FF7F00;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
  margin: 10px auto 0 auto;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600&display=swap');

.titulo-clientes {
  font-family: 'Raleway', sans-serif;
  font-size: 42px;            /* Ajusta según lo grande que lo quieras */
  color: #3a3a3a;             /* Gris oscuro suave */
  text-align: center;
  letter-spacing: 2px;        /* Espaciado entre letras */
  font-weight: 400;
  margin-bottom: 40px;
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #222;
  color: white;
  padding: 15px;
  text-align: center;
  z-index: 9999;
}

.cookie-banner button {
  background-color: #f90;
  border: none;
  padding: 10px 20px;
  margin-left: 10px;
  cursor: pointer;
  color: #000;
  font-weight: bold;
}
