/* ==========================================================================
   LEARN TO TALK - Responsive Stylesheet
   Full cross-device support from 320px mobile to 1920px Full HD
   ========================================================================== */

/* Container and Max Widths */
.container,
.container-lg,
.container-xl,
.container-xxl {
  max-width: 1240px;
  padding-left: clamp(1rem, 3vw, 1.75rem);
  padding-right: clamp(1rem, 3vw, 1.75rem);
}

/* Base Responsive Fixes */
html, body {
  width: 100%;
  overflow-x: hidden;
}

/* Desktop & Large Desktop (1440px - 1920px) */
@media (min-width: 1400px) {
  .hero-image-container img {
    /*height: 520px;*/
  }
  .therapist-profile__photo {
    /*height: 480px;*/
  }
  .section-py {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
  }
}

/* Laptops & Standard Desktops (1200px - 1399px) */
@media (max-width: 1399.98px) {
  .hero-image-container img {
    /*height: 480px;*/
  }
  .therapist-profile__photo {
    /*height: 440px;*/
  }
}

/* Small Desktops & Landscape Tablets (992px - 1199px) */
@media (max-width: 1199.98px) {
  .nav-link-custom {
    padding: 0.5rem 0.65rem !important;
    font-size: 0.95rem;
  }
  .hero-image-container img {
    /*height: 430px;*/
  }
  .therapist-profile__photo {
    /*height: 400px;*/
  }
  .hero-floating-card {
    padding: 0.9rem 1.25rem;
    bottom: -15px;
    left: -10px;
  }
}

/* Tablets & Down (Below 992px) */
@media (max-width: 991.98px) {
  .site-header {
    padding: 0.65rem 0;
  }

  .site-logo {
    height: 48px;
  }

  /* Mobile Navbar / Offcanvas Styling */
  .navbar-collapse {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 36px rgba(16, 38, 77, 0.14);
    padding: 1.5rem;
    margin-top: 1rem;
    border: 1px solid var(--color-border);
  }

  .nav-link-custom {
    padding: 0.75rem 1rem !important;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
  }

  .nav-link-custom:hover,
  .nav-link-custom.active {
    background-color: var(--color-primary-soft);
  }

  .nav-link-custom::after {
    display: none;
  }

  .navbar-nav .btn-ltt-primary {
    width: 100%;
    margin-top: 0.75rem;
    text-align: center;
  }

  .hero-section {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
  }

  .hero-image-wrapper {
    margin-top: 2.5rem;
  }

  .hero-image-container img {
    /*height: 380px;*/
  }

  .hero-floating-card {
    position: static;
    margin-top: 1rem;
    width: 100%;
  }

  /* Therapist Profile on Tablet */
  .therapist-profile__image-box {
    margin-bottom: 2rem;
  }

  .therapist-profile__photo {
    /*height: 380px;*/
  }

  .therapist-portrait-card {
    position: static;
    margin-bottom: 2rem;
  }

  /* Timeline & Process Cards */
  .timeline-step-card {
    margin-bottom: 1.5rem;
  }

  /* Appointment form two columns stack nicely */
  .appointment-layout-row {
    flex-direction: column-reverse;
  }

  .appointment-info-card {
    margin-top: 2rem;
  }
}

/* Mobile Devices (Below 768px) */
@media (max-width: 767.98px) {
  .section-py {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .hero-image-container img {
    /*height: 300px;*/
  }

  .therapist-profile__photo {
    /*height: 330px;*/
  }

  .therapist-portrait-img {
    /*height: 320px;*/
  }

  .trust-badges-row {
    flex-direction: column;
    gap: 0.65rem;
  }

  .trust-badge-item {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-cta-btns {
    flex-direction: column;
    gap: 0.75rem !important;
  }

  .hero-cta-btns .btn-ltt-primary,
  .hero-cta-btns .btn-ltt-secondary {
    width: 100%;
    text-align: center;
  }

  .cta-banner {
    padding: 2.5rem 1.5rem;
    text-align: center;
  }

  .cta-banner .cta-buttons-wrapper {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .cta-banner .cta-buttons-wrapper a {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    text-align: center;
    margin-top: 2.5rem;
  }

  .floating-actions {
    bottom: 20px;
    right: 20px;
  }

  .btn-float {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }
}

/* Small Screen Mobiles (320px - 480px) */
@media (max-width: 480px) {
  body {
    font-size: 0.98rem;
  }

  .site-logo {
    height: 44px;
  }

  .hero-image-container img {
    /*height: 250px;*/
  }

  .therapist-profile__photo {
    /*height: 280px;*/
  }

  .therapist-portrait-img {
    /*height: 270px;*/
  }

  .card-ltt,
  .service-card,
  .feature-box,
  .timeline-step-card,
  .therapist-profile {
    padding: 1.75rem 1.25rem;
  }

  .accordion-ltt .accordion-button {
    font-size: 1.05rem;
    padding: 1.15rem 1.25rem;
  }

  .accordion-ltt .accordion-body {
    padding: 1.15rem 1.25rem;
    font-size: 0.95rem;
  }

  .badge-eyebrow {
    font-size: 0.72rem;
    padding: 0.35rem 0.75rem;
  }
}

/* Reduced Motion Mode */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
