/* FONTS */
@import url(../fonts/clash-display.css);

/* VARIABLES */
:root {
  --c-dark: #212529;
  --c-brand: #3bab05;
  --c-brand-light: #aac79f;
  --c-brand-rgb: 59, 171, 5;
  --c-body: #727272;
  --font-base: "ClashDisplay", sans-serif;
  --box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.08);
  --transition: all 0.5s ease;
}

/* RESET & HELPERS */
body {
  font-family: var(--font-base);
  line-height: 1.7;
  color: var(--c-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-weight: 600;
  color: var(--c-dark);
}

a {
  text-decoration: none;
  color: var(--c-brand);
  transition: var(--transition);
}

a:hover {
  color: var(--c-brand-light);
}

img {
  max-width: 100%;
  height: auto;
}

.section-padding {
  padding-top: 100px;
  padding-bottom: 140px;
}

.theme-shadow {
  box-shadow: var(--box-shadow);
}

body,
html {
  overflow-x: hidden;
}

/* Custom Modal Styles */

.modal-title {
  flex-grow: 1; /* Esto asegura que el título ocupe todo el ancho disponible */
  text-align: center; /* Asegura que el texto esté centrado dentro de su contenedor */
  margin: 0; /* Elimina márgenes que puedan afectar la alineación */
}

.modal-header .btn-close {
  position: absolute;
  right: 1rem; /* Posiciona el botón de cierre en la esquina derecha */
  top: 1rem;
}

.modal-header {
  justify-content: center !important; /* Centrar el título */
  background-color: var(--c-brand); /* Color de fondo para el encabezado */
  border-bottom: none; /* Eliminar el borde predeterminado */
}

/* Modal Title */
.modal-title {
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 1.5rem;
  color: white; /* Texto en blanco para el título */
  text-align: center; /* Centrar el texto */
}

/* Modal Body */
.modal-body {
  font-family: var(--font-base);
  color: var(--c-body); /* Usar el color de texto del cuerpo */
}

/* Modal Footer */
.modal-footer {
  border-top: none; /* Eliminar el borde predeterminado */
  justify-content: center; /* Centrar los botones */
}

/* Buttons */
.modal-footer .btn-primary {
  background-color: var(--c-brand); /* Color primario de la marca */
  color: white; /* Color del texto en blanco */
  border: none; /* Eliminar bordes */
  transition: var(--transition); /* Usar la transición principal */
}

.modal-footer .btn-primary:hover {
  background-color: var(
    --c-brand-light
  ); /* Color más claro de la marca al pasar el cursor */
}

.modal-footer .btn-secondary {
  background-color: var(--c-dark); /* Color oscuro para el botón secundario */
  color: white; /* Color del texto en blanco */
  border: none; /* Eliminar bordes */
  transition: var(--transition); /* Usar la transición principal */
}

.modal-footer .btn-secondary:hover {
  background-color: var(
    --c-body
  ); /* Color de texto del cuerpo al pasar el cursor */
}

/************************************ Header css ************************************/

.header {
  background-color: #f8f9fa;
}

.logo img {
  max-height: 50px;
}

.icon-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 10px;
  background-color: #e0e0e000;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.icon-item svg {
  fill: var(--c-brand);
  width: 24px;
  height: 24px;
}

.icon-item span {
  font-weight: bold;
  color: #333;
}

/************************************ Navbar ************************************/

.custom-navbar {
  background-color: var(--c-brand) !important;
  color: #fff !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.custom-navbar:hover {
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.custom-navbar .nav-item .nav-link {
  font-size: 1.1rem;
  font-weight: bold;
  color: #fff !important;
  transition: color 0.3s, background-color 0.3s, box-shadow 0.3s;
  position: relative;
  padding: 10px 20px;
  border-radius: 5px;
}

.custom-navbar .nav-item .nav-link:hover {
  color: #fff !important;
  background-color: var(--c-brand-light);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.custom-navbar .nav-item .nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--c-brand-light);
  transition: width 0.3s ease, left 0.3s ease;
}

.custom-navbar .nav-item .nav-link:hover::before {
  width: 100%;
  left: 0;
}

.custom-navbar .d-flex a {
  font-size: 1rem;
  font-weight: normal;
  color: #fff !important;
}

.custom-navbar .btn-outline-primary,
.custom-navbar .btn-primary {
  font-size: 1rem;
  font-weight: bold;
}

.custom-navbar .btn-outline-primary:hover,
.custom-navbar .btn-primary:hover {
  background-color: #0056b3 !important;
  color: #fff !important;
}

@media (max-width: 991.98px) {
  .custom-navbar .navbar-nav {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .custom-navbar .d-flex {
    justify-content: center;
    width: 100%;
    margin-top: 10px;
  }

  .custom-navbar .d-flex a {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }

  .custom-navbar .btn-outline-primary,
  .custom-navbar .btn-primary {
    width: 100%;
  }
}

/* Estilo para mostrar el dropdown al pasar el mouse */
.navbar-nav .dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0; /* Ajusta la posición vertical del dropdown */
  background-color: #ffffff; /* Fondo blanco sólido */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Sombra suave */
  border-radius: 8px; /* Esquinas redondeadas */
  transition: all 0.3s ease;
}

/* Estilo para los enlaces dentro del dropdown */
.navbar-nav .dropdown-menu .dropdown-item {
  color: #000; /* Color de texto */
  padding: 10px 20px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

/* Cambia el color y el fondo al pasar el mouse sobre los enlaces del dropdown */
.navbar-nav .dropdown-menu .dropdown-item:hover {
  background-color: var(
    --c-brand-light
  ); /* Fondo con color de marca más claro */
  color: #fff; /* Texto blanco */
}

/* Opcional: estilo para el enlace de Equipo cuando se pasa el mouse */
.navbar-nav .dropdown:hover .nav-link {
  color: #007bff; /* Cambia este color según tu preferencia */
}

/* Ajustes adicionales para dispositivos móviles */
@media (max-width: 991.98px) {
  .navbar-nav .dropdown-menu {
    position: static;
    float: none;
    background-color: #ffffff; /* Fondo blanco sólido en móviles */
    border-radius: 0; /* Sin esquinas redondeadas en móviles */
    box-shadow: none; /* Sin sombra en móviles */
  }

  .navbar-nav .dropdown-menu .dropdown-item {
    padding: 10px;
  }
}

/************************************ Custom Hero ************************************/

/* HERO */
#hero.custom-hero {
  position: relative;
  overflow: hidden;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.container-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
  z-index: 1;
}

.custom-hero .btn {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 0;
  padding: 10px 24px;
}

.custom-hero .btn-brand {
  background-color: var(--c-brand);
  border-color: var(--c-brand);
  color: white;
}

.custom-hero .btn-brand:hover {
  background-color: var(--c-brand-light);
  border-color: var(--c-brand-light);
  color: white;
}

/************************************ Modal ************************************/

.modal-content {
  border-radius: 10px;
}

.modal-header {
  border-bottom: none;
}

.modal-body {
  padding: 0;
}

.modal-tittle {
  text-align: center !important;
}

/* Acordeón Personalizado */
.custom-accordion .accordion-item {
  border: none;
  margin-bottom: 10px;
  box-shadow: var(--box-shadow);
}

.custom-accordion .accordion-button {
  background-color: var(--c-brand-light);
  color: white;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 5px;
  transition: var(--transition);
}

.custom-accordion .accordion-button:not(.collapsed) {
  background-color: var(--c-brand);
  color: var(--c-dark);
}

.custom-accordion .accordion-button:hover {
  background-color: var(--c-brand-light);
  color: white;
}

.custom-accordion .accordion-body {
  background-color: #f8f9fa;
  padding: 20px;
  border-top: 1px solid var(--c-brand-light);
  text-align: center; /* Centra el contenido de la sección del acordeón */
}

.custom-accordion .accordion-body img {
  border-radius: 8px;
  display: block;
  margin: 0 auto; /* Centra la imagen horizontalmente */
}

/* Responsividad */
@media (max-width: 768px) {
  .custom-accordion-container {
    max-width: 100%; /* Ocupa todo el ancho en pantallas pequeñas */
  }
}

/************************************ Custom Stats ************************************/

#estadísticas.custom-stats {
  background: linear-gradient(
      rgba(var(--c-brand-rgb), 0.8),
      rgba(var(--c-brand-rgb), 0.8)
    ),
    url(../img/aspiramos\ la\ exelencia.jpg);
  background-position: center;
  background-size: cover;
}

/************************************ Custom Servicios index ************************************/

#services.custom-services .service {
  position: relative;
  overflow: hidden;
  z-index: 2;
}

#services.custom-services .service::after {
  content: "";
  width: 40px;
  height: 40px;
  background: rgba(var(--c-brand-rgb), 0.2);
  position: absolute;
  bottom: 0;
  right: 0;
  transition: var(--transition);
}

#services.custom-services .service:hover::after {
  width: 100%;
  height: 100%;
  background: var(--c-brand);
  z-index: -1;
}

#services.custom-services .service:hover h5,
#services.custom-services .service:hover p {
  color: white;
}

#services.custom-services .service:hover .iconbox {
  background-color: rgba(152, 215, 189, 0.2);
  color: white;
}

/* Estilo personalizado para el botón en la sección de servicios */
.btn-custom {
  background-color: var(--c-brand); /* Color principal */
  color: white; /* Texto en blanco */
  border: none; /* Sin borde */
  padding: 10px 20px; /* Espaciado interno */
  border-radius: 5px; /* Bordes redondeados */
  transition: var(--transition); /* Transición suave */
}

.btn-custom:hover {
  background-color: var(
    --c-brand-light
  ); /* Color más claro al pasar el mouse */
  color: white; /* Mantener el texto en blanco */
  box-shadow: var(--box-shadow); /* Sombra en el hover */
}

/************************************ Custom Team ************************************/

#team.custom-team .team-member-content {
  background-color: var(--c-brand);
  position: absolute;
  bottom: -24px;
  left: 50%;
  width: calc(100% - 50px);
  transform: translateX(-50%);
  padding: 24px;
  transition: var(--transition);
  opacity: 0;
}

#team.custom-team .team-member:hover .team-member-content {
  opacity: 1;
  bottom: 24px;
}

/* IMAGE ZOOM */
.image-zoom {
  position: relative;
  /* overflow: hidden; */
}

.image-zoom-wrapper {
  overflow: hidden;
  position: relative;
}

.image-zoom-wrapper img {
  transition: var(--transition);
}

.image-zoom:hover .image-zoom-wrapper img {
  transform: scale(1.1);
}

/************************************ Custom Clients ************************************/

/* CLIENTES */
#clients.custom-clients {
  padding: 5px 0;
}

#clients.custom-clients .client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#clients.custom-clients .client-logo img {
  padding: 20px 20px;
  max-width: 90%;
  transition: 0.3s;
  opacity: 0.5;
  filter: grayscale(100%);
}

#clients.custom-clients .client-logo img:hover {
  filter: none;
  opacity: 1;
}

@media (max-width: 640px) {
  #clients.custom-clients .client-logo img {
    padding: 20px;
  }
}

/************************************ Custom Pricing ************************************/

.section-title h2 {
  text-align: center;
  font-weight: 700;
  font-size: 36px;
  color: var(--c-dark);
  margin-bottom: 20px;
}

.section-title p {
  text-align: center;
  color: var(--c-body);
  font-size: 16px;
  margin-bottom: 40px;
}

.pricing .row {
  display: flex;
  justify-content: space-between;
}

.pricing .pricing-item {
  background-color: color-mix(in srgb, var(--c-brand-light), transparent 96%);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.pricing .pricing-item h3 {
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--c-dark);
  font-size: 20px;
}

.pricing .pricing-item h4 {
  color: var(--c-brand);
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 0;
  text-align: center;
}

.pricing .pricing-item h4 sup {
  font-size: 28px;
}

.pricing .pricing-item h4 span {
  color: var(--c-body);
  font-size: 18px;
  font-weight: 500;
}

.pricing .pricing-item .description {
  font-size: 14px;
  color: var(--c-body);
}

.pricing .pricing-item .cta-btn {
  border: 1px solid var(--c-dark);
  color: var(--c-dark);
  display: block;
  text-align: center;
  padding: 10px 35px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  transition: var(--transition);
  margin-top: 20px;
}

.pricing .pricing-item .cta-btn:hover {
  background: var(--c-brand);
  color: white;
  border-color: var(--c-brand);
}

.pricing .pricing-item ul {
  padding: 0;
  list-style: none;
  color: var(--c-body);
  text-align: left;
}

.pricing .pricing-item ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.pricing .pricing-item ul li:last-child {
  padding-bottom: 0;
}

.pricing .pricing-item ul i {
  color: var(--c-brand);
  font-size: 24px;
  padding-right: 3px;
}

.pricing .pricing-item ul .na {
  color: var(--c-body);
}

.pricing .pricing-item ul .na i {
  color: var(--c-body);
}

.pricing .pricing-item ul .na span {
  text-decoration: line-through;
}

.pricing .featured {
  position: relative;
  border: 2px solid var(--c-brand);
}

.pricing .featured .popular {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--c-brand);
  color: white;
  padding: 4px 15px 6px 15px;
  margin: 0;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
}

.pricing .pricing-item {
  background-color: color-mix(in srgb, var(--c-brand-light), transparent 96%);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 2px solid transparent; /* Inicialmente, el borde es transparente */
}

.pricing .pricing-item:hover {
  border: 2px solid var(--c-brand); /* Borde verde al pasar el mouse */
}

/************************************ Custom Footer ************************************/

footer.custom-footer {
  background-color: var(--c-brand) !important;
  color: #fff;
}

footer.custom-footer a {
  color: #fff !important;
  text-decoration: none;
}

footer.custom-footer a:hover {
  text-decoration: underline;
}

footer.custom-footer .text-muted {
  color: white !important;
}

footer.custom-footer h5,
footer.custom-footer h6 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

footer.custom-footer .bi {
  font-size: 1.5rem;
}

/************************************ Custom Nosotros ************************************/

.container.pt-5.custom-nosotros {
  padding: 0 15px;
}

/* Aspiración y principios */
.custom-nosotros .aspiracion {
  font-size: 18pt;
  margin-top: 16px;
}

.custom-nosotros .aspiracion-principios h2 {
  font-size: 28pt;
  margin-bottom: 20px;
}

/* Misión y Visión */
.custom-nosotros .mision.card {
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: box-shadow 0.3s ease;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Galería de Imágenes */
.galeria-imagenes .galeria-img {
  width: 100%;
  height: 200px; /* Ajusta la altura según tus necesidades */
  object-fit: cover; /* Asegura que la imagen cubra el contenedor sin distorsión */
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria-imagenes .image-container {
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
}

.galeria-imagenes .galeria-img:hover {
  transform: scale(1.05); /* Efecto de zoom al pasar el mouse */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Ejes estratégicos */
.custom-nosotros .ejes-estrategicos h3 {
  margin-bottom: 30px;
}

.custom-nosotros .ejes-estrategicos .image {
  width: 20%;
  margin-bottom: 10px;
}

.custom-nosotros .ejes-estrategicos .card {
  margin-top: 20px;
}

/************************************ TEAM ************************************/

.team .member {
  position: relative;
}

.team .member .member-img {
  margin: 0 80px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 4px solid #fff;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1024px) {
  .team .member .member-img {
    margin: 0 60px;
  }
}

.team .member .member-img img {
  position: relative;
  z-index: 1;
}

.team .member .member-img .social {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  padding-bottom: 20px;
  transition: 0.3s;
  visibility: hidden;
  opacity: 0;
}

.team .member .member-img .social a {
  transition: 0.3s;
  color: #fff;
  font-size: 20px;
  margin: 0 8px;
}

.team .member .member-img .social a:hover {
  color: #e84545;
}

.team .member .member-info {
  margin-top: 30px;
}

.team .member .member-info h4 {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 18px;
}

.team .member .member-info span {
  font-style: italic;
  display: block;
  font-size: 15px;
  color: color-mix(in srgb, #212529, transparent 40%);
  margin-bottom: 10px;
}

.team .member .member-info p {
  margin-bottom: 0;
  font-size: 14px;
}

.team .member:hover .member-img .social {
  padding-bottom: 0;
  visibility: visible;
  opacity: 1;
}

.member .social a svg {
  fill: white !important; /* Cambia el color de los íconos SVG a blanco */
  width: 32px; /* Ajusta el tamaño del ícono según sea necesario */
  height: 32px;
}

.member .social a:hover svg {
  fill: #f1c40f; /* Cambia el color al pasar el ratón por encima (opcional) */
}

.member .social a {
  margin: 0 10px; /* Ajusta el espacio entre los íconos */
  display: inline-block;
  transition: fill 0.3s ease;
}

/* Estilos específicos para <hr> dentro de la sección del equipo */
hr {
  border: 0;
  height: 2px;
  background: #000; /* Cambia el color a negro o cualquier color deseado */
  margin: 20px 0; /* Ajusta el margen superior e inferior */
  width: 50%; /* Ajusta el ancho */
  margin-left: auto;
  margin-right: auto;
  border-radius: 1px; /* Añade bordes redondeados */
}

/* boton para regresar arriba */
#backToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  display: none;
  font-size: 24px; /* Tamaño del ícono */
  border: none;
  outline: none;
  background-color: var(--c-brand);
  color: white;
  cursor: pointer;
  width: 60px; /* Ancho del botón */
  height: 60px; /* Alto del botón */
  border-radius: 50%; /* Bordes redondeados */
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0; /* Elimina cualquier padding adicional */
}

#backToTopBtn:hover {
  background-color: var(--c-brand-light);
}

/************************************ Custom Contact ************************************/

/* Section Contacto */
.custom-contact section {
  padding: 3rem 0;
}

.custom-contact .container {
  max-width: 1200px;
  margin: auto;
}

.custom-contact p.lead {
  font-size: 1.25rem;
  color: #6c757d;
}

.custom-contact .card {
  background-color: #ffffff;
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 0.5rem 1rem rgba(66, 202, 152, 0.1);
  overflow: hidden;
}

.custom-contact .card-body {
  padding: 0;
}

.custom-contact .bsb-overlay {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 100%;
  min-height: 400px;
}

.custom-contact .bsb-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, var(--bsb-overlay-opacity, 0.5));
}

.custom-contact .contact-info-wrapper {
  position: relative;
  z-index: 1;
}

.custom-contact .contact-info-wrapper h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.custom-contact .contact-info-wrapper p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.custom-contact .contact-info-wrapper h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.custom-contact .form-label {
  font-weight: 600;
}

.custom-contact .input-group-text {
  background-color: var(--c-brand);
  color: #ffffff;
  border: none;
}

.custom-contact .form-control {
  border-radius: 0.375rem;
}

.custom-contact .btn-primary {
  background-color: var(--c-brand);
  border: none;
  font-size: 1.25rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
}

.custom-contact .svg-icon {
  width: 2rem;
  height: 2rem;
  margin-right: 0.5rem;
  color: var(--c-brand);
}

/************************************ Mapa ************************************/

.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: auto;
  overflow: hidden;
  display: flex;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 85%;
  border: 0;
}

#titulo-mapa {
  text-align: center !important;
}

#parrafo-mapa {
  padding: 5%;
}

/************************************ Curso Gestión Contratistas ************************************/

.containerServicios {
  background-color: #fff;
  padding: 20px;
  margin-top: 20px;
  border-radius: 8px;
}
.details {
  background-color: #f8f8f8;
  padding: 20px;
  border-radius: 8px;
}
.price {
  color: #007bff;
  font-size: 1.5em;
  font-weight: bold;
}
.whatsapp-button {
  background-color: #25d366;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  cursor: pointer;
  width: 100%;
}
.whatsapp-button:hover {
  background-color: #20c15e;
}

#img-gestion {
  background-color: #b4b4b4 !important;
  width: 100%;
}

/* CSS para la sección de capacitaciones */
.custom-capacitaciones {
  margin-top: 20px;
  margin-bottom: 40px;
}

.custom-capacitaciones .course-image {
  height: 500px;
  object-fit: cover;
  width: 100%;
}

.custom-capacitaciones .card {
  margin-bottom: 30px;
}

.custom-capacitaciones .btn {
  width: 100%;
  background-color: var(--c-brand) !important;
}

/* Subscripcion */
#subscripcion .card {
  border: 2px solid transparent; /* Inicia con un borde transparente */
  transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Añade una transición suave */
}

#subscripcion .card-img-top {
  width: 100%;
  object-fit: contain; /* Mantiene la relación de aspecto de la imagen */
  padding: 10px; /* Añade un padding interno alrededor de la imagen */
}

#subscripcion .card:hover {
  border-color: #28a745; /* Cambia el borde a verde al pasar el ratón */
  box-shadow: 0 4px 12px rgba(0, 128, 0, 0.3); /* Añade una sombra verde */
}

#subscripcion .card-body {
  padding: 0.5rem 1rem; /* Ajusta el padding interno del cuerpo de la tarjeta */
}

/* Estilos para el botón flotante de WhatsApp */
.float-whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px; /* Define un ancho fijo */
  height: 60px; /* Define una altura fija igual al ancho */
  background-color: #25d366;
  color: white;
  border-radius: 50%; /* Asegura que el botón sea redondo */
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.float-whatsapp-button:hover {
  background-color: #1ebe57;
}

.float-whatsapp-button img {
  width: 50%; /* Ajusta el tamaño del icono para que quede bien dentro del botón */
  height: auto;
}

/* Custom Acordeon Index */
/* Título del Acordeón */
.titulo-accordion {
  font-size: 28px;
  font-weight: 700;
  color: var(--c-dark);
  text-align: center;
  margin-bottom: 20px;
}

/* Acordeón Personalizado */
/* Contenedor del Acordeón */
.custom-accordion-container {
  max-width: 85%; /* Máximo ancho del acordeón */
  margin: 0 auto; /* Centra el acordeón horizontalmente */
  padding: 0 15px; /* Padding lateral para dispositivos móviles */
}

/* Título del Acordeón */
.titulo-accordion {
  font-size: 28px;
  font-weight: 700;
  color: var(--c-dark);
  text-align: center;
  margin-bottom: 20px;
}

/* Acordeón Personalizado */
.custom-accordion .accordion-item {
  border: none;
  margin-bottom: 10px;
  box-shadow: var(--box-shadow);
}

.custom-accordion .accordion-button {
  background-color: var(--c-brand-light);
  color: white;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 5px;
  transition: var(--transition);
}

.custom-accordion .accordion-button:not(.collapsed) {
  background-color: var(--c-brand);
  color: var(--c-dark);
}

.custom-accordion .accordion-button:hover {
  background-color: var(--c-brand-light);
  color: white;
}

.custom-accordion .accordion-body {
  background-color: #f8f9fa;
  padding: 20px;
  border-top: 1px solid var(--c-brand-light);
  text-align: center; /* Centra el contenido de la sección del acordeón */
}

.custom-accordion .accordion-body img {
  border-radius: 8px;
  display: block;
  margin: 0 auto; /* Centra la imagen horizontalmente */
}

/* Responsividad */
@media (max-width: 768px) {
  .custom-accordion-container {
    max-width: 100%; /* Ocupa todo el ancho en pantallas pequeñas */
  }
}

/* Sección documento */
#documento {
  padding: 50px 15px;
  background-color: var(--c-brand); /* Fondo sólido del color --c-brand */
  text-align: center;
  box-shadow: var(--box-shadow);
}

#documento h2 {
  font-size: 2rem; /* Tamaño base del título */
  font-weight: 700;
  color: white; /* Cambiar a blanco para contraste */
  margin-bottom: 20px;
}

#documento p {
  font-size: 1.2rem;
  color: white; /* Texto blanco para resaltar sobre el fondo */
  margin-bottom: 40px;
}

#documento iframe {
  border: 2px solid var(--c-brand-light);
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  width: 100%;
  max-width: 900px;
  height: 500px; /* Altura base para pantallas grandes */
  transition: var(--transition);
}

#documento iframe:hover {
  border-color: var(--c-brand-light);
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

#documento .btn-download {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 30px;
  background-color: white; /* Fondo blanco para contrastar con --c-brand */
  color: var(--c-brand); /* Texto del color de la marca */
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  border: none;
  box-shadow: var(--box-shadow);
  text-transform: uppercase;
  transition: var(--transition);
}

#documento .btn-download:hover {
  background-color: var(--c-brand-light); /* Fondo claro de la marca */
  color: white; /* Texto blanco */
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Sección documento servicios */
#documento_servicios {
  padding: 50px 15px;
  background-color: #fff; /* Fondo sólido del color --c-brand */
  text-align: center;
  box-shadow: var(--box-shadow);
}

#documento_servicios h2 {
  font-size: 2rem; /* Tamaño base del título */
  font-weight: 700;
  color: #000; /* Cambiar a blanco para contraste */
  margin-bottom: 20px;
}

#documento_servicios p {
  font-size: 1.2rem;
  color: #727272; /* Texto blanco para resaltar sobre el fondo */
  margin-bottom: 40px;
}

#documento_servicios iframe {
  border: 2px solid var(--c-brand-light);
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  width: 100%;
  max-width: 900px;
  height: 500px; /* Altura base para pantallas grandes */
  transition: var(--transition);
}

#documento_servicios iframe:hover {
  border-color: var(--c-brand-light);
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

#documento_servicios .btn-download {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 30px;
  background-color: var(
    --c-brand
  ); /* Fondo blanco para contrastar con --c-brand */
  color: #000; /* Texto del color de la marca */
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  border: none;
  box-shadow: var(--box-shadow);
  text-transform: uppercase;
  transition: var(--transition);
}

#documento_servicios .btn-download:hover {
  background-color: #727272; /* Fondo claro de la marca */
  color: white; /* Texto blanco */
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Reglas responsivas */
@media (max-width: 1024px) {
  #documento h2 {
    font-size: 2rem; /* Reducir el tamaño del título en pantallas medianas */
  }

  #documento iframe {
    height: 400px; /* Reducir la altura del iframe */
  }

  #documento .btn-download {
    padding: 10px 20px; /* Botón más compacto */
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  #documento {
    padding: 30px 10px; /* Reducir el padding en pantallas pequeñas */
  }

  #documento h2 {
    font-size: 1.8rem; /* Tamaño más pequeño del título */
  }

  #documento p {
    font-size: 1rem; /* Reducir el tamaño del texto descriptivo */
  }

  #documento iframe {
    height: 300px; /* Reducir más la altura del iframe */
  }

  #documento .btn-download {
    padding: 8px 15px; /* Botón más compacto */
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  #documento h2 {
    font-size: 1.5rem; /* Ajustar el título en móviles */
  }

  #documento iframe {
    height: 250px; /* Altura del iframe en pantallas muy pequeñas */
  }

  #documento .btn-download {
    padding: 6px 10px;
    font-size: 0.8rem; /* Botón más pequeño para móviles */
  }
}

/* === Miniaturas iguales en la sección Servicios === */
.image-fixed-height {
  height: 650px; /* Misma altura para todas las imágenes */
  overflow: hidden;
}

/* Imágenes recortadas */
.fixed-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Ajuste en móviles */
@media (max-width: 576px) {
  .image-fixed-height {
    height: 200px;
  }
}

/* === Modal adaptable y responsive sin fondo === */

/* Controla el ancho y centra el modal */
.modal-dialog {
  max-width: none !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Adapta el modal al ancho de la imagen */
.modal-content {
  width: auto !important;
  max-width: 95vw;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* Centra y limita el alto de la imagen */
.modal-body {
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 90vh;
  overflow: hidden;
}

/* Imagen perfectamente ajustada al modal y pantalla */
.modal-body img {
  width: auto;
  height: auto;
  max-width: 95vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
}

/* Footer visible y centrado */
.modal-footer {
  justify-content: center;
  border-top: none;
}

/* Responsivo móvil */
@media (max-width: 576px) {
  .modal-content {
    max-width: 100vw;
  }
  .modal-body img {
    max-width: 100vw;
    max-height: 85vh;
  }
}
