/* Estilos base */
body {
  padding-top: 45px;
  margin: 0;
  box-sizing: border-box;
  font-family: "DM Sans", serif;
  overflow-x: hidden;
}

/* Contenedor de la navbar */
#navbar-container {
  margin-bottom: 15px;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 15px;
  background: rgba(188, 226, 252, 0.836);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: background-color 0.5s ease-in-out, padding 0.5s ease-in-out;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 10px 10px;
}

.navbar.scrolled {
  background: rgba(146, 207, 248, 0.8);
  padding: 10px;
}

.navbar.scrolled .menu a {
  color: white !important;
}

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
  margin-left: 10px;
  flex: 1;
}

.logo img {
  width: 150px;
  height: auto;
}

/* Estilos del menú */
.menu {
  display: flex;
  gap: 20px;
}

.navbar .menu a {
  color: #141313;
  padding: 0.8rem 1rem;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
  text-align: center;
}

.navbar .menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ffcccb;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

.navbar .menu a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Botón hamburguesa */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  padding: 10px;
}

/* Menú hamburguesa (oculto por defecto en móviles) */

/* Carousel styles */
.carousel {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  background-color: #eaeaea;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
  position: relative;
}

.slide img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.phrase {
  position: absolute;
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 8px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  transition: opacity 0.5s ease-in-out;
}

.left {
  left: 5px;
  bottom: 10px;
}

.right {
  right: 5px;
  bottom: 10px;
}

.top {
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  border: none;
  padding: 8px;
  cursor: pointer;
  border-radius: 50%;
}

.prev {
  left: 5px;
}

.next {
  right: 5px;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 15px;
  border: 1px solid #888;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-body-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-text {
  margin-bottom: 15px;
  width: 100%;
}

.modal-image img {
  max-width: 100%;
  border-radius: 8px;
}

/* Card styles */
.contenedor {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  padding: 0 15px;
}

.cardBanner {
  background-color: white;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 300px;
}

.cardBanner .icono {
  font-size: 36px;
  color: #07a4ffad;
  margin-bottom: 8px;
}

.cardBanner h3 {
  font-size: 18px;
  margin: 8px 0;
  color: #333;
}

.cardBanner p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.cardBanner button {
  background-color: #338ef7;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Misión y Visión styles */
.mision-vision {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 90%;
  margin: 40px auto 0;
}

.mision, .vision {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.mision img, .vision img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
}

.texto {
  width: 100%;
}

h2 {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 8px;
  text-align: center;
}

h3 {
  font-size: 1.2em;
  color: #2E7DF7;
  margin-bottom: 8px;
}

p {
  font-size: 1em;
  line-height: 1.5;
}

.two-mision-vision {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  margin: 20px 15px;
}

.seccion-mision, .seccion-vision {
  background-color: white;
  border-radius: 10px;
  padding: 15px;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Sección actividades */
.seccion-actividades {
  background-color: #ffffff;
  padding: 30px 15px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin: 20px 15px;
  text-align: center;
}

.seccion-actividades h2 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 20px;
}

.seccion-actividades-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

/* Calendar styles */
.contenedorCalen {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 15px;
}

#calendar {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  padding: 15px;
  width: 100%;
  max-width: 350px;
  margin-bottom: 20px;
}

.navigation-buttons {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 10px;
}

button {
  background-color: #a062ec;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 0 5px;
  font-size: 14px;
}

#monthYear {
  font-size: 18px;
  font-weight: bold;
  color: #000000;
  text-align: center;
  flex: 1;
}

#weekdays {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 10px;
}

.weekday {
  font-weight: bold;
  color: #352d3f;
  text-align: center;
  flex: 1;
  font-size: 12px;
}

#dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-top: 10px;
  width: 100%;
}

.date {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #cececea9;
  border-radius: 5px;
  color: #161616;
  transition: background-color 0.3s ease;
  font-size: 12px;
}

/* Testimonios */
.testimonios {
  padding: 30px 15px;
  background-color: #f9f9f9;
  text-align: center;
}

.testimonios h2 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 20px;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

blockquote {
  background-color: #fff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

blockquote p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555;
  margin-bottom: 12px;
}

blockquote cite {
  display: block;
  font-size: 0.8rem;
  color: #777;
  font-style: italic;
  text-align: right;
}
/* ----------------------------------------------------------------- */
/* informacion */
/* Estilos generales */
body {
  font-family: 'DM Sans', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
  color: #333;
}

/* Contenedor principal */
main {
  width: 90%;
  max-width: 1200px;
  margin: 100px auto auto auto;
  padding: 10px 0;
}
#bienvenida {
  background-color: #f8f9fa;
  padding: 60px;
  text-align: center;
  margin-top: 30px;
}

.contenedor-bienvenida {
  max-width: 900px;
  margin: auto;
}

#bienvenida h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

#bienvenida p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
  max-width: 800px;
  margin: auto;
}


/* Sección de noticias */
.seccion-noticias {
  margin-top: 40px;
}

.seccion-noticias h2 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Grid de noticias */
.noticias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* Tarjeta de noticia */
.noticia {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease-in-out;
}

.noticia:hover {
  transform: translateY(-5px);
}

.noticia h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.noticia img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.noticia p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.leer-mas {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.leer-mas:hover {
  text-decoration: underline;
}


/* Sección noticias */
.seccion-noticias {
  margin-bottom: 20px;
}

.seccion-noticias h2 {
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 1.8rem;
}

.noticias-grid {
  margin: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.noticia {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 15px;
  transition: transform 0.3s ease;
}

/* Footer */
footer {
  background-color: #e2e2e2;
  color: rgb(73, 72, 72);
  text-align: center;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 60px;
}

.contact-info, .social-media {
  margin: 10px 0;
}

.social-media a {
  color: rgb(92, 91, 91);
  text-decoration: none;
  margin: 0 8px;
  font-weight: bold;
}

footer ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 0;
}

@media (max-width: 768px) {
 
}

/* Tablet Media Queries */
@media (min-width: 768px) {
  body {
    padding-top: 70px;
  }
  
  .navbar {
    padding: 12px 20px;
  }
  
  .logo-container {
    margin-left: 20px;
  }
  
  .logo img {
    width: 200px;
  }
  
  .hamburger {
    display: none;
  }
  
  .menu {
    display: flex;
    flex-direction: row;
    position: static;
    width: auto;
    background: transparent;
    box-shadow: none;
    gap: 1rem;
    margin-right: 20px;
  }
  
  .slide img {
    height: 400px;
  }
  
  .phrase {
    font-size: 20px;
  }
  
  .carousel {
    margin-top: 80px;
  }
  
  .contenedor {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .mision, .vision {
    flex-direction: row;
  }
  
  .mision img, .vision img {
    width: 45%;
  }
  
  .texto {
    width: 50%;
  }
  
  .two-mision-vision {
    flex-direction: row;
    justify-content: space-around;
    margin: 30px 20px;
  }
  
  .seccion-mision, .seccion-vision {
    width: 45%;
    padding: 20px;
  }
  
  .seccion-actividades {
    padding: 2rem;
    background-color: #f8f9fa;
  }
  
  .seccion-actividades h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
  }
  
  .seccion-actividades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .instagram-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
  }
  
  .instagram-card:hover {
    transform: translateY(-5px);
  }
  
  .instagram-media {
    margin: 0 !important;
    min-width: 100% !important;
    width: 100% !important;
    border-radius: 10px !important;
  }
  
  @media (max-width: 768px) {
      .seccion-actividades-grid {
          grid-template-columns: 1fr;
      }
      
      .instagram-card {
          margin: 0 auto;
          max-width: 500px;
      }
  }
}

/* Desktop Media Queries */
@media (min-width: 1024px) {
  body {
    padding-top: 80px;
  }
  
  .navbar {
    padding: 15px 30px;
  }
  
  .logo-container {
    margin-left: 40px;
  }
  
  .logo img {
    width: 250px;
  }
  
  .menu {
    gap: 1.5rem;
    margin-right: 40px;
  }
  
  .slide img {
    height: 600px;
  }
  
  .phrase {
    font-size: 24px;
    padding: 10px;
  }
  
  .carousel {
    margin-top: 100px;
    margin-bottom: 30px;
  }
  
  h2 {
    font-size: 2em;
  }
  
  p {
    font-size: 1.1em;
    line-height: 1.6;
  }
  
  .contenedor {
    gap: 20px;
  }
  
  .card {
    padding: 20px;
  }
  
  .card .icono {
    font-size: 48px;
  }
  
  .mision-vision {
    gap: 50px;
    max-width: 1200px;
  }
  
  .mision img, .vision img {
    max-height: 350px;
  }
  
  .two-mision-vision {
    justify-content: space-evenly;
    margin: 40px 30px;
  }
  
  .seccion-mision, .seccion-vision {
    max-width: 600px;
  }
  
  .seccion-actividades {
    padding: 40px;
    margin: 40px 30px;
  }
  
  .seccion-actividades-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .seccion-actividades h2 {
    font-size: 2rem;
  }
  
  .contenedorCalen {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
  }
  
  #calendar {
    padding: 20px;
    margin: 0 10px;
  }
  
  .date {
    width: 50px;
    height: 50px;
    font-size: 14px;
  }
  
  .weekday {
    font-size: 14px;
  }
  
  #monthYear {
    font-size: 24px;
  }
  
  button {
    padding: 10px 15px;
    font-size: 16px;
  }
  
  .testimonios {
    padding: 50px 30px;
  }
  
  .testimonios h2 {
    font-size: 2rem;
  }
  
  .testimonios-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  blockquote p {
    font-size: 1rem;
  }
  
  .noticias-grid {
    margin: 3rem;
    gap: 3rem;
  }
  
  .seccion-noticias h2 {
    font-size: 2rem;
  }
  
  footer {
    padding: 30px;
    margin-top: 80px;
  }
}

/* Large Screen Media Queries */
@media (min-width: 1440px) {
  .navbar {
    padding: 15px 50px;
  }
  
  .logo-container {
    margin-left: 60px;
  }
  
  .menu {
    margin-right: 60px;
  }
  
  .slide img {
    height: 700px;
  }
  
  .contenedor {
    gap: 30px;
  }
  
  .mision-vision {
    max-width: 1400px;
  }
  
  .seccion-mision, .seccion-vision {
    max-width: 700px;
  }
  
  .seccion-actividades-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }
  
  .testimonios-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }
  
}

/* Estilos para el menú hamburguesa */
.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger img {
  width: 30px;
  height: auto;
}

@media (max-width: 768px) {
  .hamburger {
    display: block; /* Mostrar en móviles */
  }

  .menu {
    display: none; /* Ocultar menú por defecto */
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(188, 226, 252, 0.95);
    padding: 10px 0;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  }

  .menu.active {
    display: flex; /* Mostrar cuando esté activo */
  }

  .menu a {
    padding: 10px;
    text-align: center;
    display: block;
    font-size: 18px;
  }
}
