@import url("sections/animations.css");
@import url("sections/cac.css");
@import url("sections/cav.css");
@import url("sections/contact.css");
@import url("sections/footer.css");
@import url("sections/hero.css");
@import url("sections/mission.css");
@import url("sections/navbar.css");
@import url("sections/products.css");
@import url("sections/projects.css");
@import url("sections/whatsapp.css");

:root {
  --primary-color: #6ABEFF;
  --secondary-color: #FFD166;
  --background-color: #F0F0F0;
  --dark-color: #333333;
  --light-color: #FFFFFF;
  --text-color: #333333;
  --border-color: #DDDDDD;
  --card-bg: #ffffff;
  --input-border: #DADADA;
}

body {
  font-family: 'DM Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--dark-color);
}

.btn-primary:hover {
  background-color: #5aa8e6;
  border-color: #5aa8e6;
}

.btn-outline-light {
  color: var(--light-color);
  border-color: var(--light-color);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.bg-light {
  background-color: var(--background-color) !important;
}

.table-dark {
  background-color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-success {
  background-color: var(--secondary-color) !important;
}

.bg-warning {
  background-color: var(--secondary-color) !important;
}

.border-primary {
  border-color: var(--primary-color) !important;
}

.border-success {
  border-color: var(--secondary-color) !important;
}

.border-warning {
  border-color: var(--secondary-color) !important;
}

.badge.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-dark {
  background-color: var(--dark-color) !important;
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
      opacity: 0;
      transform: translateY(-20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Sección ¿Quiénes Somos? */
#nosotros {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

#nosotros h2 {
  position: relative;
  padding-bottom: 0.75rem;
}

#nosotros h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3rem;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

#nosotros .nosotros-img {
  max-width: 220px;
  width: 100%;
  height: auto;
}

@media (max-width: 991.98px) {
  #nosotros .nosotros-img {
    max-width: 200px;
  }
}

@media (max-width: 767.98px) {
  #proyectos .video-container {
    margin-bottom: 1.5rem;
  }
  
  #proyectos .project-content {
    padding: 0 0.5rem;
  }
  .hero-section {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .hero-content {
    text-align: center;
  }
  .hero .btn {
    min-width: 220px;
  }
}



/* Opcional: mejorar legibilidad en móvil */
@media (max-width: 575.98px) {
  .form-container {
    padding: 15px;
  }
  .form-control {
    margin-bottom: 10px;
  }
  #proyectos .lead {
    font-size: 1.1rem;
  }
  .contact-section{
    padding: 15px 15px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero .btn {
    width: 100%;
  }
}