.about-us-header h1 {
text-align: center;
font-size: 60px;
margin-bottom: 30px;
}

.about-us-navbar .navbar-brand img {
    filter: none; 
    opacity: 1;     
    transition: filter 0.3s ease, opacity 0.3s ease;
}


.about-navbar {
    position: fixed;
    width: 100%;
    z-index: 1100;
    background: transparent;
    transition: all 0.3s ease-in-out;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    top: 40px;
    padding: 0 50px;
}

.main-content {
    padding-top: 110px; 
}

.about-navbar.scrolled {
    background: white;
}

.about-navbar.scrolled .about-nav-link {
    color: #002C59;
}

.about-navbar .about-navbar-brand {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    padding-left: 150px; 
}

.about-navbar .about-navbar-brand img {
    height: 100px; 
    width: auto;
}


.about-navbar .about-navbar-nav {
    display: flex;
    list-style: none;
    position: relative;
    margin-left: auto;
    gap: 40px;
}

.about-navbar .about-nav-item {
    position: relative;
}


.about-navbar .about-nav-link {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.about-navbar .about-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px; 
    width: 0%; 
    height: 3px; 
    background-color: #BCA500; 
    transition: width 0.3s ease-in-out; 
    background: none;
    
}

.about-navbar .about-nav-link:hover::after {
    width: 100%; 
}


.about-navbar .about-nav-link:hover {
    color: #BCA500;
}


.about-dropdown-menu {
    position: absolute;
    background: white;
    display: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 5px;
    list-style: none;
    min-width: 170px;
    top: 40px;
}

.about-dropdown-submenu:hover .about-dropdown-submenu1 {
    display: block;
}

.about-nav-item:hover .about-dropdown-menu {
    display: block;
}

.about-dropdown-submenu1 {
    display: none;
    position: absolute;
    left: 90%; 
    background: white;
    list-style: none;
    padding: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    min-width: 200px;
}

.about-dropdown-submenu:hover .about-dropdown-submenu1 {
    display: block;
}


.about-dropdown-item {
    text-decoration: none;
    color: #002C59;
    font-size: 14px;
    font-weight: normal;
    padding: 10px;
    display: block;
    transition: background 0.3s ease-in-out;
}


.about-dropdown-item:hover {
    background: #f4f4f4;
}


.about-btn-contact {
    background: #BCA500;
    padding: 5px 30px;
    border-radius: 20px;
    font-weight: bold;
    color: #ffffff;
    font-size: 17px;
    margin-top: -5px;
    text-align: center;
}

.about-btn-contact:hover {
    background: linear-gradient(90deg, #BCA500, #ffce0a);;
    color: white;
}

.about-us-header {
    height: 80vh; 
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

.header-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: -2;
    filter: brightness(0.6) saturate(1.2)  blur(1px); 
    transform: scale(1.02);

}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 32, 56, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: -1;
    clip-path: polygon(100% 0, 100% 100%, 45% 100%, 58% 0)

}

.header-content1 {
    text-align: center;
    color: #fff;
    z-index: 1;
}

.header-title {
    color: #fff;
    position: relative;
    display: inline-block;
    margin: 0;
    opacity: 0; 
    transform: translateY(50px); 
    transition: transform 0.8s ease, opacity 0.8s ease;
    font-weight: bold;
    z-index: 2;
}

.header-title.visible {
    opacity: 1; 
    transform: translateY(0); 
}

.header-title::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background-color: #BCA500; 
    transition: width 0.4s ease;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.header-title:hover::after {
    width: 100%; 
}

.header-description {
    font-size: 16px;
    color: #BCA500;
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    opacity: 0; 
    transform: translateY(-20px); 
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.header-description.visible {
    opacity: 1;
    transform: translateY(0);
}


.section-description-productos-servicios {
    padding: 40px 0;
    background-color: #f4f4f4;
    text-align: center;
}


.section-description-productos-servicios .section-subtitle-productos-servicios {
    font-size: 25px;
    color: #002246;
    letter-spacing: 1.5px;
    max-width: 740px;
    margin: 0 auto;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background-color: #002246;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.productos-destacados-section {
    padding: 60px 20px;
}

.section-title-productos-destacados {
    font-size: 32px;
    font-weight: bold;
    color: #BCA500;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title-productos-destacados::after {
    content: "";
    display: block;
    width: 350px;
    height: 4px; 
    background-color: #BCA500;
    margin: 10px auto 0;
}

.productos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.producto-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding: 10px;
    width: 280px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.producto-card img {
    width: 100%;
    height: 190px; 
    object-fit: contain; 
    border-radius: 8px;
    margin-bottom: 10px;
}

.producto-card:hover img {
    filter: brightness(0.5); 
}

.producto-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.producto-card .producto-hover-description {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    background: rgba(0, 0, 0, 0.6); 
    color: #f4f4f4;
    font-size: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: justify;
    padding: 20px;
    line-height: 1.5;
    overflow: hidden;
    box-sizing: border-box;
}

.btn-ver-mas {
    margin-top: 10px; 
    display: inline-block;
    padding: 8px 16px;
    background-color: #002246;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    align-self: flex-start; 
}

.btn-ver-mas:hover {
    background: linear-gradient(90deg, #002C59, #0061c2);
    transform: scale(1.05);
}

.producto-card:hover .producto-hover-description {
    opacity: 1;
}

.producto-categoria, .producto-nombre {
    z-index: 1;
    position: relative;
}

.producto-categoria {
    font-size: 12px;
    color: #888888;
    margin: 0;
}

.producto-nombre {
    font-size: 15px;
    color: #002C59;
    margin: 5px 0 0;
}

.catalogo-boton-contenedor {
    display: flex;
    margin-top: 50px;
    justify-content: center; 
}

.btn-ver-catalogo {
    display: inline-block;
    background-color: #002C59;
    color: #ffffff;
    margin: 20px auto; 
    width: 300px;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    font-size: 18px;
    text-align: center;
    transition: background-color 0.3s ease;
    animation: bounce 2s infinite;
}

.btn-ver-catalogo:hover {
    background: linear-gradient(90deg, #002C59, #0061c2);
    transform: scale(1.05);

}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@media (min-width: 769px) {
  .about-arrow {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .about-arrow {
    display: inline-block;
  }
}

@media (max-width: 768px) {

#aboutNavbarNav {
  display: none;
}

#aboutNavbarNav.active {
  display: block;
}

.about-hamburger .hamburger-icon {
  font-size: 30px;
  transition: transform 0.3s ease;
}

.about-hamburger:hover .hamburger-icon {
  transform: scale(1.1);
}
    
.about-hamburger {
  display: block;
  font-size: 30px;
  background: none;
  border: none;
  color: black;
  cursor: pointer;
  z-index: 2000;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: color 0.3s ease, transform 0.3s ease;
}

.about-hamburger:hover {
  color: #BCA500;
  transform: translateY(-50%) scale(1.1);
}

  .about-us-header h1 {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .about-navbar {
    flex-direction: column;
    height: auto;
    align-items: flex-start;
    padding: 15px 20px;
    top: 170px;
    background-color: white !important;
  }

  .about-navbar .about-navbar-brand {
    padding-left: 0;
    position: static;
    transform: none;
    margin-bottom: 10px;
  }

  .about-navbar .about-navbar-brand img {
    height: 60px;
  }

  .about-navbar .about-navbar-nav {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    width: 100%;
  }

  .about-navbar .about-nav-link {
    color: #002C59;
    font-size: 14px;
  }

  .about-navbar .dropdown-toggle::after {
  display: none !important;
  }

  .about-dropdown-menu,
  .about-dropdown-submenu1 {
    position: static;
    box-shadow: none;
    width: 100%;
    min-width: auto;
  }

  .about-dropdown-item {
    font-size: 14px;
    padding: 8px 12px;
  }

  .about-btn-contact {
    padding: 10px 20px;
    font-size: 15px;
    border-radius: 15px;
    margin-top: 10px;
    align-self: stretch;
    text-align: center;
  }

  .about-us-header {
    height: auto;
    padding: 100px 20px 50px;
  }

 .about-dropdown-menu {
    max-height: 200px; 
    overflow-y: auto;
    scrollbar-width: thin;       
    scrollbar-color: #BCA500 white; 
    display: none;
  }

    .about-dropdown-menu::-webkit-scrollbar {
    width: 6px;
  }

  .about-dropdown-menu::-webkit-scrollbar-thumb {
    background-color: #BCA500;
    border-radius: 10px;
  }

  .about-dropdown-menu::-webkit-scrollbar-track {
    background: white;
  }

  .about-dropdown-menu.open {
    display: block;
  }

  .about-us-header {
   margin-top: 250px;
  }

  .header-image {
    height: 100%;
    top: 0;
  }

  .header-overlay {
    clip-path: none;
    padding: 20px;
  }

  .header-title {
    font-size: 24px;
  }
}
