.hero {
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-primary-dark)
  );
  color: white;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 720px;
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.service-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 35px;
  border: 1px solid #e9ecef;
  height: 100%;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.service-card h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card p {
  color: #6c757d;
  margin-bottom: 0;
}

.about-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.about-card h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.about-card p {
  color: #555;
  line-height: 1.6;
}

.about-feature {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  height: 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
}

.about-feature h6 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.about-feature p {
  font-size: 0.9rem;
  color: #6c757d;
}


.nav-link.active {
  font-weight: 600;
}


.page-header {
  padding: 140px 0 80px;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-primary-dark)
  );
  color: white;
}

.page-header h1 {
  font-size: 2.75rem;
  font-weight: 700;
}

.service-list {
  padding-left: 1rem;
}

.service-list li {
  margin-bottom: 8px;
  color: var(--color-text-muted);
}

.service-image {
  max-height: 360px; 
  overflow: hidden;
  border-radius: 16px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* FORM */
.contact-form {
  background: white;
  padding: 40px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
}

.contact-form .form-control {
  padding: 14px;
  font-size: 0.95rem;
}

#form-status {
  font-size: 0.95rem;
}


@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
}

.section-light {
  background-color: #f8f9fa;
}

.section-divider {
  background-color: #ffffff;
  padding: 0px 0;
}

.divider-line {
  display: block;
  width: 80px;
  height: 3px;
  background-color: #0d6efd;
  margin: 0 auto 20px;
  opacity: 0.3;
}

.divider-text {
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6c757d;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

#projectsCarousel {
  padding-bottom: 60px; /* espacio para los indicadores */
}

#projectsCarousel .carousel-indicators {
  bottom: -40px; /* los baja debajo de las imágenes */
}

#projectsCarousel .carousel-indicators button {
  background-color: #0d6efd;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* Botones fuera del contenido */
#projectsCarousel .carousel-control-prev,
#projectsCarousel .carousel-control-next {
  top: auto;
  bottom: -70px;
  width: auto;
}

/* Posición horizontal */
#projectsCarousel .carousel-control-prev {
  left: 40%;
}

#projectsCarousel .carousel-control-next {
  right: 40%;
}

/* Estilo más limpio */
#projectsCarousel .carousel-control-prev-icon,
#projectsCarousel .carousel-control-next-icon {
  filter: invert(1);
  background-size: 100% 100%;
}

/* Contenedor del carousel */
#projectsCarousel {
  position: relative;
}

/* BOTONES */
#projectsCarousel .carousel-control-prev,
#projectsCarousel .carousel-control-next {
  width: 50px;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  opacity: 1;
}

/* Izquierda */
#projectsCarousel .carousel-control-prev {
  left: -70px;
}

/* Derecha */
#projectsCarousel .carousel-control-next {
  right: -70px;
}

/* Iconos */
#projectsCarousel .carousel-control-prev-icon,
#projectsCarousel .carousel-control-next-icon {
  filter: invert(1);
  width: 32px;
  height: 32px;
}

/* Indicadores abajo */
#projectsCarousel .carousel-indicators {
  bottom: -40px;
}

@media (max-width: 768px) {
  #projectsCarousel .carousel-control-prev,
  #projectsCarousel .carousel-control-next {
    display: none;
  }
}

.carousel-item .col-md-4 {
  overflow: hidden;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .project-img:hover {
    transform: none;
    box-shadow: none;
  }
}


.about-image-wrapper {
  max-height: 900px;      /* ajusta según tu diseño */
  overflow: hidden;
  border-radius: 16px;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* clave */
  display: block;
}

.footer {
  background-color: #0f172a; /* azul industrial oscuro */
  color: #cbd5e1;
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer-title {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-text {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #38bdf8;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 30px 0;
}

.footer-bottom {
  font-size: 0.9rem;
  color: #94a3b8;
}

