* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    text-decoration: none !important;
}
.primecolor {
    color: #0f547d;
}
.secondaryprime {
    color: #c94b3f !important;
}
/* Blue    -- #0f547d */
/* Oranage -- #c94b3f */
.customnavbar {
    background: #fff;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 999;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.navbar-brand {
    padding: 0;
    margin: 0;
}
.navbar-brand img {
    width: 110px;
    height: 110px;
    object-fit: contain;
}

.customnavbar a,
.customnavbar a:hover,
.customnavbar a:focus-visible {
    color: #0f547d !important;
    font-size: 16px;
}

.dropdown-toggle::after {
    display: none !important;
}

.toggle-icon {
    transition: transform 0.3s ease;
    display: inline-block;
    margin-left: 6px;
}
.dropdown-toggle[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg) scale(1.1);
}

.navbar-toggler {
    border: 1px solid #0f547d;
}
.navbar-toggler:focus {
    box-shadow: none;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    filter: brightness(0) saturate(100%) invert(28%) sepia(63%) saturate(632%) hue-rotate(157deg) brightness(93%)
        contrast(92%);
}
.phonediv i,
.phonediv a,
.phonediv i:hover,
.phonediv a:hover {
    color: #fff !important;
}
/* ----------------NAVBAR END----------------- */
/* ----------------Hero section start----------------- */

.herosection {
    position: relative;
    background-image: url("../images/slider_image.jpg");
    height: calc(100vh - 136px);
    background-size: cover;
    background-position: left top;
    padding: 100px 0;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

/* Light semi-transparent overlay */
.herosection::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(269deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75));
    z-index: 0;
}

/* Text stays on top */
.herosection .content {
    position: relative;
    z-index: 1;
}

.herosection .heroheading {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #fff;
}

.herosection .herodesc {
    font-size: 20px;
    color: #fff;
}

.scheduleaDemo {
    background: #0f547d;
    border-radius: 20px;
    color: #fff;
    padding: 10px 15px;
    font-weight: 600;
    display: inline-block;
    border: 1px solid transparent;
}
.scheduleaDemo:hover {
    border: 1px solid #0f547d;
    color: #0f547d;
    background-color: #fff;
}

/* ----------------Hero section end----------------- */

/* -------------comman section strat----------- */
.bannersectionone {
    position: relative;
    padding: 50px 0;
    background-image: url("../images/slider_image_comman.jpg");
    background-size: cover;
    background-position: center;
    z-index: 1;
    overflow: hidden;
}

/* Overlay */
.bannersectionone::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 2;
}

/* Text */
.bannersectionone .seviceheading {
    position: relative;
    z-index: 3;
    font-size: 60px;
    font-weight: 600;
    padding: 100px 0;
    color: #fff;
}
.advertisement {
    background: #bce6ff;
}

.advertisementcontent {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    font-weight: 600;
    padding: 15px;
}
.advertisementcontent p {
    margin-bottom: 0;
    color: #0f547d;
}
#checkavailability {
    scroll-margin-top: 150px;
}

/* -------------comman section end----------- */
.aboutusone {
    padding: 40px 0;
}
.aboutusone .listitem {
    padding-left: 30px;
}
.aboutusone .listitem li {
    margin-bottom: 20px;
}
.aboutusone .listitem li::marker {
    color: #0f547d;
}
.appointment-section {
    background-color: #bce6ff;
    color: #0f547d;
}

.form-title {
    font-size: 32px;
    font-weight: 600;
    color: #0f547d;
}

.animated-form .form-group {
    margin-bottom: 20px;
    position: relative;
}

.animated-form .form-control {
    width: 100%;
    border: 2px solid #ccc;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: white;
}

.animated-form .form-control:focus {
    border-color: #c94b3f;
    box-shadow: 0 0 5px #c94b3f55;
    outline: none;
}

.submit-btn {
    background-color: #c94b3f;
    border: none;
    color: #fff;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background-color: #a53c30;
}

/* Animate image on load */
.animate-img {
    animation: fadeInUp 1s ease;
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.error-message {
    color: red;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}
/* ------------------------------end from------------------ */
.personcard {
    background: #bce6ff;
    border-left: 4px solid #0f547d;
    width: max-content;
    padding: 20px 10px;
    margin-bottom: 20px;
}
.personcard h3 {
    color: #0f547d;
}

.servicesprovidesgrid {
    padding: 40px 0;
}

.servicesprovidesgridcard {
    transition: all 0.3s ease;
    margin-bottom: 20px;
    height: 100%;
}

.imageContainer {
    position: relative;
    overflow: hidden;
}
.imageContainer img {
    transition: transform 0.3s ease;
}
.imageContainer .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.textContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: #0f547d;
    padding: 10px;
    transition: background 0.3s ease;
}
.textContainer p {
    width: calc(100% - 40px);
    margin-bottom: 0;
    color: #fff;
}
.textContainer i {
    width: 30px;
    display: block;
    margin-left: 10px;
    color: #fff;
    transition: transform 0.3s ease;
}

/* Hover effects */
.servicesprovidesgridcard:hover .overlay {
    opacity: 1;
}
.servicesprovidesgridcard:hover .textContainer {
    background: #0c4263;
}
.servicesprovidesgridcard:hover .imageContainer img {
    transform: scale(1.05);
}
.servicesprovidesgridcard:hover .textContainer i {
    transform: translateX(5px);
}

/* servicesprovides new list gird end  */

/* ---------------------------------servicesprovides strat-------------- */

.exploreservicesprovides {
    padding: 40px 0;
}

.exploreservicesprovides .services-title {
    text-align: center;
    margin-bottom: 3rem;
}

.exploreservicesprovides .services-title h2 {
    color: #c94b3f;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.exploreservicesprovides .services-title p {
    color: #2c2c2c;
    font-size: 1rem;
}

.exploreservicesprovides .exploreservicesprovides {
    background: #fff;
}
.exploreservicesprovides .detailsorder {
    margin-top: 30px;
}

.exploreservicesprovides .detailsorder li {
    color: #0f547d;
}
.exploreservicesprovides .detailsorder.Benefitslist li {
    list-style-type: none;
    padding-left: 0;
}

.exploreservicesprovides .detailsorder.Benefitslist li::before {
    content: "✔";
    color: #0f547d;
    font-weight: bold;
    display: inline-block;
    width: 1.2em;
    margin-left: -1.2em;
}
.exploreservicesprovides .indetailsdiv {
    background: #fff;
    border-radius: 12px;
    padding: 20px;

    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    transition: transform 0.3s ease;
    scroll-margin-top: 180px;
}

.exploreservicesprovides .indetailsdiv:hover {
    transform: translateY(-5px);
}

.exploreservicesprovides .indetailsdiv h5 {
    color: #c94b3f;
    font-weight: bold;
}

.exploreservicesprovides .tabimges {
    border-radius: 10px;
    margin-top: 15px;
}

.exploreservicesprovides .bodydetails {
    background: #bce6ff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    z-index: 2;
    top: 150px;
}

.exploreservicesprovides .bodydetails h3 {
    color: #0f547d;
    text-align: center;
    margin: 20px 0;
    font-weight: 600;
}
.exploreservicesprovides .bodydetails img {
    mix-blend-mode: darken;
    max-width: 150px;
}
.exploreservicesprovides .bodydetails a {
    display: block;
    background: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    color: #0f547d;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.exploreservicesprovides .bodydetails a:hover {
    background: #0f547d;
    color: #fff;
}
.bodydetails a.active {
    background: #0f547d;
    color: #fff;
}
.indetailsdiv {
    display: none;
}
.indetailsdiv.active {
    display: block;
}

/* ---------------------------------servicesprovides end-------------- */
.insurance-section {
    padding: 40px 20px;

    font-family: "Segoe UI", sans-serif;
    text-align: center;
}

.section-title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #0f547d;
}

.highlight {
    color: #c94b3f;
    font-weight: bold;
    margin-bottom: 25px;
    font-size: 16px;
}

.insurance-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card {
    background: #bce6ff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 25px 20px;
    width: 300px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.06);
    transition: 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.icon {
    font-size: 36px;
    color: #0f547d;
    margin-bottom: 10px;
}

.card h3 {
    font-size: 20px;
    color: #0f547d;
    margin: 0 0 5px;
}

.price {
    font-size: 18px;
    font-weight: bold;
    color: #c94b3f;
    margin: 5px 0;
}

.desc {
    font-size: 14px;
    color: #555;
}

.highlight-popup {
    background: linear-gradient(90deg, #c94b3f, #0f547d);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 30px;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    position: relative;
    animation: pulse 1.8s infinite;
}

.highlight-popup .spark {
    font-size: 20px;
    margin-right: 8px;
}

/* Pulse animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(207, 13, 54, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(207, 13, 54, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(207, 13, 54, 0);
    }
}

/* Popup styles */
.popup-overlay {
    position: fixed;
    display: flex;
    top: -100%;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: #bce6ff;
    color: #fff;
    z-index: 9999;
    overflow-y: auto;
    transition: top 0.5s ease-in-out;
    padding: 40px 20px;
}

.popup-overlay.active {
    top: 0;
}

.popup-box {
    max-width: 600px;
    background: #fff;
    color: #222;
    margin: auto;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.separator {
    margin: 25px 0;
    border: none;
    height: 1px;
    background: #ddd;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 26px;
    background: transparent;
    border: none;
    color: #222;
    cursor: pointer;
}
/* -------------------PR---------------------------- */
.patientresourcesblogs {
    max-width: 990px;
    margin: auto;
    padding: 2rem;
}
.exercise {
    background: #ffffff;
    border: 1px solid #e4e4e4;
    box-shadow:
        rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset,
        rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
        rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
    border-left: 5px solid #c94b3f;
    border-radius: 8px;
    margin-bottom: 2rem;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    animation: fadeSlide 0.8s ease-in-out;
}

.exercise img {
    width: 50%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.exercise-content h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #c94b3f;
}

.exercise-content h2::before {
    content: "🧍 ";
}

.exercise-content p {
    margin: 0.5rem 0;
}

.exercise-content ul {
    padding-left: 1.2rem;
}

.exercise-content ul li {
    margin-bottom: 0.4rem;
}

.disclaimer {
    background: #fbe9eb;
    border-left: 5px solid #c94b3f;
    padding: 1.5rem;
    border-radius: 6px;
    font-size: 0.95rem;
}

.disclaimer strong {
    color: #c94b3f;
}

@keyframes fadeSlide {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -------------------PR---------------------------- */
.footer {
    background-color: #0f547d;
    color: #ffffff;
    padding: 3rem 1rem 1rem;
    font-family: "Segoe UI", sans-serif;
}
.footerlogolink:hover {
    opacity: 1 !important;
    background: none;
}
.footerlogo,
.footerlogo:hover {
    background: #fff;
    border-radius: 10px;
    width: 150px;
    height: auto;
}
.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer-col {
    flex: 1 1 calc(25% - 2rem); /* 4 columns on desktop */
    min-width: 220px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    position: relative;
    color: #ffffff;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, #fff 0%, #ffffff55 50%, #fff 100%);
    background-size: 200% auto;
    animation: slide-line 2s linear infinite;
}
@keyframes slide-line {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}
.footer-col a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-col a:hover {
    opacity: 0.8;
}

.footer-col ul li a:hover {
    opacity: 0.8;
}

.footer-col p {
    margin: 0.5rem 0;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    border-top: 1px solid #ffffff44;
    padding-top: 1rem;
    font-size: 0.9rem;
}

.patientresourcesmain {
    padding: 20px 0;
}
.patientresourcesmain img {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.patientresourcesmainblog .blogscards {
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
}
.blogbottomline p {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 15px 10px;
    background: #bce6ff;
    color: #0f547d;
    font-weight: 600;
    margin-bottom: 0;
    border-radius: 10px;
}
.patientresourcesmainblog .cardmiantitle {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.patientresourcesmainblog .card-title {
    font-size: 18px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.patientresourcesmainblog .card-text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.readblog,
.readblog:hover {
    background: #0f547d;
    padding: 10px 15px;
    border-radius: 5px;
    color: #fff;
}

.blogdetailslist li {
    list-style-type: none;
}
.blogdetailslist li[id] {
    scroll-margin-top: 150px; /* match your sticky header height */
}

.blog-toc {
    position: sticky;
    top: 170px; /* Adjust for your header height */
    background: #fff;
    padding: 15px;
    border-left: 3px solid #c94b3f;
    box-shadow:
        rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset,
        rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
        rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

.blog-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-toc li {
    margin-bottom: 12px;
}

.blog-toc a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    transition:
        color 0.3s,
        text-decoration 0.3s;
}

.blog-toc a.active {
    color: #c0392b;
    text-decoration: underline !important;
}
.phonediv {
    background-color: #c94b3f;
    padding: 12px;
    border-radius: 10px;
}

/* Responsive */
@media (min-width: 1200px) {
}
@media (max-width: 1199px) {
    .customnavbar a,
    .customnavbar a:hover,
    .customnavbar a:focus-visible {
        color: #0f547d;
        font-size: 13px;
    }
    .footer-col p,
    .footer-col a {
        font-size: 14px;
    }
}
@media (max-width: 991px) {
    .navbar-toggler-icon {
        width: 1em;
        height: 1em;
    }
    .navbar-toggler {
        padding: 0.1rem 0.55rem 0.05rem 0.55rem;
    }
    .navbar-brand img {
        width: 80px;
        height: 80px;
        object-fit: contain;
    }

    .dropdown-menu.show {
        background: #0f547d !important;
    }

    .dropdown-menu.show li,
    .dropdown-menu.show a {
        color: #ffffff !important;
    }
    .herosection {
        background-position: center top;
    }
    /* Optional: hover effect for items */
    .dropdown-menu.show a:hover {
        background: #f0f0f0;
        color: #c94b3f;
    }

    /* .content {
        padding-bottom: 40px;
    } */
    .footer-col h4::after {
        width: 50%;
    }
    .patientresourcesblogs {
        width: unset;
        padding: 2rem 0;
    }
    .form-title {
        font-size: 26px;
    }
    .phonediv {
        width: max-content;
    }
    .phonediv a,
    .phonediv a:hover,
    .phonediv i {
        color: #fff !important;
    }
}
@media (max-width: 767px) {
    .herosection {
        padding: 40px 0;
    }
    .herosection .heroheading {
        font-size: 24px;
    }
    .herosection .herodesc {
        font-size: 18px;
    }
    .aboutusroreverse {
        flex-direction: column-reverse;
    }
    /* .aboutusone .heading {
        margin-top: 25px;
    } */
    .insurance-cards {
        flex-direction: column;
        align-items: center;
    }
    .exercise {
        flex-direction: column;
        text-align: left;
    }

    .exercise img {
        width: 100%;
    }
    .card {
        width: 90%;
    }
    .bannersectionone .seviceheading {
        font-size: 28px;
        text-align: center;
    }
    .services-grid {
        padding: 0 10px;
    }
    .insurance-section {
        padding: 20px 0;
    }
    .highlight-popup {
        margin: 15px 10px;
    }
    .section-title {
        font-size: 22px;
    }
    .form-title {
        font-size: 22px;
    }
    .footerlogo,
    .footerlogo:hover {
        width: 100px;
    }
    .exercise-content h2 {
        font-size: 1.1rem;
    }
    .personcard {
        margin: 0 auto 20px;
        width: unset;
    }
}
@media (max-width: 575px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .footer-col {
        flex: 1 1 100%;
    }

    .listitem {
        padding-left: 30px;
    }
    .exercise {
        padding: 10px;
    }
    .aboutusone {
        padding: 20px 0;
    }
    .navbar-brand {
        margin-right: 0;
    }
    .check-popup-modal .modal-content {
        padding: 20px;
    }
    .bannersectionone .seviceheading {
        padding: 80px 15px;
    }
    .scheduleaDemo {
        padding: 8px 10px;
        font-size: 14px;
    }

    .herosection {
        height: calc(70vh - 136px);
        background-position: bottom;
    }
    .herosection::before {
        background-color: rgba(0, 0, 0, 0.45);
        backdrop-filter: blur(2px);
    }
}
/* ----------loader------------- */
.loadermain {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
}
.loader-img {
    width: 120px;
    max-width: 40vw;
    height: auto;
}
.laoderimagetext {
    color: #fff;
    font: 600 14px/1.4;
    margin-top: 10px;
}
/* ------------------------popup alret--------------------------- */

.popup-overlay-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* animation: fadeIn 0.3s; */
}

.popup-box-popup {
    background: #fff;
    border-radius: 12px;
    padding: 30px 25px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    animation: scaleIn 0.3s;
}

.theme-btn-popup {
    background: #cf0d36;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin-top: 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}
.theme-btn-popup:hover {
    background: #a70a2a;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes scaleIn {
    from {
        transform: scale(0.7);
    }
    to {
        transform: scale(1);
    }
}
