body {
  margin: 0;
  padding-top: 164px;
}
/* Estilos generales del menú */
#header {
  position: fixed;
  top: 0px;
  width: 100%;
  background-color: rgba(214, 211, 211, 0.939);
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between; 
  padding: 0 110px; 
}

.logo {
  height: 160px; 
  width: auto; 
}
.nav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-grow: 1;
}
.nav > li {
  position: relative;
}

.nav > li > a {
  display: block;
  padding: 25px 20px; /* Separadores entre menús */
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
}

.nav > li > a:hover {
  background-color: #0066cc;
  color: rgb(19, 211, 19);
}

.nav > li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0px;
  background-color: #004080;
  padding: 0;
  margin: 0;
  list-style: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav > li:hover > ul {
  display: block;
}

.nav > li ul li {
  position: relative;
}

.nav > li ul li a {
  display: block;
  padding: 10px;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid #0066cc;
}

.nav > li ul li a:hover {
  background-color: rgb(15, 150, 15);
  color: white;
}

/* Submenús anidados */
.nav > li ul li ul {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 1px;
}

.nav > li ul li:hover > ul {
  display: block;
}

/* Ajustes para dispositivos móviles */
@media (max-width: 768px) {
  #header {
    position: relative;
    flex-direction: column; /* Cambia la dirección de los elementos */
    align-items: center; /* Centra el logo */
  }

  .logo {
    margin-bottom: 10px; /* Espacio entre el logo y el menú */
    height: 180px; /* Ajusta la altura del logo para móviles */
  }

  .nav {
    flex-direction: column;
    display: none; /* Oculta el menú por defecto en móviles */
    width: 100%; /* Asegura que el menú ocupe todo el ancho */
  }

  .nav.show {
    display: flex;
  }

  .nav > li {
    width: 100%;
  }

  .nav > li > a {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #0066cc;
  }

  .nav > li ul {
    position: relative;
    top: 0;
    left: 0;
  }

  .nav > li ul li ul {
    position: relative;
    top: 0;
    left: 0;
    margin-left: 20px;
  }

  .menu-toggle {
    display: block;
    padding: 15px;
    background-color: #004080;
    color: white;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
  }
}
.menu-toggle {
  display: none;
}

/* Ajustes generales del carrusel */
.carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 768px) {
  .carousel-item img {
    height: 200px;
  }
}

@media (min-width: 769px) {
  .carousel-item img {
    height: 900px; 
  }
}
/*home rifa */
/* Estilos generales de la sección */
.MegaRifa-section {
  background: linear-gradient(to right, #f0f4f8, #406ea4);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 1000px;
  margin: 0 auto;
}

/* Título centrado */
.MegaRifa-title {
  text-align: center;
  color: #004080;
  font-size: 28px;
  margin-bottom: 20px;
}

/* Contenedor general que incluye descripción e imagen */
.MegaRifa-content {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

/* Descripción alineada a la izquierda */
.description-box {
  width: 60%;
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

.description-box p {
  margin: 0;
}

/* Imagen alineada a la derecha */
.small-image-container {
  width: 35%;
  text-align: right;
}

.small-image {
  width: 100%;
  border-radius: 10px;
}

/* Estilo del botón centrado */
.custom-button-container {
  text-align: center;
}

.custom-button {
  background-color: #d3d1d1;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.custom-button img {
  width: 48px;
  height: 48px;
  margin-right: 8px;
}

.custom-button a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.custom-button a:hover {
  text-decoration: underline;
}

/* Estilos responsivos para pantallas pequeñas */
@media (max-width: 768px) {
  .MegaRifa-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .description-box {
    width: 100%;
    text-align: center;
  }

  .small-image-container {
    width: 100%;
    text-align: center;
    margin-top: 15px;
  }

  .small-image {
    width: 80%;
  }

  .custom-button-container {
    margin-top: 20px;
  }

  .custom-button img {
    width: 36px;
    height: 36px;
  }

  .custom-button a {
    font-size: 14px;
  }
}





























/* Estilos servicios */
.card {
  position: relative;
  width: 250px;
  height: 280px;
  color: #2e2d31;
  background: #131313;
  overflow: hidden;
  border-radius: 20px;
}

.temporary_text {
  font-weight: bold;
  font-size: 16px;
  padding: 6px 16px;
  color: #f8f8f8;
}

.card_title {
  font-weight: bold;
}

.card_content {
  position: absolute;
  left: 0;
  bottom: 0;
  /* edit the width to fit card */
  width: 100%;
  padding: 20px;
  background: #f2f2f2;
  border-top-left-radius: 20px;
  /* edit here to change the height of the content box */
  transform: translateY(150px);
  transition: transform 0.25s;
}

.card_content::before {
  content: "";
  position: absolute;
  top: -47px;
  right: -45px;
  width: 100px;
  height: 100px;
  transform: rotate(-175deg);
  border-radius: 50%;
  box-shadow: inset 48px 48px #f2f2f2;
}

.card_title {
  color: #131313;
  line-height: 1px;
  text-align: start;
  margin-bottom: 10px;
}

.card_subtitle {
  display: block;
  font-size: 12px;
  margin-bottom: 10px;
}

.card_description {
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.5s;
}

.card:hover .card_content {
  transform: translateY(0);
}

.card:hover .card_description {
  opacity: 1;
  transition-delay: 0.25s;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin: 15px 0;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  cursor: pointer;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.temporary_text {
  background-color: #007bff;
  color: white;
  font-size: 1px;
  text-align: center;
  padding: 40px 0;
  font-weight: bold;
}

.card_content {
  padding: 20px;
}

.card_title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.card_subtitle {
  font-size: 1rem;
  font-weight: normal;
  color: #666;
  margin-bottom: 10px;
}

.card_description {
  font-size: 1rem;
  color: #333;
}

@media (max-width: 768px) {
  .col-lg-3,
  .col-md-6 {
    flex-basis: 70%;
  }
}

/* Estilos para la sección de botones */
.button-section {
  text-align: center;
  margin: 20px 0;
}

.button-section h2 {
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: #004080;
  font-weight: bold;
}

/* Contenedor de los botones */
.button-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Para que los botones se ajusten en pantallas pequeñas */
  gap: 20px; /* Espacio entre los botones */
}

/* Estilo de los botones con imágenes */
.image-button {
  width: 250px;
  height: 120px;
  background-color: #f0f0f0;
  border: 2px solid #004080;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.image-button a {
  color: #004080;
  font-size: 1.2rem;
  text-align: center;
  margin-top: 0px;
  text-decoration: none;
}

/* Ajuste de imagen dentro del botón */
.image-button img {
  width: 90px; /* Tamaño de las imágenes */
  height: 90px;
  object-fit: contain;
}

/* Efecto hover en el botón */
.image-button:hover {
  transform: translateY(-5px);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Efecto de clic en el botón */
.image-button:active {
  transform: scale(0.95);
  box-shadow: none;
}

/* estilos de descripcion movil */
.appcontainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: #f5f5f5;
}

.cardapp {
  background-color: #ffffff;
  border: 2px solid #04aa6d;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 15px 0;
  width: 90%;
  max-width: 600px;
  text-align: center;
}

.cardapp img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
}

.contApp {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Alinea los elementos al inicio */
}

.contApp h2 {
  font-size: 1.8em;
  margin: 10px 0;
  color: #333333;
}

.contApp h2:nth-of-type(2) {
  font-family: "Courier New", Courier, monospace; /* Cambia el tipo de letra */
  font-size: 1.6em;
  text-align: left;
}

.contApp p {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 20px;
}

.btnApp {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #434645;
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 5px;
  width: 100%;
  max-width: 200px;
  transition: background-color 0.3s ease;
}

.btnApp i {
  margin-right: 8px; /* Espacio entre el icono y el texto */
}

.btnApp:hover {
  background-color: #46a049;
}

@media (min-width: 768px) {
  .appcontainer {
    flex-direction: row;
    justify-content: space-around;
  }

  .cardapp {
    width: 45%;
  }
}
/* estilos de cosede*/
.cosed-section {
  padding: 50px 20px;
  background-color: #f2f2f2;
}

.cosed-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.cosed-text {
  width: 50%;
  padding-right: 20px;
}

.cosed-text h2 {
  font-size: 28px;
  color: #004080;
  margin-bottom: 10px;
}

.cosed-text p {
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
}

.cosed-buttons {
  display: flex;
  gap: 15px;
}

.cosed-buttons .btn {
  background-color: #004080;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
}

.cosed-buttons .btn:hover {
  background-color: #003366;
}

.cosed-image {
  width: 50%;
  text-align: right;
}

.cosed-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .cosed-box {
    flex-direction: column;
    text-align: center;
  }

  .cosed-text,
  .cosed-image {
    width: 100%;
    padding: 0;
  }

  .cosed-image {
    text-align: center;
    margin-top: 20px;
  }
}
/* estilos de footer*/
.footer {
  background-color: rgba(214, 211, 211, 0.939);
  color: #fff;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo img {
  max-width: 150px;
  margin-bottom: 20px;
}

.footer-links {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}

.footer-links h3 {
  margin-bottom: 10px;
  font-size: 1.2em;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #066240;
}

.footer-social {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}

.footer-social h3 {
  margin-bottom: 10px;
  font-size: 1.2em;
}

.social-icons a {
  margin-right: 10px;
}

.social-icons img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9em;
  border-top: 1px solid #26b330;
  padding-top: 10px;
}

.footer-bottom p {
  margin: 0;
}
/*  estilos de infromacion de la cooperativa */
.about-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-info {
  flex: 1;
  text-align: center;
  margin-bottom: 20px;
}

.about-info h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #333;
}

.about-info p {
  font-size: 1.2em;
  line-height: 1.6;
  color: #666;
  max-width: 600px;
}
/* Estilos de boton mas infromacion */
.button-small {
  background-color: #28a745;
  color: white; /* Texto en blanco */
  border: none; /* Sin borde */
  padding: 5px 10px; /* Espaciado interno (arriba/abajo y lados) */
  font-size: 12px; /* Tamaño de letra pequeño */
  border-radius: 5px; /* Bordes redondeados */
  cursor: pointer; /* Cambia el cursor al pasar sobre el botón */
  text-transform: uppercase; /* Texto en mayúsculas */
  transition: background-color 0.3s ease; /* Suavizado en el cambio de color */
}

.button-small:hover {
  background-color: #218838; /* Color de fondo más oscuro al pasar el cursor */
}

.button-small:active {
  background-color: #1e7e34; /* Color al hacer clic */
}

.button-small:focus {
  outline: none; /* Sin borde de enfoque */
}
/* Estilos para video youtuve */

.about-video {
  flex: 1;
  width: 100%;
  max-width: 800px; /* Ajusta el tamaño máximo del video */
  margin-top: 20px;
}

.about-video iframe {
  width: 100%;
  height: 450px; /* Aumenta la altura del video para hacerlo más grande */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .about-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .about-info {
    text-align: left;
    margin-bottom: 0;
  }

  .about-video {
    max-width: 800px; /* Asegura que el video ocupe más espacio en pantallas más grandes */
  }
}

.feedback-container {
  text-align: center;
  margin: 10px;
}

.feedback-text {
  font-size: 18px;
  margin-bottom: 15px;
  color: #333;
}

.feedback-button {
  display: inline-block;
  padding: 15px 25px;
  font-size: 16px;
  color: #fff;
  background-color: #007bff;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.3s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.feedback-button:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

.feedback-button i {
  background: url("icono-encuesta.png") no-repeat center center;
  width: 20px;
  height: 24px;
}

.feedback-button:active {
  transform: scale(0.95);
}

/* Servicios no financieros */
.header-text {
  text-align: center;
  margin-bottom: 20px;
}

.header-text h2 {
  font-size: 2rem;
  color: #333;
}
.benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.5); /* Fondo transparente */
  justify-items: center;
  align-items: center;
}

.benefit-item {
  text-align: center;
  padding: 15px;
  background-color: transparent;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
}

.benefit-item img {
  max-width: 80px;
  height: auto;
  margin-bottom: 10px;
}

.benefit-item h3 {
  font-size: 1.2rem;
  color: #333;
}

.benefit-item p {
  font-size: 0.9rem;
  color: #777;
}

.benefit-item:hover {
  transform: scale(1.05); /* Efecto de agrandar al pasar el cursor */
}

@media (max-width: 768px) {
  .benefits-container {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}
/* alisados estrategicos*/
.custom-header-text {
  text-align: center;
  margin-bottom: 20px;
}

.custom-header-text h2 {
  font-size: 2rem;
  color: #333;
}

.custom-benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.5); /* Fondo transparente */
  justify-items: center;
  align-items: center;
}

.custom-benefit-item {
  text-align: center;
  padding: 15px;
  background-color: transparent;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
}

.custom-benefit-item img {
  max-width: 140px;
  height: auto;
  margin-bottom: 10px;
}

.custom-benefit-item h3 {
  font-size: 1.2rem;
  color: #333;
}

.custom-benefit-item p {
  font-size: 0.9rem;
  color: #777;
}

.custom-benefit-item:hover {
  transform: scale(1.09); /* Efecto de agrandar al pasar el cursor */
}

@media (max-width: 768px) {
  .custom-benefits-container {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}