.main-img{
    position: relative;
}
.bannertext {
    position: relative;
}

.mob-banner {
    width: 100%;
    object-fit: contain;
    object-position: top;
    height: auto;
}

.mobileimge {
    display: none;
}

.m-10{
    margin: 10px 0;
}

.mob-banner {
    width: 100%;
    object-fit: contain;
    object-position: top;
    height: auto;
}

.bannertextblock {
    position: absolute;
    top: 170px;
    color: #000000;
    left: 5%;
}   

.bannerheading_txt {
    font-size: 22px;
    font-weight: 500;
}

.banner_intro{
    font-size: 20px;
}

.deskbnner {
    height: 465px;
    object-fit: cover;
    width: -webkit-fill-available;
}

.contact-item{
    position: absolute;
    margin: 0;
    width: 28%;
    right: 8%;
    height: auto;
    padding: 15px 20px !important;
    box-shadow: none;
    border-radius: 0;
    background: none;
    text-align: center;
    margin-top: 0;
    top: 8px;
    z-index: 1;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
    background-color: #fff;
}

.contact-item-grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: center;
    position: relative;
    z-index: 5;
}

.button-field{
    display: inline-flex !important;
}

#email, #message, #name, #phone_number{
    width: 100%;
    height: 35px;
    padding: 5px;
    font-size: 14px;
    font-family: 'Merriweather';
    background-color: #fff !important;
    border: 1px solid #ced4da !important;
}

#email, #message, #name{
    margin-top: 2px;

}

#phone_number{
    margin-top: 4px;
}

#captcha_entered{
    width: 20%;
    height: 20px;
    padding: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    font-family: 'Merriweather';
    position: absolute;
    z-index: 99;
    margin-left: -30px;
}

.captcha-p{
    margin: 7px 0;
    text-align: left;
    padding-left: 22px;
    font-size: 14px;
}

.captcha-head{
    position: relative;
    top: -16px;
}

.cap-img{
    position: absolute;
    left: 20px;
}

.enqury-err{
    left: 20px !important;
    bottom: -60px !important;
}

.cap-read{
    color: red;
}    

#submitBtn{
    color: #fff;
    background-color: #021F56;
    border: 0;
    font-size: 16px;
    margin-top: 8px;
    cursor: pointer;
    font-family: Merriweather;
    border-radius: 8px;
    padding: 10px 40px;
}

.contactus-fields{
    position: relative;
    display: grid;
}

.contactus-fields label{
    text-align: left !important;
    color: #000000;
}

.mobile-form-flex label{
    text-align: left !important;
} 

.contactus-fields label span{
    color: red;
}

span.required_field{
    font-size: 12px;
    padding: 0;
    text-align: left;
    color: red;
    width: 100%;
    position: absolute;
    left: 20px;
    bottom: -20px;
}

.recapcha{
    position: relative;
}

#recaptcha1 {
    height: 50px !important;
    position: absolute;
    left: 20px;
    bottom: -35px;
}

.grecaptcha_error{
    bottom: -36px !important;
}

span.required_field.recapta_error{
    position: absolute;
    bottom: -40px;
}

.terms-box{
    font-family: 'Merriweather';
    position: relative;
}

.terms_error{
    font-size: 12px;
    padding: 0;
    text-align: left;
    color: red;
    width: 100%;
    position: absolute;
    left: 20px;
    bottom: -24px;
}

.contactus-form{
    padding-top: 8px;
}

.term_line{
    display:inline; 
    font-size:11px;
    text-align: left;
    margin-left: 5px
}

.book-an{
    padding: 5px 0px 0px 0px;
    font-size: 20px;
    color: #021F56;
    font-weight: 600;
    margin: 0;
}

.p-white{
    color: #fff !important;
    text-align: center;
    font-size: 28px;
    font-weight: 500;
    margin: 0;
}

.consider-sec{
    background-color: #021F56;
    border-radius: 16px;
    padding: 56px 88px;
}

.disc-head {
    font-weight: 700;
    font-size: 28px;
    margin: 0;
    background: unset !important;
    color: #021F56;
    text-align: center;
}

.sec-gap{
    margin: 72px 0;
}

.col-white{
    color: #fff;
    padding-top: 10px;
}

.benefits-sec{
    background-color: #D1EFF1;
    padding: 56px 0;
}

#splide-opinion{
    padding-top: 5px;
}

.second-item {
    background-color: #fff;
    padding: 24px 24px;
    text-align: center;
    border-radius: 8px;
    height: auto;
}

#splide-opinion .splide__arrow--prev{
    display: none;
}

#splide-opinion .splide__arrow--next{
    right: -2em !important;
    background: #fff !important;
}

#splide-opinion .splide__arrow svg{
    height: 18px !important;
    width: 18px !important;
    fill: #000000 !important;
}

#splide-opinion li{
    margin: 5px 3px !important;
}

.splide__pagination__page{
    box-shadow: none !important;
    background-color: #fff !important;
}

.splide__pagination__page.is-active{
    background: #021F56 !important;
}

.sec-head{
    font-weight: 700;
    color: #021F56;
    margin: 10px 0;
    font-size: 16px !important;
}

.treatment-back{
    background-color: #EEEAE6;
    padding: 56px 88px;
}

.treatment-grid{
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-gap: 40px 32px;
    padding-top: 24px;
    justify-items: center; /* Centers items horizontally */
    align-items: center;   /* Centers items vertically */
}

.treatment-grid img{
    display: block;
    padding-bottom: 10px;
    margin: auto;
}

.treatment-grid a{
    text-align: center;
    color: #000000;
    font-size: 14px;
    width: 132px;
    height: 119px;
}

.treatment-grid p{
    margin: 0;
}

.seek-back{
    background-color: #B3BCCC;
    padding: 56px 0;
    position: relative;
}

.seek-grid{
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-gap: 40px 21px;
    padding-top: 44px;
    justify-items: center; /* Centers items horizontally */
    align-items: center;   /* Centers items vertically */
}

.seek-item{
    text-align: center;
    color: #000000;
    background-color: #ffff;
    border-radius: 16px;
    padding: 55px 10px 20px 10px;
    height: 385px;
    width: 239px;
    box-shadow: 0px 4px 4px 0px #00000033;
}

.seek-item p{
    font-size: 14px;
}

.seek-line{
    padding-top: 24px;
    width: 100%;
}

.process-back{
    background-color: #554A9B;
    padding: 56px 0;
    position: relative;
}

.process-img{
    background: url(../images/second-opinion/process-img.webp) no-repeat center;
    background-size: cover;
    margin-top: 44px;
    border-radius: 16px;
}

.process-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    /* grid-gap: 21px 21px; */
    gap: 0; /* No gap needed for this method */
    border-collapse: collapse; /* Optional */
    border-radius: 17px;
    overflow: hidden;
}

.process-item{
    text-align: center;
    color: #000000;
    padding: 20px 10px 20px 40px;
    /* border-right: 1px solid #000000; */
    border: 1px solid #ccc; /* Line between items */
}

.process-p{
    font-weight: 600;
    margin: 5px 0;
    text-align: left;
}

.process-item p{
    text-align: left;
}

.consult-expert{
    background: url(../images/second-opinion/consult-back.webp) no-repeat center;
    background-size: cover;
    position: relative;
    height: 405px;
}
.book-button {
    background: #001d57;
    font-size: 16px;
    font-weight: 400;
    border: 2px solid #001e5b;
    padding: 7px 28px;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    font-family: Merriweather, sans-serif !important;
    color: #fff;
}

.consult-one{
    position: absolute;
    top: 35%;
}

.consult-one .disc-head{
    text-align: left !important;
    padding-bottom: 20px;
}

.why-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 35px;
    position: relative;
    place-items: center;
}

.why-grid .disc-head{
    text-align: left;
    margin-bottom: 10px;
}

.why-grid ol li b{
    font-weight: 700;
}

.why-grid ol li{
    margin-bottom: 10px;
    line-height: 25px;
}

.why-grid img{
    display: block;
    width: 100%;
}

.consult-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    place-items: center;
}

.consult-grid img{
    display: block;
    width: 100%;
}

.consult-specialist{
    background-color: #EFFAFF;
}

.head-p{
    font-weight: 700;
    font-size: 20px;
}

.faq-main {
    margin-bottom: 50px;
}

.faq-accordian {
    padding-top: 20px;
}

.accordion {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-top: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: rgba(99, 99, 99, .2) 0 2px 8px 0;
}

.accordion__intro {
    position: relative;
    padding: 18px;
    cursor: pointer;
    color: #000;
}

.accordion h4 {
    color: #000;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.accordion__intro span {
    position: absolute;
    right: 14px;
    top: 35%;
    transition: all .3s ease-in-out;
}

.gg-chevron-down {
    box-sizing: border-box;
    position: relative;
    transform: scale(var(--ggs, 1));
    width: 22px;
    height: 22px;
    border: 2px solid transparent;
    border-radius: 100px;
}

.gg-chevron-down::after {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    width: 15px;
    height: 15px;
    border-bottom: 3px solid;
    border-right: 3px solid;
    transform: rotate(45deg);
    left: 4px;
    top: -2px;
}

.accordion__content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    will-change: max-height;
    transition: all .25s ease-out;
    opacity: 0;
    background-color: #fff;
}

.accordion__active .accordion__content {
    padding: 20px;
    opacity: 1;
}

.accordion p {
    font-size: 16px;
    margin: 0;
}

.faq-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 35px;
}

.contact-us{
    background-color: #E7E4E4;
    text-align: center;
    padding: 56px 0;
    border-radius: 16px;
}

.contact-us p{
    padding: 15px 10px 10px 10px;
    line-height: 25px;
}


.tab-content {
    position: absolute;
    top: 22px;
    right: 120px;
    width: 28%;
}

.mobile-form-flex {
    position: relative;
    display: grid;
}

.otp-btn{
    position: absolute;
    top: 30px;
    right: 20px;
    font-size: 13px;
}

.enqury-err{
    text-align: start;
    margin-top: 0px !important;
    margin-bottom: 0 !important;
}

.form-container, .form-container-otp {
    border-radius: 20px;
    background-color: #fff;
    margin: auto;
}

.form-container, .form-container-otp {
    padding: 10px 15px;
}

.sp-form-area{
    border: none !important;
}

.number-container{
    width: calc(100% - 100px);
  }
  .otp-group{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    padding: 0px 0 12px 0;
    position: relative;
  }
  .otp-group input{
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
  }
  .enq-otp-container .inputs{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  .enq-otp-container .otp-label{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    padding-bottom: 10px;
  }
  .enq-otp-container .otp-label b {
    font-size: 12px;
  }
  .enq-otp-container .input {
    width: 100%;
    border: none !important;
    border-bottom: 2px solid rgba(0, 0, 0) !important;
    text-align: center;
    font-size: 14px;
    padding: 8px;
  }
  .enq-otp-container .input:focus {
    border-bottom: 2px solid #00bdb6 !important;
    background-color: #E8F0FE !important;
    outline: none;
  }
  
  .enq-otp-container .input{
    cursor: pointer;
    pointer-events: all;
  }
  .otp-active{
    background: #1db6bc !important;
  }
  .enquiry-container-otp .otp-btn{
    border-radius: 5px;
    border: none;
    padding: 2px 7px;
    opacity: .8;
    cursor: pointer;
    font-size: 12px;
    color: white;
    font-weight: 500;
    background: #b3b3b3;
    height: 30px;
    width: 80px;
    position: absolute;
    right: 10px;
  }
  .enquiry-container-otp .otp-btn:disabled{
    cursor: not-allowed;
  }
  .otp_error {
    margin-top: 10px!important;
  }

  .otp-container .otp-label{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
  }
  .otp-container .otp-label b {
    font-size: 12px;
  }

  .otp-container .input {
    width: 100%;
    border: none !important;
    border-bottom: 2px solid rgba(0, 0, 0) !important;
    text-align: center;
    font-size: 14px;
    padding: 8px;
  }

  label {
    display: flex !important;
}

.otp-container .inputs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  .otp-container .input:focus {
    border-bottom: 2px solid #00bdb6 !important;
    background-color: #E8F0FE !important;
    outline: none;
  }
  
  .otp-container .input{
    cursor: pointer;
    pointer-events: all;
  }
  .otp-active{
    background: #1db6bc !important;
  }
  .form-container-otp .otp-btn{
    margin-left: 10px;
    border-radius: 5px;
    border: none;
    padding: 2px 7px;
    opacity: .8;
    cursor: pointer;
    font-size: 12px;
    color: white;
    font-weight: 500;
    background: #b3b3b3;
    height: 30px;
    width: 80px;
  }
  .form-container-otp .otp-btn:disabled{
    cursor: not-allowed;
  }
  
  .input-group-append {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    padding: 0 0 12px 0;
}

.cta-book{
    text-align: center;
}

@media only screen and (max-width: 991px){
    .tab-content{
        width: 95% !important;
        margin: 10px;
        position: relative;
        top: unset !important;
        right: unset;
    }

    .faq-grid{
        display: block;
    }

    .why-grid{
        grid-template-columns: 1fr;
    }

    .treatment-grid{
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .consult-grid{
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    #splide-opinion .splide__arrow--next{
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    .sec-gap {
        margin: 35px 0;
    }

    .disc-head {
        font-size: 20px;
        text-align: center;
    }

    .consider-sec{
        padding: 20px;
    }

    .treatment-back{
        padding: 20px;
    }

    .treatment-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .process-grid{
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .process-item{
        border: none;
        padding: 5px 20px;
    }

    .consult-expert{
        background: url(../images/second-opinion/consult-back-mob.webp) no-repeat center;
        background-size: cover;
        height: unset;
        padding: 70px;
    }

    .consult-one .disc-head{
        display: none;
    }

    .temp-but{
        font-size: 10px !important;
        padding: 4px 4px !important;
    }

    .consult-one{
        top: 55%;
        left: 4%;
    }

    .mobileimge {
        display: block;
    }

    .bannertextblock{
        top: 66px !important;
        left: 42px !important;

    }

    .deskbnner {
        display: none;
    }

    .main-img {
        margin-top: 60px;
    }

    .treatment-grid a{
        font-size: 12px;
    }
    .line-container{
        display: none !important;
    }
}

.when-container{
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.container {
    margin: auto;
    padding: 20px 0px 0px 0px;
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0px 22px 0px 22px;
}

.step-card {
    background: white;
    width: 18%;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: center;
}

.step-number {
    width: 110px;
    height: 55px;
    background: url('../images/second-opinion/blue-vector.svg') no-repeat center;
    background-size: cover;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.step-number label{
    margin-top: 7px;
}

.line-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 5px;
}

.des-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: black;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1;
}

.circles {
    display: flex;
    width: 100%;
    justify-content: space-between;
    position: relative;
}

.circle {
    width: 20px;
    height: 20px;
    background-color: #021e53;
    border-radius: 50%;
    z-index: 2;
}

.step-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 20px auto;
    object-fit: cover;
}

.step-title {
    font-size: 16px;
    font-weight: bold;
    color: #0d2240;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 14px;
    color: #555;
}

@media (max-width: 1024px) {
    .step-card {
        width: 45%;
    }
}

@media (max-width: 600px) {
    .steps {
        flex-direction: column;
        align-items: center;
    }
    .step-card {
        width: 90%;
    }
}

.view-more {
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #001d57;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.view-more:hover {
    background-color: #0056b3;
}
/* Hide extra treatments only on mobile */
@media (max-width: 512px) {
    .bannerheading_txt {
        font-size: 12px !important;
        font-weight: 500 !important;
        margin-bottom: 0;
    }
    .banner_intro{
        font-size: 11px !important;
    }
}
@media (min-width: 768px) {
    .hidden {
        display: none !important;
    }
    .mobile-only {
        display: block !important;
    }
    .mobile{
        display: none !important;
    }
}
/* Show all treatments & remove View More button on desktop */
@media (max-width: 769px) {
    .hidden {
        display: block !important;
    }
    .mobile-only {
        display: none !important;
    }
    .mobile{
        display: block !important;
    }
}
/* Show hidden treatments when 'View More' is clicked */
.show {
    display: block !important;
}