.navbar-custom {
  background-color: #f3f3f3 !important;
  border-bottom: 1px solid #dddddd;
  height: 100px;
  position: relative;
}

.navbar-nav {
  margin-left: auto;
}

.nav-item {
  position: relative;
  flex: 1 1 auto;
  text-align: center;
}
.nav-item .nav-link {
  position: relative;
  z-index: 1;
  display: inline-block;
}
.nav-item .tab {
  position: absolute;
  bottom: -29px;
  left: 50%;
  transform: translateX(-50%);
  width: 102px;
  height: 28px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  background-color: #000;
  z-index: 0;
  transition: height 0.3s ease, background-color 0.3s ease;
}
.nav-item:hover .tab {
  height: 40px;
}
.nav-item.active .tab {
  height: 40px;
}
.nav-item .tab {
  transition: height 0.3s ease, background-color 0.3s ease;
}

.nav-item:nth-child(1):hover .tab,
.nav-item:nth-child(1).active .tab {
  background-color: #BE4A3B;
}

.nav-item:nth-child(2):hover .tab,
.nav-item:nth-child(2).active .tab {
  background-color: #12A19A;
}

.nav-item:nth-child(3):hover .tab,
.nav-item:nth-child(3).active .tab {
  background-color: #E5B244;
}

.nav-item:nth-child(4):hover .tab,
.nav-item:nth-child(4).active .tab {
  background-color: #575757;
}

.nav-item:nth-child(1) .tab {
  background-color: #DEA09A;
}

.nav-item:nth-child(2) .tab {
  background-color: #9CCED4;
}

.nav-item:nth-child(3) .tab {
  background-color: #F6D283;
}

.nav-item:nth-child(4) .tab {
  background-color: #DDDDDD;
}

.nav-item:nth-child(1):hover .tab {
  background-color: #BE4A3B;
}

.nav-item:nth-child(2):hover .tab {
  background-color: #12A19A;
}

.nav-item:nth-child(3):hover .tab {
  background-color: #E5B244;
}

.nav-item:nth-child(4):hover .tab {
  background-color: #575757;
}

* {
  font-family: "Poppins", sans-serif !important;
  color: #575757 !important;
  font-size: 1rem !important;
}

.bg-decorativo {
  position: absolute;
  top: 0;
  left: -15px;
  width: 100%;
  height: auto;
  opacity: 1;
  z-index: 0;
}

.main-image-container {
  position: relative;
  z-index: 1;
}

.main-image {
  height: 70vh;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 12px;
}

.img-carrusel {
  height: 100vh;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.carousel {
  position: relative;
  z-index: 1;
}

.font-h1 {
  font-size: 3rem !important;
  font-weight: 700;
  color: #000000 !important;
  text-align: start;
  line-height: 2 !important;
}

.font-h2 {
  font-size: 2.25rem !important;
  font-weight: normal;
  color: #000000 !important;
  text-align: end;
  line-height: 1.8 !important;
}

.font-h1-2 {
  font-size: 3rem !important;
  font-weight: 700;
  color: #000000 !important;
  text-align: center;
  line-height: 2 !important;
}

.font-h2-2 {
  font-size: 2.25rem !important;
  font-weight: normal;
  color: #000000 !important;
  text-align: center;
  line-height: 1.8 !important;
}

.font-h3 {
  font-size: 1.5rem !important;
  font-weight: normal;
  color: #000000 !important;
  text-align: center;
  line-height: 1.8 !important;
  text-shadow: rgba(87, 87, 87, 0.4196078431) 2px 2px 6px;
}

.btn-custom {
  width: 134px;
  height: 40px;
  background-color: #9CCED4;
  color: #000 !important;
  border: none;
  border-radius: 20px;
  font-weight: 500;
  text-align: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn-custom:hover {
  background-color: rgb(120.4436619718, 188.4014084507, 196.5563380282);
  transform: scale(1.05);
  text-decoration: none;
  color: #000 !important;
}
.btn-custom:active {
  transform: scale(0.5);
}

.footer-custom {
  background-color: #f3f3f3;
  border-top: 1px solid #dddddd;
  color: #b9b9b9;
  font-size: 0.95rem;
}
.footer-custom a {
  color: #575757;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-custom a:hover {
  color: #000000;
}
.footer-custom ul {
  padding: 0;
  margin: 0;
}

.footer-nav .list-inline-item {
  margin-right: 1.5rem;
}
.footer-nav .list-inline-item:last-child {
  margin-right: 0;
}

.footer-social i {
  font-size: 1.75rem !important;
}
.footer-social .list-inline-item {
  margin: 0 0.75rem;
}
.footer-social .list-inline-item a {
  display: inline-block;
  transition: transform 0.2s ease, color 0.2s ease;
}
.footer-social .list-inline-item a:hover {
  transform: scale(1.1);
  color: #000000;
}

.footer-contact p {
  margin: 0;
  line-height: 1.5;
}

.icono-telefono {
  width: 24px;
  vertical-align: middle;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}

.formulario-contacto {
  max-width: 600px;
  height: 50vh;
}

.input-personalizado {
  border-radius: 12px;
  background-color: #f3f3f3 !important;
  border: 1px solid #ccc;
  padding: 8px 14px;
  font-size: 16px;
}

.btn-enviar {
  background-color: #9CCED4;
  color: black;
  border-radius: 20px;
  width: 134px;
  height: 40px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-enviar:hover {
  background-color: #7cbac2;
  color: white;
}

.productos .titulo-principal {
  font-weight: bold;
  font-size: 2rem;
}
.productos .subtitulo {
  font-size: 1.125rem;
  color: #444;
  margin-bottom: 3rem;
}
.productos .producto-img-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.productos .producto-img {
  max-height: 70vh;
  -o-object-fit: contain;
     object-fit: contain;
}
.productos .producto-titulo {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.productos .producto-descripcion {
  font-size: 1rem;
  color: #555;
  max-width: 90%;
  margin: 0 auto;
}
.productos .seccion-fondo {
  background: linear-gradient(to right, #d6f3f6, #c8e8ee);
}

.persona-img {
  width: 70%;
  height: auto;
  max-height: 50vh;
  -o-object-fit: contain;
     object-fit: contain;
}

.nav-item.active .tab {
  height: 40px;
}

.nav-item:nth-child(1).active .tab {
  background-color: #BE4A3B;
}

.nav-item:nth-child(2).active .tab {
  background-color: #12A19A;
}

.nav-item:nth-child(3).active .tab {
  background-color: #E5B244;
}

.nav-item:nth-child(4).active .tab {
  background-color: #575757;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar-custom {
    height: auto;
    padding: 10px 0;
  }
  
  .navbar-brand img {
    width: 150px !important;
  }
  
  .nav-item .tab {
    display: none;
  }
  
  .navbar-nav {
    margin-top: 15px;
  }
  
  .nav-item {
    margin: 5px 0;
  }
  
  .font-h1 {
    font-size: 2rem !important;
    text-align: center !important;
    line-height: 1.5 !important;
  }
  
  .font-h2 {
    font-size: 1.5rem !important;
    text-align: center !important;
    line-height: 1.4 !important;
  }
  
  .font-h1-2 {
    font-size: 2rem !important;
    line-height: 1.5 !important;
  }
  
  .font-h2-2 {
    font-size: 1.5rem !important;
    line-height: 1.4 !important;
  }
  
  .font-h3 {
    font-size: 1.25rem !important;
    line-height: 1.4 !important;
  }
  
  .btn-custom {
    width: 120px;
    height: 35px;
    font-size: 0.9rem !important;
  }
  
  .formulario-contacto {
    max-width: 100%;
    height: auto;
    padding: 0 15px;
  }
  
  .productos .producto-img {
    max-height: 50vh;
  }
  
  .persona-img {
    width: 100%;
    max-height: 40vh;
  }
  
  .footer-custom {
    text-align: center;
  }
  
  .footer-nav .list-inline-item {
    margin-right: 1rem;
    margin-bottom: 10px;
  }
  
  .footer-social .list-inline-item {
    margin: 0 0.5rem;
  }
  
  .footer-contact {
    margin-top: 15px;
  }
  
  .bg-decorativo {
    display: none;
  }
  
  .carousel {
    margin-bottom: 30px;
  }
  
  .cont-derecho {
    padding: 20px 15px;
  }
}

@media (max-width: 576px) {
  .font-h1 {
    font-size: 1.75rem !important;
  }
  
  .font-h2 {
    font-size: 1.25rem !important;
  }
  
  .font-h1-2 {
    font-size: 1.75rem !important;
  }
  
  .font-h2-2 {
    font-size: 1.25rem !important;
  }
  
  .font-h3 {
    font-size: 1.1rem !important;
  }
  
  .btn-custom {
    width: 100px;
    height: 32px;
    font-size: 0.8rem !important;
  }
  
  .navbar-brand img {
    width: 120px !important;
  }
  
  .productos .producto-img {
    max-height: 40vh;
  }
  
  .persona-img {
    max-height: 35vh;
  }
  
  .footer-custom {
    font-size: 0.85rem;
  }
  
  .footer-social i {
    font-size: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  .font-h1 {
    font-size: 1.5rem !important;
  }
  
  .font-h2 {
    font-size: 1.1rem !important;
  }
  
  .font-h1-2 {
    font-size: 1.5rem !important;
  }
  
  .font-h2-2 {
    font-size: 1.1rem !important;
  }
  
  .font-h3 {
    font-size: 1rem !important;
  }
  
  .btn-custom {
    width: 90px;
    height: 30px;
    font-size: 0.75rem !important;
  }
  
  .navbar-brand img {
    width: 100px !important;
  }
  
  .productos .producto-img {
    max-height: 35vh;
  }
  
  .persona-img {
    max-height: 30vh;
  }
  
  .footer-custom {
    font-size: 0.8rem;
  }
  
  .footer-social i {
    font-size: 1.25rem !important;
  }
}