#features .blue-shadow{
    top:10%;
}
#features .rental{
    background: #2F5CE0;
}
#features .cruises{
    background: #A43368;
}
#features .slick-next{
    border-radius: 46.828px;
    border: 1px solid #0075FF;
    background: transparent;
    display: flex;
    width: 56px;
    height: 56px;
    padding: 4.828px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4.828px;
    position: absolute;
    left: 95%;
    transform: translateY(50%);
    transition: all .3s linear;
    top:-20%;
}

#features .slick-prev{
    border-radius: 46.828px;
    border: 1px solid #0075FF;
    background: transparent; 
    display: flex;
    width: 56px;
    height: 56px;
    padding: 4.828px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4.828px;
    position: absolute;
    left: 91%;
    z-index: 1;
    transform: translateY(50%);
    transition: all .3s linear;
    top:-20%;
}

#features .carousel-photo{
    padding: 0px 10px;
}

.features-carousel .bg-image{
    height: 322px;
    border-radius: 20px;
}
.features-carousel .icon{
    border-radius: 6px;
    background: #DC2743;
}
.features-carousel .text-overlay{
    top: 15%;
    transition: all .3s linear;
    opacity: 1;
    left: 8%;
}
.features-carousel .carousel-photo:hover .text-overlay{
    opacity: 1;
}

#features .right-blue{
    right: -40%;
    top: -25% !important;
}
@media screen and (max-width:1727px){
    #features .slick-prev{
        left: 90%;
    }
    #features .right-blue{
        right: -55%;
    }
}
@media screen and (max-width:1440px){
    #features .slick-prev{
        left: 89%;
    }
}
@media screen and (max-width:1400px){
    #features .slick-prev{
        top: -18%;
    }
    #features .slick-next{
        top: -18%;
    }
    #features .right-blue{
        right: -62% !important;
    }
}
@media screen and (max-width:1250px){
    #features .slick-prev{
        left: 88%;
    }
    .toggle-btn {
        bottom: 22px !important;
    }
    #features .right-blue{
        right: -70% !important;
    }
}

@media screen and (max-width:991px){
    #features .slick-prev{
        left: 85%;
    }
}
@media screen and (max-width:767px){
    #features .slick-next{
        left: 90%;
    }
    #features .slick-prev{
        left: 76%;
    }
    
}

@media screen and (max-width:620px){
    #features .slick-next{
        left: 90%;
        top: 100%;
    }
    #features .slick-prev{
        left: 75%;
        top: 100%;
    }
}

@media screen and (max-width:450px){

    #features .slick-next{
        left: 85%;
    }
    #features .slick-prev{
        left: 68%;
    }

}
@media screen and (max-width:410px){

    #features .slick-prev{
        left: 65%;
    }
}

.title-container{
    bottom: 5%;
    left: 5%;
}
.feature {
    width: 100%;
    height: 640px;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    border: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 60.45%, rgba(0, 0, 0, 0.60) 100%); 
    /* box-shadow: 0 8px 32px 0 rgba(250, 250, 250, 0.37); */
}
@media screen and (max-width:1400px){
    .feature {
        height: 570px;
    } 
}
@media screen and (max-width:1999px){
    .feature {
        height: 665px;
    } 
}
@media screen and (max-width:991px){
    .feature {
        height: 570px;
    } 
}
.content {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    /* padding:60px; */
    display: flex;
    flex-direction: column;
    /* gap: 20px; */
    opacity: 1;
    transition: opacity 0.5s ease, transform 0.5s ease;
}
@media screen and (max-width:1400px){

    .title-container{
        bottom: 3%;
        left: 2%;
    } 
}
@media screen and (max-width: 1200px) {
    .title-container {
      bottom: 2%;
      left: 8%;
    }
  }
.content.hidden {
    opacity: 0;
    transform: translateY(-30px);
    pointer-events: none;
}

.content.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.fade-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.5s ease forwards;
}

.fade-item:nth-child(1) { animation-delay: 0.1s; }
.fade-item:nth-child(2) { animation-delay: 0.2s; }
.fade-item:nth-child(3) { animation-delay: 0.3s; }
.fade-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeUp {
    to {
    opacity: 1;
    transform: translateY(0);
    }
}
#features #frontContent.rental{
    background-color: rgba(47, 92, 224,0.5);
}
#features #backContent.rental{
    background-color: rgba(47, 92, 224,0.5);
}
#features #frontContent.cruises{
    background-color: rgba(164, 51, 104,0.5);
}
#features #backContent.cruises{
    background-color: rgba(164, 51, 104,0.5);
}
#backContent {
  overflow-y: auto;
  max-height: 100%; 
}
#backContent.content {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px;
  overflow-y: auto;
}
@media screen and (max-width: 576px) {
    #backContent.content {
        padding-top:50px;
    }
    .title-container {
        bottom: 4%;
    }
}
.toggle-btn {
    position: absolute;
    bottom: 44px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: linear-gradient(0deg, #0075FF 0%, #0075FF 100%), linear-gradient(106deg, rgba(47, 92, 224, 0.00) 2.6%, rgba(4, 209, 255, 0.00) 100%);
    border-radius: 50%;
    border: none;
    font-size: 50px;
    color: #FFF;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    font-weight: 300;
    padding-bottom: 5px;
}
.toggle-btn.close {
    background: linear-gradient(0deg, #0075FF 0%, #0075FF 100%), linear-gradient(106deg, rgba(47, 92, 224, 0.00) 2.6%, rgba(4, 209, 255, 0.00) 100%);
}
