/* ==========================================================================
   Dr. Tuhin Ray - Dedicated Responsive Media Queries
   File: responsive.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   Large Desktop Screens (1200px and up)
   -------------------------------------------------------------------------- */
@media (min-width: 1200px) {
  .container {
    max-width: 1240px;
  }

  .review-carousel-item {
    flex: 0 0 calc((100% - 3rem) / 3);
  }

  .review-card {
    padding: 2.25rem 2rem 2rem;
  }
}

/* --------------------------------------------------------------------------
   Laptops & Small Desktop Screens (992px to 1199.98px)
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) and (min-width: 992px) {
  .review-carousel-item {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }

  .specialty-image-wrapper {
    height: 200px;
  }

  .hero-media-wrapper {
    max-width: 440px;
  }
}

/* --------------------------------------------------------------------------
   Medium Screens & Tablets (< 992px)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  /* Mobile Menu Activation */
  .desktop-nav {
    display: none !important;
  }

  .hamburger-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .hero-media-wrapper {
    margin-top: 2.5rem;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-image-wrapper {
    margin-bottom: 2rem;
  }

  .credentials-image-wrapper {
    min-height: 280px;
    margin-top: 1.5rem;
  }

  .contact-info-panel {
    margin-bottom: 2rem;
  }

  .sticky-cta-card {
    position: static !important;
    margin-top: 2rem;
  }

  /* Review carousel on tablets */
  .review-carousel-item {
    flex: 0 0 calc((100% - 1.25rem) / 2);
  }

  .reviews-header-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
  }

  .reviews-nav-controls {
    align-self: flex-start;
  }
}

/* --------------------------------------------------------------------------
   Standard Mobile Screens (< 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  :root {
    --header-height: 68px;
  }

  /* Compact balanced padding so mobile doesn't feel oversized */
  .section-padding {
    padding-top: clamp(38px, 6vw, 55px);
    padding-bottom: clamp(38px, 6vw, 55px);
  }

  .hero-section {
    padding-top: 25px;
    padding-bottom: 45px;
  }

  /* Fluid Headings for Mobile */
  .hero-heading {
    font-size: clamp(1.85rem, 6.5vw, 2.35rem);
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .section-title {
    font-size: clamp(1.5rem, 5.5vw, 1.95rem);
    line-height: 1.25;
    margin-bottom: 0.75rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .hero-supporting {
    font-size: 0.975rem;
    line-height: 1.55;
    margin-bottom: 1.35rem;
  }

  /* Compact Hero Highlights */
  .hero-highlights {
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .highlight-pill {
    font-size: 0.775rem;
    padding: 0.4rem 0.75rem;
  }

  /* Hero Media on Mobile */
  .hero-portrait-img {
    height: 340px;
  }

  .floating-info-card {
    position: static;
    margin-top: 1rem;
    padding: 0.85rem 1.15rem;
    box-shadow: var(--shadow-md);
  }

  .floating-icon-box {
    width: 40px;
    height: 40px;
    font-size: 1.05rem;
  }

  .floating-number {
    font-size: 1.15rem;
  }

  .floating-label {
    font-size: 0.72rem;
  }

  .hero-frame-backdrop {
    display: none;
  }

  /* Compact Cards */
  .specialty-image-wrapper {
    height: 190px;
  }

  .specialty-body {
    padding: 1.25rem;
  }

  .specialty-title {
    font-size: 1.15rem;
  }

  .why-consult-card {
    padding: 1.35rem 1.15rem;
  }

  .why-icon-box {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    margin-bottom: 0.85rem;
  }

  .why-card-title {
    font-size: 1.05rem;
  }

  .process-step-card {
    padding: 1.45rem 1.25rem;
  }

  .step-title {
    font-size: 1.15rem;
  }

  .credentials-box {
    padding: 1.5rem 1.25rem;
  }

  .credential-item {
    gap: 0.9rem;
    padding-bottom: 1.15rem;
  }

  .credential-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .credential-info h4 {
    font-size: 1.05rem;
  }

  .about-portrait-img {
    height: 300px;
  }

  .experience-corner-badge {
    padding: 0.75rem 1rem;
    bottom: 12px;
    left: 12px;
  }

  .badge-number {
    font-size: 1.45rem;
  }

  /* Form & Interactive elements */
  .enquiry-form-card {
    padding: 1.35rem 1.15rem;
  }

  .form-title {
    font-size: 1.25rem;
  }

  .contact-card-box {
    gap: 0.85rem;
    margin: 1.25rem 0;
  }

  .contact-item-card {
    padding: 0.95rem 1.15rem;
  }

  .faq-trigger {
    padding: 1.1rem 1.25rem;
    font-size: 0.95rem;
  }

  .faq-chevron {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .faq-panel-inner {
    padding: 0 1.25rem 1.15rem;
    font-size: 0.9rem;
  }

  .cta-banner-title {
    font-size: 1.65rem;
  }

  .cta-banner-text {
    font-size: 0.95rem;
  }

  /* Treatment Details on Mobile */
  .treatment-main-img {
    height: 240px;
  }

  .treatment-article h2 {
    font-size: 1.4rem;
  }

  .treatment-article p {
    font-size: 0.95rem;
  }

  .sticky-cta-card {
    padding: 1.45rem 1.25rem;
  }

  /* Page Hero Banner on Mobile */
  .page-hero-banner {
    padding: 50px 0 40px;
  }

  .page-hero-badge {
    font-size: 0.725rem;
    padding: 0.3rem 0.85rem;
    margin-bottom: 0.75rem;
  }

  .page-hero-title {
    font-size: clamp(1.65rem, 5.5vw, 2.15rem);
  }

  .page-hero-subtitle {
    font-size: 0.925rem;
    margin-bottom: 1.15rem;
  }

  .page-breadcrumb {
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
  }

  /* Mobile Review Carousel Item Width */
  .review-carousel-item {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }

  .review-card {
    padding: 1.65rem 1.35rem 1.45rem !important;
  }

  .review-card-top {
    margin-bottom: 0.85rem;
  }

  .review-text {
    font-size: 0.925rem;
    line-height: 1.6;
    margin-bottom: 1.35rem;
  }

  .patient-avatar-badge {
    width: 42px;
    height: 42px;
    font-size: 0.85rem;
  }

  .patient-name {
    font-size: 0.975rem;
  }

  .patient-condition {
    font-size: 0.75rem;
  }

  .review-nav-btn {
    width: 42px;
    height: 42px;
    font-size: 0.9rem;
  }
}

/* --------------------------------------------------------------------------
   Extra Small Mobile Screens (< 420px)
   -------------------------------------------------------------------------- */
@media (max-width: 419.98px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn-custom {
    width: 100%;
  }

  .cta-buttons-group {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons-group .btn-custom {
    width: 100%;
  }

  .btn-custom {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }

  .brand-badge {
      
  }

  .doctor-name {
    font-size: 1.1rem;
  }

  .doctor-subtitle {
    font-size: 0.68rem;
  }

  .review-carousel-item {
    flex: 0 0 92%;
  }
}
