* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
}

body {
  overflow-x: hidden !important;
}

:root {
  --color-primary: #027F03;
  --color-secundary: #737373;
  --color-three: #FAB301;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

h1,
h2,
h3,
h4,
h5,
h6,
span,
label {
  font-family: 'Montserrat', sans-serif;
}

p {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
}

.btn {
  font-weight: 500;
  font-size: calc(0.4rem + 1vw);
  padding: 5px;
  border-radius: 3px;
}

h1 {
  font-size: calc(1.2rem + 1.5vw);
  font-weight: 600;
}

h2 {
  font-size: calc(1rem + 1.5vw);
  font-weight: 600;
}

h3,
h4 {
  font-size: calc(0.9rem + 1.5vw);
  font-weight: 600;
}

h5 {
  font-size: calc(0.8rem + 1.5vw);
}

p,
a {
  font-size: 18px;
  color: black;
}

.section-my {
  margin: 100px 0;
}

.col-phone {
  display: block;
}

a {
  text-decoration: none;
}

a:hover {
  color: black;
}

img,
.img-fluid {
  max-width: 100%;
  height: auto;
}

@media screen and (max-width:991px) {

  p,
  .btn {
    font-size: calc(0.8rem + 1vw);
  }

  .section-my {
    margin: 40px 0px;
  }

  .col-phone {
    display: none;
  }

}

.navbar {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #0e6e55;
}

.navbar .container-shield {
  background-color: var(--color-secundary);
}

.navbar .nav-item {
  padding: 0 5px;
}

.navbar .nav-item .nav-link {
  color: rgb(255, 255, 255);
  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: 5px;
  cursor: pointer;
}

.navbar .nav-item.nav-item-aule a {
  color: rgb(255, 255, 255);
  font-weight: 600;
}

.dropdown-menu[data-bs-popper] {
  margin-top: 5%;
}

.dropdown-menu {
  background-color: var(--color-secundary);
  border-radius: 0;
  padding: 0 !important;
}

.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;
  color: white;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.offcanvas-body .nav-item .nav-link {
  text-align: center;
}

@media screen and (max-width:991px) {

  .navbar .nav-item {
    padding: 5px 0;
  }

  .navbar .nav-item .nav-link {
    color: rgb(255, 255, 255);
  }

  .navbar .nav-item.nav-item-aule {
    background-color: var(--color-primary);
  }

  .navbar .nav-item.nav-item-aule a {
    color: rgb(0, 0, 0);
  }

  .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 .5s;
  }

}


.slider {
  position: relative;
  height: 100vh;
  width: 100%;
  background-image: url(../assets/slider/PORTADA7.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider2 {
  position: relative;
  height: 60vh;
  width: 100%;
  background-image: url(../assets/slider/colsocri-boletin-informativo.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider2 .btn {
  background-color: var(--color-three);
  color: white;
  padding: 25px 40px;
  position: relative;
  font-size: 26px;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  top: 50%;
  left: 50%;
  margin-top: 20%;
}



.slider .btn {
  background-color: var(--color-three);
  color: white;
  padding: 25px 40px;
  position: relative;
  font-size: 26px;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  top: 90%;
  right: 40%;
}

.slider .btn:hover {
  background-color: var(--color-secondary);
  color: var(--color-three);
  transform: scale(1.1);
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.4);
}

.slider .btn:active {
  transform: scale(0.98);
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
}


.slider .container-slider {
  padding: 50px;
  height: 100%;
  z-index: 1;
  text-align: center;
}

.slider .container-slider h1,
.slider .container-slider h2 {
  color: white;
}

.slider .container-slider h2 {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.slider .container-slider .btn.btn-slider {
  background-color: var(--color-three);
  color: white;
  transition: transform 0.3s ease;
}

.slider .container-slider .btn.btn-slider:hover {
  transform: scale(1.1);
}


@media screen and (min-width: 1000px) and (max-width: 1150px) {

  .slider {
    width: 100%;
    height: 38vh;
    padding: 10px;
  }

  .icon-slider {
    width: 30px;
    height: auto;
  }

  .slider .container-slider {
    padding: 20px;
  }

  .slider .container-slider h1 {
    font-size: 28px;
  }

  .slider .container-slider h2 {
    font-size: 22px;
  }

  .slider .container-slider .btn.btn-slider {
    padding: 8px 16px;
  }
}


@media screen and (min-width: 1150px) and (max-width: 1399px) {

  .slider .sidebar {
    width: 100px;
    padding: 15px;
  }

  .slider .btn {
    top: 70%;
    right: 33%;
  }


}


@media screen and (min-width: 1400px) {
  .slider {
    width: 100%;
    height: 83vh;
  }



  .slider .container-slider h1 {
    font-size: 36px;
  }

  .slider .btn {
    top: 70%;
    right: 30%;
  }

  .slider .container-slider .btn.btn-slider {
    padding: 12px 24px;
  }
}

@media screen and (min-width: 1600px) {
  .slider {
    width: 100%;
    height: 95vh;
  }

  .slider .btn {
    right: 40%;
  }
}


@media screen and (max-width: 991px) {

  .slider {
    height: 38vh;
  }

  .slider .btn {
    font-size: 20px;
    top: 75%;
  }

  .slider2 {
    height: 25vh;
  }

  .slider2 .btn {
    font-size: 20px;
    top: 75%;
  }
}

/* Estilos para pantallas móviles */
@media screen and (max-width: 576px) {
  .slider {
    height: 24vh;
    padding: 15px;
    background-position: 8% 0;
  }


  .slider .btn {
    font-size: 14px;
    padding: 8px 15px;
    top: 80%;
    right: 30%;
  }

  .slider2 {
    height: 22vh;
    padding: 15px;
    background-position: 8% 0;
  }


  .slider2 .btn {
    font-size: 14px;
    padding: 8px 15px;
    top: 80%;
    right: 30%;
  }


}

@media screen and (max-width: 400px) {
  .slider .container-slider h1 {
    font-size: 20px;
  }

  .slider .container-slider h2 {
    font-size: 16px;
  }

  .slider .container-slider .btn.btn-slider {
    font-size: 12px;
    padding: 6px 10px;
  }
}



.us.section-my {
  margin-top: 0;
  position: relative;
  top: -25px;
}

.us .container .us-major {
  background-color: var(--color-primary);
  padding: 50px;
  border-radius: 10px 0 0 10px;
}

.us .container .us-bg {
  background-image: url(../assets/us/us.webp);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 0 10px 10px 0px;
}

.us h2,
.us p {
  color: rgb(255, 255, 255);
}

.us p {
  padding: 30px 0;
  text-align: justify;
}


.btn.btn-us {
  background-color: var(--color-secundary);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.btn.btn-us:hover {
  background-color: var(--color-three);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.btn.btn-us:active {
  transform: translateY(1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.us article:nth-child(2) {
  margin-top: 90px;
}

.us article:nth-child(2) div div:nth-child(1),
.us article:nth-child(2) div div:nth-child(2) {
  padding: 30px;
}

.us article:nth-child(2) div div:nth-child(1) {
  border-right: 2px solid black;
}

.us h3 {
  text-align: center;
  color: var(--color-secundary);
}

.us article:nth-child(2) p {
  color: black;
}

@media screen and (max-width:991px) {

  .us article:nth-child(2) div div:nth-child(1) {
    border-right: none;
  }
}

.events h2 {
  font-weight: 700;
  color: var(--color-secundary);
}

.events article div {
  padding: 40px;
}

.events img {
  margin-bottom: 30px;
}

.events h3 {
  font-size: 20px;
  color: var(--color-secundary);
  font-weight: 800;
  margin: 0;
}

.events p {
  font-size: 16px;
}

.events .btn.btn-events {
  margin-top: 30px;
  background-color: var(--color-three);
  border-radius: 0;
  color: white;
}

@media screen and (max-width:991px) {
  .events article div {
    padding: 20px;
  }
}


.gallery-container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  text-align: center;
}

.filter-buttons {
  margin-bottom: 20px;
}




.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  overflow: hidden;
}


.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.filter-buttons button {
  background-color: #333;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  margin-right: 5px;
  border-radius: 0 10px;
  transition: background-color 0.3s;

}

.filter-buttons button.active {
  background-color: var(--color-primary);
}

.filter-buttons button:hover {
  background-color: #555;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.gallery-item {
  display: none;
  transition: transform 0.3s, opacity 0.5s ease;
}

.gallery-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transform: scale(1);
  transition: transform .3s;
}

.gallery-item img:hover {
  transition: transform .3s;
  transform: scale(1.03);
}


.gallery-item.show {
  display: block;
  animation: fadeIn 0.5s ease;
}

.gallery-video {
  width: 100%;
  height: 350px;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-item .container-see-more:hover {
  transition: transform .3s;
  transform: scale(1.03);
}

.container-see-more {
  background-color: var(--color-secundary);
  height: 100%;
  height: 350px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center
}

.container-see-more i {
  font-size: 30px;
  color: #fff;
}

.container-see-more a {
  text-decoration: none;
  font-size: 25px;
  color: #fff;
}

@media screen and (max-width: 995px) {
  .filter-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .filter-buttons button {
    width: 100%;
    margin-bottom: 10px;
  }
}


@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


.news h2 {
  font-weight: 700;
  color: var(--color-secundary);
}

.news h3,
.news p {
  color: white;
  text-align: center;
}

.news img {
  max-width: 100%;
  width: 70%;
  display: block;
  margin: auto;
  height: auto;
}

.news ul {
  list-style: none;
}

.news ul li {
  color: white;
}

.news article div div:nth-child(1) .container-card-news {
  background-color: var(--color-primary);
  border-radius: 10px;
}

.news article div div:nth-child(2) .container-card-news {
  background-color: var(--color-three);
  border-radius: 10px;

}

.news article div div:nth-child(3) .container-card-news {
  background-color: var(--color-secundary);
  border-radius: 10px;

  height: 100%;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news .container-card-news {
  padding: 20px;
  height: 100%;
}



.calendar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.calendar h1 {
  font-size: 40px;
  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 {
  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;
  }
}


.contact h2 {
  color: rgb(255, 255, 255);
}

.contact p {
  line-height: 50px;
  font-weight: 500;
  color: rgb(255, 255, 255);
}

.contact p i {
  margin-right: 10px;
  padding: 8px;
  background-color: var(--color-secundary);
  border-radius: 5px;
  width: 8.8%;
  color: white;
  text-align: center;
}

.contact .contact-major {
  background-color: var(--color-primary);
  padding: 50px;
  border-radius: 12px 0 0 12px;

}

.contact .contact-bg {
  background-image: url(../assets/contact/contact.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 0 12px 12px 0px;
}

@media screen and (max-width:567px) {
  .contact p i {
    width: 10%;
  }
}

.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;
}

/*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-three);
}

.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-three);
  color: #fff;
  font-size: 18px;
  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-secundary);
  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;
  }
}



.footer {
  background-color: var(--color-primary);
  color: #ffffff;
}



.footer .contact-info,
.footer .address {
  margin-top: 10px;
}


.rectangle-footer {
  display: block;
  /* Asegura que se comporte como un bloque */
  width: 100%;
  background-color: var(--color-three);
  border-radius: 50px;
  height: 35px;
  margin-bottom: 30px;
}


.footer .logo-text {
  margin: 5px 0;
  color: white;
  font-weight: 800;
}

.list-inline-item:not(:last-child)::after {
  content: "|";
  margin-left: 10px;
  color: #ffffff;
}

@media (max-width: 768px) {
  .footer .social-icons {
    margin-bottom: 15px;
  }

  .footer .contact-info,
  .footer .address {
    margin-top: 15px;
  }
}

.shortcut {
  right: 1%;
  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;
}


.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;
}


.gallery-item .container-see-more:hover {
  transition: transform .3s;
  transform: scale(1.03);
}

.container-see-more {
  background-color: var(--color-secundary);
  height: 100%;
  height: 350px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center
}

.container-see-more i {
  font-size: 30px;
  color: #fff;
}

.container-see-more a {
  text-decoration: none;
  font-size: 25px;
  color: #fff;
}