body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    background-color: #0a0e17;
    overflow-x: hidden;
}

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

.container {
    max-width: 1400px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Top Bar - Fixed */
.top-bar {
    background-color: #1a5276;
    color: white;
    padding: 6px 0;
    font-size: 0.9rem;
    position: relative;
    z-index: 1030;
}

.top-bar a {
    color: white;
    transition: all 0.2s ease;
}

.top-bar a:hover {
    color: #f39c12;
    text-decoration: none;
}

.top-bar .dropdown-menu {
    margin-top: 0;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 0 0 4px 4px;
    background-color: #1a5276;
}

.top-bar .dropdown-item {
    color: white;
    padding: 8px 15px;
}

.top-bar .dropdown-item:hover {
    background-color: rgba(255,255,255,0.1);
    color: #f39c12;
}

/* Main Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
    position: relative;
    z-index: 1020;
}

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

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

.nav-item {
    margin: 0 6px;
}

.nav-link {
    font-weight: 600;
    color: #2c3e50 !important;
    padding: 8px 12px !important;
    position: relative;
    font-size: 0.92rem;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: #2c8a4f !important;
}

.nav-link.active {
    color: #2c8a4f !important;
}

.nav-link.active:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 12px;
    width: calc(100% - 24px);
    height: 2px;
    background-color: #2c8a4f;
}

/* Dropdown Menus */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 0 0 4px 4px;
    padding: 0;
    min-width: 220px;
    margin-top: 0;
    border-top: 2px solid #2c8a4f;
}

.dropdown-item {
    padding: 10px 15px;
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    font-size: 0.88rem;
    color: #2c3e50;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: rgba(44, 138, 79, 0.1);
    color: #2c8a4f;
    padding-left: 20px;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: -2px;
    left: 100%;
    margin-left: 0;
}



/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
    color: #1a5276;
    text-align: center;
    font-size: 2rem;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #f39c12;
}

.feature-box {
    background: white;
    border-radius: 6px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    height: 100%;
    transition: all 0.3s ease;
    border-top: 3px solid #2c8a4f;
    text-align: center;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    margin-bottom: 25px;
    transition: all 0.3s ease;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.feature-box:hover .feature-img {
    transform: scale(1.1);
}

.feature-box h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #1a5276;
}

.feature-box p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}







/* Call to Action */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a5276 0%, #2c3e50 100%);
    color: white;
    text-align: center;
    position: relative;
}

.cta-section h2 {
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 700;
}

.btn-cta {
    background-color: #f39c12;
    color: white;
    padding: 15px 40px;
    font-weight: 600;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cta:hover {
    background-color: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    color: white;
}












/* Footer with Galaxy Effect */
.footer-galaxy {
    position: relative;
    background: linear-gradient(135deg, #2c3e50 0%, #1a5276 100%);
    color: white;
    padding: 60px 0 30px;
    overflow: hidden;
}

#footer-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-logo {
    margin-bottom: 30px;
    text-align: center;
}

.footer-logo img {
    height: 80px;
    transition: all 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

.footer-contact h5 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-contact h5:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #f39c12;
}

.footer-contact ul {
    list-style: none;
    padding-left: 0;
}

.footer-contact li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: #f39c12;
    width: 20px;
    text-align: center;
}

.newsletter-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-form h5 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.newsletter-form p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #f39c12;
    color: grey;
    box-shadow: none;
}

.form-check {
    margin-bottom: 10px;
}

.form-check-input {
    margin-top: 0.3rem;
}

.form-check-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.terms-link {
    color: #f39c12;
    text-decoration: underline;
    cursor: pointer;
    transition: all 0.2s ease;
}

.terms-link:hover {
    color: #e67e22;
}

.btn-newsletter {
    background-color: #f39c12;
    color: white;
    border: none;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 4px;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-newsletter:hover {
    background-color: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-align: center;
}

/* Modal Styles */
.modal-content {
    background-color: #f8f9fa;
    border: none;
    border-radius: 8px;
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    background-color: #1a5276;
    color: white;
    border-radius: 8px 8px 0 0;
}

.modal-title {
    font-weight: 600;
}

.modal-body {
    padding: 30px;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
}

/* Responsive Adjustments */
@media (max-width: 1399.98px) {
    .container {
        max-width: 1140px;
    }
}

@media (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }

    .galaxy-content {
        padding: 40px;
    }
}

@media (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }

    #galaxy-hero {
        min-height: 500px;
    }

    .galaxy-content {
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .galaxy-content h1 {
        font-size: 2.2rem;
    }

    .features-section {
        padding: 60px 0;
    }

    .footer-contact {
        margin-bottom: 40px;
    }

    /* Correcciones específicas para el menú móvil */
    .navbar-brand {
        padding-left: 15px;
        margin-right: 0;
    }

    .navbar-toggler {
        margin-right: 15px;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.98);
        padding: 20px;
        margin: 0 15px;
        border-radius: 5px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        z-index: 1000;
    }

    .nav-item {
        margin: 8px 0;
    }

    .dropdown-menu {
        margin-left: 15px;
        width: calc(100% - 30px);
        border: none;
        box-shadow: none;
        background-color: rgba(0,0,0,0.03);
    }

    .dropdown-submenu .dropdown-menu {
        margin-left: 15px;
        width: calc(100% - 30px);
    }

    .nav-link {
        padding: 10px 15px !important;
    }

    .dropdown-item {
        padding: 10px 20px;
    }
}

@media (max-width: 767.98px) {
    #galaxy-hero {
        min-height: 450px;
        padding: 40px 0;
    }

    .galaxy-content {
        padding: 30px;
    }

    .galaxy-content h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-section h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 575.98px) {
    #galaxy-hero {
        min-height: 400px;
    }

    .galaxy-content h1 {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .footer-logo img {
        height: 60px;
    }

    .newsletter-form {
        padding: 15px;
    }
}




/*IDIOMA*/

/* Estilos para el selector de idioma */
.language-switcher {
    position: relative;
}

.language-switcher .dropdown-toggle {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.language-switcher .dropdown-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.language-switcher .dropdown-menu {
    min-width: 150px;
    background-color: #1a5276;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.language-switcher .dropdown-item {
    color: white;
    display: flex;
    align-items: center;
    padding: 8px 15px;
    transition: all 0.2s ease;
}

.language-switcher .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #f39c12;
}

.flag-icon {
    display: inline-block;
    width: 20px;
    height: 15px;
    background-size: cover;
    background-position: center;
    margin-right: 8px;
}

.flag-icon-us {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBmaWxsPSIjYmQwYzM2IiBkPSJNNDczLjcgODguM0gxNi4zQzcuMSA4OC4zIDAgOTUuNCAwIDEwNC42djI3Mi45YzAgOS4yIDcuMSAxNi4zIDE2LjMgMTYuM2g0NTcuNGM5LjIgMCAxNi4zLTcuMSAxNi4zLTE2LjNWMTA0LjZjMC05LjItNy4xLTE2LjMtMTYuMy0xNi4zeiIvPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik0xNi4zIDg4LjNjLTkuMiAwLTE2LjMgNy4xLTE2LjMgMTYuM3YyNzIuOWMwIDkuMiA3LjEgMTYuMyAxNi4zIDE2LjNoNDU3LjRjOS4yIDAgMTYuMy03LjEgMTYuMy0xNi4zVjEwNC42YzAtOS4yLTcuMS0xNi4zLTE2LjMtMTYuM0gxNi4zeiIvPjxwYXRoIGZpbGw9IiNiZDBjMzYiIGQ9Ik0wIDEwNC42YzAgOS4yIDcuMSAxNi4zIDE2LjMgMTYuM2g0NTcuNGM5LjIgMCAxNi4zLTcuMSAxNi4zLTE2LjN2LTI3LjJIMHYyNy4yeiIvPjxwYXRoIGZpbGw9IiNiZDBjMzYiIGQ9Ik0wIDEzMS45aDUxMnYtMjcuM0gweiIvPjxwYXRoIGZpbGw9IiNiZDBjMzYiIGQ9Ik0wIDE4Ni4yaDUxMnYtMjcuM0gweiIvPjxwYXRoIGZpbGw9IiNiZDBjMzYiIGQ9Ik0wIDI0MC41aDUxMnYtMjcuM0gweiIvPjxwYXRoIGZpbGw9IiNiZDBjMzYiIGQ9Ik0wIDI5NC44aDUxMnYtMjcuM0gweiIvPjxwYXRoIGZpbGw9IiNiZDBjMzYiIGQ9Ik0wIDM0OS4xaDUxMnYtMjcuM0gweiIvPjxwYXRoIGZpbGw9IiNiZDBjMzYiIGQ9Ik0wIDQwMy40aDUxMnYtMjcuM0gweiIvPjxwYXRoIGZpbGw9IiNiZDBjMzYiIGQ9Ik0wIDQ1Ny43aDUxMnYtMjcuM0gweiIvPjxwYXRoIGZpbGw9IiNiZDBjMzYiIGQ9Ik0wIDEwNC42aDUxMnYtMjcuM0gweiIvPjxwYXRoIGZpbGw9IiNiZDBjMzYiIGQ9Ik0wIDc3LjNoNTEydi0yNy4ySDB6Ii8+PHBhdGggZmlsbD0iI2JkMGMzNiIgZD0iTTAgNTBoNTEydi0yNy4zSDB6Ii8+PHBhdGggZmlsbD0iI2JkMGMzNiIgZD0iTTAgMjIuN2g1MTJWLjRIMHoiLz48cGF0aCBmaWxsPSIjYmQwYzM2IiBkPSJNMTYzLjMgODguM2gtMTQ3djM5My40aDE0N3oiLz48cGF0aCBmaWxsPSIjMDAzMzg3IiBkPSJNMTYzLjMgODguM2gtMTQ3djM5My40aDE0N3oiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTYuMyA4OC4zaDE0N3YzOTMuNEgxNi4zeiIvPjxwYXRoIGZpbGw9IiMwMDMzODciIGQ9Ik0xNi4zIDg4LjNoMTQ3djM5My40SDE2LjN6Ii8+PHBhdGggZmlsbD0iI2JkMGMzNiIgZD0iTTE2LjMgODguM2gxNDd2MzkzLjRIMTYuM3oiLz48cGF0aCBmaWxsPSIjMDAzMzg3IiBkPSJNMTYuMyA4OC4zaDE0N3YzOTMuNEgxNi4zeiIvPjwvc3ZnPg==');
}

.flag-icon-es {

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3Crect width='3' height='1' fill='%23AA151B'/%3E%3Crect y='1' width='3' height='1' fill='%23F1BF00'/%3E%3Crect y='2' width='3' height='1' fill='%23AA151B'/%3E%3C/svg%3E");
    -size: 100% auto;
    background-position: center;
}





/*
NUEVO GALAXY */
        /* Primera sección - Hero Text */
        #hero-text-section {
            position: relative;
            min-height: 70vh;
            display: flex;
            align-items: center;
            background: linear-gradient(135deg, rgba(26, 82, 118, 0.95) 0%, rgba(44, 138, 79, 0.9) 100%);
            overflow: hidden;
            padding: 80px 0;
        }

        #particles-js-hero {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: 1;
        }

        .hero-text-container {
            position: relative;
            z-index: 2;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Estilos para el texto hero */
        .hero-title {
            font-size: 3rem;
            margin-bottom: 30px;
            font-weight: 700;
            line-height: 1.2;
            color: #f39c12;
            text-shadow: 0 2px 10px rgba(0,0,0,0.3);
        }

        .title-word {
            display: inline-block;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.8s forwards;
        }

        .title-word-1 { animation-delay: 0.2s; }
        .title-word-2 { animation-delay: 0.4s; }
        .title-word-3 { animation-delay: 0.6s; }
        .title-word-4 { animation-delay: 0.8s; }
        .title-word-5 { animation-delay: 1.0s; }
        .title-word-6 { animation-delay: 1.2s; }

        .hero-description {
            font-size: 1.2rem;
            line-height: 1.8;
            color: white;
            max-width: 800px;
            text-shadow: 0 1px 3px rgba(0,0,0,0.2);
        }

        .desc-line {
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.8s forwards;
            margin-bottom: 15px;
        }

        .desc-line-1 { animation-delay: 1.4s; }
        .desc-line-2 { animation-delay: 1.6s; }
        .desc-line-3 { animation-delay: 1.8s; }
        .desc-line-4 { animation-delay: 2.0s; }

        /* Segunda sección - Slider */
        #slider-section {
            position: relative;
            padding: 100px 0;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            overflow: hidden;
        }

        .slider-section-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('https://globalcarbontrace.io/img/page/BioCarbon_standart-F.png') no-repeat center center;
            background-size: contain;
            opacity: 0.03;
            z-index: 1;
        }

        .slider-container {
            position: relative;
            z-index: 2;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .slider-title {
            text-align: center;
            margin-bottom: 50px;
            font-size: 2.2rem;
            font-weight: 700;
            color: #1a5276;
            position: relative;
            display: inline-block;
            left: 50%;
            transform: translateX(-50%);
        }

        .slider-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, #1a5276 0%, #2c8a4f 100%);
            border-radius: 3px;
        }

        /* Estilos mejorados para el slider */
        .slider-wrapper {
            position: relative;
            height: 350px;
            perspective: 1000px;
            margin: 0 auto;
            max-width: 900px;
        }

        .slider-frame {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(26, 82, 118, 0.95) 0%, rgba(44, 138, 79, 0.95) 100%);
            border-radius: 15px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 20px 50px rgba(0,0,0,0.15);
            z-index: 1;
            overflow: hidden;
        }

        .slider-frame::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
            animation: rotateGradient 15s linear infinite;
            z-index: -1;
        }

        .slider-track {
            display: flex;
            height: 100%;
            transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
            position: relative;
            z-index: 2;
        }

        .slide {
            min-width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            padding: 40px;
        }

        .slide-content {
            color: white;
            font-size: 2.2rem;
            font-weight: 500;
            text-align: center;
            width: 100%;
            text-shadow: 0 2px 8px rgba(0,0,0,0.3);
            line-height: 1.4;
            padding: 20px;
        }

        /* Efecto difuminado en las letras */
        .blur-char {
            display: inline-block;
            opacity: 0;
            filter: blur(8px);
            transform: scale(1.2);
            transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            margin: 0 1px;
        }

        .blur-char.active {
            opacity: 1;
            filter: blur(0);
            transform: scale(1);
        }

        /* Controles del slider mejorados */
        .slider-controls {
            position: absolute;
            bottom: 30px;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 3;
        }

        .slider-prev,
        .slider-next {
            background: rgba(255, 255, 255, 0.25);
            border: none;
            color: white;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
            margin: 0 15px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }

        .slider-prev:hover,
        .slider-next:hover {
            background: rgba(255, 255, 255, 0.4);
            transform: scale(1.15);
        }

        .slider-dots {
            display: flex;
            margin: 0 15px;
        }

        .slider-dot {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            margin: 0 7px;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        }

        .slider-dot.active {
            background: white;
            transform: scale(1.4);
            box-shadow: 0 0 10px rgba(255,255,255,0.5);
        }

        /* Animaciones */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px) scale(0.95);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        @keyframes typeWriter {
            from {
                opacity: 0;
                transform: translateX(-10px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInFromRight {
            from {
                opacity: 0;
                transform: translateX(30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInFromLeft {
            from {
                opacity: 0;
                transform: translateX(-30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes rotateGradient {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(360deg);
            }
        }

        /* Efecto de cambio de slide */
        .slide-out-left {
            animation: slideOutLeft 0.8s forwards;
        }

        .slide-out-right {
            animation: slideOutRight 0.8s forwards;
        }

        @keyframes slideOutLeft {
            to {
                opacity: 0;
                transform: translateX(-30px);
            }
        }

        @keyframes slideOutRight {
            to {
                opacity: 0;
                transform: translateX(30px);
            }
        }

        /* Responsive */
        @media (max-width: 991.98px) {
            #hero-text-section {
                min-height: 60vh;
                padding: 60px 0;
            }

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

            .hero-description {
                font-size: 1.1rem;
            }

            .slider-wrapper {
                height: 300px;
            }

            .slide-content {
                font-size: 1.8rem;
            }
        }

        @media (max-width: 767.98px) {
            #hero-text-section {
                min-height: 50vh;
                padding: 40px 0;
            }

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

            .hero-description {
                font-size: 1rem;
            }

            .slider-title {
                font-size: 1.8rem;
                margin-bottom: 30px;
            }

            .slider-wrapper {
                height: 250px;
            }

            .slide-content {
                font-size: 1.5rem;
                padding: 15px;
            }

            .slider-prev,
            .slider-next {
                width: 40px;
                height: 40px;
            }
        }





        /* Sección Our Impact */


        :root {
            --primary-dark: #1A3A3F;
            --primary-medium: #3A6666;
            --primary-light: #5B8C8C;
            --accent-color: #D9B779;
            --accent-light: #E8D4B0;
            --text-color: #333333;
            --text-light: #5F7275;
            --bg-light: #F8F9FA;
            --bg-white: #FFFFFF;
        }


        #impact-section {
            font-family: 'Montserrat', sans-serif;
            color: var(--text-color);
            background-color: var(--bg-light);
            padding: 100px 0;
            position: relative;
            overflow: hidden;
        }

        /* Burbujas de fondo */
        .bubbles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            overflow: hidden;
        }

        .bubble {
            position: absolute;
            bottom: -100px;
            background: var(--accent-color);
            border-radius: 50%;
            opacity: 0.15;
            animation: rise 15s infinite ease-in;
        }

        .bubble:nth-child(1) {
            width: 40px;
            height: 40px;
            left: 10%;
            animation-duration: 16s;
            background: var(--primary-medium);
        }

        .bubble:nth-child(2) {
            width: 25px;
            height: 25px;
            left: 20%;
            animation-duration: 12s;
            animation-delay: 1s;
        }

        .bubble:nth-child(3) {
            width: 50px;
            height: 50px;
            left: 35%;
            animation-duration: 18s;
            animation-delay: 2s;
            background: var(--primary-medium);
        }

        .bubble:nth-child(4) {
            width: 30px;
            height: 30px;
            left: 50%;
            animation-duration: 14s;
            animation-delay: 0s;
        }

        .bubble:nth-child(5) {
            width: 45px;
            height: 45px;
            left: 65%;
            animation-duration: 15s;
            animation-delay: 1s;
            background: var(--primary-medium);
        }

        .bubble:nth-child(6) {
            width: 35px;
            height: 35px;
            left: 80%;
            animation-duration: 13s;
            animation-delay: 3s;
        }

        .bubble:nth-child(7) {
            width: 60px;
            height: 60px;
            left: 90%;
            animation-duration: 20s;
            animation-delay: 2s;
            background: var(--primary-medium);
        }

        @keyframes rise {
            0% {
                bottom: -100px;
                transform: translateX(0);
            }
            50% {
                transform: translateX(50px);
            }
            100% {
                bottom: 100%;
                transform: translateX(-50px);
            }
        }

        .impact-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
            z-index: 1;
        }

        .section-title {
            text-align: center;
            margin-bottom: 60px;
            font-size: 2.2rem;
            font-weight: 600;
            color: var(--primary-dark);
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -12px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: var(--accent-color);
            border-radius: 2px;
        }

        .impact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 30px;
        }

        .impact-card {
            background: var(--bg-white);
            border-radius: 10px;
            padding: 30px 25px;
            text-align: center;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            border-bottom: 4px solid var(--primary-medium);
        }

        .impact-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 30px rgba(0,0,0,0.12);
        }

        .impact-icon {
            font-size: 2rem;
            color: var(--accent-color);
            margin-bottom: 20px;
        }

        .impact-number {
            font-size: 2.2rem;
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--primary-dark);
            transition: all 0.5s ease-out;
        }

        .impact-label {
            font-size: 1.1rem;
            font-weight: 500;
            color: var(--text-light);
            line-height: 1.5;
        }

        /* Responsive */
        @media (max-width: 991.98px) {
            .impact-grid {
                grid-template-columns: repeat(2, 1fr);
            }

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

        @media (max-width: 767.98px) {
            #impact-section {
                padding: 80px 0;
            }

            .section-title {
                font-size: 1.8rem;
                margin-bottom: 50px;
            }

            .impact-grid {
                grid-template-columns: 1fr;
                max-width: 400px;
                margin: 0 auto;
            }
        }




/* Agrega esto en tu style.css */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    border-radius: 0 6px 6px 6px;
}

/* Para mobile */
@media (max-width: 991.98px) {
    .dropdown-submenu > .dropdown-menu {
        position: static;
        margin-left: 15px;
        width: calc(100% - 30px);
        border-left: 2px solid #2c8a4f;
    }
}
