.banner-new{
    position: relative;
    z-index: 3;
    background: url(../img/new-home-banner/banner-mobile.webp) no-repeat center;
    background-size: cover;
   padding-bottom: 150px;
    padding-top: 100px;
    overflow: hidden;
    height: auto;
      margin-top: -50px;
}
.main-nav{
    background: #fdfdfd !important;
    top: 0 !important;
}
.fixed-header{
    top: 0;
}
.image-container {
    position: relative;
    height: 300px; /* Set a fixed height for the container */
    width: 100%;
}


.image-option.active{
    transform: translate(-50%, -50%); /* Maintain centering for active state */
}
.banner-new .row {
    flex-wrap: nowrap;
    flex-direction: column-reverse; /* This reverses the order on mobile */
}

.banner-new .col-lg-7, .banner-new .col-lg-5 {
    flex: 0 0 100%;
    max-width: 100%;
}
.slide-text {
    font-size: 20px;
    letter-spacing: 0px;
    color: #00386F;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Montserrat' !important;
}

.static-text {
     font-size: 20px;
    letter-spacing: 0px;
    color: #00386F;
    font-weight: 700;
    font-family: 'Montserrat' !important;
}
.red_btn{
    display: inline-block;
    line-height: 35px;
    background-color: #f1414f;
    font-size: 16px;
    border-radius: 6px;
    margin: 20px 0;
    padding: 6px 12px;
    color: #fff;
    border: 1px solid #f1414f;
}
.red_btn:focus,
.red_btn:hover {
	color: #f1414f;
	background: rgba(0, 0, 0, 0);
	border: 1px solid #f1414f
}

.changing-word {
    color: #D42230;
    position: relative;
    min-width: 200px;
    letter-spacing: 1px;
    font-weight: 700;
    font-family: 'Montserrat' !important;
}
 .underline-animation {
    position: absolute;
    bottom: -8px;
    left: 0px;
    width: 0;
    height: 4px;
    background:#f1414f;
    border-radius: 2px;
    z-index: 10;
    animation: underlineExpand 0.8s ease-out 0.3s forwards;
}
 .underline-animation::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: -13px;
    width: 0;
    height: 4px;
    background:#f1414f;
    border-radius: 2px;
    z-index: 10;
    animation: underlineExpand 0.8s ease-out 0.3s forwards;
}

@keyframes underlineExpand {
    0% {
        width: 0;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        width: 100px;
        opacity: 1;
    }
}
.word-option {
    position: absolute;
    left: 5px;
    font-family: 'Montserrat' !important;
    top: -5px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

span.ai-bg {
    position: relative;
}
span.ai-bg:before{
    position:absolute;
    top:-20px;
    right:-20px;
    content:url(../img/new-home-banner/ai-svg.svg);
    width:100%;
}
.word-option.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-subtitle {
    font-size: 1.2rem;
    color: #333333;
    position: relative;
    min-height: 60px;
}

.subtitle-option {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.2s;
    width: 100%;
}

.subtitle-option.active {
    opacity: 1;
    transform: translateY(0);
}

.image-container {
    transition: transform 0.3s ease;
}
.image-option img{
    width: 90%;
    margin: auto;
}

.image-option {
    margin: auto;
    position: absolute;
    opacity: 0;
    top: 0%;
    padding: 20px;
    /* transform: scale(1.05) rotate(15deg); */
    transition: all 0.6s ease;
}

.image-option.active {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

@media (min-width: 768px){
.banner-new{
    background: url(../img/new-home-banner/banner-new.webp) no-repeat center;
    background-size: cover;
    padding-bottom: 400px;
    padding-top: 300px;
    margin-top: -25px;
    height: calc(100vh);
}
.image-container{
    position: unset;
    height: auto;
}
.banner-new .row{
    flex-wrap: unset;
    flex-direction: unset;
}
.image-option{
    top: 25%;
}
.banner-new .col-lg-5{
        flex: 0 0 auto;
        width: 41.66666667%;
}
.banner-new .col-lg-7{
    flex: 0 0 auto;
    width: 58.33333333%;
}
.slide-text, .static-text, .changing-word{
    font-size: 45px;
    letter-spacing: 3px;
}
@keyframes underlineExpand {
    0% {
        width: 0;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        width: 200px;
        opacity: 1;
    }
}
.image-option img{
    width: 100%;
}
span.ai-bg:before{
    position:absolute;
    top:-30px;
    right:-30px;
}
.main-nav{
    top: 40px !important;
}
}