/* ========================================
   Responsive Styles - Mobile First
   ======================================== */

/* ----------------------------------------
   Tablet (768px and up)
   ---------------------------------------- */
@media (min-width: 768px) {
  /* Header */
  .header__inner {
    height: var(--header-height);
  }

  .header__login {
    display: block;
  }

  .header__cta {
    display: inline-flex;
  }

  /* Hero */
  .hero {
    padding: var(--space-12) 0;
  }

  /* Hero Carousel - Tablet/Desktop */
  .hero-card {
    min-height: 330px;
  }

  .hero-card__content {
    padding: var(--space-8);
  }

  /* Why Us */
  .why-us__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }

  .why-us__collage {
    max-width: 100%;
  }

  .why-us__content {
    text-align: left;
  }

  .why-us__subtitle {
    font-size: 30px;
  }

  .why-us__vector {
    width: 26px;
  }

  .why-us__vector--top-right {
    top: -12px;
    right: 0;
  }

  .why-us__vector--bottom-left {
    bottom: 5px;
    left: -35px;
  }

  .why-us__features {
    justify-content: flex-start;
  }

  /* Customer Stories */
  .customer-stories__wrapper {
    height: 266px;
    border-radius: 60px 40px 150px 60px;
  }

  .customer-stories__grid {
    grid-template-columns: 375px 1fr;
  }

  .customer-stories__media {
    width: 375px;
    height: 100%;
    border-radius: 60px 60px 0 60px;
  }

  /* Therapist Grid - Tablet */
  .therapists__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }

  /* Blog Grid - Tablet */
  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 2fr 1fr;
    gap: var(--space-10);
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ----------------------------------------
   Desktop (1024px and up)
   ---------------------------------------- */
@media (min-width: 1024px) {
  /* Header */
  .header__nav {
    display: flex;
    align-items: center;
  }

  .header__menu-btn {
    display: none;
  }

  /* Blog Grid - Desktop */
  .blog__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
  }
}

/* ----------------------------------------
   Small Laptop / MacBook 13" (1024px - 1279px)
   ---------------------------------------- */

@media (min-width: 1024px) and (max-width: 1879px) {
  .therapists__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
  }

  .therapist-card__image-wrapper {
    height: 240px;
  }

   }


@media (min-width: 1024px) and (max-width: 1379px) {
  /* Container */
  .container {
    max-width: 960px;
  }

  /* Hero */
  .hero-card {
    min-height: 320px;
  }

  .hero-card__content {
    width: 58%;
    padding: var(--space-6);
  }

  .hero-card__name {
    font-size: var(--font-size-xl);
  }

  .hero-card__text {
    font-size: var(--font-size-sm);
  }

  .hero-card__image {
    height: 105%;
  }

  /* Services */
  .service-card {
    min-height: 180px;
    padding: var(--space-5);
  }

  .service-card__icon {
    height: 40px;
  }

  .service-card__title {
    font-size: 26px;
  }

  /* Therapist Grid - 3 columns for smaller laptops */

  /* Why Us */
  .why-us__subtitle {
    font-size: 26px;
  }

  .why-us__description {
    font-size: var(--font-size-base);
  }

  /* Customer Stories */
  .customer-stories__wrapper {
    max-width: 960px;
    height: 240px;
  }

  .customer-stories__grid {
    grid-template-columns: 320px 1fr;
  }

  .customer-stories__media {
    width: 320px;
  }

  .customer-stories__title {
    font-size: var(--font-size-xl);
  }

  .customer-stories__description {
    font-size: var(--font-size-sm);
  }

  /* Blog */
  .blog__grid {
    gap: var(--space-6);
  }

  .blog-card__cta {
    width: 100px;
    height: 100px;
  }

  /* Footer */
  .footer__grid {
    gap: var(--space-6);
  }
}

/* ----------------------------------------
   Large Desktop (1280px and up)
   ---------------------------------------- */
@media (min-width: 1280px) {
  .hero-card__content {
    width: 55%;
  }

  .hero-card__image {
    height: 110%;
  }

  /* Therapist Grid - 4 columns for larger screens */
 
}
@media (min-width: 1780px) {
   .therapists__grid {
    grid-template-columns: repeat(4, 1fr);
  }
 
}

/* ----------------------------------------
   Mobile specific (below 768px)
   ---------------------------------------- */
@media (max-width: 767px) {
  /* Offer Banner - Marquee */
  .offer-banner {
    overflow: hidden;
    padding: var(--space-1) 0;
  }

  .offer-banner .container {
    padding: 0;
    max-width: 100%;
  }

  .offer-banner__text {
    white-space: nowrap;
    display: inline-block;
    padding-left: 100%;
    animation: marquee 12s linear infinite;
    font-size: 12px;
  }

  /* Header */
  .header__inner {
    height: var(--header-height-mobile);
  }

  /* Hero Carousel - Mobile */
  .hero__carousel {
    padding-top: var(--space-8);
  }

  .carousel__track {
    gap: var(--space-4);
  }

  .carousel__dots {
    margin-top: var(--space-3);
  }

  .hero-card__image {
   
    height: 105%;
  }

  /* Services */
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }

  .service-card {
    min-height: 105px;
    padding: var(--space-4);
  }

  .service-card__icon {
    height: 36px;
  }

  .service-card__title {
    font-size: 22px;
  }

  /* Therapy Container */
  .therapy-container {
    width: 100%;
  }

  /* Therapist Grid */
  .therapists__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .therapist-card__image-wrapper {
    height: 240px;
  }

  /* Blog Grid */
  .blog__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  /* Blog Card - Mobile */
  .blog-card__cta {
    width: 100px;
    height: 100px;
  }

  .blog-card__cta-icon {
    width: 24px;
    height: 24px;
  }

  /* Customer Stories - Mobile */
  .customer-stories__wrapper {
    height: auto;
    margin-bottom: -100px;
    border-radius: 40px 30px 80px 40px;
  }

  .customer-stories__grid {
    grid-template-columns: 1fr;
  }

  .customer-stories__media {
    width: 100%;
    height: 200px;
    border-radius: 40px 40px 0 40px;
  }

  .footer {
    padding-top: calc(100px + var(--space-12));
  }

  /* Footer */
  .footer__conditions-grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------
   Small Mobile (below 480px)
   ---------------------------------------- */
@media (max-width: 479px) {
  .hero-card {
    min-height: 200px;
  }

  .why-us__vector--bottom-left {
    bottom: 2px;
    left: 76px;
}

.why-us__vector--top-right {
    top: -10px;
    right: 20px;
}

.why-us__description{
  font-size: 17px;
}

.why-us__features{
  margin-top: 10px;
}
  .btn{
    font-size: 12px;
  }

  .hero-card{
    border-radius: 20px;
  }

  .why-us__collage{
    width: 90%;
  }

  .hero-card__badge{
    font-size: 10px;
  }

  .btn--secondary{
    height: 33px;
  }

  .hero-card__content {
    width: 65%;
    padding: var(--space-4);
  }

  .hero-card__text{
    font-size: 12px;
  }

  .hero-card__name {
    font-size: var(--font-size-xl);
  }

  .hero{
    padding: 0;
  }

  .hero-card__image {
   
    height: 110%;
  }

  .hero-card__time {
    right: var(--space-4);
    bottom: var(--space-4);
    padding: var(--space-1) var(--space-3);
    font-size: 12px;
  }

  .carousel__dot{
    width: 8px;
    height: 8px;
  }

  .carousel__dot--active{
    width: 14px;
  }

  .services__grid {
    gap: var(--space-3);
  }

  .service-card {
    min-height: 120px;
    padding: var(--space-3);
    border-radius: 20px;
  }

  .service-card__icon {
    height: 22px;
  }

  .service-card__title {
    font-size: 14px;
  }

  .therapists__grid {
    gap: var(--space-3);
  }

  .therapist-card__body {
    padding: var(--space-3);
  }

  .customer-stories__content {
    padding: var(--space-6);
  }

  .customer-stories__quote {
    font-size: var(--font-size-xl);
  }

  /* Blog Card - Small Mobile */
  .blog-card__cta {
    width: 100px;
    height: 100px;
  }

  .blog-card__cta-icon {
    width: 24px;
    height: 24px;
  }
}
