* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
}

body {
  font-family: "neon", sans-serif;
  overflow-x: hidden;
}

:root {
  --color-primary: #0f68b3;
  --color-secundary: #fceb4f;
  --color-three: #80c5fb;
  --color-four: #1d70b7;
}

@font-face {
  font-family: neon;
  src: url(../assets/fonts/neon.ttf) format("truetype");
  font-display: swap;
}

/* Estilos globales de la página web */

h1 {
  font-size: 40px;
  font-weight: 800 !important;
}

h2 {
  font-size: 35px;
  font-weight: 700 !important;
}

h3 {
  font-size: 30px;
}

h4 {
  font-size: 28px;
}

h5 {
  font-size: 26px;
}

h6 {
  font-size: 24px;
}

p {
  font-family: "Gothic", sans-serif;
  font-size: 17px;
  margin: 0;
}

.btn {
  font-weight: 500;
  font-size: 16px;
  padding: 5px;
}

.section-my {
  margin: 150px 0;
}

a {
  text-decoration: none !important;
}

img,
.img-fluid {
  max-width: 100%;
  height: auto;
}

@media (max-width: 996px) {
  h1 {
    font-size: 35px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 28px;
  }

  h4 {
    font-size: 26px;
  }

  h5 {
    font-size: 24px;
  }

  h6 {
    font-size: 22px;
  }

  p {
    font-size: 16px;
  }

  .btn {
    font-size: 15px;
  }

  .section-my {
    margin: 40px 0px;
  }

  .col-d-phone {
    display: none;
  }
}

/* Estilos de la barra de navegación */

.navbar {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: var(--color-primary);
}

.navbar .nav-item {
  padding: 0 5px;
}

.navbar .nav-item .nav-link {
  color: rgb(255, 255, 255);
  font-size: 17px;
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
  padding: 10px;
}

.navbar .nav-item.nav-item-aule {
  background-color: var(--color-secundary);
  border-radius: 20px;
  border: 2px solid #a39830;
}

.navbar .nav-item .nav-link.active {
  color: white;
  font-weight: 800;
}

.navbar .nav-item.nav-item-aule a {
  color: black;
  font-weight: 600;
}

.dropdown-menu[data-bs-popper] {
  margin-top: 9%;
}

.dropdown-menu {
  background-color: var(--color-primary) !important;
  border-radius: 0;
}

.dropdown-menu .dropdown-item {
  color: white;
  font-weight: 600;
}

.dropdown-menu .dropdown-item:hover {
  background-color: var(--color-primary);
}

.navbar-icon {
  font-size: 25px;
}

.navbar-toggler {
  border: none !important;
  color: #fff !important;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

.offcanvas-body .nav-item .nav-link {
  text-align: center;
}

@media (max-width: 996px) {
  .navbar .nav-item {
    padding: 5px 0;
  }

  .navbar .nav-item .nav-link {
    color: black;
  }

  .navbar .nav-item.nav-item-aule {
    background-color: var(--color-primary);
    border: none;
  }

  .navbar .nav-item.nav-item-aule a {
    color: white;
  }

  .dropdown-menu[data-bs-popper] {
    margin-top: 0%;
    border-radius: 50px;
    text-align: center;
  }

  .dropdown-menu .dropdown-item:hover {
    background-color: transparent;
  }

  .offcanvas {
    background-color: var(--color-secundary) !important;
    max-width: 70% !important;
  }

  .offcanvas.offcanvas-end {
    border-left: none !important;
    transition: all 0.5s;
  }
}

/* Estilos del separadir del la portada con la sección de bienvenida */
.separador {
  height: 5px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0, 100, 255, 0.2),
    transparent
  );
  margin: 40px auto;
  max-width: 80%;
}

/* Estilos de la sección de bienvenida */

.cards-welcome img {
  width: 60%;
  height: auto;
}

.cards-welcome p {
  font-size: 25px;
  font-weight: 800;
  font-family: "neon", sans-serif;
  color: black;
}

.cards-welcome a {
  text-decoration: none;
}

@media (max-width: 996px) {
  .cards-welcome img {
    width: 50%;
  }
}

/* Welcome */
.welcome {
  background-color: var(--color-primary);
}

.container-welcome {
  padding: 30px;
  color: #fff;
  margin-top: -8%;
}

.figure-rectagle {
  background-color: var(--color-secundary);
  width: 35%;
  height: 15px;
  margin-bottom: 30px;
  border-radius: 10px;
}

.container-welcome h2 {
  font-weight: 800;
  margin-bottom: 15px;
}

.container-welcome p {
  text-align: justify;
}

.container-welcome a {
  color: rgb(0, 0, 0);
}

.container-welcome img {
  display: block;
  margin: auto;
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: 20px;
}

@media screen and (max-width: 995px) {
  .container-welcome img {
    max-width: 60%;
  }
}
/* Actualización de datos */


.gimnasio-update-section .update-wrapper {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 32px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.gimnasio-update-section .badge-colegio {
  background: var(--color-four);
  color: white;
  border-radius: 40px;
  padding: 0.4rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.gimnasio-update-section .update-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: #0a2540;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.gimnasio-update-section .update-subtitle {
  color: #5b6e8c;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--color-secundary);
  padding-left: 1rem;
}

.gimnasio-update-section .form-container-modern {
  background: white;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.gimnasio-update-section .form-container-modern:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.gimnasio-update-section .zoho-responsive-frame {
  width: 100%;
  border: none;
  border-radius: 16px;
  background: #fff;
}

.gimnasio-update-section .update-footer-mini {
  margin-top: 1rem;
  padding-top: 1rem;
  font-size: 0.75rem;
  color: #8a99b0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .gimnasio-update-section .update-wrapper {
    padding: 1.25rem;
    border-radius: 24px;
  }
  .gimnasio-update-section .update-title {
    font-size: 1.5rem;
  }
  .gimnasio-update-section .form-container-modern {
    padding: 1rem;
    border-radius: 20px;
  }
}

@media (max-width: 576px) {
  .gimnasio-update-section .update-wrapper {
    padding: 1rem;
  }
  .gimnasio-update-section .update-title {
    font-size: 1.35rem;
  }
  .gimnasio-update-section .badge-colegio {
    font-size: 0.7rem;
  }
  .gimnasio-update-section .update-footer-mini {
    gap: 0.8rem;
    font-size: 0.7rem;
  }
}

/* Estilos de la sección de gestiones video section */

.video-section {
  background-color: #1e3c72;
  /* Azul oscuro de fondo */
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: -7%;
}

.video-section h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  padding: 1rem;
}

.video-section h2 .hightlight {
  color: var(--color-three);
  /* Color especÃ­fico para la palabra destacada */
}

.video-container {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  padding: 2rem;
}

.video-container iframe {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: 80%;
  height: 550px;
  border-radius: 20px;
}

@media (min-width: 1500px) {
  .video-section {
    /* Azul oscuro de fondo */
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: -5%;
  }

  .video-container iframe {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 70%;
    height: 660px;
  }
}

@media screen and (max-width: 991px) {
  .video-section {
    margin: 3rem 0 3rem 0;
  }

  .video-container iframe {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 320px;
  }
}

/* Estilos de la sección de nosotros */

.container-us-1 {
  position: relative;
  text-align: justify;
}

.container-us-1 .figure-1 {
  position: absolute;
  top: 5%;
  right: 30%;
  width: 30%;
  height: auto;
}

.container-us-1 .img-us {
  width: 90%;
  height: auto;
  z-index: 10;
}

.us .container-us-2 {
  background-image: url(../assets/us/bg-us.webp);
  background-position: 50% 0;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 200px;
  width: 100%;
}

.us .container-us-2 h3 {
  color: white;
  font-weight: 700;
}

.us .container-us-2 p {
  text-align: justify;
}

.us .container-us-2 .col-white {
  background-color: white;
  padding: 20px;
  border-radius: 20px;
}

.us .container-us-2 .img-us-c2 {
  width: 80%;
  height: auto;
}

.us .container-us-2 .figure-2,
.us .container-us-2 .figure-3 {
  position: relative;
  top: 20%;
  left: 30%;
  content: "";
  background-color: var(--color-three);
  border-radius: 100%;
}

.us .container-us-2 .figure-2 {
  width: 100px;
  height: 100px;
}

.us .container-us-2 .figure-3 {
  width: 50px;
  height: 50px;
}

.us .container-us-2 .figure-4 {
  width: 70%;
  height: auto;
  display: block;
  margin: auto;
}

@media (max-width: 996px) {
  .container-us-1 .img-us {
    width: 40%;
    display: block;
    margin: auto;
  }

  .us .container-us-2 {
    padding: 90px 40px;
  }

  .us .container-us-2 .col-white {
    padding: 10px;
  }

  .us .container-us-2 .img-us-c2 {
    width: 30%;
    height: auto;
    display: block;
    margin: auto;
  }

  .us .container-us-2 .col-lg-4 {
    order: 2;
  }

  .us .container-us-2 .col-white p {
    text-align: justify;
  }
}

/*  Estilos del Calendario de eventos */
.container-calendar {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fc-prev-button,
.fc-next-button {
  background-color: var(--color-primary) !important;
  border: none !important;
}

.fc-prev-button:hover,
.fc-next-button:hover {
  background-color: var(--color-secundary);
}

.date-featured {
  margin-top: 40px;
}

.date-featured h3 {
  font-size: 35px;
  text-align: center;
  color: black;
}

.container-card-date.card-date-bg-1,
.container-card-date.card-date-bg-2 {
  background-color: var(--color-primary);
  color: white;
}

.container-card-date {
  padding: 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow: 0px 0px 3px #41414131;
  border: 1px solid #7c1024;
}

.container-card-date h4 {
  margin-bottom: 0;
}

.circle-date {
  width: 60px;
  height: 60px;
  background-color: white;
  border-radius: 50px;
  border: 1px solid #414141d3;
}

@media screen and (max-width: 995px) {
  .container-calendar {
    padding: 20px;
  }
}

/* Estilos de la sección de gestiones del colegio */

.courses .figure-7 {
  width: 50%;
  height: 20px;
  background-color: var(--color-secundary);
  margin-top: 10px;
}

.container-figure-8 {
  background-color: var(--color-primary);
}

.container-figure-8 .figure-8 {
  width: 40%;
  height: auto;
  display: block;
  margin: auto;
}

.courses .container-courses {
  margin-top: 100px;
  background-color: var(--color-primary);
}

.courses .container-courses .courses-line-img {
  width: 90%;
  height: auto;
  position: relative;
  top: -5%;
  display: block;
  margin: auto;
}

.courses .container-courses .btn.btn-coruses {
  background-color: var(--color-secundary);
  display: block;
  width: 30%;
  margin: 10px auto;
  font-weight: 800;
  box-shadow: 1px 1px 3px rgba(255, 255, 255, 0.545);
  border-radius: 1px;
}

.courses .container-courses button {
  background-color: var(--color-primary);
  border: none;
  border-radius: 40px;
}

@media (max-width: 996px) {
  .container-figure-8 .figure-8 {
    width: 20%;
  }

  .courses .container-courses .courses-line-img {
    width: 50%;
  }
}

/* Estilos de la sección de galeria */

.gallery img {
  border: 20px solid var(--color-primary);
  box-shadow: 1px 1px 5px #1d1d1b60;
}

/* Estilos de la sección de testimonios */

.section-testimonials {
  padding: 5em 0;
}

.section-testimonials h2 {
  text-align: center;
  font-weight: 600;
  font-size: 45px;
}

.container-testimonials {
  background-color: var(--color-primary);
  margin-top: 40px;
  padding: 30px;
  border-radius: 30px;
  border: 2px solid #cecfd0;
  position: relative;
}

.container-testimonials .img-testimonials-one {
  position: absolute;
  bottom: -11px;
  left: -25px;
  width: 400px;
  /* height: 280px; */
  border-radius: 0 0 0 28px;
}

.container-img-testimonials,
.container-info-testimonials {
  padding: 3em;
}

.container-img-testimonials {
  background-color: var(--color-secundary);
  border-radius: 30px;
  height: 100%;
}

.container-info-testimonials {
  background-color: white;
  height: 100%;
  border-radius: 30px;
  border: 1px solid #d9dadb;
}

.container-info-testimonials .carousel-item .opinions {
  font-size: 40px;
  font-weight: 600;
}

.container-testimonials-info {
  text-align: center;
  padding-top: 10px;
}

.container-testimonials-info img {
  max-width: 100%;
  width: 70px;
  border-radius: 50px;
}

.container-testimonials-info .user-testimonials {
  padding-top: 12px;
  margin: 0;
}

.container-testimonials-info p {
  margin: 0;
  padding: 0;
}

.container-info-testimonials .carousel-item,
.carousel-control-prev,
.carousel-control-next {
  color: black;
  opacity: 1;
}

.carousel-control-next:focus,
.carousel-control-next:hover,
.carousel-control-prev:focus,
.carousel-control-prev:hover {
  color: black;
}

@media (max-width: 995px) {
  .container-img-testimonials,
  .container-testimonials .img-testimonials-one {
    display: none;
  }
}

/* Estilos de la sección contacto del colegio */
footer .container-footer {
  background-color: var(--color-primary);
  width: 100%;
  overflow: hidden;
}

footer .container-footer h2 {
  color: white;
}

footer .container-footer p {
  color: white;
}
/* Cambiar imagen de sección de contacto */
footer .bg-footer {
  background-image: url(../assets/contact/contacto.webp);
  background-position: center;
  background-size: cover;
}

footer .container-footer h3 {
  color: white;
  margin: 0;
  padding: 0;
  font-size: 20px;
  margin-top: 15px;
  text-align: center;
}

footer .container-footer p i {
  padding: 10px;
  margin: 5px 0;
  width: 60px;
  text-align: center;
}

footer .container-footer .socials-footer {
  color: white;
  display: flex;
  justify-content: center;
  padding: 5px;
  margin-top: 10px;
}

footer .container-footer .socials-footer a {
  color: #fff;
}

footer .container-footer .socials-footer i {
  margin: 0 10px;
  font-size: 20px;
}

footer .copyriht {
  text-align: center;
}

footer .copyriht i {
  margin: 0;
}

/* Estilos de los  Modales */

.modal-content {
  border-radius: 30px !important;
  overflow: hidden !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
}

.modal-header {
  border: none;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  background-color: var(--color-four);
}

.modal-close {
  position: absolute;
  top: 2%;
  right: 2%;
  z-index: 3;
}

.modal-close i {
  color: #fff;
  background-color: var(--color-three);
  padding: 2.5px;
  width: 28px;
  border-radius: 50px;
  font-size: calc(0.35rem + 1vw);
}

.modal-header .modal-title {
  color: #fff;
  text-align: center;
  font-size: 25px !important;
}

.modal-body p {
  text-align: justify;
}

.modal-body h3 {
  font-size: 15px;
}

.modal-footer button {
  background-color: #171f4d;
  border: none;
  border-radius: 30px;
  padding: 10px 20px;
}

/* Estilos del Boton lateral */

.shortcut {
  right: 40px;
  top: auto;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

.shortcut .btn:focus {
  outline: 0;
  box-shadow: none;
}

@media (max-width: 767px) {
  .shortcut {
    right: 15px;
  }
}

.shortcut.position-fixed {
  bottom: 20px;
}

/* Boton al costado */
.shortcut .btn.btn-primary {
  width: 50px;
  height: 50px;
  line-height: 36px;
  background: var(--color-secundary);
  border-radius: 10px;
  color: #ffffff;
  font-weight: 700;
  font-size: 2rem;
  padding: 0;
  border: none;
}

@media (max-width: 767px) {
  .shortcut .btn.btn-primary {
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 14px;
  }
}

.shortcut .btn.btn-primary:hover {
  color: #fff;
}


/*promotion books*/


/*promotion books*/
.book-section {
  background-color: var(--color-primary);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
  margin-bottom: 30px;
}

.book-cover {
  width: 100%;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.9);
}

.category-tabs .nav-link {
  font-weight: 600;
  color: #000;
  border: none;
  padding: 10px 20px;
  margin: 0 5px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.category-tabs .nav-link.active {
  color: var(--color-three);
  background-color: rgba(13, 110, 253, 0.1);
  border-bottom: 3px solid var(--color-primary);
}

.book-title {
  color: #fff;
  border-left: 4px solid var(--color-three);
  padding-left: 15px;
  margin: 20px 0 15px;
  font-size: 2rem;
}

.book-subtitle {
  color: #fff;
  font-size: 1.3rem;
  margin-top: 20px;
}

.book-text,
.content-highlight p {
  color: #fff;
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
}


.book-section .btn.btn-books {
  background-color: var(--color-secundary);
  color: #fff;
  border-radius: 30px;
  padding: 10px 20px;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

.book-section .btn.btn-books:hover {
  background-color: var(--color-three);
  color: #fff;
}

@media (max-width: 995px) {
  .book-cover {
    margin-bottom: 20px;
    max-width: 90%;
  }

  .book-title {
    font-size: 1.3rem;
  }

  .book-subtitle {
    font-size: 1.1rem;
  }

  .book-text,
  .content-highlight p {
    font-size: 0.95rem;

  }

  .book-section .btn.btn-books {
    width: 100%;
    font-size: 1rem;
    padding: 12px;
  }
}