body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f8f9fa;
}

/* Cards */
.card {
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
}

/* Navbar */
.nav-link:hover {
  color: #0d6efd !important;
}

/* Footer */

  #footer-logo:hover {
    transform: scale(1.1);
  }
  .logo-hover {
  transition: transform 0.3s ease;
}

.logo-hover:hover {
  transform: scale(1.1);
}


/* ----------Enlaces del footer------------ */
footer a {
  color: #051361;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  margin-bottom: 6px; /* Espacio entre enlaces */
}

footer a:hover {
  color: #015221;
  transform: translateY(-2px);
}

@media (max-width: 767.98px) {
  footer .row > div {
    text-align: center;
  }

  footer a {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  footer img {
    display: block;
    margin: 10px auto;
  }
}

/*--------estilos para -----------organizacion.php-------------------------------------*/
/* Estilos para la sección organizativa */
.organizativa {
  background-color: #f9fafb; /* gris suave */
  padding: 60px 20px;
}

.container-organizativa {
  max-width: 1140px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.title-organizativa {
  font-size: 2.5rem;
  font-weight: 700;
  color: #4338ca; /* Indigo 700 */
  text-align: center;
  margin-bottom: 30px;
}

.text-organizativa {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #374151; /* Gray 700 */
  text-align: justify;
  text-indent: 2em;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .container-organizativa {
    padding: 30px 20px;
  }

  .title-organizativa {
    font-size: 2rem;
  }

  .text-organizativa {
    font-size: 1rem;
    text-indent: 1.5em;
  }
}

@media (max-width: 480px) {
  .title-organizativa {
    font-size: 1.6rem;
  }

  .text-organizativa {
    font-size: 0.95rem;
    text-indent: 1em;
  }
}

/*--------------estilos para el organigrama---------------*/
.container-organigrama {
  max-width: 1140px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.title-organigrama {
  font-size: 2.2rem;
  font-weight: 700;
  color: #4338ca;
  margin-bottom: 30px;
}

.organigrama-img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.zoom-wrapper {
  position: relative;
  max-width: 90%;
  max-height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.zoom-safe {
  max-width: 100%;
  max-height: 80vh;
  transition: transform 0.4s ease-in-out;
  border-radius: 10px;
}

.zoom-safe:hover {
  transform: scale(1.08);
}

/* 🔧 Ajustes para móviles */
@media (max-width: 768px) {
  .modal-body {
    height: auto !important; /* que se adapte al contenido */
    padding: 1rem !important;
    flex-direction: column;
  }

  .zoom-safe {
    max-height: none;
    width: 100%;
    transform: none !important; /* desactiva zoom en móviles */
  }

  .zoom-wrapper {
    max-width: 100%;
  }
}

/*-----------------tarifarios.php---------------------------------*/
@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-in-up {
  animation: fade-in-up 0.8s ease-out forwards;
}
.text-3xl{
  padding:20px 10px;
}
.w-full{
  padding-bottom: 10px;
  padding-top: 10px;
}

/*---------------------------------------------------------------pasivos-----*/
@media (min-width: 768px) {
  .table td, .table th {
    text-align: center;
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.table-animated {
  animation: fadeInUp 0.8s ease-out;
}


/*----------------------estilos de haztesocio.php------------------*/
.bg-transparencia {
  background-color: #f6fafd; /* Celeste suave */
}
.bg-beneficios {
  background-color: #fbfbf7; /* Lila claro */
}
.bg-juridicas-verde {
  background-color: #f3fcfb; /* Lila claro */
}
/*-----------estilos para copacproductos.php-------------------*/
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
   border-left: 6px solid #feffff;            /* Quitamos la línea lateral */
  color: white;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: all 0.3s ease-in-out;
}

.custom-paragraph {
  color: #003366; /* azul institucional */
  text-align: center;
  font-weight: 500;
  font-size: 1.2rem;
  border-bottom: 3px solid #FFC300;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

/*------------------------red-agencias.php----------------------------*/
.card-img-top {
  width: 100%;
  height: 180px; /* Puedes ajustar esta altura a tu gusto */
  object-fit: cover;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}
.swiper-pagination {
  display: none !important;
}

.swiper-button-next,
.swiper-button-prev {
  color: #ffffff !important;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
  font-size: 22px;
}

/*-------campañas-----------*/
#campañas .card {
  min-height: 100%;
  transition: transform 0.3s;
}
#campañas .card:hover {
  transform: scale(1.02);
}
.swiper-slide {
  padding: 10px;
}

#campañas h2 {
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 1px;
}

/*------jumbutrom--red-de-agencias-------*/
.jumbotrom-redagencias {
  background-image: url('/assets/images/slider/5.jpg'); /* cambia esto por tu imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 800px;
  padding: 40px 20px;
}

@media (max-width: 768px) {
  .jumbotrom-redagencias {
    height: 400px; /* ajusta para móviles */
    padding: 20px;
  }

  .jumbotrom-redagencias h1 {
    font-size: 1.8rem;
  }

  .jumbotrom-redagencias p {
    font-size: 1rem;
  }
}

/*------------estatuto.php----------------*/
.jumbotrom-estatutos {
  background-image: url('/assets/images/estatutos.jpg'); /* cambia esto por tu imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 800px;
  padding: 40px 20px;
}

@media (max-width: 768px) {
  .jumbotrom-estatutos {
    height: 400px; /* ajusta para móviles */
    padding: 20px;
  }

  .jumbotrom-estatutos h1 {
    font-size: 1.8rem;
  }

  .jumbotrom-estatutos p {
    font-size: 1rem;
  }
}


/*------------empleate.php------------------*/
  .form-toggle-container {
    width: 100%;
    max-width: 800px;
    margin: auto;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: 0.5s ease-in-out;
  }

  .form-toggle-wrapper {
    display: flex;
    width: 200%;
    transition: transform 0.5s ease-in-out;
  }

  .form-toggle-panel {
    width: 50%;
    padding: 2rem;
  }

  .form-toggle-container.active .form-toggle-wrapper {
    transform: translateX(-50%);
  }

  .toggle-btn-container {
    text-align: center;
    margin: 1rem 0;
  }

  /*--------------bienesadjudicados.php-----------------*/
.object-fit-cover {
  object-fit: cover;
}


/*------bienAd1.php---------------------*/
  .cursor-pointer {
    cursor: pointer;
  }