* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
}

:root {
  --color-primary: #D4575A;
  --color-secundary: #f4cb28;
  --color-three: #B5E1F5;
  --color-four: #3A4696;
  --card-shadow: rgba(44, 62, 80, 0.1);
  --card-hover-shadow: rgba(44, 62, 80, 0.2);
  --transition-speed: 0.3s;
  --border-radius: 12px;
}

img {
  width: 100%;
  height: auto;
}

.section-my {
  margin: 150px 0;
}

@media screen and (max-width:991px) {
  .section-my {
    margin: 50px 0;
  }
}

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@500&display=swap');

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li {
  font-family: 'Nunito', sans-serif;
}

h1 {
  font-weight: 700;
}

h2 {
  font-size: calc(2.2rem + .9vw);
  font-weight: 800;
}

h3 {
  font-weight: 600;
}

h4,
h5,
h6 {
  font-weight: 500;
}

a {
  text-decoration: none;
}

p {
  font-size: calc(0.8rem + .9vw);
  color: rgb(56, 56, 56);
}

picture {
  margin: 0;
  padding: 0;
}

.navbar {
  padding-top: calc(20px + .9vw);
  position: relative;
  background: linear-gradient(180deg, #F5F8FF 20%, #FFFFFF 54%)
}


.navbar .container-logo-nav {
  display: flex;
  align-items: center;
}

.navbar .container-logo-nav h1 {
  font-size: 18px;
  margin-bottom: 0;
  margin-left: 10px;
  color: rgb(50, 50, 50);
}

.navbar .container-logo-nav img {
  width: 50px;
  height: auto;
}

.nav-link-aule {
  background-color: var(--color-primary);
  border-radius: 20px;
  padding: 10px;
}

.navbar .nav-item .nav-link.active {
  border-bottom: 2px solid var(--color-secundary);
}

.navbar .logo-nav-phone {
  display: none;
}

.navbar .offcanvas .offcanvas-body .nav-item {
  padding: 0 7px;
}

.navbar .offcanvas .offcanvas-body .nav-item .nav-link {
  color: rgb(50, 50, 50);
  font-weight: 700;
  font-size: 16px;
}

.navbar .offcanvas .offcanvas-body .nav-item .nav-link:hover {
  color: var(--color-secundary);
  transition: .2s;
}

.offcanvas.hiding,
.offcanvas.show,
.offcanvas.showing {
  transition: all .5s;
}

@media screen and (max-width:991px) {

  /* navbar buttons */

  .navbar-toggler {
    color: var(--color-secundary);
    font-size: 23px;
    border: none;
  }

  .navbar-toggler i {
    color: rgb(50, 50, 50);
  }

  .navbar-toggler:focus {
    box-shadow: none;
  }

  /* navbar canvas */

  .offcanvas {
    background-color: var(--color-primary);
  }

  .offcanvas-end {
    border-left: 0;
  }

  .navbar .logo-nav-phone {
    display: flex;
    align-items: center;
  }

  .navbar .container-logo-nav h1 {
    font-size: 16px;
  }

  .navbar .logo-nav-phone img {
    width: 50px;
    height: auto;
  }

  .navbar .offcanvas .offcanvas-body .nav-item .nav-link {
    color: rgb(255, 255, 255);
  }

  .navbar .offcanvas .offcanvas-body .nav-item .nav-link.nav-link-aule {
    text-align: center;
    background-color: var(--color-secundary);
    border-radius: 30px;
    color: #404040;
  }

}

@media screen and (max-width:567px) {

  /* width navbar canvas < 567px */
  .offcanvas-end {
    width: calc(300px + 1vw) !important;
  }
}

.carousel img {
  width: 100%;
  height: auto;
}

.carousel .motto {
  background-color: var(--color-secundary);
  padding: 30px;
  font-size: 70px;
  border-radius: 100px;
  position: relative;
  top: -50px;
  text-align: center;
  font-weight: 700;
  color: rgb(35, 35, 35);
}

.boton-inscripcion {
  position: absolute;
  top: 60%;
  left: 16%;
  background-color: var(--color-secundary);
  color: #fff;
  padding: 14px 28px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 20px;
  transition: transform 0.3s ease-in-out;
  z-index: 10;
  margin: auto;
}

.boton-inscripcion:hover {
  transform: scale(1.1);
  color: #fff;
}


@media screen and (max-width:580px) {
  .carousel .motto {
    font-size: 30px;
    padding: 20px;
    top: -10px;
  }

  .boton-inscripcion {
    top: 43%;
    font-size: 10px;
    padding: .7rem;
    left: 10%;
  }
}

@media screen and (min-width:768px) and (max-width:995px) {
  .carousel .motto {
    font-size: 30px;
    padding: 20px;
    top: -10px;
  }

  .boton-inscripcion {
    top: 55%;
    font-size: 10px;
    padding: .7rem;
    margin: auto;
  }
}

@media screen and (min-width: 1550px) {
  .boton-inscripcion {
    top: 63%;
    padding: .7rem;
    left: 19%;
    font-size: 22px;
  }
}

.cards h2 {
  font-size: calc(1rem + .8vw);
  text-align: center;
  background-color: var(--color-three);
  padding: 10px;
  border-radius: 20px;
  color: rgb(35, 35, 35);
  margin-top: 20px;
}

.cards img {
  width: 70%;
  height: auto;
  display: block;
  margin: auto;
}


@media screen and (max-width:991px) {
  .cards img {
    width: 30%;
  }
}

/* Estilos de la Sección Ganadora */
.winner-section {
  background-color: var(--color-tertiary);
  padding: 2rem 0;
}

.winner-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--color-quaternary);
  margin-bottom: 2rem;
}

.winner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.winner-image img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 80%;
  border: 6px solid var(--color-primary);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.winner-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.winner-info {
  text-align: center;
  margin-top: 1.5rem;
}

.winner-name {
  font-size: 1.75rem;
  color: var();
  margin-bottom: 1rem;
}

.winner-percentage,
.winner-participation {
  font-size: 1.25rem;
  color: var(--color-quaternary);
  margin-bottom: 0.5rem;
}

.winner-percentage span,
.winner-participation span {
  color: var(--color-secondary);
  font-weight: bold;
}

.winner-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-quaternary);
  margin-top: 1rem;
}

/* Responsividad */
@media (min-width: 768px) {
  .winner-content {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .winner-image {
    margin-right: 2rem;
  }

  .winner-info {
    text-align: left;
    margin-top: 0;
  }
}

/* Sección General */
.winner-section {
  background: linear-gradient(135deg, #f1f4f9, #d7e1ec);
  color: #333;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  color: #222;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 2rem;
}


.winner-card {
  max-width: 500px;
  background-color: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  padding: 2rem 1.5rem;
}

.winner-card:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.winner-image-wrapper {
  width: 350px;
  height: 350px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 50%;
  border: 5px solid #ffcc00;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.winner-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.winner-card:hover .winner-photo {
  transform: scale(1.15);
}

.winner-content {
  margin-top: 20px;
}

.winner-badge {
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffcc00;
  padding: 8px 20px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.badge-text {
  font-weight: bold;
  color: #333;
}

.winner-name {
  font-size: 1.75rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
  margin-top: 1rem;
}

.btn-primary:hover {
  background-color: #0056b3;
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.5);
}

.winner-description {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
  margin-top: 0.5rem;
  padding: 0 15px;
}

.header {
  text-align: center;
  margin-bottom: 50px;
  padding-top: 20px;
}

.header h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.header p {
  color: #7f8c8d;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.videos-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
  padding: 8rem;
}

.video-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 aspect ratio */
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-info {
  padding: 20px;
}

.video-info h3 {
  font-size: 1.4rem;
  font-weight: 500;
  color: #2c3e50;
  margin-bottom: 5px;
}

.video-info .candidate-class {
  color: #7f8c8d;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.divider {
  height: 1px;
  background: #ecf0f1;
  margin: 15px 0;
}

.video-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.vote-indicator {
  display: flex;
  align-items: center;
  color: #7f8c8d;
  font-size: 0.9rem;
}

.vote-indicator i {
  margin-right: 5px;
  color: #e74c3c;
}

.watch-btn {
  background: transparent;
  border: 1px solid #3498db;
  color: #3498db;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.watch-btn:hover {
  background: #3498db;
  color: white;
}

.footer {
  text-align: center;
  margin-top: 50px;
  padding: 20px;
  color: #95a5a6;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .videos-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .header h1 {
    font-size: 2rem;
  }

  .header p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  body {
    padding: 15px;
  }

  .videos-container {
    grid-template-columns: 1fr;
  }

  .header h1 {
    font-size: 1.8rem;
  }

  .video-info {
    padding: 15px;
  }
}

.us {
  padding-top: 120px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}

.us h2 {
  text-align: center;
  color: var(--color-four);
}

.us p {
  text-align: justify;
  color: rgb(56, 56, 56);
}

.us .figure-1 {
  position: absolute;
  top: 2%;
  right: -1%;
  z-index: -1;
  width: 45%;
}

.us .img-us,
.container-us-two .img-missing,
.container-us-two .img-view {
  width: 90%;
  z-index: 1;
}

.container-us-two .figure-2 {
  position: absolute;
  top: -12%;
  z-index: -1;
  left: -15%;
  width: 65%;
}

.container-us-two .figure-3 {
  position: absolute;
  top: -12%;
  z-index: -1;
  right: -15%;
  width: 65%;
}

.us .container-us-two {
  margin-top: 150px;
  position: relative;
}

.us .container-us-two h3 {
  font-size: calc(1.8rem + .9vw);
  text-align: center;
  color: #434343;
}

.us .container-us-two p {
  color: rgb(56, 56, 56);
}

@media screen and (max-width:995px) {

  .us {
    padding-top: 0px;
    padding-bottom: 0px;
  }

  .us .img-us {
    width: 50%;
  }

  .container-us-two .col-tel-1 {
    order: 1;
  }

  .container-us-two .img-missing,
  .container-us-two .img-view {
    display: none;
  }

  .us .figure-1,
  .container-us-two .figure-2,
  .container-us-two .figure-3 {
    display: none;
  }

  .us .container-us-two {
    margin-top: 50px;
  }
}


/* Estilos Generales de la Sección */

.gallery h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.gallery p {
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-align: center;
  color: #555;
  line-height: 1.6;
  font-size: 1.1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.gallery .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}


.container-gallery-img {
  position: relative;
  width: 270px;
  height: 270px;
  padding-top: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
  border: 3px solid var(--color-secundary);
}

/* Contenedor del Video */
.container-gallery-video {
  position: relative;
  width: 270px;
  height: 270px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #000;
  border: 3px solid var(--color-secundary);
}

/* Imagen Dentro del Contenedor */
.container-gallery-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.btn-filter {
  position: relative;
}


.new-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #e74c3c;
  color: white;
  border-radius: 10px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: bold;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

/* Estilos para el Botón "Ver más" */


.btn-more:hover {
  background-color: #0056b3;
  /* Color de fondo al hacer hover */
  transform: translateY(-2px);
  /* Efecto de elevación */
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
  /* Sombra más pronunciada al hacer hover */
}

.btn-more:active {
  background-color: #004494;
  /* Color de fondo al hacer clic */
  transform: translateY(0);
  /* Resetear transformación */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* Resetear sombra */
}


/* Iframe Dentro del Contenedor del Video */
.container-gallery-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  transition: transform 0.4s ease;
}


.container-gallery-img::after,
.container-gallery-vid::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}


.container-gallery-img::before,
.container-gallery-vid::before {
  content: '\f002';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 2rem;
  color: #fff;
  transition: transform 0.3s ease;
}


.container-gallery-img:hover::after,
.container-gallery-vid:hover::after {
  opacity: 1;
}

.container-gallery-img:hover::before,
.container-gallery-vid:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.container-gallery-img:hover img,
.container-gallery-vid:hover iframe {
  transform: scale(1.1);
}

/* Estilos para Enlaces */
.gallery a {
  text-decoration: none;
  color: inherit;
}


.section-gallery-personalizada .custom-gallery-img-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 3px solid var(--color-secundary);
}

.section-gallery-personalizada .custom-gallery-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
  border-radius: 12px;
}

.section-gallery-personalizada .custom-gallery-img-container:hover img {
  transform: scale(1.05);
}

.section-gallery-personalizada .custom-gallery-button {
  background-color: var(--color-primary);
  color: white;
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  height: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
  border: 3px solid var(--color-secundary);
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.section-gallery-personalizada .custom-gallery-button:hover {
  background-color: var(--color-secundary);
}

.section-gallery-personalizada .custom-gallery-button i {
  font-size: 40px;
  color: #fff;
}

.section-gallery-personalizada .custom-gallery-button a {
  text-decoration: none;
  font-size: 25px;
  color: #fff;
}

@media screen and (min-width:300px) and (max-width: 768px) {
  .section-my {
    padding: 40px 10px;
  }

  .gallery h2 {
    font-size: 1.8rem;
  }

  .gallery p {
    font-size: 0.95rem;
  }

  .btn-more {
    padding: 8px 20px;
    font-size: 0.95rem;
  }



}


@media screen and (min-width:768px) and (max-width: 995px) {
  .gallery-container {
    text-align: center;
    align-items: center;

  }

  .container-gallery-img {
    position: relative;
    width: 320px;
    height: 320px;
    align-items: center;
    left: 1%;

  }

  .container-gallery-video {
    position: relative;
    width: 320px;
    height: 320px;
    align-items: center;
    left: 1%;

  }

}

/* Estilos para Videos para mantener la proporción y el diseño */
.container-gallery-vid iframe {
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}


.contact h2 {
  text-align: center;
  color: var(--color-four);
}

.contact .container-contact {
  position: relative;
  background-color: var(--color-secundary);
  margin-top: 60px;
  padding: 80px;
  border-radius: 50px;
}

.contact .container-contact img {
  position: absolute;
  top: -40px;
  left: -20px;
  width: 52.5%;
}

.contact .container-contact h3,
.contact .container-contact p {
  color: rgb(46, 46, 46);
}

.contact .container-contact i {
  background-color: var(--color-secundary);
  font-size: calc(0.4rem + .9vw);
  padding: 10px;
  border-radius: 5px;
}

@media screen and (max-width:995px) {

  .contact .container-contact {
    padding: 60px;
  }

  .contact .container-contact img {
    position: relative;
    width: 40%;
    top: 0px;
    left: 0px;
    margin-bottom: 20px;
  }

  .contact .container-contact .text-contact {
    text-align: center;
  }

  .contact .container-contact i {
    padding: 5px;
  }

}

footer {
  background-image: url(../assets/footer/bg-footer.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px;
  padding-top: 260px;
  padding-bottom: 100px;
}

footer p,
footer i,
footer ul li {
  font-size: calc(0.7rem + .9vw);
  color: white;
}

footer img {
  width: 40%;
  height: auto;
}

footer .figure-6 {
  margin-top: 20px;
  width: calc(80% + .9vw);
  border-radius: 10px;
  margin: auto;
  height: 30px;
  background-color: white;
}

footer ul {
  list-style: none;
  padding-left: 0;
}

footer ul li a {
  color: white;
}

footer ul li a:hover {
  color: white;
}

footer .icon-socials {
  text-align: center;
}

footer .icon-socials i {
  margin: 0 10px;
  text-align: center;
}

footer .copyright {
  font-size: 17px;
  text-align: center;
  margin-top: 20px;
  color: white;
  padding: 0;
  margin: 0;
}

@media screen and (max-width:995px) {
  footer {
    padding: 40px;
    padding-top: 280px;
    padding-bottom: 50px;
  }

  footer img {
    width: 30%;
  }

  footer .figure-6 {
    margin-top: 10px;
    width: 60%;
    height: 15px;
  }
}

.buttons-side {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.buttons-side-show {
  opacity: 1;
  position: fixed;
  bottom: 20%;
  right: 2.5%;
}

.buttons-side-hide {
  opacity: 0;
  transition: all .2s ease-in-out;
}

.buttons-side .button-top {
  background-color: var(--color-primary);
  text-align: center;
  width: 100%;
  margin-bottom: 2px;
  padding: 8px 8px;
  border-radius: 5px;
}

.buttons-side .button-top i {
  font-size: 30px;
  color: white;
}

.buttons-side .button-aule img {
  width: 50px;
  height: auto;
}

.content-hidden {
  overflow: hidden;
  transition: height 0.3s ease-out;
  height: 0;
}

.content-show {
  height: auto;
}

.swal-button {
  background-color: var(--color-primary);
}

.swal-button:active {
  background-color: var(--color-secundary);
}

.swal-button:focus {
  box-shadow: none;
}

.swal-button:not([disabled]):hover {
  background-color: var(--color-secundary);
}

.fc-event-main {
  cursor: pointer;
}



.embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.embed-responsive::before {
  content: "";
  display: block;
  padding-top: 56.25%;
  /* 16:9 ratio */
}

.embed-responsive-16by9 {
  padding-top: 56.25%;
}

.embed-responsive-item {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;


}


.link-box {
  position: absolute;
  top: 62%;
  left: 24%;
  width: 30%;
  height: 10%;
  z-index: 10;
}

.link-box a {
  display: block;
  width: 100%;
  height: 100%;
}

/*BOTONES LATERALES AJUSTES*/
.buttons-side {
  position: fixed;
  right: 20px;
  top: 80%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.buttons-side a {
  text-decoration: none;
}

.button-top,
.button-aule {
  display: flex;
  justify-content: center;
  align-items: center;
}

.button-top i {
  font-size: 2rem;
  color: #333;
}

.icon-aule {
  width: 100px;
  height: 100px;
  transition: width 0.3s, height 0.3s;
}

@media (max-width: 992px) {
  .buttons-side {
    bottom: 10px;
    right: 10px;
    gap: 15px;
  }

  .button-top i {
    font-size: 1.8rem;
  }

  .icon-aule {
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 768px) {
  .buttons-side {
    right: 10px;
    top: auto;
    bottom: 20px;
    transform: translateY(0);
    flex-direction: row;
    gap: 10px;
  }

  .button-top i {
    font-size: 1.5rem;
  }

  .icon-aule {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 480px) {
  .buttons-side {
    flex-direction: column;
    right: 1.2cm;
    bottom: 3cm;
    gap: 8px;

  }

  .button-top i {
    font-size: 1.2rem;
  }

  .icon-aule {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 360px) {
  .buttons-side {
    flex-direction: column;
    right: 1.2cm;
    bottom: 3cm;
    gap: 8px;

  }

  .button-top i {
    font-size: 1.2rem;
  }

  .icon-aule {
    width: 50px;
    height: 50px;
  }
}

/*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: #000;
  background-color: rgba(13, 110, 253, 0.1);
  border-bottom: 3px solid var(--color-four);
}

.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 {
  color: #fff;
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
}


.book-section .btn.btn-books {
  background-color: var(--color-three);
  color: #000;
  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-four);
  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;
  }
}


/* modal */
.modal-dialog {
  max-width: 450px;
  margin: auto;
}

.modal-content {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: 100%;
}

.modal-body img {
  border-radius: 10px;
  width: 100%;
  height: auto;
}

.custom-close {
  position: absolute;
  top: 5%;
  right: 10%;
  background-color: var(--color-primary);
  border: none;
  color: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.custom-close i {
  font-size: 1rem;
}

@media (max-width: 576px) {
  .modal-dialog {
    max-width: 90%;
    margin: 0 auto;
  }

  .custom-close {
    width: 25px;
    height: 25px;
    font-size: 0.85rem;
  }
}

@media (min-width: 1440px) {
  .modal-dialog {
    max-width: 600px;
  }
}