/********** Template CSS **********/

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 500;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-weight: normal;
}

.icon-box-primary,
.icon-box-light {
    position: relative;
    padding: 0 0 10px 10px;
    z-index: 1;
}

.icon-box-primary i,
.icon-box-light i {
    font-size: 60px;
    line-height: 0;
}

.icon-box-primary::before,
.icon-box-light::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    left: 0;
    bottom: 0;
    border-radius: 35px;
    transition: .5s;
    z-index: -1;
}

.icon-box-primary::before {
    background: var(--bs-primary);
}

.icon-box-light::before {
    background: var(--bs-light);
}

.bg-primary2{
    background-color: #95765e !important;
}



/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
    margin-bottom: -21px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 20px 0;
    color: var(--bs-dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

.sticky-top.scrolled {
    position: fixed;
    top: 0;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

@media (max-width: 991px) {
    .sticky-top {
        margin-top: 5px;
        margin-bottom: -22px;
    }
}

    .navbar {
        height: 68px;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }


/*** Header ***/
@media (min-width: 992px) {
    .header-carousel,
    .page-header {
        margin-top: -34px;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(3, 27, 78, .3);
    z-index: 1;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    padding: 20px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 3.5rem;
    background-color: var(--bs-primary);
    border: 15px solid var(--bs-primary);
}

@media (max-width: 767.98px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
        background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    }
}

/* Establecer una altura máxima para las imágenes del carrusel */
#header-carousel .carousel-item img {
    max-height: 800px; /* Ajusta este valor según tus necesidades */
    object-fit: cover;
}

/* Estilos adicionales para dispositivos más pequeños */
@media (max-width: 767.98px) {
    #header-carousel .carousel-item img {
        max-height: 400px; /* Ajusta este valor según tus necesidades para dispositivos más pequeños */
    }
}

.page-header {
    background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../img/testimonial.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}

.grecaptcha-badge { 
    visibility: hidden !important;
}

/*** Features ***/
.feature {
    background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../img/feature.jpg) left center no-repeat;
    background-size: cover;
}

.feature-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.feature-item {
    border-color: rgba(0, 0, 0, .03) !important;
}

.experience .progress {
    height: 5px;
}

.experience .progress .progress-bar {
    width: 0px;
    transition: 3s;
}

.experience .nav-pills .nav-link {
    color: var(--dark);
}

.experience .nav-pills .nav-link.active {
    color: #FFFFFF;
}

.experience .tab-content hr {
    width: 30px;
}


/*** About ***/
.about-fact {
    width: 220px;
    height: 220px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

@media (min-width: 576px) {
    .about-fact.mt-n130 {
        margin-top: -130px;
    }
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 36px;
    height: 46px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--bs-primary);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--bs-primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--bs-primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: 3px;
    border-left: 30px solid #FFFFFF;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Service ***/
.container-service {
    position: relative;
}

.container-service::before {
    position: absolute;
    content: '';
    background: var(--bs-light);
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    clip-path: polygon(0 0, 100% 0, 100% 30%, 0 70%);
    z-index: -1;
}

.service-item {
    position: relative;
    height: 100%;
    padding: 45px 30px;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.service-item::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: .5s;
    background: var(--bs-primary);
}

.service-item:hover::before {
    height: 100%;
    top: 0;
}

.service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service-item:hover h5,
.service-item:hover p {
    color: var(--bs-white);
}

.service-item:hover .icon-box-primary::before {
    background: var(--bs-dark);
}

.service-item:hover .icon-box-primary i {
    color: var(--bs-white) !important;
}


/*** Team ***/
.container-team {
    position: relative;
}

.container-team::before {
    position: absolute;
    content: '';
    background: var(--bs-light);
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    clip-path: polygon(0 70%, 100% 30%, 100% 100%, 0% 100%);
    z-index: -1;
}

.team-item {
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: .5s;
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial {
    background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../img/testimonial.jpg) left center no-repeat;
    background-size: cover;
}

.testimonial-item img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 60px;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-left: 15px;
    color: var(--bs-primary);
    font-size: 30px;
    line-height: 0;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-dark);
}


/*** Contact ***/
@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}


/*** Footer ***/
.footer {
    background:  url(../img/footer.png) center center no-repeat;
    background-size: contain;
}

@media (min-width: 992px) {
    .footer::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(255, 255, 255, .5);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    border-top: 1px dashed rgba(255, 255, 255, .2);
}

.copyright a {
    color: var(--bs-white);
}

.copyright a:hover {
    color: var(--bs-primary);
}

.bg-white2 {
    background-color: rgba(31, 37, 41, 0.7);
}

.navbar2 {
    border: 3px solid #1F2529;
    border-radius: 30px;
    padding: 6px 12px;
    transition: background-color 0.1s ease;
    margin-top: 20px;
}



@media (min-width: 992px) {
    .sticky-top:not(.scrolled) {
        top: 34px;
    }

    .navbar {
        height: 68px;
    }
}

@media (max-width: 991.98px) {
    .navbar2 {
        position: relative;
    }

    .navbar2::after {
        content: "Menú";
        color: #fff;
        font-size: 1.2rem;
        font-weight: bold;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: block;
    }
}


.logo {
    height: 70px;
    width: auto;
    margin-bottom: 10px;
}

.logo2 {
    height: 70px;
    width: auto;
    margin-bottom: 10px;
}

@import url("https://fonts.googleapis.com/css?family=Raleway:400,400i,700");

.reveal {
    position: relative;
    display: flex;
    color: #fff;
    font-size: 2em;
    font-family: Raleway, sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
    white-space: pre;
    margin-bottom: 10px;
}

.reveal span {
    opacity: 0;
    transform: scale(0);
    animation: fadeIn 2.4s forwards;
}

.reveal::before,
.reveal::after {
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    width: 2px;
    height: 100%;
    background: white;
    opacity: 0;
    transform: scale(0);
}

.reveal::before {
    left: 50%;
    animation: slideLeft 1.5s cubic-bezier(0.7, -0.6, 0.3, 1.5) forwards;
}

.reveal::after {
    right: 50%;
    animation: slideRight 1.5s cubic-bezier(0.7, -0.6, 0.3, 1.5) forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideLeft {
    to {
        left: -6%;
        opacity: 1;
        transform: scale(0.9);
    }
}

@keyframes slideRight {
    to {
        right: -6%;
        opacity: 1;
        transform: scale(0.9);
    }
}

.logo, .logo2 {
    height: 50px;
    width: auto;
}

.reveal {
    font-size: 1.2rem;
    text-align: center;
    margin-top: 1rem;
}

@media (min-width: 992px) {
    .logo, .logo2 {
        height: 70px;
        width: auto;
    }

    .reveal {
        font-size: 2em;
        text-align: left;
        margin-top: 0;
    }
}

.text-shadow{
    color: black;
}

.service-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.service-box .icon-box-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--bs-primary);
}

.service-box .icon-box-primary i {
    color: #fff;
    font-size: 2.5rem;
}

.service-box h5 {
    font-size: 1.2rem;
    margin-top: 1rem;
}

.service-box p {
    margin-bottom: 1rem;
}

.service-box .btn {
    margin-top: 1rem;
    align-self: center;
}

@media (max-width: 767.98px) {
    .service-box .icon-box-primary {
        width: 60px;
        height: 60px;
    }

    .service-box .icon-box-primary i {
        font-size: 1.8rem;
    }

    .service-box h5 {
        font-size: 1rem;
    }
}

.imgfooter{
    max-width: 50%;
    margin-bottom: 30px;
}

.container-fluid {
    min-height: 10vh;
}

#translateBtn {
    background-color: #ae8c6f;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease;
}

#translateBtn:hover {
    background-color: #8A91AC;
}

#translateBtn-mobile {
    display: none;
    color: #fff;
    padding: 1rem 2rem; 
    transition: background-color 0.3s ease;
    text-align: center;
    margin-top: -20px;
    margin-bottom: 5px;
    font-size: 1.25rem; 
    width: 100%; 
    box-sizing: border-box; 
}

#translateBtn-mobile:hover {
    background-color: #8A91AC;
}

@media (max-width: 991.98px) {
    #translateBtn {
        display: none;
    }


    #translateBtn-mobile {
        display: block;
        padding: 1rem 2rem; 
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 0.25rem;
        font-weight: normal;
        font-size: 1.25rem; 
        width: 100%; 
        box-sizing: border-box; 
    }
}

.carousel-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Proporción 16:9 para el video */
    overflow: hidden;
}

.carousel-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-wrapper video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    margin-top: 10px;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 80%;
    max-width: 800px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
}

.carousel-heading {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.carousel-description {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.carousel-button {
    font-size: 1.2rem;
    padding: 10px 20px;
    background-color: #ae8c6f;
    color: #fff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
}

@media (max-width: 767px) {
    .carousel-content {
        width: 90%;
    }
    
    .carousel-heading {
        font-size: 2rem;
    }
    
    .carousel-description {
        font-size: 1.2rem;
    }
    
    .carousel-button {
        font-size: 1rem;
        padding: 8px 16px;
    }
}

/* General button styles */
.btn-lg-square {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15); /* Added shadow */
    border-radius: 50%; /* Ensured the button is circular */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease; /* Added smooth transition */
}

/* Back to Top button styles */
.back-to-top {
    background-color: #ae8c6f;
    color: white;
    border: none;
    position: fixed;
    bottom: 80px; /* Adjusted position */
    right: 20px;  /* Adjusted position */
    z-index: 1000; /* Ensures it stays on top */
}

.back-to-top:hover {
    background-color: #8A91AC; /* Darker shade for hover effect */
    transform: translateY(-3px); /* Added transform effect */
}

/* WhatsApp button styles */
.btn-whatsapp {
    background-color: #ae8c6f;
    color: white;
    border: none;
    position: fixed;
    bottom: 20px; /* Adjusted position */
    right: 20px;  /* Adjusted position */
    z-index: 1000; /* Ensures it stays on top */
}

.btn-whatsapp:hover {
    background-color: #96754f; /* Darker shade for hover effect */
    transform: translateY(-3px); /* Added transform effect */
}

/* Icon styles */
.bi-arrow-up, .bi-whatsapp {
    font-size: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .btn-lg-square {
        width: 3rem;
        height: 3rem;
    }
    
    .bi-arrow-up, .bi-whatsapp {
        font-size: 1.25rem;
    }

    .back-to-top {
        bottom: 70px; /* Adjusted position */
        right: 15px; /* Adjusted position */
    }

    .btn-whatsapp {
        bottom: 10px; /* Adjusted position */
        right: 15px; /* Adjusted position */
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .btn-lg-square {
        width: 3rem;
        height: 3rem;
    }
    
    .bi-arrow-up, .bi-whatsapp {
        font-size: 1.25rem;
    }

    .back-to-top {
        bottom: 60px; /* Adjusted position */
        right: 10px; /* Adjusted position */
        margin-bottom: 40px;
    }

    .btn-whatsapp {
        bottom: 10px; /* Adjusted position */
        right: 10px; /* Adjusted position */
    }
}

.logo-carousel-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .logo-carousel-container {
    width: 60%;
    overflow: hidden;
    position: relative;
  }
  
  .logo-carousel {
    display: flex;
    width: 200%;
    animation: slideRight 15s linear infinite;
  }
  
  .logo-slide {
    flex: 0 0 auto;
    width: 16.666%;
    padding: 5px;
    box-sizing: border-box;
  }
  
  .logo-slide img {
    width: 100%;
    max-width: 150px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
  }
  
  .logo-slide img:hover {
    filter: grayscale(0%);
  }
  
  @keyframes slideRight {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  
  .logo-carousel-container::before,
  .logo-carousel-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 2;
  }
  
  .logo-carousel-container::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
  }
  
  .logo-carousel-container::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
  }
  
  @media (max-width: 768px) {
    .logo-carousel-container {
      width: 80%;
    }
    .logo-slide {
      width: 33.333%;
    }
  }
  
  @media (max-width: 480px) {
    .logo-carousel-container {
      width: 90%;
    }
    .logo-slide {
      width: 50%;
    }
  }

  /* Añade esto al final de tu archivo style.css */

  #eco-border {
    position: relative;
    border: 15px solid transparent;
    border-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='%234CAF50' fill-opacity='0.2'%3E%3Cpath d='M50 0 L100 50 L50 100 L0 50 Z'/%3E%3Ccircle cx='50' cy='50' r='10'/%3E%3Cpath d='M20 20 L35 5 L50 20 L35 35 Z'/%3E%3Cpath d='M80 20 L95 5 L80 35 L65 20 Z'/%3E%3Cpath d='M20 80 L35 65 L50 80 L35 95 Z'/%3E%3Cpath d='M80 80 L95 65 L80 95 L65 80 Z'/%3E%3C/g%3E%3C/svg%3E") 30 stretch;
    padding: 15px;
    min-height: 100vh;
    box-sizing: border-box;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    #eco-border {
        border-width: 10px;
        padding: 10px;
    }
}

/* Añade estos estilos globales */
html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

.language-select-wrapper {
    position: relative;
    display: inline-block;
  }
  
  .language-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #ae8c6f;
    color: white;
    padding: 8px 30px 8px 15px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    outline: none;
  }
  
  .language-select-wrapper::after {
    content: "\25BC";
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none;
    color: white;
  }
  
  .language-select:hover {
    background-color: #8A91AC;
  }
  
  /* Estilos para dispositivos móviles */
  @media (max-width: 991.98px) {
    .language-select-wrapper {
      display: block;
      width: 100%;
      margin-top: 10px;
    }
  
    .language-select {
      width: 100%;
      padding: 10px 30px 10px 15px;
      margin-top: -30%;
      margin-bottom: 5%;
    }
  }

  /* Ocultar el selector de idioma móvil por defecto */
.mobile-only {
    display: none;
}

/* Mostrar el selector de idioma móvil solo en pantallas pequeñas */
@media (max-width: 991.98px) {
    .mobile-only {
        display: block;
    }

    /* Ocultar el selector de idioma de escritorio en pantallas pequeñas */
    .d-none.d-lg-flex .language-select-wrapper {
        display: none !important;
    }
}

/* Eco Buttons Styles */
.btn-eco {
    background-color: #4CAF50;
    color: white;
    border: none;
    position: fixed;
    left: 20px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-eco:hover {
    background-color: #45a049;
    transform: translateY(-3px);
}

.eco-button-1 {
    bottom: 80px;
}

.eco-button-2 {
    bottom: 20px;
}

.bi-tree, .bi-recycle {
    font-size: 1.5rem;
}

/* Responsive adjustments for eco buttons */
@media (max-width: 768px) {
    .btn-eco {
        width: 3rem;
        height: 3rem;
        left: 15px;
    }
    
    .bi-tree, .bi-recycle {
        font-size: 1.25rem;
    }

    .eco-button-1 {
        bottom: 70px;
    }

    .eco-button-2 {
        bottom: 10px;
    }
}

@media (max-width: 480px) {
    .btn-eco {
        width: 2.5rem;
        height: 2.5rem;
        left: 10px;
    }
    
    .bi-tree, .bi-recycle {
        font-size: 1rem;
    }

    .eco-button-1 {
        bottom: 60px;
    }

    .eco-button-2 {
        bottom: 10px;
    }
}

@media (max-width: 991.98px) {
    .mobile-menu-custom.show {
        background-color: black;
        border-radius: inherit;
        text-align: center;
    }

    .mobile-menu-custom.show .navbar-nav {
        padding: 15px 0;
    }

    .mobile-menu-custom.show .nav-item {
        margin: 5px 0;
    }

    .mobile-menu-custom.show .nav-link {
        color: white !important;
        display: inline-block;
    }
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.carousel-inner {
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    max-width: 80%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.carousel-heading {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.carousel-description {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.carousel-button {
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
}

@media (max-width: 768px) {
    .carousel-container {
        height: 50vh;
    }

    .carousel-content {
        display: none;
    }
}