body{
    background-color: #fff !important;
}
.headermain-bar{
    display: none;
}
header {
    background: #fff;
    position: relative;
    top: 0;
    left: 0;
    padding: 0;
    width: 100%;
    padding: 0;
    position: fixed;
    z-index: 9999999;
    box-shadow: 0 0 8px rgb(0 0 0 / 60%);
    height: 72px;
}
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 150px);
}
.care-logo {
    padding: 5px 0;
    margin: 0 10px;
}
.land-call {
    background: #00b6bd;
    font-size: 14px;
    font-weight: 400;
    border: 2px solid #00b6bd;
    padding: 7px 50px;
    border-radius: 22px;
    text-decoration: none;
}
.call-img {
    vertical-align: middle;
}
.menu-land{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.menu-land p{
    margin-bottom: 0;
}
.menu-land span {
    color: #fff;
    font-size: 14px;
}
.sangham-bn-holder {
    position: relative;
}
.sangham-banner {
    height: 100%;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
}
.sangham-bn-title {
    position: absolute;
    top: 0;
    width: 63%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: left;
    text-align: left;
    padding: 0 5%;
    left: unset;
    transform: none;
}
.sangham-bn-title h1{
    font-size: 36px;
    color: #021e53;
}
.sangham-bn-title p {
    font-size: 26px;
    margin-bottom: 10px;
    color: #021e53;
}
.why-section{
    margin-top: 50px;
    background-color: #D2F0F2;
    padding: 50px 100px;
    min-height: 100%;
}
.why-description{
    padding-right: 30px;
}
.form-container{
    padding: 0;
}
.why-section h2, .exclusive-offer h2, .how-to-get h2, .eligibility h2, .locations h2, .faq-section h2{
    color: #001C54;
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 24px;
}
.book-an-appointment-form{
    background: white; 
    padding: 20px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%),0 3px 6px rgb(0 0 0 / 23%);
}
.form-label{
    margin-bottom: 3px;
}
.form-control{
    border: 1px solid #001C54 !important;
}
.button{
    background-color: #0C264B; 
    color: white;
    padding: 10px 20px;
    margin-top: 10px;
}
.benefits-of-sangham{
    margin-top: 50px;
    background-color: #F4F4F4;
    padding: 50px 100px;
}
.benefits-of-sangham h2{
    color: #001C54;
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 20px;
}
.sangham-health-image{
    width: 100%;
}
.benefit-cards{
    background-color: #fff;
    box-shadow: 0 3px 6px rgb(0 0 0 / 5%),0 3px 6px rgb(0 0 0 / 10%);
    border-radius: 5px;
}
.card-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 20px;
}
.card-title label {
    background-color: #F2F2F2;
    border-radius: 0 50px 50px 0;
    font-weight: 400;
    margin: 0;
    height: 77px;
    width: 276px;
    line-height: normal;
    display: flex;
    align-items: center;
    padding-left: 15px; 
    padding-right: 15px;
}
.card-title img {
    max-height: 50px; /* adjust size as needed */
    margin-right: 10px;
}
.card-description{
    padding: 10px 0px;
}
.exclusive-offer{
    background-color: #fff;
    padding: 50px 100px;
}
.exclusive-offer .sangham-health-image{
    padding: 20px 20px 20px 0px;
}
.exclusive-offer .note{
    font-weight: bold;
    font-style: italic;
}
.how-to-get{
    background-image: url(../images/care-sammaan/sammaan-bga.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 20px 40px 20px;
    text-align: center;
    border-radius: 10px;
}

.pop-up-pincode p{
    font-size: 18px;
    margin-bottom: 24px;
}

.pop-up-pincode h5{
    font-size: 18px;
    margin-bottom: 20px;
    color: #021e53;
}

.pop-card{
    background-color: #021e53;
    padding: 12px 20px;
    color: #fff;
    border-radius: 7px;
    margin-top: 15px;
}

.pop-card:hover{
    color: #fff;
}

.pop-up-area select{
    appearance: auto;
}

.terms-condition-checkbox {
    transform: scale(1.2); /* Increase the number to make it bigger */
    margin-right: 4px; /* Optional: add space between checkbox and label */
}

.eligibility{
    margin-top: 50px;
    background-color: #F4F6FA;
    padding: 50px 80px;
}
.eligibility .row{
    margin-top: 20px;
}
.eligibility-card{
    font-size: 14px;
    background-color: #fff;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px 14px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 5%),0 3px 6px rgb(0 0 0 / 10%);
    min-height: 130px;
    height: auto !important;
    border-radius: 8px;
    box-sizing: border-box;
}
.eligibility-card img {
    padding: 5px 12px 5px 5px;
    flex-shrink: 0;
    width: 60px;
    max-width: 60px;
    height: auto;
}
.eligibility-card span {
    flex-grow: 1;
    line-height: 1.45;
    word-break: break-word;
    color: #333;
}
.locations{
    padding: 50px 100px;
    text-align: center;
}

.location-carousel-wrapper{
    margin-bottom: 50px;
}

.locations h2{
    margin-bottom: 40px;
}
.location-card{
    background-color: #fff; 
    box-shadow: 0 3px 6px rgb(0 0 0 / 5%),0 3px 6px rgb(0 0 0 / 10%);
    border-radius: 8px; 
    overflow: hidden; 
    text-align: center; 
    cursor: pointer;
    margin-bottom: 10px;
}
.location-card label {
    display: flex;
    align-items: center; /* vertically center */
    justify-content: center; /* horizontally center */
    min-height: 45px; /* ensures consistent height */
    margin-top: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    color: black;
    line-height: 1.4;
    text-align: center;
    padding: 0 10px; /* optional: avoids text touching edges */
}

.location-card img{
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.faq-section{
    background-color: #F2F2F2;
    padding: 50px 100px;
}
.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;
}
.faq-button-class {
    background: #fff;
    border: 0;
    padding: 15px 30px 15px 20px;
    width: 100%;
    text-align: left;
    position: relative;
    margin-bottom: 10px;
    font-weight: 400;
    font-size: 18px;
    color: #000;
}
.faq-open {
    padding: 15px 20px !important;
    font-weight: 400;
    font-size: 16px;
    background: #fff;
    text-align: left;
    color: #000;
}
.faq-button-class.collapsed .fa-angle-down {
    transform: rotate(0);
}
.faq-button-class .fa-angle-down {
    position: absolute;
    right: 15px;
    top: 15px;
    font-weight: 700;
    transition: .3s;
    transform: rotate(-180deg);
    cursor: pointer;
    height: 30px;
}
.common-all {
    text-align: center;
    margin: 40px 0;
}
.page2-sang{
    text-align: center;
    margin: 0 0 40px 0 !important;
}
.common-all p {
    color: #102e57;
}
.common-sug {
    font-size: 26px;
    color: #102e57;
    font-weight: 500;
}
.common-last {
    background-color: #F2F2F2 !important;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 32px 70px;
    gap: 40px;
}
.common-last img{
    filter: brightness(1.2) contrast(1.1);
}
.common-last p {
    font-size: 20px;
    color: #021f56;
    font-weight: 500;
    margin-bottom: 0;
    text-align: left;
}
.common-three span {
    color: #021f56;
    font-size: 16px;
    text-align: left;
}
.common-three, .common-three a { 
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    border: none;
    background: #F2F2F2 !important;
    padding: 0;
}
.scroll-button {
    cursor: pointer;
    color: #01357e;
    transition: .5s;
}

/* Sangam Page PopUp Code */

.spl-enquiry-form .form-group.input-material label{
    width: 100%;
    left: 0;
}

.dom-otp-container{
    border: none !important;
    margin-bottom: 0 !important;
}

.form-container-otp .otp-btn{
    height: 40px !important;
    width: 109px !important;
}

.dom-otp-container{
    position: relative;
    top: unset;
    right: unset;
}

.otp-sangam-active{
    background: #021e53 !important;
}

.otp-container{
    padding: 10px 70px;
}

.sangam-button{
    text-align: center;
}

.sangham-bn-holder picture{
    position: relative;
}

.sangam-banner-button{
    position: absolute;
    top: 138px;
    left: 157px;
}

.sangam-banner-button button{
    background-color: #00b6bd;
}

.sangam-page2{
    margin-top: 30px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 999; /* Place it above other elements */
}

/* Popup styles */
.popup-home {
  width: auto;
  height: auto;
  background-color: #fff;
  border-radius: 20px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.1);
  text-align: center;
  padding: 20px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  visibility: hidden;
  transition: transform 0.4s, visibility 0.4s, top 0.4s;
  z-index: 1000; /* Above the overlay */
}

/* Open popup */
.open-popup {
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  top: 50%;
}

/* Open overlay */
.show-overlay {
  visibility: visible;
  opacity: 1;
}
.close-youtube {
  float: right;
  position: absolute;
  right: 18px;
  top: 15px;
  cursor: pointer;
  width: 25px;
  height: 18px;
}

.close-youtube:after, .close-youtube:before {
  position: absolute;
  left: 15px;
  content: ' ';
  height: 25px;
  width: 2px;
  background-color: #607080;
  z-index: 999;
}

.close-youtube:before {
  transform: rotate(45deg);
}

.close-youtube:after {
  transform: rotate(-45deg);
}

.pop-up-grid{
  text-align: center;
}

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

.error_phone, .error_whatsapp, .error_terms{
    font-size: 12px;
    padding: 0;
    text-align: left;
    color: red;
    width: 100%;
}

.continue-btn{
    color: #fff;
    background: #021e53;
    border: 1px solid #021e53;
    padding: 8px 50px;
    border-radius: 5px;
    transition: .5s;
}

/* sangam pop up content css */
.how-to-get h3{
    color: #001C54;
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 18px;
}

.veri-center{
    display: flex;
    justify-content: center;
    align-items: center;
}

.verify-btn{
    display: block;
    background-color: #0C264B;
    color: #fff;
    border-radius: 8px;
    padding: 10px;
    margin: 20px 0;
}

.phone-page2-btn{
    display: block;
    background-color: #0C264B;
    color: #fff;
    border-radius: 8px;
    padding: 8px 20px;
    margin: 15px 0 0 0;
}

.pin-input{
    border: 1px solid #0C264B;
    border-radius: 8px;
    height: 44px;
    padding: 10px;
    width: 70%;
}

.pop-up-center p{
    margin-bottom: 20px;
}

.pop-up-area p{
    margin-bottom: 0px;
}

.pop-up-area select{
    margin-top: 20px;
}

.proceed-btn{
    padding: 10px 40px;
}

.proceed-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6; /* optional: makes it visually look disabled */
}

.pop-up-whoops p{
    margin-bottom: 0;    
}

.fi-in {
    background-image: url(../images/sangham/in.svg);
}

.fi {
    position: relative;
    display: inline-block;
    width: 1.333333em;
    line-height: 1em;
}

.fib, .fi {
    background-size: contain;
    background-position: 50%;
    background-repeat: no-repeat;
}

/* .main-page-sangam{
    display: none;
} */

/* .sangham-card-detail{
    display: none;
}

.beneficial-card{
    display: none;
} */

/* CARE Sangham Card Details page css */
.sangam-h2 h2{
    color: #001c54;
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 24px;
    text-align: center;
}

.section-gap{
    margin: 40px 0;
    padding: 0 70px;
}

.contact-item{
    /* position: absolute; */
    margin: 0;
    width: 100%;
    right: 8%;
    height: auto;
    box-shadow: none;
    border-radius: 0;
    background: none;
    text-align: center;
    margin-top: 0;
    top: 100px;
    z-index: 1;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
    border-radius: 10px 10px 10px 10px;
    background: #F3F6F9;
}

.contact-item-grid{
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px 30px;
    align-items: center;
    position: relative;
    z-index: 5;
    padding-bottom: 40px;
}

.contact-item-grid-2{
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px 30px;
    align-items: center;
    position: relative;
    z-index: 5;
    padding-bottom: 40px;
    padding-top: 10px;
}

.note-p{
    padding-top: 10px;
}

.note-p span{
    color: red;
}

.email, .city, .pincode, .name, .phone, .dob, .gender, .relationship, .date-appointment, .country, .state, .area, .aadhar, .hospital, .id-proof{
    width: 100%;
    height: 40px;
    padding: 0 5px;
    font-size: 14px;
    border-radius: 8px;
    border: unset;
    font-family: 'Merriweather';
    border: 1px solid #999;
}

.submit{
    color: #fff;
    background-color: #0C264B;
    width: 14%;
    border: 0;
    border-bottom: solid 1px #ccc;
    height: 42px;
    border-radius: 8px;
    font-family: 'Merriweather';
}

.contactus-fields{
    position: relative;
    text-align: left;
}

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

.recapcha{
    position: relative;
}

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

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

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

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

.contactus-form{
    padding: 50px 15px 200px 25px;
    background-color: #fff;
    border-radius: 8px;
    margin: 0;
    height: 250px;
}

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

.book-an{
    padding: 18px 0px 18px 0px;
    text-align: center;
}

.exp-icon ul li{
    list-style: none;
}

.exp-icon ul li a{
    text-decoration: none;
}

.lab-1{
    display: block;
    text-align: start;
    padding-bottom: 5px;
    font-weight: 500;
}

.lab-1 span{
    color: red;
}

.form-group{
    position: relative;
}

.captcha-head{
    position: absolute;
    left: 38px;
    top: 45px;
}

#captcha_entered{
    width: 84% !important;
}

.sangam-h2 .text-center{
    font-size: 18px;
    color: #000;
    font-weight: 500;
}

.card-details-flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-details-flex p{
    font-size: 18px;
    font-weight: 500;
}
.table-container {
  overflow-x: auto;
  width: 100%;
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 600px; /* Set minimum width so it scrolls on smaller screens */
}

th {
  color: #6E6E6E;
}

td, th {
  border: 1px solid #F7F7F7;
  text-align: left;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #ECECEC;
}

.list-icon{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    border:none;
}

.terms-box{
    text-align: center;
    padding: 20px 0;
}

.card-paddi{
    text-align: center;
    padding: 30px;
}

.beneficial-grid{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #d9d9d9;
}

.clear-button{
    color: #0c264b;
    background-color: #fff;
    width: 14%;
    border: 0;
    border: 1px solid #0c264b;
    height: 42px;
    border-radius: 8px;
    font-family: Merriweather;
}

.dom-country-container {
    display: flex;
    justify-content: center;
    padding-top: 5px;
}

.sangam-check {
    text-align: center;
}

#desk-sangam-carousel .splide__arrow--prev{
    left: -1.5em !important;
}

#desk-sangam-carousel .splide__arrow--next{
    right: -1.5em !important;
}

#desk-sangam-carousel .splide__pagination__page{
    background: #ccc !important;
}

#desk-sangam-carousel .splide__pagination__page.is-active{
    background: #021f56 !important;
}
/* Sangam Page PopUp Code */

.pop-whats p{
    margin: 10px 0 5px 0;
}

.radio-group{
    padding-bottom: 5px;
}

.radio-group label {
  margin-right: 20px; /* space between Yes and No */
}

.faq-button-head {
    text-align: center;
    padding: 0 0 10px 0;
}

.faq-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;
}

.sammaan-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 30px;
}

.sammaan-grid col{
    background-color: #fff;
}

.sammaan-card {
    display: block;
}

.sammaan-box {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.sammaan-box img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.how-sammaan {
    padding: 20px;
}


.how-sammaan h4 {
    font-weight: 400;
    color: #fff;
    font-size: 16px;
    background-color: #021e53;
    padding: 10px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.how-sammaan a{
    color: #fff;
}

.custom-dropdown {
    position: relative;
    width: 100%;
}

.dropdown-list {
    position: absolute;
    width: 100%;
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid #ccc;
    background: #fff;
    display: none;
    z-index: 1000;
}

.dropdown-item {
    padding: 8px;
    cursor: pointer;
}

.custom-dropdown{
    padding-right: 0px !important;
    border-bottom: none !important;
}

.button-field{
    text-align: center;
}

.pop-up-otp form{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.click-sammaan{
    cursor: pointer;
}

.samman-exist h2{
    text-align: left;
    color: #001c54;
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 24px;
}

.exist-user{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #001c54;
    border-radius: 8px;
    padding: 10px 20px;
    margin-bottom: 10px;
}

.exist-user p{
    font-size: 16px;
    color: #001c54;
    font-weight: 400;
    margin-bottom: 0;
}

.fine-print{
  font-size: 12px;
}

@media only screen and (max-width: 991px) {
    .popup-home{
        padding: 40px 25px 25px 25px;
        width: 86% !important;
    }

    .otp-container{
        padding: 10px 25px;
    }

    .how-to-get h2{
        margin-bottom: 10px;
    }

    .how-to-get p{
        margin-bottom: 10px;
    }
     .eligibility-card{
        height: auto !important;
    }
    .sammaan-grid{
        grid-template-columns: repeat(1, 1fr);
    }
    .sangam-banner-button{
        top: 38px;
        left: 5px;
        font-size: 12px;
    }
    .sangam-banner-button .pop-card{
        padding: 5px 7px;
        font-size: 12px;

    }
}

@media only screen and (max-width:320px) {
    .sangham-bn-title {
        width: 74%;
    }
}

@media only screen and (max-width:540px) {
    .sangham-banner {
        height: 250px;
        object-position: 95% 100%;
    }
    .sangham-bn-title p {
        font-size: 16px;
    }
    .sangham-bn-title {
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: left;
        text-align: left;
        padding: 0 20px;
        left: unset;
        transform: none;
    }
    .sangham-bn-title h1 {
        font-size: 20px;
        margin-bottom: 0;
        font-weight: bolder;
    }
    .sangham-bn-title p {
        font-weight: bolder;
    }
    .sangham-banner{
        height: 160px;
    }
    .why-section{
        margin-top: 0;
        background-color: #fff;
        padding: 0;
    }
    .why-description{
        padding: 30px;
        background-color: #D2F0F2;
    }
    .book-an-appointment-form{
        margin: 30px;
    }
    .book-an-appointment-form .button{
        border-radius: 5px;
        margin-top: 10px;
    }
    .form-container{
        padding: 0;
    }
    .why-section h2, .exclusive-offer h2, .how-to-get h2, .eligibility h2, .locations h2, .faq-section h2, .benefits-of-sangham h2, .pop-up-grid h2{
        font-size: 19px;
        text-align: center;
        font-weight: bolder;
    }
    .benefits-of-sangham{
        margin-top: 30px;
        padding: 30px 20px;
    }
    .sangham-health-image{
        margin-bottom: 20px;
        height: auto;
        object-fit: cover;
    }
    .exclusive-offer, .eligibility, .faq-section{
        padding: 20px;
    }
    .exclusive-offer .sangham-health-image{
        padding: 0;
    }
    .locations{
        padding: 20px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .common-last {
        place-items: flex-start;
        grid-template-columns: 1fr;
        padding: 32px 15px;
        gap: 25px;
    }
    .location-card img{
        height: 250px;
    }
    .sangam-check {
        display: flex;
        align-items: baseline;
        gap: 5px;
        text-align: left;
    }
}
@media only screen and (max-width: 768px) {
    .location-carousel-wrapper {
        position: relative;
        overflow: hidden;
        width: 100%;
        margin-bottom: 30px;
    }

    .location-carousel {
        display: flex;
        transition: transform 0.3s ease-in-out;
        touch-action: pan-y;
    }

    .location-slide {
        min-width: 100%;
        box-sizing: border-box;
        padding: 0 10px;
    }

    .carousel-dots {
        display: flex;
        justify-content: center;
        margin-top: 15px;
    }

    .carousel-dots span {
        width: 8px;
        height: 8px;
        background-color: #ccc;
        border-radius: 50%;
        margin: 0 5px;
        cursor: pointer;
    }

    .carousel-dots .active {
        background-color: #333;
    }
    .locations h2{
        margin-bottom: 25px;
    }

    .how-to-get h3{
        font-size: 25px;
        margin-bottom: 10px;
    }
    .pop-up-area select{
        margin-top: 8px;
    }
}

/* Desktop view: Show 3 columns */
@media only screen and (min-width: 769px) {
    .location-carousel-wrapper {
        overflow: visible;
    }

    .location-carousel {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        transform: none !important;
    }

    .location-slide {
        flex: 0 0 calc(33.333% - 13.33px);
        max-width: calc(33.333% - 13.33px);
        box-sizing: border-box;
        padding: 0;
    }

    .carousel-dots {
        display: none;
    }
}


/* sangam beneficiary detail page css */
.sangam-card{
    margin: auto;
    text-align: center;
    position: relative;
    border-bottom: 1px solid #d9d9d9;
}

.download-img{
    position: absolute;
    right: 95px;
}

.download-img:hover{
    cursor: pointer;
}

.sangam-card img{
    padding-bottom: 35px;
}

.card-validity-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    place-items: center;
}

.add-more{
    margin: 25px 0 15px 0;
}

.sangham-card-front{
    height: 500px;
    position: relative;
}

.sangham-card-back{
    height: 570px;
}

.front-card-flex{
    display: grid;
    grid-template-columns: calc(55% - 10px) calc(40% - 10px);
    padding-left: 22px;
    position: relative;
    left: 0;
    top: 76%;
}

.front-card-flex h5{
    font-weight: 500;
    color: #000;
    margin-bottom: 5px;
    font-size: 18px;
}

.front-card-flex p{
    margin: 0;
}

.card-number{
    color: #2f4671;
    font-weight: 700;
    font-size: 26px;
}

.valide-date{
    color: #2f4671;
}

.back-card-flex {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 equal columns */
    gap: 50px;
    position: relative;
    left: 50%;
    transform: translate(-50%);
    width: 650px;
    top: 8%;
}

/* Style each column */
.back-card-flex > div {
    display: flex;
    flex-direction: column;
    gap: 2px; /* spacing between lines */
}

.back-card-flex p{
    margin: 4px 0;
}

.card-validity-grid p{
    font-size: 20px;
}

.submit.processing {
    background-color: #888; /* gray to show processing */
    color: #fff;
    cursor: not-allowed;
    opacity: 0.8; /* optional: slightly faded */
}

.submit.downloading {
    background-color: #888; /* grayish */
    color: #fff;
    cursor: not-allowed;
    opacity: 0.9;
}


@media only screen and (min-width: 1237px) and (max-width: 1367px) {
    .contact-item{
        top: 80px;
    }
    .head-text{
        width: 360px;
    }
    .header-flex{
        width: calc(100% - 140px);
    }
    .main-container{
        padding: 0px 15px;
    }
    .faq-model p{
        width: 92%;
    }
    .download-img{
        position: absolute;
        right: 50px;
    }
}


@media only screen and (min-width: 1025px) and (max-width: 1236px) {
    .contact-item{
        right: 55px !important;
    }
    .head-text{
        width: 350px;
    }
    .main-container {
        padding: 0px 10px;
    }
}

@media only screen and (max-width: 991px){
    .contact-item{
        position: relative;
        top: unset;
        right: unset;
    }
    .contactus-form{
        height: 630px;
    }
    #email, #message, #name, #phone, #dob, #gender, #location, #department, #doctor, #time, #date-appointment{
        width: 100% !important;
    }
    .sec-top-bot{
        margin: 30px 0px;
        padding-right: 5%;
        padding-left: 5%;
    }
    .main-container{
        padding: 0;
    }
    #recaptcha1 {
        top: -15px;
    }
    .disc-text{
        line-height: 26px;
        margin-bottom: 0;
    }
    .contactus-form{
        padding: 20px 20px;
        margin: 0;
    }
    .lab-1{
        padding-left: 5px;
    }
    .submit{
        width: 35%;
        left: 35% !important;
    }
    span.required_field{
        left: 5px;
    }
   
    .captcha-head{
        left: 15px !important;
        top: 48px !important;
    }
    .section-gap{
        padding: 0px;
    }
    .sangam-card img{
        width: 100%;
    }

    .sangam-card img {
        padding-bottom: 15px;
    }

    .card-validity-grid{
        grid-template-columns: 1fr;
        place-items: flex-start;
    }

    .card-paddi{
        padding: 20px 0;
    }

    .clear-button{
        width: 35%;
    }
    .sangham-card-front {
        background-size: cover !important;
        margin-bottom: 30px;
        height: 470px;
    }
    .sangham-card-back {
        background-size: cover !important;
        margin-bottom: 30px;
        height: 470px;
    }
}

@media only screen and (max-width: 767px){
    .header-flex {
        width: calc(100% - 40px);
    }
    .care-logo {
        max-width: 55px;
        height: auto;
    }
    .land-call{
        padding: 7px 25px;
    }
    .menu-land p{
        display: none;
    }
    .mob-second{
        display: none !important;
    }
    .download-img{
        display:none;
        position: relative;
        right: 0;
        height: 55px;
        width: 40px !important;
    }
     .contact-item-grid{
        grid-template-columns: 1fr;
        gap: 15px;
        padding-bottom: 0;
    }
    .sangam-h2 h2{
        font-size: 20px;
    }
    .contact-item-grid-2{
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media only screen and (max-width: 767px){
    .sangham-card-front {
        width: 100%;
        height: auto;          /* let it scale */
        aspect-ratio:738 / 497; /* replace 500/300 with your actual image ratio */
        padding: 0;
    }
    .front-card-flex p{
        font-size: 8px;
    }
    .front-card-flex h5 {
        font-size: 10px;
        margin-bottom: 0px;
    }
    .front-card-flex{
        grid-template-columns: calc(53% - 3px) calc(47% - 10px);
        padding-left: 35px;
        padding-top: 2px;
        gap: 5px;
        display: grid;
        position: relative;
        top: 76%;
        left: 0;
        text-align: left;
    }
    .sangham-card-back {
        width: 100%;
        height: auto; 
        aspect-ratio:738 / 497;
    }
    .back-card-flex {
        grid-template-columns: calc(53% - 3px) calc(47% - 10px);
        padding-left: 6px;
        gap: 5px;
        top: 0;
    }
    .back-card-flex p{
        font-size: 8px;
        text-align: left;
        margin: 0;
    }
    .beneficial-card .container-custom{
        margin-top: 80px;
    }
    .back-card-flex {
        padding-top: 5px;
        width: 300px;
    }
    .card-validity-grid{
        display: flex;
        justify-content: space-evenly;
        padding-top: 10px;
    }
    .card-validity-grid h3,.card-validity-grid h4{
        font-size: 12px;
    }
    .card-validity-grid p{
        font-size: 10px;
    }
    .samman-exist h2{
        font-size: 20px;
    }
}
#addMoreBtn.disabled {
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed;
}