:root {
  --primary: #1363c6;
  --secondary: #15ace1;
  --light: #f4f7fe;
  --dark: #14183e;
}

/*** Heading ***/
h1,
h2,
h3,
.fw-bold {
  font-weight: 700 !important;
}

h4,
h5,
h6,
.fw-medium {
  font-weight: 500 !important;
}

/*** Navbar ***/
.navbar {
  height: 75px;
}

.navbar .navbar-nav .nav-link {
  margin-right: 35px;
  padding: 0;
  color: rgba(255, 255, 255, 0.7);
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 0 0 15px rgba(255, 255, 255, 0.6);
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav {
    padding: 0 15px;
    background: var(--primary);
  }

  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }
}
@media (min-width: 1600px) {
  .navbar {
    height: 95px;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Homologacion ***/
.feature {
  background: linear-gradient(135deg, #1363c6, #15ace1);
  padding: 100px 0;
  background-size: cover;
}

/*** Proyectos ***/
.case-item img {
  transition: 0.5s;
}

.case-item:hover img {
  transform: scale(1.2);
}

.case-overlay {
  position: absolute;
  padding: 30px;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  background: linear-gradient(rgba(20, 24, 62, 0), var(--dark));
  z-index: 1;
}

.case-overlay small {
  display: inline-block;
  padding: 3px 15px;
  color: #ffffff;
  background: rgba(20, 24, 62, 0.7);
  border-radius: 25px;
  margin-bottom: 15px;
}

.case-overlay span.btn:hover {
  color: var(--primary);
  background: #ffffff;
  border-color: #ffffff;
}

/*** Footer ***/
.footer {
  background: url(../img/footer.png) center center no-repeat;
  background-size: contain;
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  text-align: left;
  color: rgba(255, 255, 255, 0.5);
  font-weight: normal;
  transition: 0.3s;
}

.footer .btn.btn-link:hover {
  color: #ffffff;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  letter-spacing: 1px;
  box-shadow: none;
}

html {
  scroll-behavior: smooth;
}

.clientes-container {
  display: flex;
  align-items: center; /* Centra verticalmente texto y carrusel */
  justify-content: center; /* Centra el conjunto horizontalmente en la página */
  gap: 20px; /* Espacio entre texto y carrusel */
  max-width: 1000px; /* Para limitar el ancho total, opcional */
  margin: 0 auto; /* Centrar el contenedor en la página */
}

.clientes-texto {
  font-size: 1.5rem;
  font-weight: bold;
  white-space: nowrap; /* Para que el texto no se divida en varias líneas */
  color: #1363c6;
}

/* Tu CSS original para .mySwiper y .swiper-slide queda igual */
.mySwiper {
  padding: 20px 0;
  background: rgb(255, 255, 255);
}

.swiper-slide {
  width: 130px; /* ancho fijo para cada slide */
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  width: 110px; /* ancho fijo */
  height: 80px; /* alto fijo */
  object-fit: contain;
  display: block; /* elimina espacio debajo de la imagen */
}

/* Estilo para el botón flotante de WhatsApp */

.fab-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px; /* separación entre botones */
}

/* Botón principal */
.fab-button {
  width: 60px;
  height: 60px;
  background-color: #333;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.fab-button:hover {
  transform: scale(1.1);
}

/* Botones secundarios */
.fab-action {
  width: 50px;
  height: 50px;
  color: white;
  border-radius: 50%;
  font-size: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.fab-action:hover {
  transform: scale(1.1);
}

.fab-action.whatsapp {
  background-color: #25d366;
}

.fab-action.outlook {
  background-color: #0072c6;
}

/* Responsive ajustes */
@media (max-width: 600px) {
  .fab-button {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .fab-action {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
}

.mySwiper .swiper-wrapper {
  transition-timing-function: linear !important;
}

/* Contenedor de la tarjeta volteable */
.flip-container {
  width: 100%;
  max-width: 400px;
  height: 500px;
  perspective: 1500px;
}

.flipper {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  cursor: pointer;
}

.flip-container:hover .flipper {
  transform: rotateY(180deg);
}

/* Estilos comunes para frente y reverso */
.front,
.back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Contenido de la tarjeta */
.card-content {
  padding: 20px;
  color: white;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  transform: translateY(0);
  transition: transform 0.5s ease;
}

.card-content small {
  display: block;
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 8px;
  color: #ffd700;
}

.card-content h3 {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 10px;
  line-height: 1.3;
  color: #ffffff;
}

.card-content p {
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.9;
}

/* Efectos adicionales */
.flip-container:hover .card-content {
  transform: translateY(-5px);
}

/* Tarjeta 1 - Oeschle */
.card-1 .front {
  background: url("../img/OechsleAP.png") center/cover;
}
.card-1 .back {
  background: url("../img/OechsleAP.png") center/cover;
  transform: rotateY(180deg);
}

/* Tarjeta 2 - Makro */
.card-2 .front {
  background: url("../img/MakroSJM.jpeg") center/cover;
}
.card-2 .back {
  background: url("../img/MakroSJM.jpeg") center/cover;
  transform: rotateY(180deg);
}

/* Tarjeta 3 - Makro */
.card-3 .front {
  background: url("../img/apertura.jpeg") center/cover;
}
.card-3 .back {
  background: url("../img/apertura.jpeg") center/cover;
  transform: rotateY(180deg);
}

/* Responsive */
@media (max-width: 768px) {
  .flip-container {
    height: 320px;
    max-width: 350px;
  }
}

@media (max-width: 480px) {
  .flip-container {
    height: 280px;
  }

  .card-content {
    padding: 15px;
  }

  .card-content h3 {
    font-size: 1.3rem;
  }
}

.espacio {
  padding-top: 1rem !important;
}
.espacio2 {
  padding-top: 1rem !important;
  padding-bottom: 2rem !important;
}

/* Estilos para las tarjetas giratorias */
.service-3d-container {
  perspective: 1500px;
  margin-bottom: 30px;
  height: 450px; /* Altura fija para todas las tarjetas */
}

.service-card {
  position: relative;
  width: 98%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
}

.service-3d-container:hover .service-card {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 25px;
}

.card-front {
  background: white;
  color: var(--dark);
}

.card-back {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  transform: rotateY(180deg);
}

.service-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--light);
  color: var(--primary);
  font-size: 25px;
  transition: all 0.3s ease;
}

.card-back .service-icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.service-content h5 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.6rem;
  text-align: center;
  color: white;
}

.service-content p {
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  font-size: 1.1rem;
  color: white;
}

.service-content p i {
  margin-right: 10px;
  margin-top: 4px;
  color: var(--primary);
  min-width: 20px;
}

.card-back .service-content p i {
  color: white;
}

.service-3d-container:hover .flip-hint {
  opacity: 0;
}

/* Animación para los elementos de la lista */
.card-back .service-content p {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.service-3d-container:hover .card-back .service-content p {
  opacity: 1;
  transform: translateY(0);
}

/* Retrasos para animaciones escalonadas */
.card-back .service-content p:nth-child(1) {
  transition-delay: 0.1s;
}
.card-back .service-content p:nth-child(2) {
  transition-delay: 0.2s;
}
.card-back .service-content p:nth-child(3) {
  transition-delay: 0.3s;
}
.card-back .service-content p:nth-child(4) {
  transition-delay: 0.4s;
}
.card-back .service-content p:nth-child(5) {
  transition-delay: 0.5s;
}
.card-back .service-content p:nth-child(6) {
  transition-delay: 0.6s;
}
.card-back .service-content p:nth-child(7) {
  transition-delay: 0.7s;
}
.card-back .service-content p:nth-child(8) {
  transition-delay: 0.8s;
}
.card-back .service-content p:nth-child(9) {
  transition-delay: 0.9s;
}

/* Ajustes responsivos */
@media (max-width: 991.98px) {
  .service-3d-container {
    height: 350px;
  }

  .service-content p {
    font-size: 0.9rem;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
}

@media (max-width: 767.98px) {
  .service-3d-container {
    height: 330px;
  }
}

/* Estilos específicos para centrar las últimas dos tarjetas */
.centered-row {
  justify-content: center !important;
}

.centered-item {
  max-width: 33.333% !important;
  flex: 0 0 33.333% !important;
}

.flip-hint {
  position: absolute;
  bottom: 15px;
  right: 15px;
  font-size: 0.8rem;
  color: var(--primary);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.card-back .flip-hint {
  color: white;
}

.service-1 .card-front {
  background-image: url("../img/1.png");
}
.service-2 .card-front {
  background-image: url("../img/2.png");
}
.service-3 .card-front {
  background-image: url("../img/3.png");
}
.service-4 .card-front {
  background-image: url("../img/4.png");
}
.service-5 .card-front {
  background-image: url("../img/5.png");
}
.service-6 .card-front {
  background-image: url("../img/6.png");
}
/*homologacion*/
.vertical-center {
  display: flex;
  align-items: center;
}

.homologacion-content {
  padding-right: 40px;
}

.homologacion-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.homologacion-image:hover {
  transform: scale(1.03);
}

.benefit-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 20px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  border-left: 4px solid #fff;
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(10px);
}

.check-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: #1363c6;
  margin-right: 15px;
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .vertical-center {
    flex-direction: column;
  }

  .homologacion-content {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }

  .benefit-item {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Barra superior */
.top-bar {
  background: linear-gradient(to right, #1363c6, #15ace1);
  color: white;
  padding: 8px 0;
  transition: transform 0.3s ease;
  z-index: 1040;
  position: fixed;
  width: 100%;
  top: 0;
}

.top-bar-content {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.top-bar-info {
  display: flex;
  gap: 20px;
}

.top-bar-info a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.top-bar-info a:hover {
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.top-bar.hidden {
  transform: translateY(-100%);
}

/* Ajuste para el navbar cuando hay barra superior */
.navbar {
  top: 40px; /* Altura de la barra superior */
}

/* Estilo para el navbar */
.navbar {
  transition: top 0.3s ease;
}

.navbar.scrolled {
  top: 0;
}

/* prueba contaco*/
.contact-section {
  font-family: Arial, sans-serif;
  margin: 50px auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.contact-content {
  display: flex;
  min-height: 75vh;
  background-image: url(../img/Slider3.png);
}

.contact-left {
  flex: 1;
  background: #f9f9f9 !important;
  padding: 50px;
  clip-path: polygon(0 0, 90% 0, 80% 100%, 0% 100%);
  /* centrado vertical y horizontal */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.contact-title {
  font-size: 32px;
  margin-bottom: 15px;
  color: #333;
}

.contact-text {
  margin-bottom: 30px;
  color: #666;
  line-height: 1.6;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center; /* centrado ícono + texto */
  margin-bottom: 15px;
  font-size: 16px;
  color: #444;
}

.contact-item i {
  color: #e67e22;
  margin-right: 10px;
  font-size: 18px;
}

.contact-social {
  margin-top: 15px;
}

.contact-social a {
  color: #e67e22;
  text-decoration: none;
  font-size: 15px;
}

.contact-right {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.contact-right img {
  max-width: 1000px;
  object-fit: cover;
}

.contact-map {
  margin-top: 20px;
}

/* 🔹 Responsivo */
@media (max-width: 991px) {
  .contact-section {
    margin: 0;
  }
  .contact-content {
    flex-direction: column;
  }

  .contact-left {
    clip-path: none;
    padding: 30px 20px;
  }

  .contact-right {
    display: none; /* 🚀 ocultamos la imagen */
  }
}

/* Estilos para la pagina de proyectos */
.project-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 5rem 0;
}

.project-img {
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
  object-fit: cover;
}

.project-img:hover {
  transform: scale(1.03);
}

.project-content h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.project-content h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
}

.service-list {
  list-style-type: none;
  padding-left: 0;
}

.service-list li {
  margin-bottom: 0.8rem;
  padding-left: 2.5rem;
  position: relative;
  font-size: 1.1rem;
}

.service-list li:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary);
  background: var(--light);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(19, 99, 198, 0.2);
}

.stores-section {
  background-color: white;
  border-radius: 15px;
  padding: 2.5rem;
  margin-top: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.stores-title {
  color: var(--dark);
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.stores-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.store-item {
  background: linear-gradient(to right, #ffffff 0%, #f8f9fa 100%);
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.2rem;
  transition: all 0.3s ease;
  border-left: 5px solid var(--primary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
}

.store-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(19, 99, 198, 0.15);
}

.store-icon {
  background: var(--primary);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.store-info {
  flex-grow: 1;
}

.store-name {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

.store-location {
  color: #6c757d;
  font-size: 0.95rem;
}

/* Estilos para el carrusel projectos- AJUSTES DE TAMAÑO Y CENTRADO */
.gallery-section {
  padding: 2rem 0;
  background: white;
  margin-bottom: 3rem;
}

.gallery-title {
  color: var(--dark);
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.gallery-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

/* Contenedor del carrusel centrado */
.carousel-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

/* Ajuste del tamaño del carrusel */
.carousel-item1 {
  height: 400px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.carousel-item1 img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

/* Ajustes responsivos para el carrusel */
@media (max-width: 992px) {
  .carousel-item1 {
    height: 280px;
  }

  .carousel-container1 {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .project-content {
    margin-top: 2rem;
  }

  .carousel-item1 {
    height: 250px;
  }

  .store-item {
    padding: 1rem;
  }

  .store-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .project-section,
  .gallery-section {
    padding: 3rem 0;
  }

  .carousel-item1 {
    height: 200px;
  }
}

/* Estilos carusel incio */
.carousel-inner1 {
  min-height: 100vh;
}

.carousel-item2 {
  min-height: 100vh;
  background: no-repeat center center;
  background-size: cover;
  position: relative;
}

/* Overlay para mejorar la legibilidad del texto */
.carousel-item2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.carousel-item2 .container {
  position: relative;
  z-index: 1;
  padding-top: 30vh;
}

/* Estilos para los indicadores del carrusel */
.carousel-indicators {
  bottom: 80px;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
}

/* Efectos de animación para el texto */
.fadeIn1 {
  animation: fadeIn 1.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Botones de control del carrusel */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
  transition: opacity 0.3s;
}

.carousel-control-prev {
  left: 20px;
}

.carousel-control-next {
  right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 0.9;
}

/*Mision y vision*/
.mision-vision {
  width: 100%;
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
  margin-right: auto;
  margin-left: auto;
  display: grid;
  place-items: center;
  background: linear-gradient(to bottom, #d7daddd0, #ffffff);
}

.mision-vision h1 {
  text-align: center;
  padding-top: 20px;
  margin-bottom: 20px;
  color: #2c3e50;
  font-size: 2.5rem;
  position: relative;
  padding-bottom: 15px;
}

.mision-vision h1:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #3498db, #2ecc71);
}

.block {
  max-width: 1200px;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  box-shadow: 0 0px 40px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.text-content {
  flex: 1;
  padding: 40px;
}

.image-content {
  flex: 1;
  padding-left: 40px;
  overflow: hidden;
}

.image-content img {
  width: 75%;
  height: 90%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-content:hover img {
  transform: scale(1.05);
}

.block h2 {
  color: #2c3e50;
  margin-bottom: 20px;
  font-size: 1.8rem;
  position: relative;
  padding-bottom: 10px;
}

.block h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #3498db;
}

.block p {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
}

/* Para la misión: texto a la izquierda, imagen a la derecha */
.mision .text-content {
  order: 1;
}

.mision .image-content {
  order: 2;
}

/* Para la visión: texto a la derecha, imagen a la izquierda */
.vision .text-content {
  order: 2;
}

.vision .image-content {
  order: 1;
}

/* Diseño responsive */
@media (max-width: 900px) {
  .block {
    flex-direction: column;
  }

  .mision .text-content,
  .vision .text-content {
    order: 2;
  }

  .mision .image-content,
  .vision .image-content {
    order: 1;
  }

  .image-content {
    height: 300px;
    width: 100%;
  }
}

/* Estilo inicial para la barra de navegación (transparente) */
.navbar-transparent {
  background-color: rgba(19, 99, 198, 0.15) !important;
  transition: background-color 0.3s ease;
}

/* Asegurar que los enlaces sean visibles sobre cualquier fondo */
.navbar-transparent .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.navbar-transparent .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.8);
}

.navbar-transparent .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Estilos para el logo en la barra de navegación */
.navbar-logo {
  /* Tamaño base para escritorio */
  height: 71px;
  object-fit: contain;
  transition: all 0.3s ease; /* Transición suave para cambios de tamaño */
}
@media (min-width: 1600px) {
  .navbar-logo {
    height: 90px;
  }
}
/* Tabletas en orientación horizontal y pantallas más pequeñas */
@media (max-width: 992px) {
  .navbar-logo {
    height: 60px;
  }
}

/* Tabletas en orientación vertical */
@media (max-width: 768px) {
  .navbar-logo {
    height: 50px;
  }
}

/* Móviles */
@media (max-width: 576px) {
  .navbar-logo {
    height: 45px;
  }
}

/*Responsividad para iconos de servicios */
/* Ajustes para tablets */
@media (max-width: 991.98px) {
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
}

/* Ajustes para móviles */
@media (max-width: 767.98px) {
  .service-icon {
    width: 55px;
    height: 55px;
    font-size: 22px;
    margin-bottom: 15px;
  }
}

/* Ajustes para móviles pequeños */
@media (max-width: 575.98px) {
  .service-icon {
    width: 35px;
    height: 35px;
    font-size: 20px;
    margin-bottom: 12px;
  }
}
/*Espacio para titulos de Apertura e Implementacion*/
.espacio3 {
  margin-top: 20px;
}
@media (min-width: 1600px) {
  .espacio3 {
    margin-top: 40px;
  }
}

/* Espacio entre cabezera y subsecciones de aperturas, renovaciones e implementaciones */
.espacio4 {
  margin-top: 3rem;
}
@media (min-width: 1600px) {
  .espacio4 {
    margin-top: 5rem;
  }
}
.tamaño {
  font-size: 3rem;
}
@media (min-width: 1600px) {
  .nav-link {
    font-size: 1.3rem;
  }
  .tamaño {
    font-size: 4rem;
  }
  .tamaño1 {
    font-size: 2rem;
  }
}
@media (min-width: 500px) and (max-width: 1599px) {
  .tamaño1 {
    font-size: 1.2rem;
  }
}

/*Imagen barra final*/
.logo {
  width: 90%;
  margin-bottom: 16px;
}

@media (max-width: 576px) {
  .tamaño {
    font-size: 2.5rem;
  }
  .logo {
    width: 50%;
    margin-bottom: 0;
    margin-top: 20px;
  }

  .mobile-hidden {
    display: none !important;
  }

  .mobile-visible {
    text-align: center !important;
    display: block !important;
    margin-top: 20px;
  }
}

.columna {
  flex: 0 0 auto;
  width: 50%;
}

@media (min-width: 1600px) {
  .columna {
    flex: 0 0 auto;
    width: 66.6666666667%;
  }
}
@media (max-width: 576px) {
  .columna {
    flex: 0 0 auto;
    width: 90%;
  }
}
.columna2 {
  flex: 0 0 auto;
  width: 55%;
}

@media (min-width: 1600px) {
  .columna2 {
    flex: 0 0 auto;
    width: 66.6666666667%;
  }
}

@media (max-width: 576px) {
  .columna2 {
    flex: 0 0 auto;
    width: 100%;
  }
}
