/* Responsive Css */

/* ============================================================
   MOBILE LOGO & HEADER LOWER FLEX LAYOUT
   ============================================================ */

/* Mobile logo: hidden on desktop, visible on tablet/mobile */
.mobile-logo-box {
  display: none;
}

.mobile-logo-box img {
  height: 50px;
  width: auto;
}

/* header-lower outer-box base flex */
.header-lower .outer-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

/* menu-area takes remaining space on desktop */
.header-lower .menu-area {
  flex: 1;
}

/* Large desktop - shrink nav margins slightly */
@media only screen and (max-width: 1280px) {
  .main-menu .navigation>li {
    margin: 0px 8px;
  }

  .main-menu .navigation>li>a {
    font-size: 14px;
  }

  .main-header .header-upper .info-box li {
    margin-right: 20px;
  }

  .appointment-phone .label,
  .app-links .label {
    display: none;
  }

  .language-selector,
  .header-search {
    display: none;
  }
}

/* Medium desktop / large tablet - start collapsing upper bar items */
@media only screen and (max-width: 1100px) {
  .main-menu .navigation>li {
    margin: 0px 5px;
  }

  .main-menu .navigation>li>a {
    font-size: 13px;
    padding-right: 8px;
  }

  .utility-box .app-links {
    display: none;
  }
}

/* Tablet landscape - hide main menu, show mobile logo + hamburger */
@media only screen and (max-width: 1024px) {

  .main-menu,
  .menu-right-content {
    display: none !important;
  }

  .menu-area .mobile-nav-toggler {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    margin-top: 8px;
    float: right;
  }

  .mobile-logo-box {
    display: flex !important;
    align-items: center;
  }

  .header-lower .outer-box {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
  }

  .sm-callus {
    display: none !important;
  }
}

/* Mobile - compact header, hide upper bar */
@media only screen and (max-width: 767px) {
  .main-header .header-upper {
    display: none !important;
  }

  .header-lower {
    padding: 4px 0;
  }

  .mobile-logo-box img {
    height: 42px;
  }

  .sm-callus .emergency-btn,
  .sm-callus .appointment-btn {
    padding: 6px 10px;
    font-size: 11px;
  }

  .mobile-menu .nav-logo img {
    width: 160px !important;
  }
}

@media only screen and (max-width: 448px) {
  .sm-callus {
    display: block !important;
    display: flex !important;
  }

  .sm-callus li {
    margin-left: 0 !important;
  }

  .emergency-btn,
  .appointment-btn {
    padding: 5px 8px;
    font-size: 11px;
  }
}

@media only screen and (max-width: 1599px) {

  .banner-section.style-two .content-box .image-box .support-box {
    right: inherit;
    left: 0px;
  }

  .main-header.style-four {
    padding: 0px 15px;
  }

  .main-header.style-four .menu-right-content li.search-btn {
    margin-right: 15px;
  }

  .main-header.style-four .main-menu .navigation>li {
    margin: 0px 8px;
  }

}

@media only screen and (max-width: 1399px) {

  .banner-section.style-four .image-box .text {
    position: relative;
    top: 0px;
    right: 0px;
    width: 100%;
    margin-top: 30px;
  }

  .banner-section.style-four .image-box .admin-box {
    position: relative;
    left: 0px;
    bottom: 0px;
    margin-top: 30px;
    width: 100%;
  }

  .banner-section.style-four .anim-icon {
    display: none;
  }

}


@media only screen and (max-width: 768px) {

  .main-menu,
  .sticky-header,
  .main-header.style-one .outer-container:before {
    display: none !important;
  }

  .menu-area .mobile-nav-toggler {
    display: block;
    padding: 10px;
    margin-top: 15px;
    margin-bottom: 10px;
  }

  .megamenu ul li:first-child {
    display: none;
  }

  .main-header .header-upper .info-box li {
    margin-right: 30px;
  }

  .main-header .logo-box {
    padding-right: 90px;
  }

  .banner-section.style-one .banner-carousel .content-box .shape {
    display: none;
  }

  .event-block-one .inner-box {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-top .shape {
    display: none;
  }

  .main-header.style-two .menu-right-content {
    padding-bottom: 12px;
  }

  .header-upper-two .info-box li {
    margin-right: 60px;
  }

  .banner-section .owl-nav {
    display: none;
  }

  .banner-section.style-two .content-box .text {
    max-width: 400px;
  }

  .banner-section.style-two .content-box .image-box .support-box {
    left: 100px;
  }

  .service-style-three .shape {
    display: none;
  }

  .team-block-two .inner-box .lower-content .inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .service-style-four .pattern-layer {
    display: none;
  }

  .testimonial-section.alternat-3 .inner-content .image-box {
    width: 40%;
  }

  .main-header.style-five .menu-area .mobile-nav-toggler .icon-bar {
    background: #fff;
  }

  .rtl .header-upper-two .info-box li {
    margin-left: 50px;
  }

  .team-style-two .pattern-layer {
    display: none;
  }

  .awards-section .shape-layer {
    display: none;
  }

  .project-block-one .inner-box .content-box .view-btn a {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 20px;
    margin-bottom: 10px;
  }

  .project-block-one .inner-box .content-box {
    padding-left: 10px;
    padding-right: 10px;
  }

  .project-block-one .inner-box .content-box h4 {
    margin-bottom: 8px;
    font-size: 18px;
  }


}



@media only screen and (min-width: 768px) {

  .main-menu .navigation>li>ul,
  .main-menu .navigation>li>ul>li>ul,
  .main-menu .navigation>li>.megamenu {
    display: block !important;
    visibility: hidden;
    opacity: 0;
  }
}



@media only screen and (max-width: 991px) {

  .banner-carousel .content-box .content-bg {
    display: none;
  }

  .banner-section.style-one .banner-carousel .content-box .text {
    max-width: 100%;
  }

  .main-header .logo-box .bg-color {
    display: none;
  }

  .main-header .logo-box {
    padding-right: 0px;
    float: none;
    text-align: center;
    display: block;
    position: relative;
    padding: 8px 0;
  }

  .main-header .logo-box .logo {
    margin: 0 auto;
  }

  .main-header .header-upper .info-box {
    padding-top: 0px;
    float: none;
    text-align: center;
    max-width: 610px;
    margin: 0 auto;
  }

  .service-block-one .inner-box {
    margin-bottom: 30px;
  }

  .about-section {
    padding-top: 120px;
  }

  .about-section .image_block_1 .image-box {
    margin-right: 0px;
    margin-top: 50px;
  }

  .content_block_2 .content-box {
    margin-left: 0px;
  }

  .team-block-one .inner-box {
    margin-bottom: 30px;
  }

  .team-section {
    padding-bottom: 110px;
  }

  .counter-block-one .inner-box {
    margin-bottom: 40px;
  }

  .funfact-section {
    padding-bottom: 70px;
  }

  .event-block-one {
    padding-top: 45px;
  }

  .event-block-one .inner-box {
    margin-bottom: 30px;
  }

  .events-section {
    padding-bottom: 120px;
  }

  .footer-top .footer-widget {
    margin: 0px 0px 30px 0px !important;
  }

  .footer-top {
    padding-bottom: 45px;
  }

  .header-upper-two .info-box {
    float: none;
    max-width: 650px;
    margin: 0 auto;
    padding-top: 0px;
  }

  .banner-section.style-two .content-box .image-box {
    position: relative;
    right: 0px;
    bottom: 0px;
    margin-top: 50px;
  }

  .banner-section.style-two .content-box .text {
    max-width: 100%;
  }

  .feature-section .inner-content .feature-block {
    padding: 0px 15px;
  }

  .feature-section .inner-content {
    margin: 0px;
  }

  .feature-block-one .inner-box {
    padding: 50px 30px 59px 50px !important;
    margin: 0px 0px 30px 0px !important;
  }

  .feature-block-one .inner-box .btn-box {
    position: relative;
    opacity: 1;
    left: 0px;
    bottom: 0px;
    margin-top: 25px;
  }

  .image_block_3 .image-box {
    margin-bottom: 50px;
  }

  .chooseus-section .bg-layer,
  .chooseus-section .pattern-layer {
    display: none;
  }

  .team-style-two .inner-content {
    margin-right: 0px;
  }

  .team-style-two .sec-title {
    margin-right: 0px;
    margin-bottom: 30px;
  }

  .team-style-two {
    padding-bottom: 110px;
  }

  .events-style-two .event-block-one {
    padding-top: 0px;
  }

  .events-style-two {
    padding-bottom: 120px;
  }

  .image_block_4 .image-box {
    margin-left: 0px;
    top: 0px;
  }

  .image_block_4 .image-box .shape .shape-1,
  .image_block_4 .image-box .shape .shape-2 {
    display: none;
  }

  .about-style-three {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%);
  }

  .content_block_7 .content-box {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .counter-block-two .inner-box {
    margin-bottom: 30px;
  }

  .funfact-style-two {
    padding-bottom: 115px;
  }

  .counter-block-two .inner-box:before {
    display: none;
  }

  .events-section.alternat-2 .event-block-one {
    padding-bottom: 20px;
  }

  .event-block-one .inner-box {
    padding-left: 30px;
    padding-right: 30px;
  }

  .events-section.alternat-2 .event-block-one .inner-box {
    margin-bottom: 50px;
  }

  .events-section.alternat-2 {
    padding-bottom: 100px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%);
  }

  .content_block_8 .content-box {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .image_block_5 .image-box .shape {
    display: none;
  }

  .testimonial-section .shape {
    display: none;
  }

  .team-block-two .inner-box {
    margin-bottom: 30px;
  }

  .team-style-three {
    padding-bottom: 120px;
  }

  .cta-section .inner-box .text {
    float: none;
    display: block;
    margin-bottom: 15px;
  }

  .cta-section .inner-box .btn-box {
    float: none;
    display: block;
  }

  .cta-section .inner-box {
    padding-left: 50px;
    padding-right: 50px;
  }

  .banner-section.style-four {
    padding-top: 180px;
  }

  .banner-section.style-four .content-box {
    margin-bottom: 30px;
  }

  .feature-section.alternat-2 .inner-content {
    box-shadow: none;
  }

  .feature-section.alternat-2 .feature-block-one .inner-box {
    box-shadow: 0 0px 10px 5px #f3f6f6;
    border-radius: 20px;
    margin-bottom: 30px !important;
  }

  .about-style-four {
    padding-top: 110px;
  }

  .about-style-four .image_block_5 .image-box {
    margin-right: 0px;
    margin-bottom: 50px;
  }

  .service-style-four .tab-btns li {
    width: 25%;
    margin-bottom: 30px;
  }

  .service-style-four .content_block_9 .content-box {
    margin: 0px 0px 30px 0px;
  }

  .testimonial-section.alternat-3 .inner-content {
    margin-top: -80px;
  }

  .testimonial-section.alternat-3 .inner-content .image-box {
    position: relative;
    width: 100%;
    border-radius: 50px;
  }

  .testimonial-section.alternat-3 .inner-content .inner {
    max-width: 100%;
  }

  .testimonial-section.alternat-3 .inner-content .image-box img {
    border-radius: 50px;
  }

  .cta-style-two .text,
  .cta-style-two .btn-box {
    float: none;
    display: block;
  }

  .cta-style-two .text h2 br {
    display: none;
  }

  .banner-section.style-five .image-box {
    padding-left: 0px;
  }

  .service-section {
    padding-top: 100px;
  }

  .about-style-two .image_block_8 .image-box {
    margin-right: 0px;
    margin-bottom: 50px;
  }

  .testimonial-section.alternat-4 .bg-layer,
  .research-style-two .inner-content .shape {
    display: none;
  }

  .research-style-two .research-block {
    padding: 0px !important;
  }

  .research-block-two .inner-box {
    margin-bottom: 30px;
  }

  .research-style-two {
    padding-bottom: 320px;
  }

  .research-page .image_block_7 .image-box {
    margin-bottom: 50px;
  }

  .books-page-section .inner-content .inner-box {
    padding-left: 380px;
  }

  .future-member .details-content {
    margin-bottom: 30px;
  }

  .testimonial-style-two .content_block_3 .content-box {
    margin-bottom: 30px;
  }

  .testimonial-style-two {
    padding-bottom: 120px;
  }

  .education-section {
    margin-top: 70px;
  }

  .education-block-one {
    padding-top: 50px;
  }

  .education-block-one .inner-box {
    margin-bottom: 40px;
  }

  .education-block-one .inner-box .dot-box,
  .education-section .border-layout {
    display: none;
  }

  .education-section {
    padding-bottom: 110px;
  }

  .awards-section .inner-box {
    margin-left: 0px;
  }

  .event-details-content {
    margin-right: 0px;
  }

  .news-block-two .inner-box .image-box {
    position: relative;
    margin-bottom: 30px;
    width: 100%;
    height: auto;
    border-radius: 30px;
    overflow: hidden;
  }

  .news-block-two .inner-box {
    padding-left: 0px;
  }

  .blog-sidebar {
    margin-left: 0px;
    margin-top: 30px;
  }

  .google-map-section .info-section .info-inner {
    padding-left: 30px;
  }

  .google-map-section .info-section .info-inner .single-info-box {
    width: 50%;
    margin-bottom: 30px;
  }

  .google-map-section .info-section .info-inner .single-info-box:last-child {
    margin-bottom: 0px;
  }

  .main-header .header-upper .info-box li {
    text-align: left;
  }

  .event-details-content {
    margin-bottom: 30px;
  }

}


@media only screen and (max-width: 767px) {

  .sec-pad {
    padding: 65px 0px 70px 0px;
  }

  .sec-pad-2 {
    padding: 70px 0px;
  }

  .banner-section {
    padding: 100px 0px;
  }

  .banner-carousel .content-box h2 {
    font-size: 36px;
    line-height: 44px;
  }

  .banner-section.style-one .banner-carousel .content-box {
    padding-left: 30px;
    padding-right: 30px;
  }

  .service-section {
    padding-top: 65px;
  }

  .service-section .pattern-layer {
    display: none;
  }

  .sec-title h2 {
    font-size: 34px;
    line-height: 42px;
  }

  .sec-title h2 br {
    display: none;
  }

  .about-section .content_block_1 .content-box {
    margin-right: 0px;
  }

  .sec-title {
    margin-bottom: 40px;
  }

  .video-section {
    padding: 80px 0px 75px 0px;
  }

  .research-section .pattern {
    display: none;
  }

  .research-section {
    padding: 63px 0px 40px 0px;
  }

  .team-section {
    padding: 70px 0px 30px 0px;
  }

  .image_block_2 .image-box {
    margin-bottom: 30px;
  }

  .funfact-section {
    padding: 70px 0px 40px 0px;
  }

  .events-section .pattern {
    display: none;
  }

  .events-section .sec-title {
    margin-bottom: 40px;
  }

  .events-section {
    padding-bottom: 40px;
  }

  .news-section .owl-nav {
    display: none;
  }

  .footer-top {
    padding-top: 80px;
  }

  .header-upper-two .info-box {
    display: block;
  }

  .header-upper-two .info-box li {
    float: none;
    margin-bottom: 15px;
    text-align: left;
  }

  .header-upper-two .info-box {
    text-align: center;
  }

  .main-header .header-upper .info-box li {
    float: none;
    display: none;
    margin-bottom: 15px;
  }

  .main-header .header-upper .info-box {
    display: block;
  }

  .banner-section.style-two .content-box {
    padding-top: 95px;
    padding-bottom: 100px;
  }

  .banner-section.style-two .content-box h2 {
    font-size: 36px;
    line-height: 44px;
  }

  .banner-section.style-two .content-box .image-box .shape .shape-2 {
    display: none;
  }

  .feature-section .pattern {
    display: none;
  }

  .image_block_3 .image-box .shape {
    display: none;
  }

  .about-style-two {
    padding-bottom: 40px;
  }

  .content_block_1 .content-box .inner-box .single-item:before {
    display: none;
  }

  .content_block_1 .content-box .inner-box .single-item {
    margin-bottom: 30px;
  }

  .team-style-two {
    padding: 65px 0px 30px 0px;
  }

  .banner-section.style-three .content-box {
    padding-top: 0px;
    padding-bottom: 0px;
  }

  .banner-section.style-three .slide-item {
    padding: 150px 0px 100px 0px;
  }

  .about-style-three .pattern-layer {
    display: none;
  }

  .about-style-three {
    padding: 70px 0px;
  }

  .content_block_1 .content-box {
    margin-left: 0px;
  }

  .service-style-three {
    padding: 65px 0px 40px 0px;
  }

  .funfact-style-two {
    padding: 65px 0px 40px 0px;
  }

  .events-section.alternat-2 .sec-title {
    margin-bottom: 70px;
  }

  .events-section.alternat-2 {
    padding-bottom: 30px;
  }

  .paroller,
  .paroller-2 {
    transform: translate(0px) !important;
  }

  .faq-section .image_block_5 .image-box {
    margin-left: 0px;
  }

  .team-style-three .pattern-layer {
    display: none;
  }

  .team-style-three {
    padding-bottom: 40px;
  }

  .cta-section .inner-box {
    padding-top: 110px;
    padding-bottom: 60px;
  }

  .cta-section .inner-box .text h2 {
    font-size: 34px;
    line-height: 42px;
  }

  .cta-section .inner-box .text h2 br {
    display: none;
  }

  .banner-section.style-four .content-box h2 {
    font-size: 40px;
    line-height: 48px;
  }

  .main-header.style-four .menu-right-content li.btn-box {
    display: none;
  }

  .banner-section.style-four {
    padding-top: 160px;
    padding-bottom: 150px;
  }

  .service-style-four .tab-btns li {
    width: 33.333%;
  }

  .chooseus-section .image_block_7 .image-box {
    margin-right: 0px;
    margin-bottom: 30px;
  }

  .testimonial-section.alternat-3 .inner-content {
    margin-top: 0px;
  }

  .counter-block-two .inner-box {
    display: inline-block;
  }

  .funfact-style-two {
    text-align: center;
  }

  .news-style-two .owl-nav {
    display: none;
  }

  .cta-style-two {
    padding: 70px 0px;
  }

  .banner-section.style-five .pattern-layer {
    display: none;
  }

  .banner-section.style-four {
    padding-bottom: 100px;
  }

  .content_block_6 .content-box {
    margin-bottom: 30px;
  }

  .testimonial-section.alternat-4 .pattern-layer {
    display: none;
  }

  .testimonial-section.alternat-4 {
    padding: 65px 0px 70px 0px;
  }

  .team-section.home-5 {
    padding-top: 65px;
  }

  .news-style-two .shape {
    display: none;
  }

  .rtl .header-upper-two .info-box li {
    float: none;
  }

  .research-style-two .pattern-layer {
    display: none;
  }

  .research-style-two {
    padding: 65px 0px 250px 0px;
  }

  .video-style-two .inner-box {
    padding: 80px 0px;
  }

  .research-page .about-section {
    padding: 70px 0px;
  }

  .research-page .image_block_7 .image-box .shape {
    display: none;
  }

  .about-section .content_block_1 .content-box {
    margin-left: 0px;
  }

  .chooseus-section {
    padding-bottom: 40px;
  }

  .books-page-section .title-inner .sec-title {
    width: 100%;
  }

  .books-page-section .title-inner .text {
    width: 100%;
    padding-left: 0px;
    margin-top: 0px;
  }

  .books-page-section .inner-content .inner-box {
    padding-left: 0px;
  }

  .books-page-section .inner-content .inner-box h5 {
    position: relative;
    top: 0px;
    margin-bottom: 10px;
  }

  .books-page-section .inner-content .inner-box:before,
  .books-page-section .inner-content .inner-box:after,
  .books-page-section .inner-content .inner-box .arrow,
  .books-page-section .inner-content:before {
    display: none;
  }

  .books-page-section .inner-content {
    padding: 0px;
    border: none;
  }

  .journal-section .pattern-layer {
    display: none;
  }

  .journal-section {
    padding: 65px 0px 40px 0px;
  }

  .journal-section .tab-btn-box .tab-btns li {
    margin-bottom: 20px;
  }

  .future-member .details-content .content-one .image .shape {
    display: none;
  }

  .testimonial-style-two {
    padding-bottom: 40px;
  }

  .question-section .pattern-layer {
    display: none;
  }

  .team-page .team-style-three {
    padding: 65px 0px 20px 0px;
  }

  .team-details {
    padding-top: 70px;
  }

  .team-details .image_block_2 .image-box .shape {
    display: none;
  }

  .image_block_2 .image-box {
    padding-right: 0px;
  }

  .education-section .pattern-layer {
    display: none;
  }

  .education-section {
    padding-bottom: 30px;
  }

  .events-page .events-style-two .pattern-layer {
    display: none;
  }

  .events-page .events-style-two {
    padding: 65px 0px 40px 0px;
  }

  .gallery-page-section {
    padding: 65px 0px;
  }

  .blog-details-content .comment-box .comment.sub-replay {
    margin-left: 110px;
  }

  .google-map-section .info-section .info-inner .single-info-box {
    width: 100%;
  }

  .image_block_2 .image-box .shape {
    display: none;
  }

  .team-section .our-team {
    padding-top: 70px;
  }



}

@media only screen and (max-width: 599px) {

  .testimonial-section .inner-content {
    padding-left: 30px;
    padding-right: 30px;
  }

  .testimonial-section .owl-nav {
    display: none;
  }

  .header-top {
    text-align: center;
  }

  .main-header .social-links,
  .header-top .text {
    float: none;
    display: inline-block;
    text-align: center;
  }

  .main-header .social-links {
    margin-bottom: 10px;
  }

  .banner-section .content-box p br {
    display: none !important;
  }

  .service-style-four .tab-btns li {
    width: 50%;
  }

  .service-style-four .tab-btn-box {
    margin-bottom: 30px;
  }

  .testimonial-section.alternat-3 .inner-content .inner {
    padding-left: 30px;
    padding-right: 30px;
  }

  .image_block_8 .image-box .shape {
    display: none;
  }

  .chooseus-section .image_block_9 .image-box {
    margin-left: 0px;
  }

  .image_block_9 .image-box .shape {
    display: none;
  }

  .testimonial-section.alternat-4 .inner-box {
    margin-left: 0px;
  }

  .image_block_3 .image-box {
    padding-right: 0px;
  }

  .research-page .image_block_7 .image-box .image-2 {
    right: 0px;
  }

  .page-title .title h1 {
    font-size: 36px;
  }

  .event-details .pattern-layer {
    display: none;
  }

  .news-block-three .inner-box .lower-content .inner h3 {
    font-size: 20px;
    line-height: 26px;
  }

  .blog-details-content .news-block-three .inner-box .lower-content .post-date {
    top: 0px;
  }

  .image_block_1 .image-box .shape {
    display: none;
  }

  .content_block_4 .content-box h2 {
    font-size: 36px;
    line-height: 44px;
  }

  .cta-style-two .text h2 {
    font-size: 34px;
    line-height: 42px;
  }

}


@media only screen and (max-width: 499px) {

  .mobile-menu {
    width: 100%;
  }

  .future-member .details-content .content-two .image-box .image,
  .blog-details-content .content-two .image-box .image {
    width: 100%;
  }

  .search-popup .search-form fieldset input[type="submit"] {
    position: relative;
    border-radius: 10px;
    margin-top: 15px;
    width: 100%;
  }

  .search-popup .search-form fieldset input[type="search"] {
    padding-right: 30px;
  }

  .research-block-one .inner-box {
    padding-left: 20px;
    padding-right: 20px;
  }

  .content_block_4 .content-box,
  .content_block_5 .content-box {
    padding-left: 30px;
    padding-right: 30px;
  }

  .banner-section.style-two .content-box .image-box .support-box {
    left: 0px;
  }

  .banner-section.style-two .content-box .image-box .support-box a {
    padding-left: 95px;
    padding-right: 30px;
  }

  .banner-section.style-two .content-box {
    padding-bottom: 70px;
  }

  .content_block_6 .content-box .inner-box {
    padding-right: 0px;
  }

  .content_block_5 .content-box h2 {
    font-size: 34px;
    line-height: 42px;
  }

  .main-header.style-three .social-links {
    display: none;
  }

  .banner-section.style-three .slide-item {
    padding-bottom: 0px;
  }

  .image_block_5 .image-box {
    padding: 0px;
  }

  .image_block_5 .image-box .image-2 {
    position: relative;
    margin-top: 30px;
  }

  .cta-section .inner-box {
    padding-left: 30px;
    padding-right: 30px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%);
    padding-top: 60px;
  }

  .main-header.style-four .header-lower .logo-box {
    text-align: center;
  }

  .main-header.style-four .header-lower .outer-box {
    display: block;
  }

  .main-header.style-four .menu-right-content {
    position: absolute;
    left: 0px;
    bottom: 0px;
  }

  .banner-section.style-four {
    padding-top: 210px;
    padding-bottom: 150px;
  }

  .banner-section.style-four .image-box .shape {
    display: none;
  }

  .image_block_6 .image-box .shape {
    display: none;
  }

  .image_block_6 .image-box {
    padding: 0px;
  }

  .image_block_6 .image-box .image-2 {
    position: relative;
    margin-top: 30px;
  }

  .chooseus-section .image_block_7 .image-box {
    padding: 0px;
  }

  .image_block_7 .image-box .image-2 {
    position: relative;
    margin-top: 30px;
  }

  .about-style-two .image_block_8 .image-box {
    padding: 0px;
  }

  .image_block_8 .image-box .image-2 {
    position: relative;
    margin: 30px 0px;
  }

  .image_block_8 .image-box .image-3 {
    position: relative;
    left: 0px;
  }

  .chooseus-section .image_block_9 .image-box {
    padding: 0px;
  }

  .image_block_9 .image-box .image-2 {
    position: relative;
    margin-top: 30px;
  }

  .research-page .image_block_7 .image-box {
    padding: 0px;
  }

  .journal-section .tab-btn-box .tab-btns li {
    margin-right: 15px;
  }

  .future-member .details-content .content-two .image-box .image {
    margin-bottom: 15px;
  }

  .question-section .form-inner {
    padding: 60px 30px;
  }

  .error-section .inner-box h1 {
    font-size: 160px;
    line-height: 160px;
  }

  .blog-details-content .content-two .image-box .image {
    margin-bottom: 15px;
  }

  .blog-details-content .post-share-option ul {
    float: none !important;
    display: block;
  }

  .blog-details-content .post-share-option .tags-list {
    margin-bottom: 15px;
  }

  .blog-details-content .author-box {
    padding-left: 30px;
    padding-right: 30px;
  }

  .blog-details-content .author-box .author-thumb {
    position: relative;
    left: 0px;
    top: 0px;
    margin-bottom: 15px;
  }

  .blog-details-content .comment-box .comment.reply-comment {
    margin-left: 0px;
  }


}


@media only screen and (max-width: 399px) {

  .main-header.style-one .search-btn {
    padding-right: 0px;
    border: none;
    margin-right: 0px;
  }

  .main-header.style-one .social-links {
    display: none;
  }

  .image_block_4 .image-box .text {
    position: relative;
    left: 0px;
    top: 0px;
    margin-bottom: 15px;
  }

  .service-style-four .tab-btns li {
    width: 100%;
  }

  .books-page-section .inner-content .inner-box .single-item {
    padding-left: 30px;
  }

  .books-page-section .inner-content .inner-box .single-item .image-box {
    position: relative;
    left: 0px;
    top: 0px;
    margin-bottom: 15px;
  }

  .future-member .sidebar-content .info-box {
    padding-left: 30px;
  }

  .awards-section .inner-box .single-item {
    padding-left: 30px;
    padding-right: 30px;
  }

  .awards-section .inner-box .single-item h3 {
    margin-bottom: 30px;
    position: relative;
    left: 0px;
    top: 0px;
  }

}

/* ==========================================================================
   GLOBAL HEADER & MENU STYLES (Moved from home-page.css)
   ========================================================================== */

/* Mega Menu Wrapper */
#pages-mega-menu {
  position: relative;
}

#pages-mega-menu .mega-menu-wrapper {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  width: 1400px;
  max-width: 95vw;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border-radius: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  margin-top: 0;
  border-top: 3px solid;
  border-image: linear-gradient(90deg, #7c3aed 0%, #2563eb 100%) 1;
}

#pages-mega-menu:hover .mega-menu-wrapper {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#pages-mega-menu .mega-menu-container {
  display: grid;
  grid-template-columns: 280px 1fr 340px;
  gap: 0;
  min-height: 550px;
}

/* Left Sidebar */
#pages-mega-menu .mega-menu-sidebar {
  background: #f8f9fa;
  padding: 35px 0;
  border-right: 1px solid #e5e7eb;
}

#pages-mega-menu .sidebar-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

#pages-mega-menu .sidebar-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
  transition: width 0.3s ease;
}

#pages-mega-menu .sidebar-item.active::before,
#pages-mega-menu .sidebar-item:hover::before {
  width: 4px;
}

#pages-mega-menu .sidebar-item.active {
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.08) 0%, rgba(37, 99, 235, 0.05) 100%);
}

#pages-mega-menu .sidebar-item:hover {
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.06) 0%, rgba(37, 99, 235, 0.03) 100%);
  transform: translateX(3px);
}

#pages-mega-menu .sidebar-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e9d5ff 0%, #ddd6fe 100%);
  color: #7c3aed;
  transition: all 0.3s ease;
  position: relative;
  backdrop-filter: blur(10px);
}

#pages-mega-menu .sidebar-item.active .sidebar-icon,
#pages-mega-menu .sidebar-item:hover .sidebar-icon {
  background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
  transform: scale(1.05);
}

#pages-mega-menu .sidebar-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

#pages-mega-menu .sidebar-item:hover .sidebar-icon::before {
  opacity: 1;
}

#pages-mega-menu .sidebar-item span {
  font-size: 14px;
  font-weight: 500;
  color: #1f2937;
  transition: color 0.3s ease;
}

#pages-mega-menu .sidebar-item.active span,
#pages-mega-menu .sidebar-item:hover span {
  color: #7c3aed;
}

/* Middle Solutions Section */
#pages-mega-menu .mega-menu-solutions {
  padding: 35px 40px;
  background: #ffffff;
}

#pages-mega-menu .solutions-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

#pages-mega-menu .solutions-title {
  font-size: 16px;
  font-weight: 600;
  color: #9ca3af;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


/* ==========================================================================
   PUNYA HOSPITAL — HEADER STYLES (Robust Responsive Block)
   ========================================================================== */

/* ── Header Base ─────────────────────────────────────────────────────────── */
.main-header {
  position: relative;
  width: 100%;
  z-index: 999;
}

/* ── Header Upper Bar (Desktop only) ─────────────────────────────────────── */
.header-upper {
  background: #fff;
  /* padding: 10px 0; */
  border-bottom: 1px solid #e8e8e8;
  font-size: 13px;
  display: block;
}

@media (max-width: 1024px) {
  .header-upper {
    display: none !important;
  }
}

.header-upper .auto-container {
  max-width: 1400px !important;
  margin: 0 auto;
  padding: 0 20px;
}

.header-upper .upper-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.utility-box {
  display: flex;
  align-items: center;
  gap: 18px;
}

.appointment-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.appointment-phone .phone-num {
  color: #e21e26;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

.app-btn {
  background: #1a1a1a;
  color: #fff !important;
  border-radius: 4px;
  padding: 5px 12px;
  font-size: 14px;
  text-decoration: none;
}

/* ── Header Lower & Sticky ──────────────────────────────────────────────── */
.header-lower,
.sticky-header {
  background: #fff;
  width: 100%;
}

.main-header .header-lower .auto-container,
.sticky-header .auto-container {
  max-width: 1400px !important;
  padding: 0 20px;
  width: 100%;
}

.main-header .header-lower .outer-box,
.sticky-header .outer-box {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  width: 100%;
  float: none !important;
}

/* ── Desktop Navigation (≥ 769px) ────────────────────────────────────────── */
@media (min-width: 769px) {

  .main-header .header-lower .menu-area,
  .sticky-header .menu-area {
    display: flex !important;
    align-items: center !important;
    flex: 1 !important;
    float: none !important;
  }

  .main-menu {
    display: block !important;
    flex: 1 !important;
    float: none !important;
  }

  .main-menu .navigation {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .main-menu .navigation>li {
    position: relative !important;
    margin: 0 15px !important;
    padding: 0 !important;
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  .main-menu .navigation>li>a {
    color: #1a1a1a !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 5px 0 !important;
    display: block !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
  }

  /* Standard Laptop adjustments (1025px - 1366px) */
  @media (max-width: 1366px) {
    .main-menu .navigation>li {
      margin: 0 10px !important;
    }

    .main-menu .navigation>li>a {
      font-size: 12px !important;
    }
  }

  /* Small Laptop adjustments (769px - 1200px) */
  @media (max-width: 1200px) {
    .main-menu .navigation>li {
      margin: 0 7px !important;
    }

    .main-menu .navigation>li>a {
      font-size: 9px !important;
    }
  }

  .main-menu .navigation>li:hover>a,
  .main-menu .navigation>li.current>a {
    color: #e21e26 !important;
  }

  /* Hide mobile elements */
  .mobile-nav-toggler,
  .sm-callus {
    display: none !important;
  }

  .menu-right-content {
    display: flex !important;
    align-items: center !important;
    margin-left: 20px;
    float: none !important;
  }
}

/* ── Mobile Layout (≤ 768px) ─────────────────────────────────────────────── */
/* ── Mobile Layout (≤ 1024px) ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .main-header .header-lower .outer-box {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .main-header .main-menu {
    display: none !important;
  }

  .mobile-nav-toggler {
    display: block !important;
    padding: 10px;
    cursor: pointer;
    order: 2;
  }

  .mobile-nav-toggler .icon-bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #e21e26;
    margin: 5px 0;
  }

  .sm-callus {
    display: flex !important;
    order: 1;
    margin-right: auto;
  }

  .menu-right-content {
    display: none !important;
  }

  .mega-menu-wrapper {
    display: none !important;
    /* Hide desktop mega menus on mobile */
  }
}

/* ── Mega Menu ───────────────────────────────────────────────────────────── */
.main-header .header-lower .outer-box,
.sticky-header .outer-box {
  position: relative;
  /* Positioning context for full-width mega menus */
}

.mega-menu-nav,
.centers-mega-menu {
  position: static !important;
  /* Allow children to be relative to .outer-box */
}

.mega-menu-nav .mega-menu-wrapper,
.centers-mega-menu .mega-menu-wrapper {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  border-top: 4px solid #e21e26;
  margin-top: 0;
}

.mega-menu-nav:hover .mega-menu-wrapper,
.centers-mega-menu:hover .mega-menu-wrapper,
.mega-menu-nav:hover .megamenu,
.centers-mega-menu:hover .megamenu {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 99999 !important;
}

.mega-menu-container {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  background: #fff;
  min-height: 300px;
}

.mega-menu-sidebar {
  width: 280px;
  background: #f8f9fa;
  padding: 15px 15px;
  border-right: 1px solid #eee;
}

.mega-menu-content {
  flex: 1;
  padding: 20px 30px;
  background: #fff;
}

.content-grid {
  display: none;
}

.content-grid.active {
  display: block;
}

.sidebar-item {
  padding: 8px 15px;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: all 0.3s;
  font-weight: 500;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
}

.sidebar-item:hover {
  background: #f8f4ff;
  color: #7A50A2;
}

.sidebar-item.active {
  background: #7A50A2 !important;
  color: #fff !important;
  border-left-color: #5D9937 !important; /* Brand Green accent */
}

.submenu-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 25px;
  list-style: none;
  padding: 0;
}

.submenu-links li a {
  color: #4a5568 !important;
  font-size: 14px;
  white-space: nowrap;
  transition: color 0.3s;
  text-decoration: none;
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 5px;
  font-weight: 600;
}

.submenu-links li a:hover {
  color: #7A50A2 !important; /* Brand Purple */
  padding-left: 5px;
}

@media (max-width: 768px) {
  .centers-mega-menu .mega-menu-wrapper {
    position: static !important;
    box-shadow: none;
    border: none;
  }

  .centers-mega-menu.open .mega-menu-wrapper {
    display: block !important;
  }

  .mega-menu-container {
    flex-direction: column;
  }

  .mega-menu-sidebar {
    width: 100%;
    padding: 15px;
  }

  .submenu-links {
    grid-template-columns: 1fr;
  }
}

/* ── Sticky Header Styles ────────────────────────────────────────────────── */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(-100%);
  transition: all 500ms ease;
  background: #fff !important;
}

.main-header.fixed-header .sticky-header {
  transform: translateY(0);
}

.sticky-header .main-menu .navigation>li>a {
  padding: 20px 0 !important;
}

/* Ensure sticky header allows dropdowns to be visible */
.sticky-header,
.sticky-header .auto-container,
.sticky-header .outer-box,
.sticky-header .menu-area,
.sticky-header .main-menu,
.sticky-header .navbar-collapse {
  overflow: visible !important;
}

/* Ensure mega menu shows up in sticky header */
.fixed-header .sticky-header .mega-menu-wrapper {
  display: none;
  z-index: 999999 !important;
}

.fixed-header .sticky-header .mega-menu-nav:hover .mega-menu-wrapper,
.fixed-header .sticky-header .centers-mega-menu:hover .mega-menu-wrapper {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ── Mobile Menu Sidebar ─────────────────────────────────────────────────── */
.mobile-menu .navigation li>a {
  color: #fff !important;
}

.mobile-menu .navigation li.current>a {
  color: #e21e26 !important;
}

.mobile-menu .close-btn {
  right: 20px !important;
  top: 20px !important;
  width: 38px !important;
  height: 38px !important;
  line-height: 38px !important;
  border-radius: 50% !important;
  background: #e21e26 !important;
  color: #fff !important;
  font-size: 16px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ============================================================
   HEADER UPPER — LAYOUT & ELEMENT STYLES
   ============================================================ */

/* Outer wrapper: logo left, utility right */
.header-upper .upper-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  flex-wrap: nowrap;
  gap: 15px;
}

/* Logo on the left */
.header-upper .logo-box {
  flex-shrink: 0;
  position: static !important;
  padding: 0 !important;
}

.header-upper .logo-box .logo img {
  height: 60px;
  width: auto;
}

/* Right utility bar */
.header-upper .upper-right {
  float: none !important;
  flex: 1;
}

.header-upper .utility-box {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: nowrap;
}

/* Language Selector */
.header-upper .language-selector .lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f3f3f3;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  color: #333;
}

.header-upper .language-selector .lang-btn:hover {
  background: #e8e8e8;
}

.language-selector .dropdown {
  position: relative;
}

.language-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid #eee;
  padding: 16px 0 8px;
  z-index: 99999;
  display: none;
  list-style: none;
  animation: fadeInDown 0.2s ease;
}

/* Hover bridge: invisible extension above the menu so moving mouse from button to menu doesn't lose hover */
.language-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
}

.language-selector .dropdown:hover .language-dropdown,
.language-selector .dropdown:focus-within .language-dropdown {
  display: block;
}

.language-dropdown.open {
  display: block;
}

.language-dropdown li a {
  display: block;
  padding: 8px 20px;
  font-size: 14px;
  color: #333;
  transition: all 0.3s;
}

.language-dropdown li a:hover {
  background: #f8f9fa;
  color: #e21e26;
  padding-left: 25px;
}

/* Hide Google Translate top bar */
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

body {
  top: 0px !important;
}

.goog-te-gadget {
  color: transparent !important;
}

.goog-te-gadget .goog-te-combo {
  display: none !important;
}

/* Search box */
.header-upper .header-search .search-form .form-group {
  display: flex;
  align-items: center;
  background: #f3f3f3;
  border: 1px solid #ddd;
  border-radius: 20px;
  overflow: hidden;
  padding: 0 4px 0 12px;
}

.header-upper .header-search .search-form input[type="search"] {
  border: none;
  background: transparent;
  padding: 6px 4px;
  font-size: 13px;
  width: 130px;
  outline: none;
  color: #333;
}

.header-upper .header-search .search-form button {
  background: none;
  border: none;
  padding: 6px 8px;
  cursor: pointer;
  color: #888;
  font-size: 14px;
}

/* Appointment phone */
.header-upper .appointment-phone {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-size: 13px;
  color: #222;
}

.header-upper .appointment-phone .label {
  font-weight: 600;
  color: #555;
}

.header-upper .appointment-phone .phone-num {
  font-weight: 700;
  color: #142441;
  font-size: 14px;
  text-decoration: none;
}

.header-upper .appointment-phone .phone-num:hover {
  color: #e21e26;
}

/* Download App links */
.header-upper .app-links {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.header-upper .app-links .label {
  font-size: 12px;
  color: #555;
  font-weight: 600;
}

.header-upper .app-links .app-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: #142441;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.2s;
}

.header-upper .app-links .app-btn:hover {
  background: #e21e26;
}

/* Book Appointment Button */
.header-upper .btn-box .theme-btn.btn-style-one {
  background: #e21e26;
  color: #fff !important;
  border-radius: 25px;
  padding: 9px 22px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
  transition: background 0.2s;
}

.header-upper .btn-box .theme-btn.btn-style-one:hover {
  background: #c01820;
}

/* Dividers between items */
.header-upper .utility-box>div {
  position: relative;
}

/* Responsive: hide some items on medium screens */
@media only screen and (max-width: 1280px) {
  .header-upper .app-links {
    display: none !important;
  }
}

@media only screen and (max-width: 991px) {
  .header-upper .utility-box {
    gap: 12px;
  }
}

/* Also hide the sm-callus chevron in header-lower */
.header-lower .language-selector,
.header-lower .dropdown,
.header-lower .lang-btn {
  display: none !important;
}


/* Hide Emergency/Appointment buttons on desktop - only show on mobile */
@media only screen and (min-width: 1025px) {
  .sm-callus {
    display: none !important;
  }
}