.blue-right{
    right: -39%;
    top: 5%;
}
.top-title{
    border-radius: 0 30px;
    background: linear-gradient(90deg, #0075FF 0%, #26DEC1 100%);
}
.title-container{
    bottom: 8%;
    left: 5%;
}
.subtitle-container{
    bottom: 3%;
    left: 5%;
    max-width: 350px;
}
.service {
    width: 100%;
    height: 640px;
    /* padding: 30px; */
    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){
    .service {
        height: 500px;
    } 
}
.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: 11%;
        left: 2%;
    }
    .subtitle-container{
        left: 3%;
        max-width: 300px;
    }
}
@media screen and (max-width: 1200px) {
    .service {
        height: 550px;
    } 
    .title-container {
      bottom: 12%;
      left: 3%;
    }
    .subtitle-container {
        max-width: 250px;
    }
  }

@media screen and (max-width:991px){
    .title-container {
        bottom: 7%;
      }
    .subtitle-container {
        max-width: 100%;
        bottom: 4%;
    }
}
@media screen and (max-width:767px){
    .title-container {
        bottom: 10%;
      }
    .subtitle-container {
        max-width: 350px;
    } 
}
@media screen and (max-width:576px){
    .title-container {
        bottom: 10%;
      }
    .subtitle-container {
        max-width: 300px;
    } 
}
@media screen and (max-width:420px){
    .title-container {
        bottom: 13%;
      }
    .subtitle-container {
        max-width: 250px;
    } 
}
.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);
    }
}
#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;
    }
}
.toggle-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: #161C2D;
    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;
}
.toggle-btn.close {
  background: rgba(22, 28, 45, 0.40);
}
