:root {
    --verde: #19b34b;
    --azul-oscuro: #024eca;
    --azul-dark: #0004b7;
    --azul-claro: #3f86c6;
    --blanco: #fff;
    --gris-oscuro: #333;
    --gris-claro: #f8f9fa;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--gris-claro);
    color: var(--gris-oscuro);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* Navbar */
.navbar {
    background: linear-gradient(45deg, var(--azul-oscuro) 0%, var(--azul-dark) 100%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-brand img {
    height: 50px;
    transition: all 0.3s;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    color: var(--blanco);
    font-weight: 500;
    margin: 0 8px;
    padding: 8px 15px !important;
    border-radius: 4px;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--blanco);
    background-color: rgba(255, 255, 255, 0.2);
}

/* Hero Carousel */
.hero-carousel {
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    height: 100%;
}

.hero-carousel .carousel-item {
    background-size: cover;
    background-position: center;
}

.hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 15px;
    text-align: center;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--blanco);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--blanco);
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s;
    z-index: 1000;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: var(--verde);
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 8px;
    transition: all 0.3s;
}

.carousel-indicators button.active {
    background-color: var(--verde);
    transform: scale(1.2);
}

/* Button Styles */
.btn-primary {
    background-color: var(--verde);
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--azul-oscuro);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--blanco);
    color: var(--blanco);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-outline:hover {
    background-color: var(--blanco);
    color: var(--azul-oscuro);
    transform: translateY(-3px);
}

/* Section Styles */
.section-title {
    color: var(--azul-oscuro);
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, var(--verde) 0%, var(--azul-oscuro) 100%);
    bottom: -10px;
    left: 20%;
    border-radius: 2px;
}

/* Improved Card Styles */
.feature-card {
    background: var(--blanco);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    height: 100%;
    transition: all 0.4s;
    border-top: 5px solid var(--verde);
    overflow: hidden;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-top: 5px solid var(--azul-oscuro);
}

.feature-card .card-icon {
    font-size: 2.5rem;
    color: var(--verde);
    margin-bottom: 20px;
    transition: all 0.4s;
}

.feature-card:hover .card-icon {
    color: var(--azul-oscuro);
    transform: rotate(10deg) scale(1.1);
}

.feature-card h4 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.feature-card h4:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--verde);
    bottom: 0;
    left: 0;
    transition: all 0.4s;
}

.feature-card:hover h4:after {
    width: 80px;
    background: var(--azul-oscuro);
}

.feature-card ul {
    list-style-type: none;
    padding-left: 0;
}

.feature-card ul li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.feature-card ul li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--verde);
    position: absolute;
    left: 0;
    top: 8px;
    transition: all 0.3s;
}

.feature-card:hover ul li:before {
    color: var(--azul-oscuro);
    transform: scale(1.2);
}

/* Process Steps */
.process-step {
    text-align: center;
    padding: 40px 25px;
    position: relative;
    background: var(--blanco);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s;
    border-top: 5px solid var(--verde);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--azul-oscuro);
}

.process-step .number {
    width: 60px;
    height: 60px;
    background: var(--verde);
    color: var(--blanco);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    transition: all 0.3s;
}

.process-step:hover .number {
    background: var(--azul-oscuro);
    transform: scale(1.1) rotate(10deg);
}

/* Contact Info */
.contact-info {
    padding: 30px;
    background: var(--blanco);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--verde);
    color: var(--blanco);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 15px;
    transition: all 0.3s;
}

.contact-item:hover .contact-icon {
    background: var(--azul-oscuro);
    transform: rotate(10deg);
}

.contact-item p{
    max-width: 400px;
}

/* Footer */
footer {
    background: var(--azul-oscuro);
    color: var(--blanco);
    padding: 70px 0 30px;
}

.footer-links h5 {
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h5:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--verde);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
    display: block;
    margin-bottom: 10px;
    padding: 5px 0;
}

.footer-links a:hover {
    color: var(--verde);
    padding-left: 5px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--blanco);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--verde);
    transform: translateY(-5px);
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 991px) {
    .hero-carousel {
        height: 80vh;
        min-height: 500px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 767px) {
    .hero-carousel {
        height: 70vh;
        min-height: 400px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .carousel-control-prev {
        left: 15px;
    }

    .carousel-control-next {
        right: 15px;
    }
}

@media (max-width: 575px) {
    .hero-carousel {
        height: 85vh;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        margin-bottom: 20px;
    }

    .carousel-indicators {
        bottom: 20px;
    }
}


/* Estilos para el botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    font-size: 32px;
}

.whatsapp-button:hover {
    background: #128C7E;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

/* Animación de pulso */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.whatsapp-button {
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    animation: none;
}

/* Versión móvil */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-button {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }
}


       /* Process Description Section Styles */
       #proceso {
        background-color: var(--blanco);
        position: relative;
        overflow: hidden;
    }

    #proceso .feature-list {
        list-style-type: none;
        padding-left: 0;
    }

    #proceso .feature-list li {
        padding: 8px 0;
        position: relative;
        padding-left: 30px;
    }

    #proceso .feature-list li i {
        position: absolute;
        left: 0;
        top: 10px;
    }

    #proceso .process-steps {
        list-style-type: none;
        padding-left: 0;
        counter-reset: step-counter;
    }

    #proceso .process-steps li {
        position: relative;
        padding: 15px 0 15px 60px;
        margin-bottom: 15px;
        border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    }

    #proceso .process-steps li:before {
        counter-increment: step-counter;
        content: counter(step-counter);
        position: absolute;
        left: 0;
        top: 15px;
        width: 40px;
        height: 40px;
        background: var(--verde);
        color: var(--blanco);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 1.2rem;
        transition: all 0.3s;
    }

    #proceso .process-steps li:hover:before {
        background: var(--azul-oscuro);
        transform: scale(1.1) rotate(10deg);
    }

    /* Card styles for efluentes section */
    #proceso .card {
        border: none;
        border-radius: 12px;
        overflow: hidden;
    }

    #proceso .card-body {
        padding: 30px;
    }

    #proceso .process-step .number i {
        font-size: 1.5rem;
    }

    /* Responsive adjustments for process section */
    @media (max-width: 991px) {
        #proceso .process-steps li {
            padding-left: 50px;
        }

        #proceso .process-steps li:before {
            width: 35px;
            height: 35px;
        }
    }

    @media (max-width: 767px) {
        #proceso .row.align-items-center {
            text-align: center;
        }

        #proceso .feature-list li {
            text-align: left;
        }

        #proceso .process-steps li {
            padding-left: 45px;
        }

        #proceso .process-steps li:before {
            width: 30px;
            height: 30px;
            font-size: 1rem;
        }
    }

    /* Animation for process steps */
    @keyframes fadeInUpCustom {
        from {
            opacity: 0;
            transform: translateY(30px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    #proceso .row>div {
        animation: fadeInUpCustom 0.6s ease forwards;
        opacity: 0;
    }

    #proceso .row>div:nth-child(1) {
        animation-delay: 0.1s;
    }

    #proceso .row>div:nth-child(2) {
        animation-delay: 0.3s;
    }

    #proceso .row>div:nth-child(3) {
        animation-delay: 0.5s;
    }

    #proceso .row>div:nth-child(4) {
        animation-delay: 0.7s;
    }