.sb-title {
    position: relative;
    display: inline-block;
    font-size: 32px;
    font-weight: 700;
    padding-right: 30px; /* space for the ship to move */
    margin-bottom: 0px !important;
    height: 30px;
}
.sbtit{
      font-size: 32px;
    font-weight: 700;
}

/* Ship animation */
.sb-title::after {
  content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    transform: translateY(-50%);
    width: 170px;
    height: 20px;
   /* background-color: #da231c;*/
    animation: floatShip 2.5s ease-in-out infinite;
    border-radius: 5px;
    background-image: url('../images/wave.png');
    background-repeat: no-repeat;
        background-size: 100%;
}

.sb-title::before {
    content: "";
    position: absolute;
    left: 150px;
    bottom: 0;
    transform: translateY(-50%);
    width: 65px;
    height: 33px;
    animation: floatShip 2.5s 
ease-in-out infinite;
    border-radius: 5px;
    background-image: url(../images/ship.png);
    background-repeat: no-repeat;
    background-size: 100%;
}

/* Animation: left→right + dive + rise */
@keyframes floatShip {
    0% { transform: translateY(-50%); }
    50% { transform: translateY(-60%); }
    100% { transform: translateY(-50%); }
}

/* Utility: clamp text to 4 lines */
.line-clamp-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    line-clamp: 4;
    overflow: hidden;
}

.bgs-image{
    background-position: center !important;
    background-size:100% auto !important;
}

 .only-mobile{
        display:none;
    }
    
   
@media screen and (max-width: 992px) {
   
    .only-desktop{
        display:none;
    }
     .only-mobile{
        display:block;
    }
     #subheader {
        padding: 30px 0 30px 0 !important;
    }

}

@media screen and (max-width: 768px) {
    .mh-tab-500{
        min-height: 500px;
    }
    .only-desktop{
        display:none;
    }
     .only-mobile{
        display:block;
    }
    .player{
        width: 80px;
        height: 80px;
    }

}

@media screen and (max-width: 665px) {
    .mh-mobile-400{
        min-height: 400px;
    }
    #subheader h1 {
        font-size: 30px;
    }
}

@media screen and (max-width: 550px) {
    .mh-mobile-300{
        min-height: 300px;
    }
     #subheader h1 {
        font-size: 26px;
    }
}
@media screen and (max-width: 400px) {
    .sb-title {
        font-size: 24px;
    }
    .sbtit{
         font-size: 24px;
    }
    
    .sb-title::before{
            bottom: 0;
    }
    .sb-title::after{
        bottom: 0;
    }
    .sw-caption h1{
        font-size: 38px;
    }
}
@media screen and (max-width: 370px) {
    
    .sb-title {
        font-size: 20px;
    }
    .sbtit{
         font-size: 20px;
    }
    .sb-title::before {
        bottom: 0;
    }
        .sb-title::after {
        bottom: 0;
    }
    
}