/* Bootstrap CSS - versión completa incluida en el index.php */

/* Estilos personalizados para tarjetas con altura igual */
.card-equal-height {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-equal-height .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-content {
  flex: 1;
}

.card-footer-link {
  margin-top: auto;
  padding-top: 1rem;
}

/* Efectos hover para las tarjetas */
#features .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#features .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Reducir espacio entre cards */
#features .card {
  margin: 0 5px;
}

#features .col-lg-3 {
  padding-left: 5px;
  padding-right: 5px;
}

/* Estilo para el header con imagen de fondo */
.header-background {
  background-image: url("../img/portada.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 6rem 0;
  /* Aumentar el padding para un header más prominente */
}

.header-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(33, 37, 41, 0.85);
  /* Color oscuro con transparencia */
  z-index: 1;
}

.header-content {
  position: relative;
  z-index: 2;
}

/* Mejorar la visibilidad del texto */
.header-content h1 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.header-content p {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Efectos hover para enlaces del footer */
.hover-light {
  transition: color 0.3s ease, opacity 0.3s ease;
}

.hover-light:hover {
  color: #ffffff !important;
  opacity: 0.9;
}

footer .bi {
  font-size: 1rem;
}

footer a.fs-5 {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

footer a.fs-5:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

/* Estilo para las imágenes en las tarjetas */
.card-content img {
  transition: transform 0.3s ease, opacity 0.3s;
  max-width: 100%;
  height: auto;
}

.card-content a:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Cursor de mano al pasar sobre las imágenes en las tarjetas */
.card-content a {
  cursor: pointer;
  display: block;
}

/* Contenedor con ancho máximo */
.container-max-width {
  max-width: 1350px;
}

/* Imagen con ancho máximo */
.img-max-width-500 {
  max-width: 500px;
}

/* Tarjetas de testimonios */
.testimonial-card {
  min-height: 220px;
}

/* Controles del carrusel */
.carousel-control-prev-custom {
  left: -60px;
  width: 48px;
  height: 48px;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-control-next-custom {
  right: -60px;
  width: 48px;
  height: 48px;
  top: 50%;
  transform: translateY(-50%);
}

/* Mapa de Google */
.google-map {
  width: 100%;
  height: 300px;
  border: 0;
}

.nav-item.dropdown:hover > .dropdown-menu {
  display: block;
}

/* Estilo para mostrar el dropdown al pasar el cursor */
.nav-item.dropdown:hover > .dropdown-menu {
  display: block;
}

/* Estilo para el fondo del navbar */
.navbar {
  background-color: #fff;
}

/* Ajuste del tamaño del logo para todas las pantallas */
.navbar-brand img {
    height: 80px; /* Tamaño estándar del logo */
    max-height: 100%;
}

/* Estilo responsivo para el logo en pantallas pequeñas */
@media (max-width: 375px) {
    .navbar-brand img {
        height: 50px; /* Reducir el tamaño del logo */
    }
}

/* Estilos personalizados para íconos en la sección de misión, visión y valores */
.icon-mission:hover {
    color: #14532d !important; /* Un verde más oscuro */
}

.icon-vision:hover {
    color: #0a58ca !important; /* Un azul más oscuro */
}

.icon-value:hover {
    color: #ff9800 !important; /* Un color naranja */
}

/* Estilos para la sección Hero */
.hero-section {
    background: linear-gradient(135deg, #1e5799 0%, #207cca 51%, #2989d8 100%);
    color: white;
    padding: 5rem 0;
}

.hero {
  background-color: #1a237e; /* Azul oscuro */
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.hero-badges .badge {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  display: inline-block;
  margin: 0 5px;
}

/* Estilos para la sección de servicios */
#servicios {
  padding: 3rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: #1a237e;
  margin-bottom: 2rem;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.service-card {
    display: flex;
    flex-direction: column;
}

.service-card .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-card .btn {
    margin-top: auto;
}

.service-card h4 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 1.5rem;
}

.step-number {
    background-color: #2e7d32;
}

.cta {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
}

.cta-button {
    color: #2e7d32;
}

.team-member img {
    border: 3px solid #2e7d32;
}

.team-member h3 {
    color: #2e7d32;
}

.feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s;
}

.feature a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.feature a:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

.feature {
    width: 100%;
    height: 280px;
    margin-top: 0;
    margin-bottom: 1rem;
    overflow: hidden;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    position: relative;
}

.row-cols-lg-3>* {
    flex: 0 0 auto;
    width: 33.333333%;
}

@media (max-width: 767px) {
    .col {
        width: 100% !important;
    }

    .feature {
        height: 220px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .row-cols-md-2>* {
        flex: 0 0 auto;
        width: 50%;
    }
}

/* Estilo para el logo en el header */
.logo {
  max-height: 60px; /* Ajustar la altura máxima del logo */
  height: auto; /* Mantener la proporción */
  width: auto; /* Mantener la proporción */
}

/* Estilos específicos para la página anteproyecto.php */
.anteproyecto-hero-section {
    background: linear-gradient(135deg, #216e39 0%, #144d26 100%);
    color: white;
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.anteproyecto-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/hero-overlay.png');
    background-size: cover;
    opacity: 0.15;
    z-index: 0;
}

.anteproyecto-hero-content {
    position: relative;
    z-index: 1;
}

.anteproyecto-section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.anteproyecto-section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #216e39;
}

.anteproyecto-process-step {
    padding: 30px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
}

.anteproyecto-process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.anteproyecto-step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #216e39;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 15px;
}

.anteproyecto-service-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.anteproyecto-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.anteproyecto-service-icon {
    font-size: 2.5rem;
    color: #216e39;
    margin-bottom: 20px;
}

.anteproyecto-testimonial-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
}

.anteproyecto-client-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.anteproyecto-quote-icon {
    font-size: 30px;
    color: #e0e0e0;
}

.anteproyecto-cta-section {
    background: linear-gradient(135deg, #216e39 0%, #144d26 100%);
    color: white;
    padding: 70px 0;
}

/* Estilos específicos para factibilidad.php */
.factibilidad-hero-section {
    background: linear-gradient(135deg, #154c79 0%, #092c47 100%);
    color: white;
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.factibilidad-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/hero-overlay.png');
    background-size: cover;
    opacity: 0.15;
    z-index: 0;
}

.factibilidad-hero-content {
    position: relative;
    z-index: 1;
}

.factibilidad-section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.factibilidad-section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #154c79;
}

.factibilidad-process-step {
    padding: 30px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
}

.factibilidad-process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.factibilidad-step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #154c79;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 15px;
}

.factibilidad-service-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.factibilidad-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.factibilidad-service-icon {
    font-size: 2.5rem;
    color: #154c79;
    margin-bottom: 20px;
}

.factibilidad-testimonial-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
}

.factibilidad-client-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.factibilidad-quote-icon {
    font-size: 30px;
    color: #e0e0e0;
}

.factibilidad-cta-section {
    background: linear-gradient(135deg, #154c79 0%, #092c47 100%);
    color: white;
    padding: 70px 0;
}

/* Ajuste del tamaño de las imágenes de usuario en los testimonios */
.client-image {
    width: 60px; /* Tamaño ajustado para coincidir con pmo-factibilidad.php */
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* =========================
   ESTILOS PARA EJECUCIÓN DE PROYECTOS
   ========================= */

.ejecucion-hero-section {
  background: linear-gradient(135deg, #00796b 0%, #004d40 100%);
  color: white;
  padding: 1rem 0;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.ejecucion-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/hero-overlay.png');
  background-size: cover;
  opacity: 0.15;
  z-index: 0;
}

.ejecucion-hero-content {
  position: relative;
  z-index: 1;
}

.ejecucion-section-title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.ejecucion-section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: #00796b;
}

.ejecucion-process-step {
  padding: 30px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  height: 100%;
}

.ejecucion-process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.ejecucion-step-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: #00796b;
  color: white;
  border-radius: 50%;
  font-weight: bold;
  margin-bottom: 15px;
}

.ejecucion-service-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.ejecucion-service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.ejecucion-service-icon {
  font-size: 2.5rem;
  color: #00796b;
  margin-bottom: 20px;
}

.ejecucion-testimonial-card {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
}

.ejecucion-client-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.ejecucion-quote-icon {
  font-size: 30px;
  color: #e0e0e0;
}

.ejecucion-cta-section {
  background: linear-gradient(135deg, #00796b 0%, #004d40 100%);
  color: white;
  padding: 70px 0;
}

/* =========================
   ESTILOS PARA CREACIÓN DE PROYECTOS
   ========================= */

.proyecto-hero-section {
  background: linear-gradient(135deg, #1A237E 0%, #0D47A1 100%);
  color: white;
  padding: 1rem 0;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.proyecto-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/hero-overlay.png');
  background-size: cover;
  opacity: 0.15;
  z-index: 0;
}

.proyecto-hero-content {
  position: relative;
  z-index: 1;
}

.proyecto-section-title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.proyecto-section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: #1A237E;
}

.proyecto-process-step {
  padding: 30px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  height: 100%;
}

.proyecto-process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.proyecto-step-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: #1A237E;
  color: white;
  border-radius: 50%;
  font-weight: bold;
  margin-bottom: 15px;
}

.proyecto-service-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.proyecto-service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.proyecto-service-icon {
  font-size: 2.5rem;
  color: #1A237E;
  margin-bottom: 20px;
}

.proyecto-testimonial-card {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
}

.proyecto-client-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.proyecto-quote-icon {
  font-size: 30px;
  color: #e0e0e0;
}

.proyecto-cta-section {
  background: linear-gradient(135deg, #1A237E 0%, #0D47A1 100%);
  color: white;
  padding: 70px 0;
}

/* =========================
   ESTILOS PARA REVISIÓN DE PROYECTOS
   ========================= */

.revision-hero-section {
  background: linear-gradient(135deg, #800000 0%, #4B0000 100%);
  color: white;
  padding: 1rem 0;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.revision-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/hero-overlay.png');
  background-size: cover;
  opacity: 0.15;
  z-index: 0;
}

.revision-hero-content {
  position: relative;
  z-index: 1;
}

.revision-section-title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.revision-section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: #800000;
}

.revision-process-step {
  padding: 30px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  height: 100%;
}

.revision-process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.revision-step-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: #800000;
  color: white;
  border-radius: 50%;
  font-weight: bold;
  margin-bottom: 15px;
}

.revision-service-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.revision-service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.revision-service-icon {
  font-size: 2.5rem;
  color: #800000;
  margin-bottom: 20px;
}

.revision-testimonial-card {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
}

.revision-client-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.revision-quote-icon {
  font-size: 30px;
  color: #e0e0e0;
}

.revision-cta-section {
  background: linear-gradient(135deg, #800000 0%, #4B0000 100%);
  color: white;
  padding: 70px 0;
}

/* =========================
   ESTILOS PARA SUPERVISIÓN DE OBRA
   ========================= */

.supervision-hero-section {
  background: linear-gradient(135deg, #e65100 0%, #bf360c 100%);
  color: white;
  padding: 1rem 0;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.supervision-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/hero-overlay.png');
  background-size: cover;
  opacity: 0.15;
  z-index: 0;
}

.supervision-hero-content {
  position: relative;
  z-index: 1;
}

.supervision-section-title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.supervision-section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: #e65100;
}

.supervision-process-step {
  padding: 30px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  height: 100%;
}

.supervision-process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.supervision-step-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: #e65100;
  color: white;
  border-radius: 50%;
  font-weight: bold;
  margin-bottom: 15px;
}

.supervision-service-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.supervision-service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.supervision-service-icon {
  font-size: 2.5rem;
  color: #e65100;
  margin-bottom: 20px;
}

.supervision-testimonial-card {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
}

.supervision-client-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.supervision-quote-icon {
  font-size: 30px;
  color: #e0e0e0;
}

.supervision-cta-section {
  background: linear-gradient(135deg, #e65100 0%, #bf360c 100%);
  color: white;
  padding: 70px 0;
}

/* =========================
   ESTILOS GENERALES PARA CARACTERÍSTICAS
   ========================= */

.characteristics-image {
  max-width: 75%;
  height: auto;
}

/* =========================
   ESTILOS PARA MODAL DE CONTACTO
   ========================= */

.modal-header-biotech {
  background-color: #154c79;
  color: white;
}
