/* Main Styles for PROINSEG S.A.S. Landing Page */

:root {
  --primary: #0d6efd;
  --secondary: #6c757d;
  --accent: #ffc107;
  --dark: #212529;
  --light: #f8f9fa;
  --success: #198754;
  --info: #0dcaf0;
  --warning: #fd7e14;
  --danger: #dc3545;
  --white: #ffffff;
  --black: #000000;
  --section-spacing: 5rem;
}

body {
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
  position: relative;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../media/home.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.navbar {
  transition: all 0.3s ease;
}
/*
.navbar.scrolled {
  background-color: var(--dark) !important;
  box-shadow: 0 0 10px rgb(255, 255, 255);
}
*/
/* About Section */
.about-section {
  padding: var(--section-spacing) 0;
  background-color: var(--light);
}

.about-img {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
}

/* Services Section */
.services-section {
  padding: var(--section-spacing) 0;
}

.service-card {
  transition: all 0.3s ease;
  height: 100%;
  border: none;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

/* Projects Section */
.projects-section {
  padding: var(--section-spacing) 0;
  background-color: var(--light);
}

.project-card {
  transition: all 0.3s ease;
  overflow: hidden;
  border: none;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.project-card img {
  transition: all 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

/* CTA Section */
.cta-section {
  padding: var(--section-spacing) 0;
  background: linear-gradient(rgba(13, 110, 253, 0.9), rgba(13, 110, 253, 0.9)), url('https://images.pexels.com/photos/3862130/pexels-photo-3862130.jpeg?auto=compress&cs=tinysrgb&w=1600');
  background-size: cover;
  background-position: center;
  color: var(--white);
}

/* Contact Section */
.contact-section {
  padding: var(--section-spacing) 0;
}

.contact-info-item {
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--light);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
  text-decoration: none;
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  text-align: center;
  line-height: 40px;
  margin-right: 0.5rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
}

/* Media Queries */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .service-card, .project-card {
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .navbar-brand img {
    max-width: 150px;
  }
}
.fixed-top {
  background-color: white !important; /* Fondo blanco */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra sutil */
  transition: background-color 0.3s ease; /* Transición suave */
}

.navbar {
  background-color: white !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar .nav-link {
  color: black !important;
}

.navbar .nav-link:hover {
  color: gray !important;
}
/* Tamaño uniforme para imágenes del carrusel de proyectos */
.projects-section .carousel-item img {
  height: 650px;         /* Tamaño para escritorio */
  object-fit: cover;
  width: 100%;
  border-radius: 10px;
  background: #e9ecef;
}

/* Ajuste para tablets */
@media (max-width: 992px) {
  .projects-section .carousel-item img {
      height: 250px;
  }
}

/* Ajuste para móviles */
@media (max-width: 576px) {
  .projects-section .carousel-item img {
      height: 180px;
  }
}
/* Ajusta el padding de la sección para que se adapte mejor al slider */
.clients-section {
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #f8f9fa;
}

/* Ajusta el contenedor del slider para centrar y limitar el ancho si es necesario */
.clients-section .container {
  max-width: 100%; /* Ajusta este valor según el ancho deseado */
  margin: 0 auto;
}

/* Ajusta el espacio de los logos dentro del slider */
.clients-slider div {
  padding: 10px 15px;
}

/* Ajusta el tamaño máximo de los logos para que no ocupen demasiado espacio vertical */
.clients-slider img {
  width: 100px;
  max-height: 70px;
  object-fit: contain;
  border-radius: 8px;
  transition: filter 0.3s ease;
}

/* Opcional: Si quieres que el slider nunca sea más alto que los logos */
.clients-slider {
  max-height: 30%;
  overflow: hidden;
}
