/* Fuentes principales */
@import url("https://fonts.cdnfonts.com/css/century-schoolbook");
/*@import url('https://fonts.googleapis.com/css2?family=Aptos:wght@300;400;500;600;700&display=swap');*/
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  --primary-blue: #003366;
  --secondary-blue: #0066cc;
  --accent-orange: #ffa07a;
  --light-gray: #f8f9fa;
  --icon-blue: #1268b3;
}

/* Aplicación de la tipografía */
h1,
h2,
h3,
.section-title,
.display-4,
.footer-title,
.card-title,
.team-member-name,
.team-member-position,
.value-title,
.ff-century {
  font-family: "Century Schoolbook", Georgia, "Times New Roman", Times, serif;
}

.footer-links,
p,
li,
.btn,
.team-member-bio,
.value-text {
  /*font-family: 'Aptos', 'Segoe UI', Roboto, sans-serif;*/
  font-family: "Inter", "Segoe UI", Roboto, sans-serif;
}

.display-4 {
  font-size: 40px;
  font-weight: 400;
}

/* Iconografía */
.icon-blue {
  color: var(--icon-blue);
}

/* Client Carousel Styles */
.client-carousel {
  padding: 2rem 0;
}

.client-logo {
  opacity: 0.7;
  transition: all 0.3s ease;
  max-height: 100px;
  object-fit: contain;
  filter: grayscale(100%);
  padding: 1rem;
}

p {
  text-align: justify;
}

.logo-container {
  height: 120px; /* Altura fija para el contenedor */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.client-logo {
  opacity: 0.7;
  transition: all 0.3s ease;
  max-width: 120%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
}

.client-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

.client-carousel-control {
  background-color: var(--primary-blue);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background-size: 50%;
  filter: none;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 1;
}

.carousel-item {
  padding: 1rem 3rem;
}

.client-logo-placeholder {
  height: 100px;
  width: 100%;
}

/* Estilo especifico para boton de contactenos en index */
.btn-global {
  color: white;
  background: transparent;
  border: 2px solid var(--accent-orange);
  padding: 0.5rem 2.5rem 0.5rem 1.5rem;
  position: relative;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-global::after {
  content: "↗";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.btn-global:hover {
  background-color: var(--accent-orange);
  color: white;
  transform: translateY(-2px);
}

.btn-global:hover::after {
  transform: translate(3px, -50%);
}

/* Navbar Styles */
.navbar {
  background-color: var(--primary-blue);
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
  height: 80px;
}

.nav-link {
  color: white !important;
  margin: 0 0.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-orange);
  transition: width 0.3s ease;
}

.nav-link:hover:after {
  width: 100%;
}

.navbar {
  background-color: var(--primary-blue);
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(0, 51, 102, 0.85);
  padding: 0.5rem 0;
}

/* Agregar padding al body para compensar el navbar fijo */
body {
  padding-top: 112px; /* Altura del navbar (80px logo + 2rem padding) */
}

.dropdown-menu {
  background-color: var(--primary-blue);
  border: none;
  border-radius: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
  color: white;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background-color: var(--secondary-blue);
  color: white;
  transform: translateX(5px);
}

/* Reset de todos los estilos de línea existentes */
.nav-link:after,
.dropdown-toggle:after {
  display: none !important;
}

/* Nuevo sistema unificado para todas las líneas usando ::before */
.nav-link {
  color: white !important;
  margin: 0 0.5rem;
  position: relative;
  transition: all 0.3s ease;
}

/* Crear indicador de dropdown personalizado */
.dropdown-toggle {
  padding-right: 1.2rem !important;
  position: relative;
}

.dropdown-toggle .dropdown-indicator {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 0.3em solid white;
  border-right: 0.3em solid transparent;
  border-left: 0.3em solid transparent;
}

/* Línea naranja unificada */
.nav-link::before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-orange);
  transition: width 0.3s ease;
}

.nav-link:hover::before,
.nav-item.active .nav-link::before {
  width: 100%;
}

/* Asegurar que la línea desaparezca cuando no hay hover */
.nav-item:not(:hover):not(.active) .nav-link::before {
  width: 0;
}

/* Estilo para el dropdown menu */
.dropdown-menu {
  margin-top: 0.5rem;
  border-radius: 0;
  border-top: 2px solid var(--accent-orange);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--secondary-blue) 100%
  );
  color: white;
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../img/plantilla_index-v2.png") center/cover;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* Hero Section2 */
.hero-section2 {
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--secondary-blue) 100%
  );
  color: white;
  min-height: 75vh;
  padding: 2rem 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.extra-hero::before,
.hero-section2::before {
  content: "";
  top: -30px !important;
  position: absolute;
  min-height: 80vh;
  inset: 0;
  background: url("../img/bg-asesoria-financiera-v2.png") center/cover no-repeat;
  opacity: 0.4;
}

.extra-hero::before {
  top: -90px !important;
  opacity: 0.4 !important;
}
.extra-hero {
  overflow: hidden;
  position: relative;
}
.hero-content2 {
  position: relative;
  z-index: 1;
}

/* Services Section */
/*
    .service-card {
        border: none;
        transition: all 0.3s ease;
        background: white;
        border-radius: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    */

.service-card {
  border: none;
  transition: all 0.3s ease;
  background: white;
  border-radius: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card .card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem;
}

/* Igualar la altura de los iconos y mantenerlos alineados */
.service-card .card-body i {
  font-weight: 300;
  margin-bottom: 1.5rem;
  font-size: 2.5rem !important;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Igualar la altura del título */
.service-card .card-title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: var(--primary-blue);
  height: 60px; /* Altura fija para todos los títulos */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Asegurar que el texto descriptivo comience a la misma altura */
.service-card .card-text {
  flex-grow: 1;
  margin-top: 0;
  line-height: 1.6;
}

.section-title {
  color: var(--primary-blue);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: "";
  position: absolute;
  width: 50%;
  height: 3px;
  background-color: var(--accent-orange);
  bottom: -10px;
  left: 25%;
}

/* Footer */
.footer {
  background-color: var(--primary-blue);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-title {
  color: var(--accent-orange);
  /*color: #1268B3;*/
  margin-bottom: 1.5rem;
  font-weight: normal;
}

.footer p {
  text-align: left !important;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
}

.social-icons {
  margin-top: 1.5rem;
}

.social-icons a {
  color: white;
  margin: 0 10px;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--accent-orange);
}

/* Estilos específicos para la página de equipo */
.team-hero {
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--secondary-blue) 100%
  );
  color: white;
  padding: 5rem 0;
  margin-bottom: 3rem;
  overflow: hidden;
  min-height: 400px;
}

.team-member-card {
  border: none;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.team-member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.team-member-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top center; /* Esto mantendrá la parte superior de la imagen visible */
  border-bottom: 3px solid var(--accent-orange);
}

.team-member-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.team-member-bio {
  margin-bottom: 1rem;
}

.team-member-social {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.team-member-name {
  color: var(--primary-blue);
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.team-member-position {
  color: var(--accent-orange);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Ajuste específico para la foto de Eduardo Díaz */
img[alt="Eduardo Díaz"] {
  object-position: center 10%; /* Ajusta la posición vertical para mostrar bien el rostro */
  height: 300px; /* Mantiene la altura consistente con las demás fotos */
  transform: scale(1); /* Reduce ligeramente el tamaño si es necesario */
}

.section-title {
  color: var(--primary-blue);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: "";
  position: absolute;
  width: 50%;
  height: 3px;
  background-color: var(--accent-orange);
  bottom: -10px;
  left: 25%;
}

/* Values Section Styles */
.values-section {
  background-color: var(--light-gray);
}

.value-card {
  border: none;
  background: white;
  border-radius: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.value-title {
  color: var(--primary-blue);
  font-weight: bold;
}

.value-text {
  color: #666;
  line-height: 1.6;
}

.value-icon {
  height: auto;
  width: auto;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border-radius: 0;
}
/* Estilos especificos para la pagina de fusiones.html*/

.row {
  position: relative;
}

/* Contenedor principal del proceso */
.process-step-wrapper {
  position: relative;
  height: 100%;
}

.process-step {
  height: 100%;
  padding: 2rem;
  border: 2px solid #33a3dc;
  background: white;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

/* Asegurar que el contenido se distribuya uniformemente */
.process-step h3 {
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.process-step p {
  margin-bottom: 0;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

/* Mantener el ícono centrado y con tamaño consistente */
.process-icon {
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 60px;
}

.process-icon i {
  font-size: 2.5rem;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Estilos para la flecha */
.process-arrow {
  position: absolute;
  top: 50%;
  right: -1rem; /* Ajustado para que sobresalga más */
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 2rem solid var(--accent-orange);
  border-top: 2rem solid transparent;
  border-bottom: 2rem solid transparent;
  z-index: 2;
  pointer-events: none;
}

/* Ocultar la flecha en el último elemento */
.process-step-wrapper:last-child .process-arrow {
  display: none;
}

/* Animación al hover */
.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Ajustes responsive */
/* Ajustes responsive */
@media (max-width: 767.98px) {
  .process-step-wrapper {
    margin-bottom: 5rem;
  }

  .process-step-wrapper:last-child {
    margin-bottom: 0;
  }

  .process-arrow {
    top: auto;
    right: 50%;
    bottom: -3rem;
    transform: translateX(50%) rotate(90deg);
  }
}

/* Contenedor de la sección de proceso */
.process-section .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
}

/* Asegurar que las columnas tengan la misma altura */
.process-section .col-md-4 {
  display: flex;
  flex-direction: column;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.service-hero {
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--secondary-blue) 100%
  );
  color: white;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.service-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*background: url('/api/placeholder/1920/1080') center/cover;*/

  opacity: 0.1;
}

.feature-card {
  background: white;
  border-radius: 0;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Estilos para el timeline del proceso */
.process-timeline {
  position: relative;
  padding: 2rem 0;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 40%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent-orange);
  z-index: 1;
}

.process-step-timeline {
  position: relative;
  text-align: center;
  padding: 2rem 1rem;
  z-index: 2;
  background: white;
  transition: all 0.3s ease;
}

.process-icon-square {
  width: 120px; /* Aumentado de 80px */
  height: 120px; /* Aumentado de 80px */
  margin: 0 auto;
  background: white;
  border: 2px solid var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
}

.process-icon-square i {
  font-size: 4rem; /* Aumentado de 2rem */
  color: var(--primary-blue);
}

.step-triangle {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 45px; /* Aumentado de 30px */
  height: 45px; /* Aumentado de 30px */
  background: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  font-size: 1.2rem; /* Aumentado el tamaño de la fuente */
  padding-left: 12px; /* Ajuste para centrar mejor el número */
  padding-bottom: 12px; /* Ajuste para centrar mejor el número */
}

.process-step-timeline h3 {
  color: var(--primary-blue);
  margin-top: 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.process-step-timeline h3 {
  height: 50px; /* Altura fija para títulos */
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step-timeline p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 0.5rem;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
  min-height: 100px;
}

/* Línea conectora entre pasos */
.process-step-timeline::after {
  content: "";
  position: absolute;
  top: 40%;
  right: -1rem;
  width: 2rem;
  height: 1px;
  min-height: 80px;
  background: var(--accent-orange);
  z-index: 1;
}

.process-step-timeline:last-child::after {
  display: none;
}

.process-step-timeline:hover .process-icon-square {
  border-color: var(--accent-orange);
  box-shadow: 0 0 15px rgba(0, 51, 102, 0.1);
}

.process-step-timeline:hover {
  transform: translateY(-5px);
}

@media (max-width: 992px) {
  .process-timeline::before,
  .process-step-timeline::after {
    display: none;
  }

  .process-step-timeline {
    margin-bottom: 2rem;
  }

  .process-icon-square {
    width: 100px;
    height: 100px;
  }

  .process-icon-square i {
    font-size: 3rem;
  }

  .step-triangle {
    width: 40px;
    height: 40px;
  }
}

/* Estilo para la sección de servicios con imagen de fondo */
#capital_proceso {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  min-height: 500px;
}

/* Contenedor de imagen de fondo */
#capital_proceso::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/g1.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.5; /* Ajusta la opacidad según necesites */
  z-index: 0;
}

/* Asegurar que el contenido esté por encima del fondo */
#capital_proceso .container {
  position: relative;
  z-index: 1;
}

/* Estilo para la sección de fusiones con imagen de fondo */
#fusiones_image {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  min-height: 500px;
}

/* Contenedor de imagen de fondo */
#fusiones_image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/g2.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.5; /* Ajusta la opacidad según necesites */
  z-index: 0;
}

/* Asegurar que el contenido esté por encima del fondo */
#fusiones_image .container {
  position: relative;
  z-index: 1;
}

/* Estilo para la sección de Asesoria con imagen de fondo */
#asesoria_image {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  min-height: 500px;
}

/* Contenedor de imagen de fondo */
#asesoria_image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/g3.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.5; /* Ajusta la opacidad según necesites */
  z-index: 0;
}

/* Asegurar que el contenido esté por encima del fondo */
#asesoria_image .container {
  position: relative;
  z-index: 1;
}

/*ESTILOS PARA TRAYECTORIA*/
.trajectory-card {
  border: none;
  background: white;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.trajectory-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.company-logo {
  width: 140px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.trajectory-content {
  padding: 1.5rem;
  text-align: center;
}

.trajectory-content h3 {
  height: 50px; /* Ajusta este valor según necesites */
  color: var(--primary-blue);
  font-family: "Century Schoolbook", serif;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.trajectory-content p {
  color: #666;
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

@media (max-width: 1200px) {
  .company-logo {
    width: 120px;
    height: 70px;
  }
}

@media (max-width: 992px) {
  .col-lg-2-4 {
    width: 33.33%;
  }
}

@media (max-width: 768px) {
  .col-lg-2-4 {
    width: 50%;
  }
}

@media (max-width: 576px) {
  .col-lg-2-4 {
    width: 100%;
  }
}

/* Animations */
.title-animation {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.title-animation.animate {
  opacity: 1;
  transform: translateY(0);
}

.section-animation {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.section-animation.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Asegurar que todos los iconos usen la version regular y no la solid */
.value-icon i,
.process-icon i,
.icon-blue {
  color: var(--icon-blue);
  font-weight: 300;
  /* Hacer los íconos más grandes */
  font-size: 4rem !important;
}

/* Ajuste para los íconos en las cards de servicios */
.service-card .card-body i {
  font-weight: 300;
  margin-bottom: 1.5rem;
  font-size: 2.5rem !important;
}

/* Ajuste para los íconos en feature cards */
.feature-card .icon-blue {
  font-weight: 300;
  font-size: 2.5rem !important;
}

.fas {
  font-family: "Font Awesome 6 Pro" !important;
  font-weight: 300 !important;
}

.animate-delay-1 {
  transition-delay: 0.2s;
}
.animate-delay-2 {
  transition-delay: 0.4s;
}
.animate-delay-3 {
  transition-delay: 0.6s;
}

/* Estilos para las tarjetas del blog */
.blog-card {
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.blog-card .card-img-top {
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid var(--accent-orange);
}

.blog-card .card-body {
  padding: 1.5rem;
}

.blog-category {
  color: var(--accent-orange);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-card .card-title {
  color: var(--primary-blue);
  margin: 0.5rem 0;
  font-family: "Century Schoolbook", Georgia, "Times New Roman", Times, serif;
  font-size: 1.25rem;
}

.blog-card .card-text {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Estilos para el formulario de contacto */
.contact-card {
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 0;
}

.form-label {
  color: var(--primary-blue);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  border: 2px solid #e9ecef;
  border-radius: 0;
  padding: 0.75rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent-orange);
  box-shadow: none;
}

.form-control::placeholder {
  color: #adb5bd;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Estilo para mensajes de validación */
.form-control.is-invalid {
  border-color: #dc3545;
  background-image: none;
}

.form-control.is-valid {
  border-color: #198754;
  background-image: none;
}

.invalid-feedback {
  font-size: 0.875rem;
  color: #dc3545;
}

/* Animaciones para las cards del blog */
.blog-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.blog-card:nth-child(2) {
  animation-delay: 0.2s;
}

.blog-card:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estilos responsive */
@media (max-width: 768px) {
  .blog-card .card-img-top {
    height: 180px;
  }

  .contact-card {
    margin: 0 1rem;
  }
}

/* Estilos para los botones del formulario */
.contact-card .btn-global {
  margin-top: 1rem;
  padding: 0.75rem 2.5rem;
  font-weight: 500;
}

/* Efectos hover para los enlaces del blog */
.blog-card .btn-global:hover {
  background-color: var(--accent-orange);
  color: white;
}

/* Estilo para la sección de contacto */
.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 51, 102, 0.05) 0%,
    rgba(0, 102, 204, 0.05) 100%
  );
  z-index: -1;
}

/* Estilo para la sección de servicios con imagen de fondo index.html*/
#servicios {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

/* Contenedor de imagen de fondo */
#servicios::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/shutterstock_676737367.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.5; /* Ajusta la opacidad según necesites */
  z-index: 0;
}

/* Asegurar que el contenido esté por encima del fondo */
#servicios .container {
  position: relative;
  z-index: 1;
}

/* Mejorar contraste de las tarjetas de servicio */
#servicios .service-card {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Mejorar visibilidad del título de sección */
#servicios .section-title {
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
}

/* Estilo para los iconos SVG de servicios */
.service-icon {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-svg-icon {
  height: 90px; /* Ajusta este valor según necesites */
  width: auto;
  max-width: 100%;
}

/* Asegurar consistencia entre iconos SVG y Font Awesome */
.service-card .card-body i,
.service-card .service-icon {
  margin-bottom: 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Colorear los iconos SVG para que coincidan con el azul de Font Awesome */
.service-svg-icon {
  height: 90px;
  width: auto;
  max-width: 100%;
  /* Aplicar un filtro para cambiar el color a azul */
  filter: invert(23%) sepia(89%) saturate(1352%) hue-rotate(195deg)
    brightness(94%) contrast(98%);
  /* El filtro anterior genera aproximadamente el color #1268B3 (var(--icon-blue)) */
}

/* Ajuste adicional para mejorar la consistencia visual */
.service-svg-icon:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* Ajustes adicionales para mantener consistencia con el diseño existente */
.blog-section .section-title::after,
.contact-section .section-title::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 3px;
  background-color: var(--accent-orange);
  bottom: -10px;
  left: 25%;
}

/* Estilo para la sección de servicios con imagen de fondo sierra_valores.html*/
#servicios2 {
  position: relative;
  padding: 5rem 0;
  overflow: visible;
  margin-top: 0;
  padding-top: 0;
}

/* Contenedor de imagen de fondo */
#servicios2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/FOTO.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.5; /* Ajusta la opacidad según necesites */
  z-index: 0;
}

/* Asegurar que el contenido esté por encima del fondo */
#servicios2 .container {
  position: relative;
  z-index: 1;
}

/* Mejorar contraste de las tarjetas de servicio */
#servicios2 .service-card {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Mejorar visibilidad del título de sección */
#servicios2 .section-title {
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
}

.status-icons-wrapper {
  margin-bottom: 2rem;
}

.check-circle {
  width: 60px;
  height: 60px;
  background-color: #4a7cff;
  color: white;
  font-size: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.check-circle i {
  color: white;
  font-size: 32px;
  font-weight: 300;
}

.line-between {
  height: 4px;
  width: 270px;
  background-color: #4a7cff;
}

.logo-status {
  max-height: 85px;
  object-fit: contain;
}

/* Cuando está inactiva */
.nav-link.nav-sierra-valores.active {
  background-color: #3173a5 !important;
  color: white !important;
}

/* Hover cuando está activa (opcional, para resaltar más) */
.nav-link.nav-sierra-valores.active:hover {
  background-color: #47a5e7 !important;
  color: white !important;
}

/* Mejoras responsive para todo el sitio */

/* Base responsive para todas las páginas */
@media (max-width: 768px) {
  /* Ajustes generales */
  body {
    padding-top: 86px; /* Reducir el padding-top en móviles */
  }

  .navbar-brand img {
    height: 60px; /* Logo más pequeño en móvil */
  }

  .display-4 {
    font-size: 28px;
  }

  .lead {
    font-size: 16px;
  }

  /* Hero sections más compactos */
  .hero-section,
  .service-hero,
  .team-hero,
  .hero-section2 {
    padding: 3rem 0;
  }

  /* Mejorar espaciado en secciones */
  section {
    padding: 2rem 0;
  }

  .section-title {
    font-size: 24px;
  }
}

/* Nuevos estilos para tarjetas con solo imagen */
.card-img-container {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 0;
}

.card-project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.trajectory-card {
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  overflow: hidden;
}

.trajectory-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.trajectory-card:hover .card-project-image {
  transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .card-img-container {
    height: 180px;
  }

  .trajectory-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .card-img-container {
    height: 200px;
  }
}

/* Correcciones específicas para móvil - Agregar al final de style.css */

/* Asegurar que las reglas para móvil sean más específicas y tengan prioridad */
@media (max-width: 768px) {
  /* Forzar visualización de trayectoria */
  .trajectory-card {
    height: auto !important;
    width: 100% !important;
    margin-bottom: 1.25rem !important;
  }

  /* Controlar el tamaño de los logos */
  .company-logo {
    width: 100px !important;
    height: 60px !important;
    max-width: 100px !important;
    object-fit: contain !important;
    margin: 0 auto 0.75rem !important;
  }

  /* Ajustes de texto */
  .trajectory-content h3 {
    height: auto !important;
    min-height: 0 !important;
    font-size: 1rem !important;
    margin: 0 0 0.5rem !important;
    text-align: center !important;
  }

  .trajectory-content p {
    font-size: 0.85rem !important;
    line-height: 1.3 !important;
    text-align: center !important;
    padding: 0 0.25rem !important;
  }

  /* Forzar una columna en móvil */
  .col-lg,
  .col-md-4,
  .col-sm-6 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0 0.75rem !important;
  }

  /* Contenedor más adaptable */
  .trajectory-content {
    padding: 1rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  /* Agrega más contraste para mejorar la legibilidad */
  .trajectory-card {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15) !important;
  }
}

/* Correcciones para pantallas muy pequeñas */
@media (max-width: 576px) {
  .trajectory-card {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 320px !important;
  }
}

/* Estilos mejorados para el carrusel */

/* Ajustes para los indicadores */
.carousel-indicators {
  bottom: -30px;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--primary-blue);
  opacity: 0.5;
  margin: 0 5px;
  border: none;
}

.carousel-indicators .active {
  opacity: 1;
  background-color: var(--accent-orange);
}

/* Estilos responsive para el carrusel */
@media (max-width: 767.98px) {
  .client-carousel {
    padding: 1rem 0 3rem;
  }

  .logo-container {
    height: 100px;
    padding: 0.5rem;
    margin: 0 auto;
    max-width: 80%;
  }

  .client-logo {
    max-width: 100%;
    max-height: 90px;
  }

  /* Centrar los logos en móvil */
  .carousel-item .row {
    justify-content: center;
  }
}

/* Asegurar que el carrusel tenga suficiente espacio para los indicadores */
#clientes {
  padding-bottom: 40px;
}

/* Estilos base para las tarjetas */
.trajectory-card {
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.card-img-container {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.card-project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.trajectory-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.trajectory-card:hover .card-project-image {
  transform: scale(1.1);
}

/* Ajustes específicos para móviles */
@media (max-width: 768px) {
  .trajectory-card {
    margin-bottom: 15px;
    max-width: 100%;
  }

  .card-img-container {
    height: 200px; /* Altura fija para consistencia */
  }

  /* Asegurar que la columna tome el ancho completo */
  .col-lg,
  .col-md-4,
  .col-sm-6 {
    width: 100%;
    padding: 0 10px;
  }

  /* Centra la imagen en pantallas pequeñas */
  .card-project-image {
    object-position: center;
  }
}

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 576px) {
  .card-img-container {
    height: 180px;
  }

  /* Contiene las tarjetas en un ancho máximo para pantallas pequeñas */
  .trajectory-card {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Solución para cards con imágenes completas */

.trajectory-card {
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  margin-bottom: 20px;
  background-color: white;
  height: auto; /* Altura automática basada en contenido */
}

.card-img-container {
  width: 100%;
  position: relative;
}

.card-project-image {
  width: 100%;
  display: block; /* Elimina espacio bajo la imagen */
  aspect-ratio: 4/3; /* Mantiene proporción consistente */
  object-fit: contain; /* Muestra imagen completa sin recortar */
  background-color: white;
}

.trajectory-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Ajustes móviles */
@media (max-width: 768px) {
  .trajectory-card {
    margin-left: auto;
    margin-right: auto;
    max-width: 320px; /* Ancho máximo en móvil */
  }

  /* Asegurar que la columna tome el ancho completo */
  .col-lg,
  .col-md-4,
  .col-sm-6 {
    width: 100%;
    padding: 0 10px;
  }
}

#servicios .card-text {
  text-align: center;
}

.service-card .card-text {
  text-align: center;
}

.feature-card p {
  text-align: center;
}

/* Status Section Responsive */
.status-item {
  position: relative;
}

.status-icon-wrapper {
  position: relative;
  z-index: 1; /* To keep icon above the line */
}

.check-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 24px;
  background-color: #0d2d5d;
}

#status .check-circle {
  width: 80px;
  height: 80px;
  font-size: 34px;
  background-color: #0f6dff;
}

.logo-status {
  max-height: 94px;
  width: auto;
}

@media (min-width: 768px) {
  .status-item:not(:last-child)::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #ccc;
    top: 25px; /* (50px / 2) to align with center of circle */
    left: 50%;
    z-index: 0;
  }

  #status .status-item:not(:last-child)::after {
    width: 70%;
    height: 3px;
    background-color: #0f6dff;
    left: 65%;
    top: 40px;
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  #status .check-circle {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  #status .status-item:not(:last-child)::after {
    top: 30px;
  }
}

@media (max-width: 768px) {
  #status .check-circle {
    width: 70px;
    height: 70px;
    font-size: 32px;
  }

  #status .status-item:not(:last-child)::after {
    top: 35px;
  }
}

.edicto-actions {
  min-width: 104px;
  padding-left: 8px;
}

/* Language Selector Styles */
.language-switcher .dropdown-menu {
  background-color: var(--primary-blue) !important;
}

.language-option {
  padding: 0.5rem 1rem;
  color: white !important;
}

.language-option:hover {
  background-color: var(--secondary-blue) !important;
  color: white !important;
  transform: translateX(5px);
}

.language-option.active {
  background-color: var(--accent-orange) !important;
  color: white !important;
}

li.nav-item.border-menu a {
  border: 2px solid #1d79bd;
  border-radius: 25px;
  padding-left: 20px !important;
  padding-right: 20px !important;
}
li.nav-item.border-menu.active a,
li.nav-item.border-menu a:hover {
  background-color: #1d79bd;
}
li.nav-item.border-menu .nav-link::before {
  display: none !important;
}
#blog-section,
#contact-section {
  position: absolute;
  top: -110px;
  z-index: -1;
}

.process-step .h-left {
    margin-bottom: 0.5rem;
    flex-shrink: 1;
}

.process-icon-square > .service-icon,
.d-flex > .service-icon {
    margin-bottom: 0px;
}

.bg-light{
  position: relative;
}