/* ─────────────────────────────── 1720 ─────────────────────────────── */
@media (max-width: 1730px) {
  .container-lg {
    padding: 0 30px;
  }

  .weHere-sec,
  .bookYourAppoint-sec,
  .facility-sec {
    padding-left: 30px;
    padding-right: 30px;
  }

  .main-nav ul li a {
    padding: 8px 8px;
  }

  .main-nav>ul {
    margin-right: 10px;
  }

  .main-nav>ul>li .arrow {
    right: -7px;
  }

  .main-nav ul li a:before {
    left: 2px;
  }
}

/* ─────────────────────────────── 1599 ─────────────────────────────── */
@media (max-width: 1599px) {
  .header .header-logo {
    height: 95px;
    padding: 22px 25px;
  }

  .header .btn {
    font-size: 15px;
    padding: 20px;
  }

  .main-nav ul li a {
    font-size: 15px;
  }

  .main-nav>ul>li .arrow {
    right: -5px;
    top: 10px;
    height: 10px;
    width: 10px;
  }

  .main-nav>ul>li:has(ul) {
    margin-right: 8px;
  }

  .hero-con {
    padding: 170px 0 60px;;
  }

  .scroll-indicator {
    bottom: 34%;
    left: -30px;
    font-size: 12px;
    gap: 5px;
  }

  .scroll-indicator span {
    align-items: start;
  }

  .scroll-indicator i {
    font-size: 16px;
  }

  .doctor-img {
    width: 350px;
  }

  .weHere-sec .container-lg {
    padding-left: 40px;
  }

  .sec-title {
    font-size: 40px;
    margin-bottom: 12px;
  }

  .footer .inn-footer {
    padding-left: 30px;
    padding-right: 30px;
  }

  .sec-head {
    margin-bottom: 30px;
  }

  .btn {
    font-size: 16px;
    padding: 18px 24px;
  }

  .sec-head p {
    font-size: 16px;
  }

  .card-wrap .box {
    padding: 30px 20px;
  }

  .expDoc-wrap .img {
    margin-bottom: 10px;
  }

  .weHere-left {
    padding: 0 20px;
  }

  .glassy-effect {
    position: relative;
    padding: 30px 40px;
  }

  .weHere-card .sec-title {
    font-size: 28px;
  }
}

/* ─────────────────────────────── 1399 ─────────────────────────────── */
@media (max-width: 1399px) {
  .main-nav ul li a {
    font-size: 14px;
    padding: 5px;
  }

  .main-nav>ul>li:has(ul) {
    margin-right: 12px;
  }

  .main-nav>ul>li .arrow {
    right: -5px;
    top: 8px;
    height: 8px;
    width: 8px;
  }

  .main-nav ul li a:before {
    left: -2px;
    height: 18px;
  }

  .header .btn {
    font-size: 14px;
    padding: 16px 16px;
    gap: 5px;
  }

  .header .btn::before {
    height: 25px;
    width: 25px;
    left: 9px;
    top: 48%;
  }

  .header .header-logo {
    height: 87px;
  }

  .hero-title {
    font-size: 54px;
  }

  .hero-con .left>p {
    font-size: 20px;
  }

  .hero-con .left>p {
    max-width: 80%;
  }

  .hero-con .right .hero-badge {
    transform: translate(-50%, 50%);
  }

  .emerx {
    right: 30px;
  }

  .sticky-header .header .header-logo {
    padding: 20px;
  }

  .scroll-indicator {
    display: none;
  }

  .common-sec {
    padding-block: 40px 40px;
  }

  .fc-title {
    padding: 20px;
    margin-bottom: 10px;
  }

  .facility-info {
    margin-top: -35px;
    padding: 0 10px 16px;
  }

  .facility-sec .container-lg {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .statista-sec .case-solve-ratio .item {
    gap: 10px;
  }

  .icn-border {
    height: 75px;
    width: 75px;
  }

  .statista-sec .case-solve-ratio .item-title {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .footer .top-footer .ab-hospital-info.red p,
  .footer .top-footer .ab-hospital-info.red p a,
  .fo-email p,
  .fo-email p a {
    font-size: 20px;
  }

  .mid-footer {
    padding: 30px 0 30px;
  }

  .footer .top-footer {
    padding-bottom: 30px;
  }

  .footer .inn-footer {
    padding: 60px 0 30px;
  }

  .icn-border .cir-icon img {
    height: 24px;
    width: 24px;
  }

  .icn-border .cir-icon::before {
    top: 10px;
    left: 10px;
    height: 15px;
  }

  .btm-footer {
    padding-top: 30px;
  }

  .emerx .text-info span {
    font-size: 38px;
  }

  .btn:has(.icon) {
    gap: 8px;
  }

  .btn .whatsapp-icon {
    font-size: 18px;
  }

  .container {
    padding: 0px 30px;
  }

  .play-btn-wrap {
    height: 80px;
    width: 80px;

    font-size: 30px;
  }

  .right .side-blog {
    margin-bottom: 20px;
    padding-bottom: 20px;
  }

  .blog-sec .info .user-info {
    margin-bottom: 12px;
  }

  .main-nav>ul>li ul a {
    font-size: 14px;
    padding: 10px;
  }

  /* ============================================================
================ About Us Page Responsive Styles ================
============================================================ */
  .careCard .cir-icon {
    height: 60px;
    width: 60px;
    padding: 10px;
  }

  .careCard .box {
    padding: 40px 20px;
  }

  .award-card .box {
    width: 100%;
    min-width: 170px;
  }

  .about-sec .who-img-top .ab-feature-box {
    padding: 20px;
    margin-top: 10px;
    gap: 12px;
  }

  /* ==========HomeCare detail page=========== */
  .feature-item-card {
    padding: 30px 24px;
  }

  .feature-item-card .icon-box {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    padding: 18px;
  }

  .related-services-sec .service-card {
    padding: 20px;
  }

  .pricing-sec .popular-tag {
    padding: 6px 10px;
    font-size: 12px;
  }

  .pricing-sec .row {
    padding-top: 10px;
  }

  .pricing-sec .pricing-header {
    margin-bottom: 20px;
  }

  /* =================================media event details page================================ */
  .gallery-grid {
    gap: 15px;
  }

  .gallery-item {
    border-radius: 8px;
  }

  .event-details-content {
    margin-bottom: 30px;
  }

  .event-details-content .row {
    --bs-gutter-x: 15px;
    --bs-gutter-y: 15px;
  }

  .gallery-tab-list .nav-link {
    padding: 10px 15px;
    font-size: 14px;
    line-height: 1.4;
  }

  .gallery-tabs-sidebar {
    padding: 15px;
  }
}

/* ─────────────────────────────── 1199 ─────────────────────────────── */
@media (max-width: 1199px) {

  /* menu */
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--white);
    border-right: 1px solid #ececec;
    height: 100vh;
    z-index: 999;
    margin: 0;
    transform: translate(-100%);
    overflow-x: hidden;
    overflow-y: auto;
    transition: all 0.4s ease-in-out;
    width: 300px;
    visibility: hidden;
    opacity: 0;
  }

  .nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: translate(0%);
  }

  .header ul li {
    opacity: 0;
    transform: translateY(-10px);
    transition: var(--transition);
  }

  /* When .nav-open is added */
  .nav-open .header ul li {
    transform: translateX(0);
    opacity: 1;
  }

  /* Stagger animations */
  .header ul li:nth-child(1) {
    transition-delay: 0s;
  }

  .header ul li:nth-child(2) {
    transition-delay: 0.1s;
  }

  .header ul li:nth-child(3) {
    transition-delay: 0.2s;
  }

  .header ul li:nth-child(4) {
    transition-delay: 0.3s;
  }

  .header ul li:nth-child(5) {
    transition-delay: 0.4s;
  }

  .header ul li:nth-child(6) {
    transition-delay: 0.5s;
  }

  .header ul li:nth-child(7) {
    transition-delay: 0.6s;
  }

  .header ul li:nth-child(8) {
    transition-delay: 0.7s;
  }

  .header ul li:nth-child(9) {
    transition-delay: 0.8s;
  }

  .header ul li:nth-child(10) {
    transition-delay: 0.9s;
  }

  .body-fixed .sidebar-overlay {
    opacity: 0.8;
    visibility: visible;
    left: 0;
    transition: all 0.6s ease-in-out;
  }

  .main-nav>ul {
    display: block;
    padding: 20px 0;
    margin: 0;
  }

  .main-nav ul li ul {
    display: none;
  }

  .main-nav>ul>li:has(ul) {
    margin-right: 0;
  }

  .main-nav>ul>li {
    margin-bottom: 5px;
  }

  .main-nav>ul>li a {
    font-size: 15px;
    padding: 8px 20px;
    width: 100%;
  }

  .main-nav>ul>li .arrow {
    right: 15px;
    top: 10px;
    height: 12px;
    width: 12px;
  }

  .main-nav>ul>li ul a {
    padding-left: 20px;
    padding-right: 20px;
  }

  .main-nav ul li a:before {
    left: 12px;
    height: 18px;
  }

  /* menu style over */
  .hero-con {
    padding: 50px 0;
  }

  .hero-sec::before {
    width: 80%;
    height: 50%;
  }

  .hero-title {
    font-size: 42px;
    margin-bottom: 12px;
  }

  .hero-con .left {
    max-width: 500px;
  }

  .hero-con .left p {
    font-size: 18px;
  }

  .doctor-img {
    width: 280px;
  }

  .hero-con .right .hero-badge {
    transform: translate(-50%, 0%);
  }

  .emerx .text-info p {
    font-size: 18px;
  }

  .emerx {
    padding: 15px 24px 15px;
  }

  .emerx .text-info span {
    font-size: 32px;
  }

  .emerx img {
    width: 50px;

    margin-bottom: 12px;
  }

  .emerx {
    bottom: 50%;
  }

  .case-solve-ratio .item-title {
    font-size: 32px;
  }

  .case-solve-ratio .item {
    margin-right: 28px;
    gap: 10px;
  }

  .sec-title {
    font-size: 32px;
    margin-bottom: 6px;
  }

  .ab-floating-card {
    padding: 30px 20px;
  }

  .comm-title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .sec-head {
    margin-bottom: 20px;
  }

  .ab-feature-box {
    padding: 20px;
  }

  .ab-feature-row {
    margin-bottom: 20px;
  }

  .ab-feature-box .icon-wrap {
    margin-bottom: 6px;
  }

  .md-title {
    font-size: 20px;
  }

  .experDoc-slider {
    padding-top: 20px;
  }

  .weHere-left {
    padding: 0;
  }

  .weHere-contact {
    gap: 10px;
  }

  .weHere-contact .info p {
    font-size: 18px;
  }

  .glassy-effect {
    padding: 20px 20px 30px;
  }

  .expDoc-info span {
    margin: 0;
  }

  .cir-icon.cir-icon-big {
    height: 50px;
    width: 50px;
  }

  .card-wrap .cir-icon::before {
    height: 18px;
    top: 3px;
    left: 2px;
  }

  .slick-arrow {
    top: -57px;
  }

  .common-sec {
    padding-block: 60px 60px;
  }

  .facility-sec .container-lg {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .review-box .inner {
    padding: 20px 10px;
  }

  .review-box .title {
    font-size: 32px;
  }

  .testimonial-slide .box {
    padding: 20px 30px;
  }

  .apointForm .form-control,
  .apointForm .form-select {
    padding: 14px 15px;
  }

  .locate-us-wrap .sec-title {
    font-size: 28px;
    margin-bottom: 6px;
  }

  .apointForm .form-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .apointForm form .row {
    --bs-gutter-x: 10px;
  }

  .apointForm {
    padding: 20px 30px 30px;
  }

  .statista-sec .case-solve-ratio .item::before {
    right: -7%;
  }

  .statista-sec .case-solve-ratio {
    padding: 0;
  }

  .locate-us-wrap .sec-head {
    margin-bottom: 20px;
  }

  .ab-hospital-info p,
  .ab-hospital-info p a {
    font-size: 15px;
  }

  .ab-hospital-info {
    gap: 10px;
    margin-bottom: 10px;
  }

  .btn {
    font-size: 14px;
    padding: 16px 20px;
  }

  .locate-us-wrap {
    padding: 30px;
  }

  .footer .top-footer .ab-hospital-info.red p,
  .footer .top-footer .ab-hospital-info.red p a,
  .fo-email p,
  .fo-email p a {
    font-size: 16px;
  }

  .footer .top-footer .ab-hospital-info .img,
  .fo-email-icon {
    height: 45px;
    width: 45px;
    min-width: 45px;
  }

  .footer .top-footer .ab-hospital-info.red span,
  .fo-email span {
    font-size: 14px;
  }

  .footer .top-footer>* {
    min-height: inherit;
    max-height: inherit;
    height: 50px;
  }

  .fo-logo a img {
    height: 50px;
  }

  .fo-news-grid ul {
    gap: 6px;
    max-width: 250px;
  }

  .fo-social ul li a {
    font-size: 18px;
  }

  .fo-legal a:not(:last-child) {
    margin-right: 30px;
  }

  .fo-legal a:not(:last-child)::before {
    right: -19px;
  }

  .emer-icn-wrap {
    height: 44px;
    width: 44px;
    font-size: 20px;
  }

  .weHere-sec .right .sec-title img {
    padding-top: 3px;
  }

  .btn::before {
    height: 26px;
    width: 26px;
  }

  /* ============================================================
================ About Us Page Responsive Styles ================
============================================================ */
  .banner-sec::before {
    height: 100%;
    width: 80%;
    top: -80px;
  }

  .hospital-team-sec .sec-row-end .sec-head {
    max-width: 600px;
  }

  .about-sec .left {
    gap: 10px;
  }

  .banner-sec {
    padding: 100px 0;
  }

  .founder-row .expDoc-wrap .img img {
    padding: 6px;
  }

  .founder-row .expDoc-wrap .social-lnk {
    inset: 6px;
  }

  .quality-card .cir-icon {
    height: 45px;
    width: 45px;
    padding: 5px;
    margin-bottom: 8px;
  }

  .cms-con h5 {
    margin-bottom: 12px;
  }

  .btm-container .award-title {
    margin-bottom: 20px;
  }

  .careCard .text-info .care-title {
    font-size: 20px;
  }

  .careCard .box {
    justify-content: space-between;
  }

  .space-top {
    margin-top: 60px;
  }

  .careCard .mid-desc,
  .careCard .text-info {
    max-width: 21%;
  }

  .award-card .icon-wrap {
    margin-bottom: 10px;
  }

  .award-card .cir-icon {
    width: 50px;
    height: 50px;
    padding: 5px;
  }

  .quality-sec .right {
    gap: 12px;
  }

  .btn.sm-btn {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .social-lnk li a {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }

  .banner-content .btn {
    margin-top: 20px;
  }

  .doctor-info-box .info-item {
    padding: 10px;
  }

  .doctor-sec.common-sec {
    padding-bottom: 30px;
  }

  /* contact page */
  .contact-quick-cards .contact-quick-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 8px;
    padding: 10px;
  }

  .contact-quick-cards .row,
  .contact-form .row {
    --bs-gutter-x: 10px;
  }

  .contact-form-sec .contact-info-card {
    padding: 18px;
    gap: 10px;
    margin-bottom: 12px;
  }

  .contact-quick-cards .contact-quick-card {
    padding: 20px 15px;
  }

  .contact-form-sec .contact-form-wrapper {
    padding: 20px 15px;
  }

  .contact-map-wrapper {
    height: 400px;
  }

  /*  */
  .specialization-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
  }

  .specialization-card .tiny-title {
    font-size: 16px;
  }

  .specialization-card {
    padding: 20px 12px;
  }

  /*  */

  /* =========================== HomeCare Page =========================== */
  .feature-grid-sec .row,
  .process-sec .row,
  .pricing-sec .row {
    --bs-gutter-x: 10px;
  }

  .related-services-sec .services-grid {
    gap: 20px 10px;
  }

  .pricing-sec .pricing-card {
    padding: 40px 20px 30px;
  }

  .process-sec .step-num {
    font-size: 50px;
    right: 20px;
  }

  .related-services-sec .service-card {
    min-height: 160px;
  }

  .pricing-card .cms-con ul li {
    font-size: 15px;
  }

  .pricing-sec .pricing-header .price {
    font-size: 32px;
  }

  .card-title {
    font-size: 26px;
  }

  /* =========================== Media Event Page =========================== */
  .event-card .content {
    padding: 10px 15px 20px;
  }

  .event-card .event-title {
    margin-bottom: 10px;
  }

  .cms-con h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  /* =========================== Media Event details Page =========================== */
  .video-icon-play {
    height: 40px;
    width: 40px;
    font-size: 16px;
  }

  .event-sidebar-info ul li {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .event-sidebar-info ul label {
    line-height: 1;
  }

  .event-sidebar-info {
    padding: 20px 15px;
  }

  .event-details-content .comm-title,
  .event-sidebar-info .comm-title {
    font-size: 20px;
  }

  /* =========================== Career Page =========================== */
  .career-sec .job-card {
    padding: 20px;
  }

  .jobList_row {
    --bs-gutter-x: 12px;
    --bs-gutter-y: 12px;
  }

}

/* ─────────────────────────────── 991 ─────────────────────────────── */
@media (max-width: 991px) {
  .hero-con .btn-wrap {
    gap: 10px;
  }

  .hero-con .right .hero-badge {
    position: relative;
    height: 130px;
    width: 130px;
    transform: none;
  }

  .emerx img {
    width: 40px;
    margin-bottom: 10px;
  }

  .emerx .text-info span {
    font-size: 24px;
  }

  .emerx .text-info p {
    font-size: 14px;
  }

  .doctor-img {
    width: 200px;
    left: 61%;
  }

  .hero-bottom::before {
    width: 200px;
    height: 240px;
  }

  .hero-title {
    font-size: 34px;
    margin-bottom: 12px;
    max-width: 400px;
  }

  .hero-con .right .hero-badge::before {
    height: 50px;
    width: 44px;
  }

  .hero-con {
    padding: 120px 0 40px;
  }

  .hero-con .left p {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .hero-sub-title {
    font-size: 14px;
    margin-bottom: 5px;
  }

  .hero-title span::before {
    height: 12px;
  }

 

  .location-block a {
    padding: 12px 20px 12px 14px;
    font-size: 14px;
    gap: 10px;
  }

  .location-block a img {
    width: 18px;
    height: 18px;
  }

  .hero-bottom {
    padding: 28px 0;
  }

  .ab-floating-card {
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 20px 12px;
  }

  .ab-floating-card .floating-inner {
    gap: 10px;
  }

  .ab-floating-card .floating-inner .floating-icon {
    min-width: 22px;
  }

  .comm-title {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .sec-title {
    font-size: 28px;
    margin-bottom: 6px;
  }

  .sec-title br {
    display: none;
  }

  .sec-label img {
    width: 20px;
  }

  .sec-label {
    font-size: 13px;
    gap: 5px;
  }

  .ab-feature-row {
    margin-bottom: 15px;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .ab-feature-box {
    width: 48%;
    min-width: inherit;
    padding: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }

  .ab-feature-box:last-child {
    width: 100%;
  }

  .ab-feature-box p br {
    display: none;
  }

  .md-title {
    font-size: 18px;
  }

  .sec-row-end .sec-head {
    max-width: 480px;
  }

  .expDoc-info p {
    font-size: 14px;
  }

  .weHere-card .sec-title {
    font-size: 20px;
    margin-bottom: 5px;
  }

  .weHere-sec .left .sec-head {
    margin-bottom: 16px;
  }

  .weHere-contact .icon-wrap {
    height: 36px;
    min-width: 36px;
    width: 36px;
    font-size: 16px;
  }

  .sec-row-end:has(.sec-head:not(:has(p))) .rbtn-wrap {
    padding-bottom: 10px;
  }

  .sec-row-end .rbtn-wrap {
    padding-bottom: 5px;
  }

  .slick-arrow {
    width: 33px;
    height: 33px;
  }

  .specialities-slider .slick-arrow {
    top: -68px;
  }

  .slick-arrow::before {
    height: 12px;
    width: 6px;
  }

  .slick-arrow.slick-prev {
    right: 43px;
  }

  .weHere-contact .info p {
    font-size: 14px;
  }

  .weHere-sec .right .sec-title {
    font-size: 22px;
  }

  .weHere-sec .right .sec-title img {
    padding-top: 4px;
    min-width: 30px;
    width: 30px;
  }

  .homecare-card .box {
    padding: 20px 10px;
  }

  .arrCirWrp {
    height: 36px;
    width: 36px;
    font-size: 8px;
  }

  .cms-con h4 {
    font-size: 22px;
  }

  .homecare-card .box .add-link-img {
    margin-top: 10px;
  }

  .reliable-homecare-sec .mid-row {
    --bs-gutter-x: 16px;
    gap: 16px 0;
  }

  .facility-sec .sec-head {
    max-width: 570px;
  }

  .facility-sec .row {
    --bs-gutter-y: 16px;
    --bs-gutter-x: 16px;
    padding-top: 10px;
  }

  .facility-info p {
    margin-bottom: 5px;
    font-size: 14px;
  }

  .play-btn-wrap {
    height: 60px;
    width: 60px;
    font-size: 20px;
  }

  .review-platform {
    margin: 30px auto;
  }

  .review-box .title {
    font-size: 20px;
  }

  .review-box .inner {
    gap: 20px;
  }

  .review-box .inner .right {
    gap: 6px;
  }

  .review-box .inner p {
    font-size: 12px !important;
  }

  .review-box .inner .right::before {
    left: -12px;
  }

  .testimonial-slide .box .cms-con p span {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .testimonial-slide .box {
    padding: 12px 8px;
  }

  .testimonial-slide .box .img img {
    height: 54px;
    width: 54px;

    margin-bottom: 10px;
  }

  .rating {
    margin-top: 5px;
    margin-bottom: 6px;
  }

  .testimonial-slide .box .cms-con span {
    font-size: 15px;
  }

  .testimonial-slide .box .cms-con p strong {
    font-size: 14px;
  }

  .quote-icon-wrap .quote-icon {
    font-size: 20px;
  }

  .testimonial-slide {
    padding: 0 12px;
  }

  .slick-dots {
    margin-top: 10px;
  }

  .slick-dots li button {
    width: 10px;
    height: 10px;
  }

  .slick-dots li {
    margin: 0 5px;
  }

  .shedule-day .day-box .time {
    font-size: 16px;
  }

  .shedule-day {
    margin-top: 20px;
    padding: 15px 12px;
  }

  .bookYourAppoint-sec .left .sec-head,
  .weHere-contact {
    margin-bottom: 16px;
  }

  .apointForm .form-title {
    font-size: 22px;
  }

  .apointForm .form-control,
  .apointForm .form-select {
    padding: 10px 12px;
  }

  .apointForm {
    padding: 15px 15px 20px;
  }

  .icn-border {
    height: 60px;
    width: 60px;
    padding: 6px;
  }

  .statista-sec .case-solve-ratio .item {
    flex-direction: column;
    align-items: center;
  }

  .statista-sec .case-solve-ratio .item-title {
    justify-content: center;
    font-size: 20px;
    margin-bottom: 2px;
  }

  .icn-border .cir-icon::before {
    top: 7px;
    left: 8px;
    height: 12px;
  }

  .icn-border .cir-icon img {
    height: 20px;
    width: 20px;
  }

  .statista-sec .case-solve-ratio .item::before {
    right: -15%;
  }

  .locate-us-wrap {
    padding: 20px;
    max-width: 365px;
  }

  .ab-hospital-info p,
  .ab-hospital-info p a {
    font-size: 14px;
  }

  .ab-hospital-info .img {
    height: 18px;
    min-width: 18px;
    width: 18px;
    padding: 0px;
    padding-top: 3px;
  }

  .locate-us-info {
    margin-bottom: 16px;
  }

  .blog-sec .info .label {
    margin-top: 5px;
    font-size: 11px;
    padding: 3px 8px;
  }

  .right .side-blog {
    margin-bottom: 16px;
    padding-bottom: 10px;
    gap: 20px;
  }

  .blog-sec .info .user-info p,
  .blog-sec .info .user-info span {
    font-size: 12px;
    margin-right: 10px;
  }

  .blog-sec .info .user-info p::before {
    right: -6px;
  }

  .side-blog .side-img {
    max-width: 90px;
  }

  .ab-blog-wrap .info {
    margin-top: 15px;
  }

  .side-blog .side-img img {
    border-radius: 8px;
  }

  .mid-footer .fo-row {
    flex-wrap: wrap;
    align-items: end;
  }

  .fo-quick-links-row {
    order: 1;
    width: 100%;
  }

  .mid-footer .fo-emerx {
    order: 3;
    width: 48%;
  }

  .mid-footer .fo-news {
    order: 2;
    width: 48%;
  }

  .fo-news-grid ul {
    max-width: 100%;
  }

  .btm-footer {
    padding-top: 20px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .fo-logo a img {
    height: 40px;
  }

  .footer .top-footer .ab-hospital-info.red p,
  .footer .top-footer .ab-hospital-info.red p a,
  .fo-email p,
  .fo-email p a {
    font-size: 14px;
  }

  .fo-email {
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 2px;
  }

  .footer .top-footer>* {
    height: inherit;
  }

  .footer .ab-hospital-info {
    flex-direction: column;
    gap: 5px;
  }

  .fo-title {
    margin-bottom: 14px;
  }

  .fo-links ul li {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .footer .top-footer .ab-hospital-info.red span,
  .fo-email span {
    font-size: 12px;
  }

  .footer .top-footer>*:nth-child(2):before {
    display: none;
  }

  .footer .top-footer>*:last-child:before {
    display: block;
    left: 0;
    right: inherit;
  }

  .footer .top-footer .ab-hospital-info .img,
  .fo-email-icon {
    height: 34px;
    width: 34px;
    min-width: 34px;
    padding: 10px;
  }

  .footer .inn-footer {
    padding: 30px 0 30px;
  }

  .ab-feature-box p br {
    display: none;
  }

  .doctor-sec .cms-con>* {
    margin-bottom: 12px;
  }

  /* ============================================================
================ About Us Page Responsive Styles ================
============================================================ */
  .cms-con ul li {
    padding-left: 28px;
    margin-bottom: 8px;
    font-size: 15px;
  }

  .cms-con ul li::before {
    width: 16px;
    height: 20px;
  }

  .about-sec .who-img-top .ab-feature-box {
    padding: 10px;
    gap: 5px;
    align-items: start;
  }

  .about-sec .who-img-top .ab-feature-box .icon-wrap {
    font-size: 33px;
  }

  .space-top {
    margin-top: 40px;
  }

  .cms-con ul {
    margin-bottom: 20px;
  }

  .about-sec .ab-feature-box p {
    font-size: 13px;
  }

  .about-sec .ab-feature-box .md-title {
    margin: 0;
  }

  .cms-con h3 {
    font-size: 20px;

    margin-bottom: 4px;
  }

  .cms-con h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .vision-mission-sec.weHere-sec p {
    font-size: 15px;
    line-height: 1.4;
  }

  .our-thought {
    margin-bottom: 10px;
  }

  .hospital-team-sec .sec-row-end .sec-head {
    max-width: 460px;
  }

  .founder-row .expDoc-wrap .box {
    gap: 12px;
    padding: 20px 10px;
  }

  .founder-row .expDoc-wrap .founder-header {
    flex-wrap: wrap;
    gap: 5px;
  }

  .founder-role {
    font-size: 13px;
    margin-bottom: 10px;
    padding: 6px 8px;
  }

  .founder-row .expDoc-wrap .founder-info p {
    font-size: 14px;
  }

  .founder-row .expDoc-wrap .img {
    min-width: 95px;
  }

  .founder-row .expDoc-wrap .img img {
    padding: 3px;
  }

  .founder-row .expDoc-wrap .social-lnk {
    inset: 3px;
  }

  .founder-row {
    --bs-gutter-x: 1rem;
  }

  .quality-sec .right {
    max-width: 100%;
  }

  .quality-wrap {
    width: 100%;
  }

  .quality-wrap .slick-list,
  .award-accreditations .slick-list {
    margin: 0 -6px;
  }

  .quality-card .box {
    height: 100%;
  }

  .quality-card,
  .award-card {
    margin: 0;
    padding: 0 6px;
  }

  .award-accreditations .slick-slide:not(.slick-cloned):first-child {
    display: none !important;
  }

  .award-accreditations {
    display: block;
  }

  .careCard .img-wrap {
    display: none;
  }

  .careCard .mid-desc,
  .careCard .text-info {
    max-width: inherit;
  }

  .careCard .box {
    padding: 20px 10px;
    gap: 16px;
  }

  .careCard .text-info .care-title br {
    display: none;
  }

  .weHere-sec .right .btn {
    margin-top: 10px;
  }

  .banner-sec {
    padding: 80px 0;
  }

  .award-card .box {
    min-width: auto;
  }

  .banner-content p {
    font-size: 16px;
  }

  .testimonial-video-sec .video-play-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .testimonial-video-sec .video-info {
    padding: 10px 10px 5px;
  }

  .testimonial-video-sec .video-card-item {
    padding: 0 6px;
  }

  .testimonial-video-sec .video-play-btn::before {
    inset: -5px;
  }

  .specialitiesInfo-sec .row {
    margin-bottom: 50px;
  }

  .breadcrumb-list {
    margin-top: 0;
    margin-bottom: 10px;
    justify-content: center;
  }

  .banner-sec.inner-banner {
    padding-block: 120px;
   /* background: linear-gradient(0deg, rgba(244, 249, 248, 0.9) 0%, rgba(244, 249, 248, 0.9) 100%), 
url("../img/female.png") no-repeat center center; */
    background-size: cover;
    text-align: center;
  }

  .banner-sec.inner-banner .banner-content {
    text-align: center;
    margin: 0 auto;
    max-width: 100%;
  }

  .info-item .tiny-title {
    font-size: 15px;
  }

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

  .contact-form-sec .form-group label {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .contact-form-sec .form-control {
    padding: 8px 12px;
    font-size: 14px;
  }

  .contact-form-sec textarea.form-control {
    height: 100px;
  }

  .contact-form-sec .contact-info-card {
    padding: 16px 12px;
  }

  .contact-form-sec .contact-info-card .tiny-title {
    margin-bottom: 5px;
  }

  .contact-form-sec .office-hours-list li {
    font-size: 12px;
    padding: 8px 0;
  }

  .contact-form-sec .office-hours-list .emergency-hours {
    padding: 8px 10px;
    margin-top: 8px;
  }

  .contact-form-sec .emergency-card .emergency-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    padding: 8px;
  }

  .contact-form-sec .emergency-card p {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .contact-form-sec .contact-emergency-number {
    font-size: 20px;
  }

  .contact-form-sec .contact-social-link {
    width: 30px;
    height: 30px;
  }

  .contact-form-sec .container>.row {
    --bs-gutter-x: 12px;
  }

  /*  */
  .doctor-hero-sec {
    padding-bottom: 40px;
  }

  .doctor-credentials p {
    font-size: 15px;
  }

  .doctor-credentials p span {
    font-size: 13px;
  }

  .specialization-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
  }

  .education-timeline {
    padding-left: 15px;
  }

  .education-timeline:before,
  .education-timeline::after {
    left: 15px;
  }

  .timeline-marker {
    left: -6px;
  }

  .awards-section .award-card {
    padding: 18px;
    gap: 12px;
  }

  .awards-section .award-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .awards-section .award-content .tiny-title {
    font-size: 16px;
  }

  .awards-section {
    padding-top: 20px;
  }

  .doctor-quick-info .row,
  .awards-section .row {
    gap: 12px 0;
    --bs-gutter-x: 12px;
  }

  .doctor-quick-info .info-card {
    padding: 12px 16px;
    gap: 8px;
  }

  .doctor-badge {
    padding: 7px 12px;
  }

  .doctor-badge .badge-icon {
    width: 18px;
    height: 18px;
  }

  .doctor-title-wrap {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-border);
  }

  .awards-section .md-title {
    margin-bottom: 20px;
  }

  /*  */

  /* =================== HomeCare Details Page =================== */
  .related-services-sec .service-card .img {
    opacity: .1;
    transform: none;
    height: 100%;
    width: 100%;
    z-index: -1;
  }

  .related-services-sec .service-card .img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .process-sec .process-step-box {
    padding: 30px 15px 20px;
  }

  .process-sec .process-step-box p {
    font-size: 14px;
  }

  .process-sec .step-num {
    right: 5px;
    top: 5px;
  }

  .related-services-sec .service-card {
    padding: 15px;
  }

  .pricing-sec .row,
  .feature-grid-sec .row {
    --bs-gutter-x: 12px;
    --bs-gutter-y: 12px;
    justify-content: center;
  }

  .feature-item-card {
    padding: 20px 15px;
  }

  .feature-item-card .icon-box {
    width: 54px;
    height: 54px;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 12px;
  }

  /* ============================ Media Event Page ============================ */
  .event-card .event-title {
    font-size: 18px;
  }

  .event-card .event-meta {
    gap: 10px;
  }

  .event-card .content {
    padding: 5px 10px 15px;
  }

  .year-block {
    margin-bottom: 40px;
  }

  .year-block .row {
    --bs-gutter-x: 8px;
    --bs-gutter-y: 8px;
  }

  .event-card {
    transform: none !important;
  }



  .media-event-sec .year-indicator {
    padding: 8px 16px;
  }

  .career-sec .job-card {
    padding: 15px 12px;
  }

  .career-sec .job-card-footer {
    margin-top: 15px;
  }
}

/* ─────────────────────────────── 767 ─────────────────────────────── */
@media (max-width: 767px) {
  .common-sec {
    padding-block: 40px 40px;
  }

  .container-lg,
  .container {
    padding: 0 15px;
  }

  .weHere-sec,
  .bookYourAppoint-sec,
  .facility-sec {
    padding-left: 15px;
    padding-right: 15px;
  }

  .mb-img {
    max-width: 400px !important;
    margin: 0 auto 20px !important;
  }

  .hero-con {
    position: relative;
    padding: 90px 0;
  }

  .doctor-img {
    width: 220px;
    left: inherit;
    right: -35px;
  }

  .hero-con .right .hero-badge {
    height: 100px;
    width: 100px;
    bottom: 20px;
    position: absolute;
    right: 20%;
  }

  .emerx {
    position: static;
    z-index: 1;
    padding: 10px 15px 10px;
  }

  .hero-bottom {
    padding: 12px 0;
  }

  .emerx img {
    width: 30px;
    margin-bottom: 5px;
  }

  .hero-sub-title {
    font-size: 12px;
  }

  .location-block {
    margin-top: 16px;
  }

  .location-block a {
    padding: 10px 18px 10px 12px;
    font-size: 13px;
    gap: 8px;
  }

  .location-block a img {
    width: 16px;
    height: 16px;
  }

  .emerx .text-info span {
    font-size: 18px;
  }

  .emerx .text-info p {
    font-size: 12px;
  }

  .hero-sec .hero-bottom .bottom-grid {
    display: flex;
    justify-content: space-between;
  }

  .sec-row-end .sec-head {
    max-width: 100%;
    width: 100%;
    margin-bottom: 12px;
  }

  .weHere-sec .container-lg {
    padding: 0px;
  }

  .weHere-sec .right {
    padding: 10px 15px 30px;
  }

  .glassy-effect {
    margin-bottom: 20px;
  }

  .btn {
    padding: 14px 14px;
  }

  .btn::before {
    height: 20px;
    width: 20px;
    left: 6px;
  }

  .sec-title {
    font-size: 24px;
  }

  .sec-row-end:not(p) {
    margin-bottom: 20px;
  }

  .cms-con h4 {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .statista-sec .case-solve-ratio {
    flex-wrap: wrap;
  }

  .statista-sec .case-solve-ratio .item {
    width: 47%;
    flex-direction: row;
  }

  .statista-sec .case-solve-ratio .item::before {
    right: 0%;
  }

  .statista-sec .case-solve-ratio .item:nth-child(2)::before {
    display: none;
  }

  .statista-sec .case-solve-ratio .item-title {
    justify-content: flex-start;
  }

  .homecare-card .box .add-link-img {
    aspect-ratio: 2/1;
  }

  .logos-wrap ul {
    gap: 25px;
  }

  .logos-wrap {
    margin-top: 20px;
  }

  .facility-sec .container-lg {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .facility-sec .sec-head {
    max-width: 490px;
  }

  .sec-head p {
    font-size: 14px;
  }

  p {
    font-size: 14px;
  }

  .fc-title {
    padding: 12px 5px;
    font-size: 15px;
  }

  .review-platform .row {
    --bs-gutter-y: 1rem;
    --bs-gutter-x: 12px;
  }

  .review-box .inner {
    flex-direction: column;
    gap: 12px;
  }

  .review-box .inner .right::before {
    top: -6px;
    width: 100%;
    height: 1px;
    left: 50%;
    transform: translateX(-50%);
  }

  .bookYourAppoint-sec .container-lg .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .bookYourAppoint-sec .container-lg {
    padding: 0;
  }

  .bookYourAppoint-sec .container-lg .left {
    padding: 30px 15px 0px;
    max-width: 100%;
  }

  .review-box .inner .right {
    max-width: 100%;
    justify-content: center;
  }

  .review-box .inner {
    padding: 20px;
  }

  .review-box .inner p br {
    display: none;
  }

  .apointForm {
    margin-bottom: 0px;
    padding-top: 20px;
    max-width: 100%;
  }

  .locate-us-wrap .sec-title {
    font-size: 24px;
    margin-bottom: 2px;
  }

  .locate-us-wrap .sec-head {
    margin-bottom: 16px;
  }

  .blog-sec .left {
    margin-bottom: 30px;
  }

  .footer {
    padding: 0 15px 15px;
  }

  .fo-legal a:not(:last-child) {
    margin-right: 20px;
  }

  .fo-social ul li {
    margin-right: 12px;
  }

  .fo-social ul li a {
    font-size: 15px;
  }

  .fo-legal a:not(:last-child)::before {
    right: -14px;
  }

  .btm-footer>* {
    width: 100%;
  }

  .btm-footer {
    flex-direction: column-reverse;
  }

  .fo-social ul {
    text-align: center;
    line-height: 1;
  }

  .header .header-logo {
    height: 50px;
    padding: 10px;
  }

  .header .btn {
    font-size: 12px;
    padding: 14px 10px;
  }

  .btn:has(.icon) {
    gap: 5px;
  }

  .menu-toggle-btn {
    font-size: 30px;
    margin-left: 12px;
  }

  .tiny-title {
    font-size: 16px;
    margin-bottom: 5px;
  }

  .cir-icon.cir-icon-big {
    margin-bottom: 10px;
  }

  .bookYourAppoint-sec {
    margin-bottom: 0;
  }

  .sticky-header .header .header-logo {
    height: 50px;
    padding: 10px;
  }

  body .header .mb-menu-logo .header-logo {
    padding: 20px 150px 20px 20px;
  }

  .main-nav .close-menu {
    top: 20px;
    font-size: 18px;
  }

  .locate-us-wrap {
    max-width: 100%;
    margin: 0;
  }

  .blog-sec .right {
    max-width: 100%;
  }

  .location-sec {
    padding-top: 0;
    padding-bottom: 0;
  }

  .locate-us-wrap .mb-map,
  .locate-us-wrap .mb-map iframe {
    max-width: 100%;
    width: 100%;
    border-radius: 12px;
    height: 300px;
  }

  .locate-us-wrap .mb-map {
    margin-top: 12px;
  }

  .ab-blog-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: row-reverse;
    gap: 20px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid oklch(51.02% 0.0083 268.507 / 0.102);
  }

  .ab-blog-wrap .main-img {
    max-width: 90px;
  }

  .ab-blog-wrap .main-img img {
    aspect-ratio: 10/9;
    width: 100%;
  }

  .ab-blog-wrap .info {
    margin-top: 0px;
  }

  .blog-sec .rbtn-wrap {
    margin-top: 20px;
  }

  /* ============================================================
  ================ About Us Page Responsive Styles ================
  ============================================================ */
  .about-sec .who-img-top,
  .about-sec .who-img-bottom {
    width: 50%;
  }

  .about-sec .left {
    max-width: 600px;
    margin: 0 auto 20px;
  }

  .about-sec .right {
    max-width: 100%;
    margin-bottom: 10px;
  }

  .founder-row {
    --bs-gutter-y: 12px;
  }

  .about-sec .who-img-top .ab-feature-box {
    padding: 32px;
  }

  .founder-row .btn,
  .team-row .btn {
    padding: 12px 12px;
  }

  .expDoc-wrap {
    padding: 0px 6px;
  }

  .extra-teamInfo .expDoc-wrap .img {
    margin-bottom: 10px;
  }

  blockquote {
    font-size: 20px;
    margin: 20px 0;
  }

  blockquote::before,
  blockquote::after {
    top: -8px;
    height: 20px;
    width: 20px;
  }

  .cms-con h5 {
    font-size: 16px;
  }

  .careCard .text-info .care-title {
    font-size: 16px;
  }

  .careCard .cir-icon {
    height: 50px;
    width: 50px;
    padding: 6px;
  }

  .careCard .box {
    gap: 12px;
  }

  .careCard .btn {
    padding: 14px 14px;
  }

  .careCard .cir-icon::before {
    top: 5px;
    left: 5px;
    height: 15px;
    width: 15px;
  }

  .banner-content p {
    font-size: 14px;
  }

  .banner-content .btn {
    margin-top: 10px;
  }

  .testimonial-video-sec .video-card-item {
    padding: 0 8px;
  }

  .specialitiesInfo-sec .row {
    margin-bottom: 30px;
  }

  .banner-sec.inner-banner {
    padding-block: 60px;
  }

  .specialization-table td {
    padding: 6px 8px;
  }

  .doctor-sec .img {
    margin: 0 auto 30px;
    max-width: 400px;
    /* aspect-ratio: 1/1; */
  }

  .specialization-table {
    margin-top: 0;
    margin-bottom: 20px;
  }

  .specialization-table tr:last-child td:first-child {
    border-bottom: 1px solid #e6e6e6;
  }

  .specialization-table tr:last-child td:last-child {
    border-bottom: none;
  }

  .doctor-info-box .info-item {
    gap: 6px;
  }

  .header .btn::before {
    height: 20px;
    width: 20px;
  }

  /* Contact Us */
  .contact-quick-cards p {
    font-size: 13px;
    margin-bottom: 2px;
  }

  .contact-map-wrapper {
    height: 350px;
  }

  .contact-sidebar {
    margin-top: 30px;
  }

  .contact-form-sec .form-group {
    margin-bottom: 12px;
  }

  /*  */
  .doctor-hero-sec.common-sec {
    padding-bottom: 30px;
  }

  .doctor-image-wrapper {
    margin-bottom: 30px;
  }

  .doctor-image-wrapper .doctor-image {
    max-width: 400px;
    margin: 0 auto;
  }

  .doctor-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: 12px;
  }

  .doctor-credentials p {
    font-size: 14px;
  }

  .doctor-credentials p span {
    font-size: 12px;
  }

  .doctor-title-wrap .md-title {
    margin-bottom: 0;
  }

  .info-card {
    padding: 20px;
  }

  .expertise-highlights {
    padding: 20px;
  }

  .awards-section .md-title {
    margin-bottom: 14px;
  }

  .expertise-highlights.cms-con h4 {
    margin-bottom: 15px;
  }

  .expertise-highlights {
    border-width: 2px;
  }

  .specialization-card .spec-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
  }

  .specialization-card .spec-icon img {
    width: 22px;
    height: 22px;
  }

  /*  */

  /* =================== HomeCare Details Page =================== */
  .pricing-sec .pricing-card {
    padding: 25px 15px 20px;
  }

  .homecareDetail-row .cms-con h4 {
    margin-bottom: 10px;
    margin-top: 15px;
  }

  .process-sec .row {
    --bs-gutter-x: 12px;
    --bs-gutter-y: 12px;
    justify-content: center;
  }

  .pricing-sec .row {
    padding-top: 0;
  }

  .expertise-highlights .cms-con ul {
    display: block;
    margin-top: 15px;
  }

  .expertise-highlights .cms-con ul li {
    margin-bottom: 12px;
  }

  .related-services-sec .service-card .service-title {
    font-size: 18px;
    max-width: 100%;
  }

  .pricing-sec .popular-tag {
    padding: 4px 10px;
    font-size: 10px;
  }

  body .header .mb-menu-logo .header-logo {
    padding: 20px 150px 20px 20px;
  }

  /* ============================ Media Event Responsive ============================ */
  .event-card .event-title {
    font-size: 16px;
  }

  .cms-con h2 {
    font-size: 22px;
  }

  /*  */
  .event-sidebar-info {
    padding: 20px;
  }

  .event-details-content .comm-title {
    margin-top: 15px;
    margin-bottom: 10px;
  }
}

/* ─────────────────────────────── 568 ─────────────────────────────── */
@media (max-width: 568px) {
  .banner-sec.inner-banner {
    padding-block: 100px;
  }

  .hero-con .btn-wrap {
    gap: 20px;
    flex-direction: column-reverse;
    align-items: start;
  }

  .facility-card-wrap,
  .homecare-card {
    padding: 0 8px;
  }
    .location-block {
        margin-top: 0px !important;
    }
.header-location-btn .header-location-link img {
    position: relative;
    z-index: 2;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

    .header-location-btn .header-location-link{
padding: 8px 14px;
font-size:13px; 
font-weight:500;
}
  .mobile-slider .slick-track {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .weHere-sec .right .sec-title {
    font-size: 20px;
  }

  .hero-con .right .hero-badge {
    height: 75px;
    width: 75px;
    right: 25%;
  }

  .hero-con .right .hero-badge::before {
    height: 32px;
    width: 30px;
  }

  .hero-title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .emer-icn-wrap {
    height: 32px;
    width: 32px;
    font-size: 14px;
  }

  .hero-con .left p {
    font-size: 14px;
    margin-bottom: 12px;

  }

  .sec-label {
    font-size: 12px;
  }

  .sec-title {
    font-size: 22px;
  }

  .logos-wrap ul {
    max-height: inherit;
    flex-wrap: wrap;
  }

  .logos-wrap ul li {
    width: 28%;
  }

  .btn {
    padding: 12px 14px;
    font-size: 13px;
  }

  .ourSpeciality-video-wrap,
  .ourSpeciality-video-wrap video {
    aspect-ratio: 5/3;
  }

  .review-box .inner {
    padding: 10px 10px;
  }

  .review-box {
    padding: 10px;
  }

  .review-platform {
    margin: 20px auto;
  }

  .apointForm .form-control,
  .apointForm .form-select {
    font-size: 13px;
  }

  .apointForm form .form-label {
    font-size: 13px;
  }

  .icn-border {
    height: 50px;
    min-width: 50px;
    padding: 4px;
    width: 50px;
  }

  .locate-us-wrap {
    padding: 0;
  }

  .footer .top-footer {
    display: block;
    padding-bottom: 20px;
  }

  .footer .top-footer>* {
    width: 100%;
    text-align: start;
    gap: 5px;
    line-height: 1;
  }

  .fo-quick-links-row {
    display: none;
    gap: 3px;
  }

  .mid-footer {
    padding: 15px 0;
  }

  .mid-footer .fo-row .emerx {
    width: 100%;
    display: flex;
    text-align: start;
    align-items: center;
    gap: 10px;
  }

  .mid-footer .fo-emerx {
    width: 100%;
  }

  .footer .ab-hospital-info {
    flex-direction: row;
    margin-bottom: 10px;
  }

  .fo-email {
    flex-direction: row-reverse;
  }

  .footer .top-footer>*::before,
  .footer .top-footer>*:last-child:before,
  .mid-footer .fo-news,
  .fo-logo {
    display: none;
  }

  .fo-links ul li {
    font-size: 12px;
    margin-bottom: 6px;
    padding-left: 12px;
  }

  .fo-links ul li::before {
    top: 3px;
    height: 6px;
    width: 6px;
  }

  .fo-title {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .mid-footer .fo-row {
    gap: 20px 10px;
  }

  .fo-news-grid ul {
    gap: 2px;
  }

  .fo-news-grid img,
  .fo-news-grid a {
    border-radius: 6px;
  }

  .copyright-text p,
  .copyright-text a,
  .fo-legal a {
    font-size: 12px;
  }

  .case-solve-ratio .item-title {
    font-size: 20px;
  }

  .case-solve-ratio .item p {
    font-size: 12px;
  }

  .case-solve-ratio .item {
    margin-right: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .case-solve-ratio .item p br {
    display: none;
  }

  .reliable-homecare-sec .rbtn-wrap {
    margin: 20px auto 30px;
    text-align: center;
  }

  .reliable-homecare-sec .sec-row-end .sec-head {
    margin-bottom: 0;
  }

  /* ============================================================
  ================ About Us Page Responsive Styles ================
  ============================================================ */
  .about-sec .who-img-top .ab-feature-box {
    padding: 10px;
  }

  .about-sec .who-img-top .ab-feature-box .icon-wrap {
    font-size: 28px;
  }

  .about-sec .who-img-top .ab-feature-box .icon-wrap::before {
    height: 12px;
    left: 5px;
    top: 5px;
  }

  .cms-con ul li {
    padding-left: 22px;
    margin-bottom: 7px;
    font-size: 14px;
  }

  .cms-con ul li::before {
    top: 1px;
  }

  blockquote {
    font-size: 16px;
    margin: 20px 0;
  }

  .careCard .box {
    flex-direction: column;
    align-items: flex-start;
  }

  .careCard .btn {
    padding: 12px;
  }

  .testimonial-slide .box {
    padding: 20px;
  }

  .testimonial-slide {
    padding: 0px 6px;
  }

  .award-card .cms-con h5 {
    font-size: 14px;
  }

  .award-card .box {
    padding: 20px 15px;
  }

  .founder-row .expDoc-wrap .box {
    align-items: center;
    flex-direction: column;
  }

  .specialization-table td {
    display: block;
    width: 100%;
  }

  .specialization-table tr td:first-child {
    width: 100%;
  }

  .specialization-table td,
  .doctor-sec .cms-con p {
    font-size: 14px;
  }

  .doctor-extra-info .info-item p {
    font-size: 13px;
  }

  .doctor-info-box .info-item .iconImg-wrap {
    height: 28px;
    width: 28px;
  }

  .doctor-sec .img {
    margin-bottom: 15px;
  }

  .doctor-info-box {
    margin-top: 10px;
  }

  .doctor-sec .cms-con>* {
    margin-bottom: 8px;
  }

  .doctor-sec.common-sec {
    padding-bottom: 16px;
  }

  .doctor-extra-info .cms-con h3,
  .doctor-sec .cms-con h3 {
    font-size: 18px;
  }

  /* Contact Page */
  .contact-map-wrapper {
    height: 300px;
  }

  .contact-quick-cards .contact-quick-card {
    padding: 14px 12px;
    gap: 8px;
  }

  .contact-form-sec .contact-info-card {
    padding: 16px;
  }

  /*  */
  .doctor-hero-sec.common-sec {
    padding-top: 30px;
  }

  .timeline-item {

    margin-bottom: 20px;
    padding-left: 20px;
  }

  .education-timeline {
    padding-left: 0;
  }

  .education-timeline:before,
  .education-timeline::after {
    left: 0px;
  }

  .specialization-card .tiny-title {
    font-size: 14px;
  }

  .specialization-card {
    padding: 15px 10px;
  }

  .expertise-highlights.cms-con ul {
    padding: 15px;
  }

  .expertise-highlights {
    padding: 15px;
  }

  .awards-section .award-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    padding: 7px;
    border-radius: 5px;
  }

  .specialization-grid {
    gap: 0px;
  }

  .specialization-card {
    border-radius: 0;
  }

  .specialization-grid .specialization-card:nth-child(2n) {
    border-right: 0;
  }

  /* remove bottom for last row (optional if number varies) */
  .specialization-grid .specialization-card:last-child,
  .specialization-grid .specialization-card:nth-last-child(2) {
    border-bottom: 0;
  }

  .doctor-quick-info .info-card-icon {
    width: 35px;
    min-width: 35px;
    height: 35px;
    border-radius: 5px;
    padding: 5px;
  }

  .doctor-quick-info .info-card-label {
    font-size: 12px;
    letter-spacing: 0;
  }

  .doctor-quick-info .info-card {
    padding: 12px 10px;
    gap: 5px;
  }

  .doctor-quick-info .row,
  .awards-section .row {
    gap: 6px 0;
    --bs-gutter-x: 6px;
  }

  .doctor-bio.cms-con p {
    font-size: 14px;
  }

  .doctor-title-wrap {
    margin-bottom: 10px;
  }

  /*  */

  /* ==================== HomeCare Detail Page ============================ */

  .feature-grid-sec .cms-con h3 {
    font-size: 16px;
  }

  .related-services-sec .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .related-services-sec .service-card .service-title {
    font-size: 16px;
  }

  .card-title {
    font-size: 22px;
  }

  .pricing-sec .pricing-header .price {
    font-size: 24px;
  }

  .pricing-sec .pricing-header .price span {
    font-size: 12px;
  }

  .pricing-card .cms-con ul li {
    font-size: 13px;
  }

  .expertise-highlights .cms-con ul li {
    margin-bottom: 8px;
  }

  /* ==================== Media Event Page ============================ */
  .event-card .content {
    padding: 10px 15px 15px;
  }

  .year-block .row {
    --bs-gutter-y: 1rem;
  }

  .media-event-sec .year-indicator {
    padding: 6px 10px;
  }

  .media-event-sec .year-indicator {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .year-block {
    margin-bottom: 25px;
  }

  p {
    margin-bottom: 12px;
  }

  .gallery-grid {
    gap: 8px;
  }

  .event-details-content .row {
    --bs-gutter-x: 8px;
    --bs-gutter-y: 8px;
  }

  .event-details-content .cms-con h2,
  .event-details-content .comm-title {
    font-size: 18px;
  }

  .event-sidebar-info {
    padding: 15px;
  }

  /* Career Section */
  .career-sec .job-title {
    font-size: 18px;
  }

  .career-sec .job-card {
    padding: 20px 15px;
  }
}


/* ─────────────────────────────── 489 ─────────────────────────────── */
@media (max-width: 489px) {
  .hero-con .left p {
    font-size: 12px;
  }

  p {
    font-size: 12px;
  }

  .md-title {
    font-size: 16px;
  }

  .process-sec .row>* {
    width: 100%;
  }

  .hero-con .left p {

    max-width: 180px;
  }

  .hero-title {

    max-width: 230px;
  }
}

/* ─────────────────────────────── 350 ─────────────────────────────── */

@media (max-width: 350px) {}

/* ─────────────────────────────── 1200 ─────────────────────────────── */

@media (min-width: 1200px) {
  .menu-toggle-btn {
    display: none;
  }

  .sidebar-overlay {
    display: none;
  }

  .main-nav ul>li ul::before {
    content: "";
    width: 0;
    height: 0;
    border-bottom: 0.625rem solid var(--white);
    border-left: 0.625rem solid transparent;
    border-right: 0.625rem solid transparent;
    position: absolute;
    left: 2.5rem;
    top: 0;
    transform: translateY(-100%);
    -webkit-filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.12));
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.12));
  }

  .main-nav>ul>li:hover>ul {
    -webkit-transform: translateY(1.625rem);
    transform: translateY(1.625rem);
    opacity: 1;
    visibility: visible;
  }

  .main-nav>ul>li ul {
    position: absolute;
    left: -1.875rem;
    top: 85%;
    right: 0;
    margin: auto;
    background: #fff;
    box-shadow: rgba(99, 99, 99, 0.2) 0rem 0.125rem 0.5rem 0rem;
    z-index: 9;
    -webkit-transform: translateY(2.25rem);
    transform: translateY(2.25rem);
    visibility: hidden;
    opacity: 0;
    min-width: 16rem;
    padding: 15px;
    border-radius: 0.9375rem;
    transition: all 0.4s ease-in-out;
    max-height: 350px;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #999 transparent;

  }

  .main-nav>ul>li ul::-webkit-scrollbar {
    width: 3px;
  }

  .main-nav>ul>li ul::-webkit-scrollbar-track {
    background: transparent;
  }

  .main-nav>ul>li ul::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 10px;
  }

  .main-nav>ul>li ul::-webkit-scrollbar-thumb:hover {
    background: #666;
  }
}

/* ==========================================================
   ============ Blog Listing Responsive Styles ===============
   ========================================================== */

/* ─── 1399px ─── */
@media (max-width: 1399px) {
  .blog-card-title {
    font-size: 18px;
  }

  .blog-card-content {
    padding: 20px;
  }

  .blog-grid {
    --bs-gutter-x: 24px;
    --bs-gutter-y: 24px;
  }

  .blog-filter-tabs {
    margin-bottom: 40px;
  }

  .blog-pagination {
    margin-top: 40px;
  }
}

/* ─── 1199px ─── */
@media (max-width: 1199px) {
  .blog-card-title {
    font-size: 17px;
  }

  .blog-card-excerpt {
    font-size: 14px;
    -webkit-line-clamp: 2;
    margin-bottom: 16px;
  }

  .blog-card-content {
    padding: 18px;
  }

  .blog-filter-tabs {
    margin-bottom: 30px;
  }
}

/* ─── 991px ─── */
@media (max-width: 991px) {
  .blog-grid {
    --bs-gutter-x: 20px;
    --bs-gutter-y: 20px;
  }

  .blog-filter-tabs {
    gap: 8px;
    margin-bottom: 30px;
  }

  .blog-filter-tab {
    font-size: 13px;
    padding: 8px 16px;
  }

  .blog-card-meta {
    gap: 12px;
    margin-bottom: 10px;
  }

  .blog-card-meta span {
    font-size: 12px;
  }

  .blog-card-title {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .blog-pagination .page-numbers a,
  .blog-pagination .page-numbers span {
    min-width: 38px;
    height: 38px;
    font-size: 14px;
    padding: 6px 10px;
  }
}

/* ─── 767px ─── */
@media (max-width: 767px) {
  .blog-grid {
    --bs-gutter-y: 16px;
  }

  .blog-card-content {
    padding: 16px;
  }

  .blog-card-title {
    font-size: 16px;
  }

  .blog-card-excerpt {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .blog-read-more {
    font-size: 13px;
  }

  .blog-filter-tabs {
    margin-bottom: 24px;
    gap: 6px;
  }

  .blog-filter-tab {
    font-size: 12px;
    padding: 7px 14px;
  }

  .blog-pagination {
    margin-top: 30px;
  }

  .blog-pagination .page-numbers a,
  .blog-pagination .page-numbers span {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
    border-radius: 8px;
  }
}

/* ─── 575px ─── */
@media (max-width: 575px) {
  .blog-card-meta {
    gap: 8px;
  }

  .blog-card-title {
    font-size: 15px;
  }

  .blog-filter-tab {
    padding: 6px 12px;
    font-size: 11px;
  }

  .blog-pagination .page-numbers {
    gap: 5px;
  }

  .blog-pagination .page-numbers a,
  .blog-pagination .page-numbers span {
    min-width: 32px;
    height: 32px;
    font-size: 12px;
  }
}

/* ==========================================================
   ========= Single Blog & Sidebar Responsive Styles =========
   ========================================================== */

/* ─── 1199px ─── */
@media (max-width: 1199px) {
  .sidebar-widget {
    padding: 20px;
  }

  .blog-nav-link {
    padding: 14px 16px;
  }

  .blog-nav-link .nav-post-title {
    font-size: 14px;
  }
}

/* ─── 991px ─── */
@media (max-width: 991px) {
  .blog-single-sec .col-lg-8 {
    margin-bottom: 30px;
  }

  .blog-post-nav {
    gap: 14px;
  }

  .blog-single-tags {
    gap: 8px;
    margin-top: 24px;
    padding-top: 20px;
  }

  .sidebar-post-img {
    width: 60px;
    min-width: 60px;
    height: 50px;
  }
}

/* ─── 767px ─── */
@media (max-width: 767px) {
  .blog-single-meta {
    gap: 12px;
    margin-top: 10px;
  }

  .blog-single-meta span {
    font-size: 13px;
  }

  .blog-post-nav {
    flex-direction: column;
  }

  .blog-nav-link {
    max-width: 100%;
  }

  .sidebar-widget {
    padding: 18px;
    margin-bottom: 18px;
  }
}

/* ─── 575px ─── */
@media (max-width: 575px) {
  .blog-single-tags strong {
    font-size: 14px;
  }

  .blog-tag {
    font-size: 12px;
    padding: 5px 10px;
  }

  .blog-single-meta span {
    font-size: 12px;
  }

  .sidebar-categories li a {
    font-size: 14px;
    padding: 10px 0;
  }
}

/* ==========================================================
   ===== .cms-content .cms-con Responsive Typography ==========
   ========================================================== */

/* ─── 1299px ─── */
@media (max-width: 1299px) {
  .cms-content .cms-con h1 {
    font-size: 34px;
    margin-bottom: 20px;
  }

  .cms-content .cms-con h2 {
    font-size: 28px;
    margin-bottom: 18px;
  }

  .cms-content .cms-con h3 {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .cms-content .cms-con h4 {
    font-size: 20px;
    margin-bottom: 14px;
  }

  .cms-content .cms-con h5 {
    font-size: 17px;
    margin-bottom: 12px;
  }

  .cms-content .cms-con h6 {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .cms-content .cms-con blockquote {
    font-size: 18px;
    padding: 20px 24px;
    margin: 24px 0;
  }

  .cms-content .cms-con ul>li {
    font-size: 16px;
    padding-left: 32px;
    margin-bottom: 12px;
  }

  .cms-content .cms-con ul>li::before {
    width: 18px;
    height: 24px;
  }

  .cms-content .cms-con ul li ul li {
    font-size: 15px;
  }
}

/* ─── 991px ─── */
@media (max-width: 991px) {
  .cms-content .cms-con h1 {
    font-size: 30px;
    margin-bottom: 18px;
  }

  .cms-content .cms-con h2 {
    font-size: 25px;
    margin-bottom: 16px;
  }

  .cms-content .cms-con h3 {
    font-size: 21px;
    margin-bottom: 14px;
  }

  .cms-content .cms-con h4 {
    font-size: 19px;
    margin-bottom: 12px;
  }

  .cms-content .cms-con h5 {
    font-size: 17px;
    margin-bottom: 10px;
  }

  .cms-content .cms-con h6 {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .cms-content .cms-con blockquote {
    font-size: 17px;
    padding: 18px 20px;
    margin: 20px 0;
  }

  .cms-content .cms-con ul>li {
    font-size: 15px;
    padding-left: 30px;
    margin-bottom: 10px;
  }

  .cms-content .cms-con ul>li::before {
    width: 16px;
    height: 22px;
  }

  .cms-content .cms-con ul li ul li {
    font-size: 14px;
    padding-left: 20px;
    margin-bottom: 8px;
  }

  .cms-content .cms-con ul li ul li::before {
    width: 7px;
    height: 7px;
    top: 7px;
  }
}

/* ─── 767px ─── */
@media (max-width: 767px) {
  .cms-content .cms-con h1 {
    font-size: 27px;
    margin-bottom: 16px;
  }

  .cms-content .cms-con h2 {
    font-size: 22px;
    margin-bottom: 14px;
  }

  .cms-content .cms-con h3 {
    font-size: 19px;
    margin-bottom: 12px;
  }

  .cms-content .cms-con h4 {
    font-size: 18px;
    margin-bottom: 11px;
  }

  .cms-content .cms-con h5 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .cms-content .cms-con h6 {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .cms-content .cms-con blockquote {
    font-size: 16px;
    padding: 16px 18px;
    margin: 18px 0;
  }

  .cms-content .cms-con ul>li {
    font-size: 15px;
    padding-left: 28px;
    margin-bottom: 10px;
  }

  .cms-content .cms-con ul>li::before {
    width: 15px;
    height: 20px;
  }

  .cms-content .cms-con ul li ul {
    padding-left: 6px;
    margin-top: 10px;
  }

  .cms-content .cms-con ul li ul li {
    font-size: 14px;
    padding-left: 18px;
  }

  .cms-content .cms-con ul li ul li::before {
    width: 6px;
    height: 6px;
    top: 7px;
  }
}

/* ─── 575px ─── */
@media (max-width: 575px) {
  .cms-content .cms-con h1 {
    font-size: 24px;
    margin-bottom: 14px;
  }

  .cms-content .cms-con h2 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .cms-content .cms-con h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .cms-content .cms-con h4 {
    font-size: 17px;
    margin-bottom: 10px;
  }

  .cms-content .cms-con h5 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .cms-content .cms-con h6 {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .cms-content .cms-con blockquote {
    font-size: 15px;
    padding: 14px 16px;
    margin: 14px 0;
  }

  .cms-content .cms-con ul>li {
    font-size: 14px;
    padding-left: 26px;
    margin-bottom: 8px;
  }

  .cms-content .cms-con ul>li::before {
    width: 14px;
    height: 18px;
    top: 2px;
  }

  .cms-content .cms-con ul li ul li {
    font-size: 13px;
    padding-left: 16px;
    margin-bottom: 6px;
  }

  .cms-content .cms-con ul li ul li::before {
    width: 5px;
    height: 5px;
    top: 6px;
  }
}

/* ─── .cms-content .cms-con Table Responsive ─── */

@media (max-width: 1299px) {
  .cms-content .cms-con table {
    margin: 24px 0;
    font-size: 15px;
  }

  .cms-content .cms-con table thead th {
    padding: 12px 16px;
    font-size: 14px;
  }

  .cms-content .cms-con table td {
    padding: 11px 16px;
    font-size: 14px;
  }
}

@media (max-width: 991px) {
  .cms-content .cms-con table {
    margin: 20px 0;
    font-size: 14px;
  }

  .cms-content .cms-con table thead th {
    padding: 10px 14px;
    font-size: 13px;
  }

  .cms-content .cms-con table td {
    padding: 10px 14px;
    font-size: 13px;
  }

  .cms-content .cms-con .table-responsive {
    margin: 20px 0;
  }
}

@media (max-width: 767px) {
  .cms-content .cms-con table {
    margin: 16px 0;
    font-size: 13px;
    border-radius: 10px;
  }

  .cms-content .cms-con table thead th {
    padding: 10px 12px;
    font-size: 12px;
  }

  .cms-content .cms-con table td {
    padding: 9px 12px;
    font-size: 13px;
  }

  .cms-content .cms-con .table-responsive {
    margin: 16px 0;
  }
}

@media (max-width: 575px) {
  .cms-content .cms-con table {
    margin: 14px 0;
    font-size: 12px;
    border-radius: 8px;
  }

  .cms-content .cms-con table thead th {
    padding: 8px 10px;
    font-size: 11px;
  }

  .cms-content .cms-con table td {
    padding: 8px 10px;
    font-size: 12px;
  }

  .cms-content .cms-con .table-responsive {
    margin: 14px 0;
  }
}

/* ─── Media Gallery Responsive ─── */
@media (max-width: 991px) {}

@media (max-width: 767px) {
  .gallery-item-card .overlay .icon {
    font-size: 24px;
  }


  .gallery-tabs-sidebar {
    margin-bottom: 30px;
  }

  .gallery-tab-list {
    flex-direction: row !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
    gap: 10px;
  }

  .gallery-tab-list .nav-item {
    margin-bottom: 0;
    flex: 0 0 auto;
  }

  .gallery-tab-list .nav-link {
    white-space: nowrap;
    padding: 10px 15px;
    font-size: 14px;
  }

}

@media (max-width: 575px) {
  .gallery-tabs-sidebar {
    padding: 15px;
  }

  .gallery-tab-list .nav-link {
    padding: 8px 12px;
    border-radius: 8px;
  }
}


@media (max-width: 767px) {
    .location-block {
         margin-top: 0px !important; 
    }
}


@media (min-width: 768px) and (max-width: 834px) and (orientation: portrait) {

    .btn-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
    }

    .btn-wrap > .btn.btn-secondary {
        flex: 0 0 185px;
        width: 185px;
        min-width: 185px;
        height: 70px;
        margin: 0 !important;
        padding: 12px 15px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        line-height: 1.2;
    }

    .btn-wrap .header-location-btn {
        flex: 0 0 155px;
        width: 155px;
        min-width: 155px;
        margin: 0 !important;
    }

    .btn-wrap .header-location-link {
        width: 100%;
        min-height: 62px;
        padding: 12px 14px !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        white-space: nowrap;
    }

    .btn-wrap .header-location-text {
        font-size: 14px;
    }

    .btn-wrap .header-location-link img {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .btn-wrap .emergency-call {
        flex: 1 1 auto;
        min-width: 0;
        margin: 0 !important;
        display: flex;
        align-items: center !important;
        gap: 8px;
    }

    .btn-wrap .emer-icn-wrap {
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
    }

    .btn-wrap .call-inf {
        min-width: 0;
        margin: 0 !important;
    }

    .btn-wrap .call-inf > span {
        display: block;
        font-size: 14px;
        line-height: 1.15;
        margin-bottom: 3px;
    }

    .btn-wrap .call-inf p {
        margin: 0;
        line-height: 1.2;
    }

    .btn-wrap .call-inf p strong {
        display: block;
        white-space: nowrap;
    }

    .btn-wrap .call-inf a {
        font-size: 12px;
        white-space: nowrap;
    }
}


/* Tablet header layout fix */
@media (min-width: 768px) and (max-width: 1024px) {

    .btn-wrap.fx-center {
        position: relative;
        z-index: 50;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Book Appointment */
    .btn-wrap.fx-center > .btn.btn-secondary {
        position: relative;
        z-index: 51;
        flex: 0 0 170px !important;
        width: 170px !important;
        min-width: 170px !important;
        max-width: 170px !important;
        height: 58px !important;
        min-height: 58px !important;
        margin: 0 !important;
        padding: 10px 12px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: normal !important;
        flex-shrink: 0 !important;
    }

    /* Location */
    .btn-wrap.fx-center .header-location-btn {
        position: relative;
        z-index: 51;
        flex: 0 0 145px !important;
        width: 145px !important;
        min-width: 145px !important;
        max-width: 145px !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }

    .btn-wrap.fx-center .header-location-link {
        width: 145px !important;
        min-width: 145px !important;
        height: 58px !important;
        min-height: 58px !important;
        padding: 10px 12px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    .btn-wrap.fx-center .header-location-text {
        font-size: 14px !important;
        white-space: nowrap !important;
    }

    .btn-wrap.fx-center .header-location-link img {
        width: 19px !important;
        height: 19px !important;
        flex: 0 0 19px !important;
    }

    /* Emergency */
    .btn-wrap.fx-center .emergency-call {
        position: relative;
        z-index: 52;
        flex: 0 0 190px !important;
        width: 190px !important;
        min-width: 190px !important;
        max-width: 190px !important;
        height: 58px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        flex-shrink: 0 !important;
        overflow: visible !important;
    }

    .btn-wrap.fx-center .emer-icn-wrap {
        position: relative;
        flex: 0 0 48px !important;
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
    }

    .btn-wrap.fx-center .call-inf {
        position: relative;
        z-index: 53;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .btn-wrap.fx-center .call-inf > span {
        display: block !important;
        font-size: 14px !important;
        line-height: 16px !important;
        white-space: nowrap !important;
        margin: 0 0 2px !important;
    }

    .btn-wrap.fx-center .call-inf p {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 15px !important;
    }

    .btn-wrap.fx-center .call-inf p strong {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        white-space: nowrap !important;
    }

    .btn-wrap.fx-center .call-inf a {
        font-size: 12px !important;
        line-height: 15px !important;
        white-space: nowrap !important;
    }

    /* Keep the doctor image behind the buttons */
    .btn-wrap.fx-center ~ * {
        z-index: 1;
    }
}

@media (max-width: 991px) {

    .privacy-policy-page {
        padding: 50px 0;
    }

    .privacy-policy-content h1 {
        font-size: 36px;
    }

    .privacy-policy-content h2 {
        font-size: 28px;
        margin-top: 40px;
    }

    .privacy-policy-content h3 {
        font-size: 22px;
    }

    .privacy-policy-content h4 {
        font-size: 19px;
    }

    .privacy-policy-content p {
        font-size: 15px;
        line-height: 1.7;
    }

}

@media (max-width: 767px) {

    .privacy-policy-page {
        padding: 35px 0;
    }

    .privacy-policy-page .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .privacy-policy-content h1 {
        font-size: 30px;
        margin-bottom: 22px;
    }

    .privacy-policy-content h2 {
        font-size: 25px;
        margin-top: 35px;
    }

    .privacy-policy-content h3 {
        font-size: 21px;
        margin-top: 28px;
    }

    .privacy-policy-content h4 {
        font-size: 18px;
        margin-top: 25px;
    }

    .privacy-policy-content p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 17px;
    }

}