:root {
  --primary-color: #01226a;
  --primary-light: #1a3f7a;
  --primary-dark: #001a52;
  --accent-color: #ff6b35;
  --accent-light: #ff8c65;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --white-75: rgba(255, 255, 255, 0.75);
}

/* Fuentes y tipografía */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 600;
}

.display-4, .display-5 {
  font-weight: 700;
}

/* Colores personalizados Bootstrap */
.bg-primary {
  background-color: var(--primary-color) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(1, 34, 106, 0.3);
}

.navbar .img-brand{
  width: 168px;
}

.nav-link {
  color: #fff;
  font-size: 1.2rem;
}

.btn-accent {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
  transition: all 0.3s ease;
}

.btn-accent:hover {
  background-color: var(--accent-light);
  border-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
  color: white;
}

.banner-main {
  height: 560px;
}

.about-content{
  margin-top: 75px;
}

.about-content .section-title,.about-content .section-subtitle{
  color: var(--primary-color);
}

.banner-main p{
  font-size: 1.2rem;
  color: #fff;
}

.banner-main p strong{
  color: var(--accent-color);
}

.text-accent {
  color: var(--accent-color) !important;
}

.text-white-75 {
  color: var(--white-75) !important;
}

/* Navegación */
.navbar {
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

.navbar-nav .nav-link {
  font-weight: 500;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent-color) !important;
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section.about-content{
  background: #fff;
}

/* Product Cards */
.product-card {
  transition: all 0.3s ease;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.card-img-container {
  position: relative;
  overflow: hidden;
}

.card-img-container img {
  transition: transform 0.3s ease;
  height: 200px;
  object-fit: cover;
}

.product-card:hover .card-img-container img {
  transform: scale(1.1);
}

.card-img-overlay-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-color);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
}

.product-card:hover .card-img-overlay-icon {
  opacity: 1;
  transform: translateY(0);
}

/* Service Cards */
.service-card {
  background: #fff;
  transition: all 0.3s ease;
  border-radius: 12px;
}

.service-card:hover {
  background: white;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: white;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
}

/* Stats Cards */
.stat-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Contact Info Cards */
.contact-info-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-color);
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  border-left-color: var(--accent-color);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  transform: scale(1.1);
}

/* Form Styles */
.form-control, .form-select {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(1, 34, 106, 0.25);
}

.form-label {
  font-weight: 500;
  color: var(--dark-color);
  margin-bottom: 8px;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
  color: white !important;
}

/* Utilities */
.shadow-lg {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.rounded-3 {
  border-radius: 1rem !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 100px 0 50px;
  }
  
  .display-4 {
    font-size: 2.5rem;
  }
  
  .display-5 {
    font-size: 2rem;
  }
  
  .btn-lg {
    padding: 12px 30px;
    font-size: 1rem;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .hero-section .btn {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .product-card, .service-card {
    margin-bottom: 2rem;
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card, .service-card, .contact-info-card {
  animation: fadeInUp 0.6s ease forwards;
  min-height: 158px;
}

/* Hover effects for buttons */
.btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.gradient-bg-about {
  background: #f1f1f1;
  min-height: 100vh;
}

.hero-about {
    background: #fff;
    padding: 80px 0;
    color: white;
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: white;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.about-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    min-height: 220px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.about-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.about-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.about-card h3 i{
    margin-right: 22px;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--accent-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: white;
}

.team-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--accent-orange);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.team-card h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.team-card .position {
    color: var(--accent-orange);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.btn-primary-custom {
    background: var(--accent-orange);
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

.btn-outline-custom {
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    background: transparent;
}

.btn-outline-custom:hover {
    background: white;
    color: var(--primary-blue);
}

.stats-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 3rem;
    margin: 3rem 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-orange);
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-about {
        padding: 40px 0;
    }
    
    .about-card {
        padding: 1.5rem;
    }
}

.cont-catalog{
    margin-top: 9rem
}

.desc_catalog{
    width: 100%;
    margin-bottom: 25px;
}
.desc_catalog p{
    font-size: 1.1rem;
    color: #292828;
    text-align: center;
}

.desc_catalog img{
  width: 100px;
  display: flex;
  margin: 0 auto;
}

._data_subcategory{
  background: #f9f9f9;
  padding: 25px 25px;
  border: 1px solid #616161ad;
  margin-bottom: 19px;
  border-radius: 9px;
}

._data_subcategory h4{
    font-size: 1.5rem;
    color: #f5f5f5;
    background: #2b4785;
    max-width: 250px;
    padding: 7px 18px;
}

._data_subcategory p{
  
  font-size: 1.0rem;
  color: rgb(14, 13, 13);
}

.list-group-item.active{
  background: #3b889f;
  border-color: #3b889f;
}

.sidebar {
    background-color: #f8f9fa; /* Fondo gris claro para el sidebar */
    padding: 15px;
    border-right: 1px solid #dee2e6;
    min-height: 100vh; /* Asegura que el sidebar ocupe toda la altura de la ventana */
    position: sticky; /* Hace que el sidebar sea pegajoso */
    top: 0; /* Se pega a la parte superior */
}
.category-item img {
    width: 40px;
    height: 40px;
    object-fit: cover; /* Asegura que la imagen cubra el área sin distorsionarse */
    margin-right: 10px;
    border-radius: 5px;
}
.product-card img {
    height: 158px; /* Altura fija para las imágenes de los productos */
    object-fit: cover;
}
.product-grid {
    padding: 15px;
}
.card {
    margin-bottom: 20px; /* Espacio entre las tarjetas */
}



.card .title-cat{
  font-size: 1rem;
  color: var(--primary-color);
}

._cont_contact{
  margin-top: 6rem;
}

form label.error{
  color: #e72f2f;
}

a.legend-brand{
  text-decoration: none;
  color: #6e52ff;
}

.cont_page{
  margin-top: 9rem;
}

.cont_logos .swiper .logo__item {
    width: 100%;
    min-height: 208px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px 25px;
}


.cont_logos .swiper .logo__item img {
    max-width: 190px;
    object-fit: cover;
    height: auto;
}
.btn-wsd{
  display: flex;
}
.ws_btn{
  position: relative;
  background: url('../img/icon_ws.png');
  background-repeat: no-repeat;
  background-size: cover;
  width: 31px;
  height: 31px;
}

/**Responsive**/
@media (max-width: 768px) {
    .sidebar {
        min-height: auto; /* Desactiva min-height en móviles */
        border-right: none;
        border-bottom: 1px solid #dee2e6; /* Borde inferior en móviles */
        position: static; /* Desactiva sticky en móviles */
    }
    .banner-main{
      min-height: 980px;
    }

    .about-content{
      margin-top: 115px;
    }
    
    
}