/* General Carousel Styles */
.carousel-item {
    height: 100vh;
    min-height: 300px;
    background: no-repeat center center scroll;
    background-size: cover;
    position: relative;
}

.carousel-caption {
    bottom: 20%;
    z-index: 2;
}

.carousel-caption h1 {
    font-size: 2rem;
    font-weight: bold;
}

.carousel-caption a {
    padding: 10px 20px;
    font-size: 1rem;
    border: 2px solid #fff;
}

.bg-primary {
    background-color: #336699; /* Reemplaza este código por el azul que prefieras */
}
.bg-primarys {
    background-color: #336699; /* Reemplaza este código por el azul que prefieras */
}

.logo-nav {
   height: 40px;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 51, 153, 0.6); /* Azul con 60% de opacidad */
    mix-blend-mode: multiply; /* Efecto de multiplicar */
    z-index: 1;
}
.multi{background-color: rgba(0, 51, 153, 0.6); /* Azul con 60% de opacidad */
    mix-blend-mode: multiply; /* Efecto de multiplicar */
    z-index: 1;}

@media (min-width: 768px) {
    .carousel-caption h1 {
        font-size: 3rem;
    }

    .carousel-caption a {
        padding: 15px 30px;
        font-size: 1.25rem;
    }
}

/* Form Section */
.bg-primary {
    background-color: #336699; /* Custom primary color */
}

.text-white {
    color: #fff !important;
}

.form-control {
    border-radius: 0.25rem;
    border: 1px solid #ccc;
    padding: 10px;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

/* Services Section */
.card-img-top {
    width: 100%;
    height: auto;
}

.card-title {
    font-weight: bold;
}

.card-text {
    font-size: 0.9rem;
    color: #555;
}

/* Service Areas Section */
.bg-dark {
    background-color: #123; /* Dark background color */
}

.text-white {
    color: #fff; /* White text */
}

ul.list-unstyled li a {
    display: block;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    border: 2px solid #fff;
    transition: background-color 0.3s, color 0.3s;
}

ul.list-unstyled li a:hover {
    background-color: #fff;
    color: #123; /* Hover effect */
}
.bg-primarys{
    --bs-bg-opacity: 1;
    background-color: #336699;
}

.bg-1 {
    background-color: rgba(0, 51, 153, 0.6); /* Azul con 60% de opacidad */
    mix-blend-mode: multiply; /* Efecto de multiplicar */
    background-image: url("/dryer-vent.webp");
   
   }
   .whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: bounce 2s infinite;
    transition: all 0.5s ease;
}

.whatsapp-button img {
    width: 35px;
    height: 35px;
}

/* Text that appears with the button */
.whatsapp-text {
    position: absolute;
    right: 70px;
    bottom: 35px;
    background-color: #25d366;
    color: #fff;
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 14px;
    opacity: 0;
    white-space: nowrap;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

/* Bounce animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Show text after 2 seconds, make it slide in and disappear after 6 seconds */
.show-text .whatsapp-text {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.5s ease;
}

.hide-text .whatsapp-text {
    opacity: 0;
    transform: translateX(20px);
}