* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
}

body {
  overflow-x: hidden !important;
}

:root {
  --color-primary: #83c4ff;
  --color-secundary: #ED372D;
  --color-three: #1e183b;
}

@font-face {
  font-family: sweet;
  src: url(../assets/font/Sweet.otf);
  font-display: swap;
}

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap");

h1,
h2,
h3,
h4,
h5,
h6,
span,
label {
  font-family: sweet;
}

p {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
}

.btn {
  font-weight: 500;
  font-size: 15px;
  padding: 5px;
  border-radius: 3px;
}

h1 {
  font-size: 34px;
  font-weight: 800;
}

h2 {
  font-size: 32px;
  font-weight: 600;
}

h3 {
  font-size: 30px;
}

h4 {
  font-size: 28px;
}

h5 {
  font-size: 26px;
}

h6 {
  font-size: 24px;
}

a {
  text-decoration: none;
}

.section-my {
  margin: 100px 0;
}

.col-phone {
  display: block;
}

a:hover {
  color: black;
}

img,
.img-fluid {
  max-width: 100%;
  height: auto;
}

::-webkit-scrollbar {
  display: none;
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 24px;
  }

  h5 {
    font-size: 22px;
  }

  h6 {
    font-size: 20px;
  }

  p {
    font-size: 16px;
  }

  .btn {
    font-size: 14px;
  }

  .section-my {
    margin: 40px 0px;
  }

  .col-phone {
    display: none;
  }
}

.navbar {
  position: absolute !important;
  top: 0;
  left: 63%;
  background-color: transparent;
  z-index: 1;
}

.navbar .container-shield {
  background-color: var(--color-secundary);
}

.navbar .nav-item {
  padding: 0 5px;
}

.navbar .nav-item .nav-link {
  color: rgb(0, 0, 0);
  font-size: 17px;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  padding: 10px;
}

.navbar .nav-item.nav-item-aule {
  background-color: var(--color-secundary);
  border-radius: 25px;
  border: 2px solid #EE362D;
  width: max-content;
  transition: transform 0.3s ease-in-out;
}

.navbar .nav-item.nav-item-aule:hover {
  transform: translateY(-5px);
}

.navbar .nav-item.nav-item-aule a {
  color: #fff;
  font-weight: 600;

}

.dropdown-menu[data-bs-popper] {
  margin-top: 9%;
}

.dropdown-menu {
  background-color: var(--color-secundary);
  border-radius: 0;
}

.dropdown-menu .dropdown-item {
  color: white;
  font-weight: 600;
}

.dropdown-menu .dropdown-item:hover {
  background-color: var(--color-primary);
}

.navbar .shield {
  display: flex;
  align-items: center;
}

.navbar .shield picture {
  display: contents;
}

.navbar .shield picture img {
  width: 10%;
  height: auto;
}

.navbar .shield p {
  font-size: 20px;
  margin-left: 10px;
  color: rgb(0, 0, 0);
  font-weight: 700;
  margin-bottom: 0;
}

.navbar-icon {
  font-size: 25px;
}

.navbar-toggler {
  border: none;
  color: white;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.offcanvas-body .nav-item .nav-link {
  text-align: center;

}

@media screen and (max-width: 991px) {
  .navbar {
    left: 80%;
  }

  .navbar .nav-item {
    padding: 5px 0;
  }

  .navbar .nav-item .nav-link {
    color: black;
  }

  .navbar .nav-item.nav-item-aule {
    background-color: var(--color-primary);
    position: relative;
    left: 33%;
  }

  .navbar .nav-item.nav-item-aule a {
    color: rgb(0, 0, 0);
  }

  /* navbar shield */
  .navbar .shield {
    display: none;
  }

  .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);
    max-width: 70%;
  }

  .offcanvas.offcanvas-end {
    border-left: none !important;
    transition: all 0.5s;
  }
}

.hero-section {
  position: relative;
}

.inscribete-btn {
  display: inline-block;
  background-color: var(--color-secundary);
  color: white;
  border: none;
  padding: 15px 35px;
  text-align: center;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.inscribete-btn:hover {
  background-color: #45a049;
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
  color: white;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .inscribete-btn {
    padding: 12px 28px;
    font-size: 16px;
    top: 75%;
  }
}

@media (max-width: 480px) {
  .inscribete-btn {
    padding: 10px 24px;
    font-size: 10px;
    top: 72%;
    width: 30%;
    max-width: 250px;
  }
}

.welcome {
  position: relative;
}

.welcome h2 {
  text-align: center;
}

.welcome .card-welcome {
  margin-top: 120px;
  text-align: center;
  width: 70%;
  display: block;
  margin: auto;
  padding: 50px 0;
  border-radius: 50%;
  transition: transform 0.3s ease-in-out;
}

.welcome .card-welcome:hover {
  transform: translateY(-5px);
}

.welcome .card-welcome.cw-1 {
  background-color: var(--color-primary);
}

.welcome .card-welcome.cw-2 {
  background-color: var(--color-secundary);
}

.welcome .card-welcome.cw-3 {
  background-color: #fdbd7c;
}

.welcome .card-welcome.cw-4 {
  background-color: #B988B8;
}

.welcome .title-welcome {
  font-size: 30px;
  font-weight: 600;
  margin-top: 30px;
  text-align: center;
}

.welcome .card-welcome img {
  width: 50%;
  height: auto;
}

@media screen and (max-width: 995px) {
  .welcome .card-welcome {
    width: 100%;
    padding: 20px 0;
  }

  .welcome .title-welcome {
    font-size: 20px;
  }

  .welcome h3 {
    font-size: 15px;
  }
}

.us p {
  margin-top: 40px;
  text-align: justify;
}

.us .img-us {
  width: 50%;
  position: relative;
  left: 30%;
}

.us .btn-us {
  width: 20%;
  background-color: var(--color-secundary);
  color: #fff;
  border-radius: 30px;
  transition: transform 0.3s ease;
}

.us .btn-us:hover {
  background-color: var(--color-secundary);
  color: #fff;
  transform: translateY(-5px);
}

.us .container-us-2 {
  background-image: url(../assets/us/bg-blue.png);
  padding: 280px 0;
  width: 100%;
  background-position: center;
  background-size: cover;
}

.us .container-us-2 img {
  width: 30%;
  height: auto;
  display: block;
  margin: auto;
}

.us .container-us-2 h3 {
  text-align: center;
  color: white;
  margin-top: 40px;
}

.us .container-us-2 p {
  text-align: justify;
  color: white;
}

.us .container-us-2 .row div:nth-child(1) {
  border-right: 3px solid white;
}

.us .container-us-2 .row div:nth-child(2) {
  border-right: 3px solid white;
}

@media screen and (max-width: 995px) {
  .us .img-us {
    width: 50%;
    display: block;
    margin: auto;

  }

  .us .container-us-2 {
    padding: 140px 20px;
  }

  .us .container-us-2 img {
    width: 20%;
    height: auto;
  }

  .us .container-us-2 .row div:nth-child(1) {
    border-right: none;
  }
}

/*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-secundary);
}

.book-title {
  color: #fff;
  border-left: 4px solid var(--color-three);
  padding-left: 15px;
  margin: 20px 0 15px;
  font-size: 1.8rem;
  line-height: 3rem;
}

.book-subtitle {
  color: #fff;
  font-size: 1.3rem;
  margin-top: 20px;
}

.book-text {
  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;
  }
}

/* Galeria */
.gallery {
  margin-top: 10rem;
}

.gallery h2 {
  font-size: 40px;
  color: #000000;
  font-weight: 1000;
  line-height: 4rem;
}

.gallery p {
  font-size: 30px;
  text-align: center;
}

.gallery-image {
  margin: 40px 0 0 0;
  border-radius: 40px;
  transform: scale(1);
  transition: transform 0.4s;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, .8));
 
}

.gallery-image:hover {
  transform: scale(1.04);
  transition: transform 0.4s;
}

.hidden {
  display: none;
}

#toggle-button {
  margin-top: 30px;
  background-color: var(--color-primary);
  /* Color primario */
  color: #fff;
  font-weight: 900;
  border: none;
  border-radius: 25px;
  padding: 10px 30px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
  outline: none;
}

#toggle-button:hover {
  background-color: var(--color-secundary);
  /* Color secundario */
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#toggle-button:active {
  background-color: #44b4e0;
  /* Color terciario */
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hidden {
  display: none;
}

.btn-ver-mas {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.5rem;
}

/* Galeria */
.calendar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.calendar h1 {
  font-size: 30px;
  font-weight: 900;
  color: var(--color-secundary);
  margin-bottom: 20px;
  text-transform: uppercase;
  text-align: justify;
}

.calendar p {
  font-size: 25px;
  color: #555;
  line-height: 1.6;
  max-width: 400px;
  margin-bottom: 30px;
  text-align: justify;
}

.calendar-text {
  padding-right: 20px;
}

.calendar-text h1 {
  line-height: 3rem;
}

#calendar {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-height: 450px;
}


@media (max-width: 768px) {
  .calendar h1 {
    font-size: 28px;
  }

  .calendar p {
    font-size: 16px;
  }

  .calendar-text {
    text-align: center;
    padding-right: 0;
    margin-bottom: 30px;
  }

  #calendar {
    min-height: 300px;
  }
}


.container-courses {
  background-image: url(../assets/courses/bg-courses.png);
  padding: 300px 0;
  width: 100%;
  background-position: center;
  background-size: cover;
}

.courses h2 {
  text-align: center;
  color: white;
}

.courses .card-courses {
  background-color: white;
  padding: 20px;
  border-radius: 15px;
  border: 3px solid black;
  position: relative;
  left: 50%;
  transition: transform 0.3s ease;
}

.courses .card-courses:hover {
  transform: translateY(5px);
}

.courses .card-courses img {
  transition: transform 0.5s ease;
}

.courses .card-courses img:hover {
  transform: scale(1.1);

}

.courses .card-courses h3 {
  font-size: 15px;
  line-height: 40px;
}

.courses .card-courses i {
  color: #f9c111;
}

@media screen and (max-width: 995px) {
  .container-courses {
    padding: 140px 20px;
  }

  .courses .card-courses img {
    display: block;
    margin: auto;
  }

  .courses .card-courses {
    position: relative;
    left: 0%;
  }

  .courses h2 {
    line-height: 3rem;
  }
}

.events h2 {
  text-align: center;
}

.events .container-events {
  margin-top: 50px;
  background-color: var(--color-primary);
  padding: 50px;
  border-radius: 20px;
  border: 2px solid #579dde;
}

.events .container-events h3 {
  font-size: 15px;
  text-align: center;
  padding: 13px;
  border-radius: 20px;
  background-color: white;
}

.events .container-events img {
  display: block;
  margin: auto;
}

.sem-circle {
  width: 100%;
  position: relative;
  height: 600px;
  background: #FDBD7C;
  border-radius: 50% 50% 0 0/20% 20% 0 0;
  display: flex;
  justify-content: center
}

.container-img {
  position: relative;
  height: 320px
}

.container-img .img-contact {
  position: absolute;
  bottom: -92px;
  left: 0
}

.container-img .img-contact img {
  width: 300px
}

.container-contact {
  position: absolute;
  bottom: 10px;
  background-color: #fff;
  height: 460px;
  border-radius: 10px;
  width: 70%;
  padding: 30px;
  margin: auto;
  display: block;
  word-wrap: break-word
}

.container-info-icon i,
.container-rect {
  background-color: var(--color-primary)
}

.container-info-icon {
  display: flex;
  align-items: center;
  line-height: 50px;
}

.container-info-icon i {
  color: #fff;
  padding: 10px;
  border-radius: 50px;
  width: 35px;
  text-align: center
}

.container-info-icon h3,
.container-info-icon h4 {
  margin: 0;
  padding-left: 15px;
  font-size: 18px
}

.container-info-icon p {
  margin: 0.5rem;
}

.container-rect {
  height: 35px;
  position: absolute;
  width: 100%;
  bottom: 0
}

@media (max-width: 995px) {
  .container-img {
    display: none
  }

  .container-contact {
    height: 480px;
    width: 80%
  }

  .container-info-icon h4 {
    word-break: break-all
  }

}

.footer .footer-bg {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 500px;
  width: 100%;
}

.footer .container-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  background-color: var(--color-secundary);
}

.footer .container-footer .copyright {
  color: white;
  font-size: 16px;
}

.footer {
  background-color: #83c4ff;
  color: #ffffff;
}


.footer .contact-info,
.footer .address {
  margin-top: 10px;
}


.rectangle-footer {
  display: block;
  width: 100%;
  background-color: var(--color-secundary);
  border-radius: 50px;
  height: 35px;
  margin-bottom: 30px;
}


.footer .logo-text {
  margin: 5px 0;
  color: white;
  font-weight: 800;
}

.footer h5 {
  line-height: 3rem
}

/* Estilos generales del botón de "Ir arriba" */
.shortcut {
  position: fixed;
  bottom: 20px;
  right: 40px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, right 0.5s ease-in-out;
  /* Agregado para animación de entrada */
}

.shortcut.visible {
  right: 40px;
  /* Posición cuando es visible */
}

.shortcut.hidden {
  right: -60px;
  /* Oculto fuera de la pantalla */
}

/* Efecto de escala al pasar el mouse */
.shortcut:hover {
  transform: scale(1.1);
}

.shortcut .btn:focus {
  outline: 0;
  box-shadow: none;
}

/* Icono del botón */
.shortcut i {
  font-size: 25px;
}

/* Estilos del botón circular */
.shortcut .btn.btn-primary {
  width: 50px;
  height: 50px;
  line-height: 36px;
  background: var(--color-secundary);
  border-radius: 50%;
  color: #ffffff;
  font-weight: 700;
  font-size: 2rem;
  padding: 0;
  border: none;
  transition: background-color 0.3s ease;
}

.shortcut .btn.btn-primary:hover {
  background-color: var(--color-three);
  color: #fff;
}

/* Responsividad para pantallas pequeñas */
@media (max-width: 767px) {
  .shortcut {
    right: 15px;
  }

  .shortcut i {
    font-size: 15px;
  }

  .shortcut .btn.btn-primary {
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 14px;
  }
}


/* modal */
.modal-content {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  max-width: 800px;
  margin-left: 8%;
}

.modal-body video {
  border-radius: 10px;
}

.modal-close {
  position: absolute;
  z-index: 999;
}

.modal-close i {
  color: rgb(255, 255, 255);
  background-color: var(--color-primary);
  padding: 2px;
  width: 28px;
  border-radius: 50px;
  font-size: calc(0.35rem + 1vw);
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 700px !important;
    margin: auto;
  }

  .modal-close {
    position: absolute;
    z-index: 999;
  }

  .modal-close i {
    margin-top: -2px;
  }
}


@media (max-width: 580px) {
  .modal-content {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    max-width: 800px;
    position: relative;
    left: -5%;
  }

  .modal-dialog {
    max-width: 600px !important;
    margin: auto;
  }

  .modal-close {
    position: absolute;
    left: 5%;
    z-index: 999;
    border-radius: 50px;

  }

  .modal-close i {
    color: rgb(255, 255, 255);
    background-color: var(--color-primary);
    padding: 2.5px;
    width: 18px;
    height: 15px;
    font-size: calc(0.35rem + 1vw);
  }
}