/* ==========================================================================
   Promise Dental Center - Responsive Stylesheet
   Breakpoints: 1600px, 1440px, 1366px, 1280px, 1200px, 1024px, 992px, 768px, 576px, 480px, 375px, 320px
   ========================================================================== */

/* 1600px Breakpoint */
@media screen and (max-width: 1600px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .hero-feature-strip {
    width: 60%;
  }


  .container {
    padding: 0 80px;
  }


  .footer-top {
    padding: 0px 40px 0 80px;
  }

  .footer-copyright {

    padding: 0 80px;

  }
}

/* 1440px Breakpoint */
@media screen and (max-width: 1440px) {


  .site-header {
    padding: 0 16px 0 24px;
  }

  .nav-list {
    gap: 28px;
  }

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

  .btn-book-online {
    padding: 11px 22px;
    font-size: 14px;
  }

  .hero-title {
    font-size: 3.2rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-feature-strip {
    width: 62%;
  }

  .testimonial-quote {

    font-size: 16px;

  }

  .footer-left {
    width: 500px;
    min-width: auto;

  }

  .about-heading {
    font-size: 26px;
    line-height: 34px;
  }

  .back-to-top {
    position: fixed;
    bottom: 115px;
    right: 10px;
    width: 40px;
    height: 40px;

  }

  .whatsapp-float {
    position: fixed;
    bottom: 56px;
    right: 7px;
    width: 45px;
    height: 45px;

  }


  .container-testimonials {

    padding: 0px 120px;
  }

  .faq-heading {

    font-size: 26px;

    line-height: 32px;

  }

}

/* 1366px Breakpoint */
@media screen and (max-width: 1366px) {
  .hero-container {
    padding: 120px 32px 90px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .feature-title {
    font-size: 13px;
  }



  .hero-title {

    line-height: 50px;
    padding-bottom: 26px;
  }

  .faq-question-btn {

    font-size: 16px;

  }
}

/* 1280px Breakpoint */
@media screen and (max-width: 1280px) {
  .hero-feature-strip {
    width: 65%;
  }

  .hero-slider-navigation {
    right: 3%;
    bottom: 115px;
  }


  .container {
    padding: 0 40px;
  }

  .faq-description {

    width: 100%;
  }


  .footer-top {
    padding: 0px 40px 0 40px;
  }

  .faq-question-btn {

    padding: 20px 10px 20px 15px;

  }

  .faq-answer-inner {
    padding-bottom: 30px;
    padding-left: 15px;
  }

  .footer-copyright {

    padding: 0 40px;

  }

  .branch-social-item h4 {

    font-size: 14px;

  }

  .footer-description {
    margin: 0;

    font-size: 14px;

    width: 100%;
  }

  .footer-email {

    font-size: 14px;

  }

  .footer-left {
    width: 400px;
    min-width: auto;
  }

  .promise-marquee-track span {

    font-size: 100px;

    line-height: 104px;

  }

  .nav-column a {

    font-size: 14px;

  }

  .quick-links h3 {

    font-size: 16px;

  }

  .branch-list a {

    font-size: 14px;
  }

  .doctor-image-wrapper {
    right: 0px;
    bottom: 18px;
    position: absolute;
    z-index: 0;
  }
}

/* 1200px Breakpoint */
@media screen and (max-width: 1200px) {
  .nav-list {
    gap: 20px;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-content {
    max-width: 580px;
  }

  .hero-feature-strip {
    width: 70%;
  }

  .branches-title span {

    font-size: 13px;

  }

  .footer-links-inner {

    gap: 50px;

  }

  .offer-slide-heading {

    font-size: 26px;

  }

  .contact-heading {

    text-align: left;

  }
}

/* 1024px Breakpoint */
@media screen and (max-width: 1100px) {
  .footer-left {
    width: 35%;
    min-width: auto;
  }

  .social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .feature-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
  }
}

/* 1024px Breakpoint */
@media screen and (max-width: 1024px) {
  .site-header {
    padding: 0 16px 0 20px;
  }

  .nav-list {
    gap: 16px;
  }

  .nav-link {
    font-size: 13px;
  }

  .btn-book-online {
    padding: 10px 18px;
    font-size: 13px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 28px;
  }

  .hero-feature-strip {
    width: 100%;
    border-top-left-radius: 0;
  }

  .hero-slider-navigation {
    bottom: 140px;
  }


  .hero-feature-strip {
    display: none;
  }

  .container-testimonials {
    padding: 0px 40px;
  }
}

/* 992px Breakpoint (Mobile / Tablet Premium Side Menu) */
@media screen and (max-width: 992px) {

  .mobile-toggle {
    display: flex;
  }

  .site-header {
    overflow: visible;
  }

  .header-wrapper.menu-open,
  .header-wrapper:has(.nav-menu.active) {
    z-index: 10000;
  }

  .doctor-grid {
    flex-direction: column;
  }

  /* Backdrop Overlay */
  .nav-backdrop {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
  }

  .nav-backdrop.active {
    opacity: 1;
    visibility: visible;
  }

  /* Premium Side Drawer Panel */
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 340px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background-color: #ffffff;
    z-index: 10001;
    padding: 24px 24px calc(20px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
  }

  .drawer-logo img {
    height: 42px;
    width: auto;
  }

  .nav-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(152, 35, 135, 0.08);
    color: #982387;
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .nav-close-btn:hover {
    background-color: #982387;
    color: #ffffff;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 20px 0;
    width: 100%;
    flex: 1;
    overflow-y: auto;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-link {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    padding: 14px 0;
    display: block;
    width: 100%;
    border-bottom: 1px solid #f7f7f7;
    transition: all 0.2s ease;
  }

  .nav-link:hover,
  .nav-link.active {
    color: #982387;
    font-weight: 600;
    padding-left: 8px;
  }

  .drawer-footer {
    display: block;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
  }

  .drawer-cta {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
  }

  /* Compact spacing for short screen heights */
  @media screen and (max-height: 700px) {
    .nav-menu {
      padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
    }
    .drawer-header {
      padding-bottom: 12px;
    }
    .nav-list {
      margin: 10px 0;
    }
    .nav-link {
      padding: 10px 0;
      font-size: 15px;
    }
    .drawer-footer {
      padding-top: 12px;
    }
  }

  .faq-container {
    display: flex;
    flex-direction: column;
  }

  .header-actions {
    display: none;
  }

  .header-flower-1,
  .header-flower-2 {
    display: none;
  }

  .hero-section {
    min-height: 800px;
  }

  .hero-container {
    padding-top: 140px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: 32px;
    line-height: 36px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 20px;
  }

  .hero-subtitle {

    padding-bottom: 20px;
  }

  .feature-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 12px;
  }

  .feature-item:nth-child(3),
  .feature-item:nth-child(4) {
    border-bottom: none;
  }


  .footer-top {

    flex-direction: column;

  }

  .footer-left {
    width: 100%;
    min-width: auto;


  }

  .footer-video {
    width: 290px;
    margin-top: 20px;
    overflow: hidden;
  }

  .footer-right {

    border-left: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
  }

  .footer-links-inner {

    padding: 0px;
  }

  .branch-social-item {

    border-right: 1px solid #e8e8e8 !important;
    border-left: 1px solid #e8e8e8 !important;

  }


  .btn-primary-appointment {

    font-size: 14px;

  }

  .btn-primary-appointment .arrow-circle {
    width: 32px;
    height: 32px;

  }

  .btn-secondary-services {

    padding: 12px 26px;

  }

  .hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 25px;
  }

  .hero-subtitle {

    margin-bottom: 0px;
  }

  .hero-section {

    align-items: end;
  }

  .hero-slider-navigation {
    bottom: 50px;
  }

  .hero-container {
    padding-bottom: 50px;
  }

  .hero-section {
    position: relative;
    width: 100%;
    height: 70vh !important;

  }

  .hero-section {
    min-height: 700px;
  }
}


/* 768px Breakpoint */
@media screen and (max-width: 768px) {
  .header-logo img {
    height: 40px;
  }

  .btn-book-online img {
    width: 16px;
    height: 16px;
  }

  .hero-section {

    padding-bottom: 50px;
    flex-direction: column;
    justify-content: end;
    align-items: baseline;
  }



  .hero-badge {
    margin: 0 auto 20px;
  }


  .hero-title {
    font-size: 2rem;
  }


  .hero-social-proof {
    display: none;
  }


  .btn-primary-appointment,
  .btn-secondary-services {

    justify-content: center;
  }

  .hero-slider-navigation {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 10px;
    justify-content: center;
    padding-left: 25px;
  }


  .social-icons img {
    width: 25px;
    height: 25px;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .branch-social-item {

    padding: 10px 8px 10px;

  }

  .faq-section {
    padding: 30px 0 !important;
  }


  .container {
    padding: 0 20px;
  }


  .footer-top {
    padding: 0px 20px 0 20px;
  }

  .footer-copyright {

    padding: 0 20px;

  }

  .social-icons {

    gap: 2px;
  }




}

/* 576px Breakpoint */
@media screen and (max-width: 576px) {
  .header-wrapper .container {
    padding: 0;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 16px 12px;
  }

  .feature-title {
    font-size: 12px;
  }

  .feature-icon-wrapper img {
    max-width: 28px;
    max-height: 28px;
  }


  .footer-links-section {

    flex-direction: column;

  }

  .footer-model img {
    width: 130px;

  }

  .footer-model {

    justify-content: left;

  }

  .branch-social-section {

    flex-direction: column;
  }

  .social-icons {
    gap: 17px;
  }

  .branch-social-section {

    border-top: 1px solid #ffffff;
  }

  .branch-social-item {
    border-right: 1px solid #ffffff !important;
    border-left: 1px solid #ffffff !important;
  }


  .promise-footer-section {

    flex-direction: column-reverse;

  }

  .social-icons img {
    width: 30px;
    height: 30px;

  }

  .branch-social-item h4 {
    font-size: 16px;
  }
}

/* 480px Breakpoint */
@media screen and (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .feature-item:last-child {
    border-bottom: none;
  }
}

/* 375px Breakpoint */
@media screen and (max-width: 375px) {
  .hero-badge {
    font-size: 12px;
    padding: 6px 14px;
  }

  .hero-title {
    font-size: 1.45rem;
  }

  .social-proof-text {
    font-size: 12px;
  }
}

/* 320px Breakpoint */
@media screen and (max-width: 320px) {
  .site-header {
    padding: 0 12px;
  }

  .header-logo img {
    height: 34px;
  }

  .hero-title {
    font-size: 1.35rem;
  }
}

/* About Us Responsive Rules */
@media screen and (max-width: 1200px) {
  .about-section {
    padding: 40px 0;
  }

  .about-grid {
    gap: 40px;
  }

  .about-heading {
    font-size: 23px;
    line-height: 34px;
  }


}

@media screen and (max-width: 768px) {
  .about-section {
    padding: 60px 0;
  }

  .about-grid {
    flex-direction: column;

    gap: 30px;
  }

  .about-content-col {
    max-width: 100%;
    position: relative;
    padding-top: 50px;
  }



  .about-heading {
    font-size: 24px;
    line-height: 32px;
  }

  /* .about-video-col {
    justify-content: center;
    width: 100%;
  } */

  .about-video-col{
    position: absolute;
    right: 10px;
    top: -25px;
  }

  .about-video {
    max-width: 115px;
  }
}

/* Doctor Profile Section Responsive Rules */
@media screen and (max-width: 1200px) {
  .doctor-section {
    padding: 60px 0;
  }

  .doctor-grid {
    gap: 40px;
  }

  .badge-trust {
    width: 110px;
    left: -20px;
  }

  .badge-years {
    width: 100px;
    right: -15px;
    bottom: -15px;
  }
}

@media screen and (max-width: 768px) {
  .doctor-section {
    padding: 50px 0;
  }

  .doctor-grid {
    flex-direction: column;
    gap: 50px;
  }

  .doctor-video-col {
    width: 100%;

  }

  .badge-trust {
    width: 100px;
    left: -15px;
  }

  .badge-years {
    width: 90px;
    right: -10px;
    bottom: -10px;
  }

  .doctor-content-col {
    width: 100%;
  }

  .feature-row {
    flex-direction: column;
    gap: 15px;
  }

  .features-row-divider {
    display: none;
  }
}

/* Services Section Responsive Rules */
@media screen and (max-width: 1200px) {
  .services-section {
    padding: 60px 0;
  }
}

@media screen and (max-width: 992px) {
  .services-heading {
    font-size: 24px;
    line-height: 28px;
  }

  .services-subheading {
    font-size: 14px;
    line-height: 22px;
  }

  .services-nav-btn {
    width: 33px;
    height: 33px;

  }
}

@media screen and (max-width: 768px) {
  .services-section {
    padding: 50px 0;
  }

  .services-header-wrapper {
    margin-bottom: 80px;
  }

  .services-navigation {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 20px;
    justify-content: center;
  }
}

/* Book Appointment Responsive Rules */
@media screen and (max-width: 1200px) {
  .booking-section {
    padding: 60px 0 80px;
  }

  .booking-card {

    padding: 25px 25px 25px 25px;

  }

  /* .doctor-image-wrapper {
    width: 170px;
    bottom: -80px;
    right: -20px;
  } */

  .btn-book-appointment {

    padding: 0 10px;
    font-size: 14px;

  }

  .custom-select-wrapper select {

    font-size: 14px;
  }
}

@media screen and (max-width: 992px) {
  .booking-card {
    padding: 30px 30px;
  }

  .doctor-image-wrapper {
    display: none;
  }

  .booking-form {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .form-group.button-group {
    grid-column: span 2;
  }

  .btn-book-appointment {
    width: 100%;
  }

  .modal-container {
    padding: 30px;
    margin: 20px;
    max-height: 85vh;
  }
}

@media screen and (max-width: 768px) {
  .booking-heading {
    font-size: 26px;
    line-height: 36px;
  }

  .booking-description {
    font-size: 14px;
    line-height: 22px;
  }

  .booking-form {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-group.button-group {
    grid-column: span 1;
  }

  .modal-form-grid-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .modal-container {
    padding: 24px;
    margin: 16px;
  }

  .modal-inner-card {
    padding: 16px;
  }
}

/* Our Experts Responsive Rules */
@media screen and (max-width: 1200px) {
  .experts-section {
    padding: 80px 0;
  }

  .experts-heading {
    font-size: 32px;
    line-height: 44px;
  }
}

@media screen and (max-width: 992px) {
  .experts-header-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
  }

  .experts-navigation {
    position: relative;
    right: auto;
    bottom: auto;
  }

  .profile-modal-container {
    max-width: 90%;
  }
}

@media screen and (max-width: 768px) {
  #profile-modal.modal-overlay {
    padding: 20px 12px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    align-items: flex-start;
  }

  .experts-heading {
    font-size: 24px;
    line-height: 34px;
  }

  .profile-modal-container {
    width: calc(100% - 24px);
    max-width: 480px;
    max-height: none;
    border-radius: 16px;
    margin: auto;
    overflow: visible;
  }

  .profile-modal-close-btn {
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .profile-modal-close-btn:hover {
    background: rgba(0, 0, 0, 0.6);
  }

  .profile-modal-header-bg {
    height: 120px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
  }

  .profile-modal-header-bg .header-bg-img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
  }

  .profile-modal-body {
    padding: 0 20px 24px;
    margin-top: -65px;
  }

  .profile-intro-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    margin-bottom: 20px;
  }

  .profile-avatar-wrapper {
    width: 125px;
    height: 150px;
    border-radius: 14px;
    border: 2px solid #EDC1DE;
    box-shadow: 0 8px 18px rgba(152, 35, 135, 0.12);
  }

  .profile-avatar-wrapper img {
    object-position: top center;
  }

  .profile-title-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding-bottom: 0;
    width: 100%;
  }

  .profile-title-col {
    padding-bottom: 0;
    text-align: center;
  }

  .profile-experience-badge {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 5px 14px;
    border-radius: 20px;
    background: #FAF5FB;
    border: 1px solid #F0E0F2;
    margin-top: 6px;
    align-self: center;
    text-align: center;
  }

  .profile-experience-badge .meta-label {
    font-size: 12px;
    font-weight: 500;
    color: #666666;
    text-transform: none;
    letter-spacing: normal;
    margin: 0;
  }

  .profile-experience-badge .meta-label::after {
    content: ":";
    margin-right: 2px;
  }

  .profile-experience-badge .meta-value {
    font-size: 13px;
    font-weight: 600;
    color: #982387;
    margin: 0;
    line-height: 1;
  }

  .profile-title-col h2 {
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 4px;
  }

  .profile-title-col p {
    font-size: 14px;
    line-height: 20px;
  }

  .profile-meta-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #FAF5FB;
    border: 1px solid #F0E0F2;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    align-items: start;
  }

  .profile-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .meta-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #982387;
  }

  .meta-value {
    font-size: 14px;
    font-weight: 500;
    color: #222222;
    line-height: 1.4;
  }

  .profile-meta-divider {
    display: block;
    width: 100%;
    height: 1px;
    background: #E8D4ED;
  }

  .profile-expertise-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .profile-about-section {
    margin-bottom: 24px;
  }

  .profile-about-section h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .profile-about-section p {
    font-size: 14px;
    line-height: 22px;
  }

  .profile-action-row {
    justify-content: center;
  }

  .btn-profile-book-appointment {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(152, 35, 135, 0.2);
  }
}

/* @media screen and (min-width: 576px) and (max-width: 768px) {
  .profile-meta-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    text-align: center;
    padding: 16px;
  }

  .profile-meta-item {
    align-items: center;
  }

  .profile-meta-divider {
    display: block;
    width: 1px;
  }
} */

/* Doctor Profile Modal Small-Height Adaptations (Tablets / Laptops / Landscape) */
@media screen and (max-height: 620px) {
  .profile-modal-header-bg {
    height: 100px;
  }

  .profile-modal-body {
    padding: 0 20px 20px;
    margin-top: -50px;
  }

  .profile-avatar-wrapper {
    width: 110px;
    height: 130px;
    border-radius: 12px;
  }

  .profile-intro-row {
    margin-bottom: 16px;
  }

  .profile-meta-grid {
    padding: 12px 16px;
    margin-bottom: 18px;
  }

  .profile-about-section {
    margin-bottom: 18px;
  }
}



/* Offers Section Responsive Rules */
@media screen and (max-width: 1200px) {
  .offers-section {
    padding: 80px 0;
  }

  .offer-slide {
    min-height: 340px;
    padding: 30px 24px;
  }

  .offer-slide-heading {
    font-size: 24px;
  }

  .offer-slide-content {
    max-width: 70%;
  }


}

@media screen and (max-width: 992px) {
  .offers-header {
    gap: 30px;
  }

  .offers-heading {
    font-size: 28px;
    line-height: 38px;
  }

  .offers-description {
    font-size: 14px;
    line-height: 24px;
  }

  .offer-slide {
    background: url(../images/home/bg-slide.webp) no-repeat left;

  }

  .contact-heading {
    font-size: 24px !important;
  }


  .contact-centers-header {

    padding-top: 50px;
  }
}

@media screen and (max-width: 768px) {
  .offers-section {
    padding: 60px 0;
  }

  .contact-section {
    padding: 50px 0;
  }


  .offers-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin-bottom: 35px;
  }

  .offers-header-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .offers-description {
    text-align: center;
  }

  .offer-slide {
    min-height: 300px;
    padding: 40px 30px;
    justify-content: center;
  }

  .offer-slide-content {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .offer-slide-heading {
    font-size: 26px;
  }

  .offer-slide-description {
    font-size: 14px;
  }
}

/* Testimonials Section Responsive Rules */
@media screen and (max-width: 1200px) {
  .testimonials-section {
    padding: 80px 0;
  }

  .testimonial-slide-left {
    flex: 0 0 240px;
  }

  .testimonial-slide-right {
    padding: 30px;
  }

  .testimonial-quote {
    font-size: 18px;
    line-height: 28px;
  }
}

@media screen and (max-width: 992px) {
  .testimonials-heading {
    font-size: 28px;
    line-height: 38px;
  }

  .testimonials-subheading {
    font-size: 14px;
    line-height: 24px;
  }

  .testimonial-slide-left {
    flex: 0 0 200px;
  }

  .testimonial-slide-right {
    padding: 24px;
  }

  .testimonial-quote {
    font-size: 16px;
    line-height: 24px;
  }

  .doctor-section {
    padding: 40px 0;
  }

  .faq-accordion {

    border-right: 1px solid #F5CEE8;

  }
}

@media screen and (max-width: 768px) {
  .testimonials-section {
    padding: 60px 0;
  }

  .testimonials-header {
    margin-bottom: 35px;
  }

  .testimonials-heading {
    font-size: 24px;
    line-height: 34px;
  }

  /* .testimonial-slide-inner {
    flex-direction: column;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #F3EDF5;
    box-shadow: 0px 10px 30px rgba(152, 35, 135, 0.03);
  } */

  /* .testimonial-slide-left {
    flex: 0 0 auto;
    width: 100%;
    height: 240px;
    border-radius: 12px 12px 0 0;
  } */

  /* .testimonial-slide-right {
    width: 100%;
    border-radius: 0 0 12px 12px;
    border: none;
    box-shadow: none;
    padding: 30px 20px;
    align-items: center;
    text-align: center;
  } */

  .testimonial-card-decor {
    height: 60px;
  }


  .testimonial-quote {
    font-size: 14px;
    line-height: 18px;
  }

  .testimonial-text-wrapper {
    padding: 0 10px;
  }

  .testimonial-quote {
    font-size: 14px;
    line-height: 24px;
  }

  .container-testimonials {
    padding: 0px 20px;
  }

  .booking-card {
    padding: 20px 15px;
  }

  .faq-left-col {

    padding-top: 5px;
  }

  .contact-heading {
    text-align: left;

    font-size: 32px;

    line-height: 32px;
  }


  .contact-description {

    width: 100%;

  }
}

@media screen and (max-width: 500px) {
  .testimonial-slide-inner {
    flex-direction: column;
  }

  .testimonial-patient-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .about-heading {
    font-size: 20px;
    line-height: 30px;
  }

  .services-header-wrapper {
    margin-bottom: 5px;
  }

  .services-swiper {
    width: 100%;
    padding: 10px 0 5px;
  }

  .booking-heading {
    font-size: 22px;
    line-height: 36px;
  }

  .booking-section {
    padding: 50px 0 40px;
  }

  .experts-section {
    padding: 50px 0;
  }

  .experts-heading {
    font-size: 18px;
    line-height: 28px;
  }

  .experts-header-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
  }

  .experts-swiper {
    width: 100%;
    padding: 10px 0 10px;
    overflow: visible;
  }

  .offers-heading {
    font-size: 22px;
    line-height: 38px;
  }

  .offers-section {
    padding: 40px 0;
  }

  .offers-badge {

    margin-bottom: 10px;
  }

  .offers-header {

    gap: 6px;

  }

  .promises-heading {
    font-size: 24px;
  }

  .promises-badge {

    padding: 4px 14px;

  }

  .promises-counter-number {
    font-size: 24px;
  }

  .testimonials-section {
    padding: 40px 0;
  }

  .faq-badge {

    margin-bottom: 5px;
  }

  .about-section {
    padding: 40px 0;
  }

  .btn-secondary-services {

    font-size: 14px;

  }

  .btn-primary-appointment {
    padding: 5px 7px 5px 9px;
  }

  .hero-title {

    padding-bottom: 9px;
  }

  .hero-badge {
    margin: 0 auto 8px;
  }

  .btn-secondary-services {
    padding: 12px 14px;
  }

  .container {
    padding: 0 10px;
  }

  .side-container {

    padding: 0 10px;
  }

  .promises-counters-grid {
    gap: 10px;
  }

  .container-testimonials {
    padding: 0px 10px;
  }

  .footer-top {
    padding: 0px 10px 0 10px;
  }

  .branch-social-item {
    padding: 10px 0px 9px;
  }

  .footer-copyright p {

    line-height: 20px;
    padding: 5px 0px;
  }

  .footer-copyright {
    padding: 0 10px;
  }

}

/* ==========================================================================
   Premium Bottom Navigation Bar Styles (<= 992px)
   ========================================================================== */
.bottom-nav-bar {
  display: none;
}

@media screen and (max-width: 992px) {
  .bottom-nav-bar {
    display: block;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 400px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(152, 35, 135, 0.1) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1.5px solid rgba(152, 35, 135, 0.2);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(152, 35, 135, 0.15), 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 8px 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Safe area support for newer iOS/Android devices */
  @supports (padding-bottom: env(safe-area-inset-bottom)) {
    .bottom-nav-bar {
      bottom: calc(20px + env(safe-area-inset-bottom));
    }
  }

  .bottom-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
  }

  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 16px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    max-width: 120px;
    cursor: pointer;
  }

  .bottom-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .bottom-nav-icon svg {
    display: block;
    width: 24px;
    height: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .bottom-nav-label {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #666666;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Interaction and highlight states */
  .bottom-nav-item:hover,
  .bottom-nav-item:focus {
    background: rgba(152, 35, 135, 0.06);
  }

  .bottom-nav-item.active {
    background: rgba(152, 35, 135, 0.1);
  }

  .bottom-nav-item.active .bottom-nav-icon svg {
    transform: scale(1.15) translateY(-2px);
  }

  .bottom-nav-item.active .bottom-nav-label {
    color: #982387;
    font-weight: 700;
  }

  /* Ensure footer has extra space so navbar doesn't cover last elements */
  body {
    padding-bottom: 85px !important;
  }


  .back-to-top {

    bottom: 140px;

  }

  .whatsapp-float {
    position: fixed;
    bottom: 80px;

  }
}

/* Adjustments for smaller mobile screens */
@media screen and (max-width: 480px) {
  .bottom-nav-bar {
    width: calc(100% - 32px);
    bottom: 16px;
    padding: 6px 10px;
  }

  @supports (padding-bottom: env(safe-area-inset-bottom)) {
    .bottom-nav-bar {
      bottom: calc(12px + env(safe-area-inset-bottom));
    }
  }

  .bottom-nav-item {
    padding: 6px 12px;
    gap: 2px;
  }

  .bottom-nav-icon svg {
    width: 20px;
    height: 20px;
  }

  .bottom-nav-label {
    font-size: 11px;
  }
}

/* ==========================================================================
   Services Banner Responsive Adjustments
   ========================================================================== */
@media screen and (max-width: 992px) {
  .services-banner {
    min-height: auto;
    padding-top: 130px;
    padding-bottom: 60px;
    align-items: flex-start;
    background-position: 70% center;
  }

  .services-banner::before,
  .services-banner.white-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.7) 55%,
      rgba(255, 255, 255, 0) 100%
    );
    z-index: 1;
    pointer-events: none;
  }

  .services-banner.pink-overlay::before {
    background: linear-gradient(
      to right,
      rgba(152, 35, 135, 0.92) 0%,
      rgba(152, 35, 135, 0.7) 55%,
      rgba(152, 35, 135, 0) 100%
    );
  }

  .services-banner-container {
    padding-top: 0;
    position: relative;
    z-index: 2;
  }

  .services-banner-title {
    font-size: 32px;
    line-height: 40px;
  }
}

@media screen and (max-width: 768px) {
  .services-banner {
    padding-top: 115px;
    padding-bottom: 50px;
    background-position: 80% center;
  }

  .services-banner-title {
    font-size: 28px;
    line-height: 36px;
  }

  .services-banner-desc {
    font-size: 14px;
    line-height: 22px;
  }
}

@media screen and (max-width: 480px) {
  .services-banner {
    padding-top: 105px;
    padding-bottom: 40px;
    background-position: 85% center;
  }

  .services-banner-title {
    font-size: 24px;
    line-height: 32px;
  }

  .services-banner-badge {
    padding: 6px 12px;
    margin-bottom: 14px;
  }
}

/* ==========================================================================
   Departments Grid Responsive Adjustments
   ========================================================================== */
@media screen and (max-width: 1440px) {
    .departments-grid {grid-template-columns: repeat(3, 1fr);}
}

@media screen and (max-width: 992px) {
  .departments-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .departments-grid-section {
    padding: 60px 0;
  }
}

@media screen and (max-width: 576px) {
  .departments-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .departments-grid-section {
    padding: 40px 0;
  }
  
  .department-card-img-wrapper {
    height: 200px;
  }
}

/* ==========================================================================
   Services Drawer Responsive Adaptations
   ========================================================================== */
@media screen and (max-width: 768px) {
  .services-drawer {
    width: 460px;
  }

  .services-drawer-close {
    left: auto;
    right: 20px;
    top: 20px;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  .services-drawer-body {
    padding: 24px 28px 60px 28px;
  }

  .services-drawer-img-container {
    height: 220px;
    max-height: 30vh;
    flex-shrink: 0;
  }
}

@media screen and (max-width: 480px) {
  .services-drawer {
    width: 100%;
  }

  .services-drawer-close {
    right: 16px;
    top: 16px;
  }

  .services-drawer-body {
    padding: 20px 20px 80px 20px;
    gap: 16px;
  }

  .services-drawer-img-container {
    height: 170px;
    max-height: 25vh;
    flex-shrink: 0;
  }

  .drawer-treatment-details {
    padding: 16px 12px;
  }

  .treatment-col {
    gap: 4px;
  }

  .treatment-label {
    font-size: 9px;
  }

  .treatment-value {
    font-size: 11px;
  }
}

/* ==========================================================================
   Doctors Page Responsive Adjustments
   ========================================================================== */
@media screen and (max-width: 1800px) {
  .doctors-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

@media screen and (max-width: 1300px) {
  .doctors-grid-section {
    padding: 60px 0;
  }

  .doctors-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  /* .doctor-card-img-wrapper {
    height: 230px;
  } */
}

@media screen and (max-width: 992px) {
  .doctors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media screen and (max-width: 768px) {
  .doctors-grid-section {
    padding: 50px 0;
  }



  /* .doctor-card-img-wrapper {
    height: 210px;
  } */

  .doctor-card-info {
    padding: 14px;
  }

  .doctor-card-name {
    font-size: 15px;
  }

  .doctor-card-specialty {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .doctor-card-info .btn-view-profile {
    padding: 9px 12px;
    font-size: 13px;
  }
}

@media screen and (max-width: 480px) {
  .doctors-grid-section {
    padding: 40px 0;
  }

  .doctors-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* .doctor-card-img-wrapper {
    height: 260px;
  } */
}

/* ==========================================================================
   Offers Page Responsive Adjustments
   ========================================================================== */
@media screen and (max-width: 992px) {
  .offers-page-section {
    padding: 60px 0;
  }

  .offers-grid-container {
    gap: 24px;
    margin-top: 30px;
  }

  .offer-grid-card {
    padding: 40px 30px;
    min-height: 360px;
  }

  .offer-grid-card .offer-slide-content {
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .offers-page-section {
    padding: 50px 0;
  }

  .offer-grid-card {
    padding: 30px 20px;
    min-height: auto;
  }
  .offer-buttons{
      flex-wrap: wrap;
      gap: 10px;
      display:flex;
      justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .offers-page-section {
    padding: 40px 0;
  }
}