/* ================================================= */
/* Extra Large Screens (1200px – 1345px)             */
/* ================================================= */
@media screen and (min-width: 1200px) and (max-width: 1345px) {
  .reason-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "gallery-one gallery-two"
      "quote-one quote-two";
  }
}

/* ================================================= */
/* Large Screens (<= 1200px)                          */
/* ================================================= */
@media (max-width: 1200px) {
  .reason-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "gallery-one gallery-two"
      "quote-one quote-two";
  }

  .gallery-one img,
  .gallery-two img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
  }

  .quote-one,
  .quote-two {
    padding: 16px;
  }

  .quote-one .first-p,
  .quote-two .first-p {
    font-size: 1.4rem;
  }

  .second-p {
    font-size: 1.1rem;
  }

   .session-detail-layout {
    gap: 20px;
  }
}

/* ================================================= */
/* Medium Screens (<= 992px)                          */
/* ================================================= */
@media (max-width: 992px) {
  html {
    font-size: 15px;
  }

  .hero-section {
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    text-align: center;
  }

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

  .hero-description {
    font-size: 1.3rem;
  }

  .hero-img {
    justify-content: center;
  }

  .hero-information {
    align-items: center;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .hero-buttons button {
    width: 100%;
  }

  .reason-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "gallery-one gallery-two"
      "quote-one quote-two";
  }

  .gallery-two img {
    height: 100%;
  }

  .session-detail-layout {
    gap: 16px;
  }
}

/* ================================================= */
/* Small Screens (<= 768px)                           */
/* ================================================= */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .reason-gallery {
    grid-template-columns: 1fr;
    grid-template-areas:
      "gallery-one"
      "gallery-two"
      "quote-one"
      "quote-two";
    gap: 16px;
  }

  .gallery-one img,
  .gallery-two img {
    width: 100%;
    height: auto;
    border-radius: 16px;
  }

  .quote-one,
  .quote-two {
    padding: 16px;
  }

  .quote-one .first-p,
  .quote-two .first-p {
    font-size: 1.4rem;
  }

  .second-p {
    font-size: 1.1rem;
  }

  .hero-img-hover-image {
    width: 400px;
    height: 400px;
  }

  .feature-card {
    width: 100%;
  }
   .session-detail-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "price"
      "header"
      "details"
      "about"
      "host";
  }

  .session-header-image img {
    height: 250px !important;
  }
  
}

/* ================================================= */
/* Extra Small Screens (<= 576px)                     */
/* ================================================= */
@media (max-width: 576px) {
  .hero-img-hover-image {
    width: 350px;
    height: 350px;
  }

  .about-section {
    padding: 48px 12px;
  }

  .about-section .hero-img img {
    width: 350px;
  }

  .content-right li {
    font-size: 12px;
    padding: 10px 4px;
  }

  .section-content .content-left button {
    font-size: 12px;
  }
}

/* ================================================= */
/* Button Spacing Fix (993px – 1065px)                */
/* ================================================= */
@media screen and (min-width: 993px) and (max-width: 1065px) {
  .btn {
    padding: 4px 6px;
  }

  .hero-buttons {
    gap: 22px;
  }
}

/* ================================================= */
/* Very Small Phones (<= 475px)                       */
/* ================================================= */
@media (max-width: 475px) {

  body {
    margin: 0 12px;
  }

  /* ---------- NAVBARS ---------- */
  .nav-bar-social {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }

  .call {
    gap: 12px;
    justify-content: center;
    font-size: 13px;
  }

  .second-nav {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .second-nav-btns {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .second-nav-btns button {
    width: 100%;
  }

  .customer {
    margin-top: 8px;
  }

  .third-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    font-size: 14px;
    padding-bottom: 8px;
  }

  .third-nav div {
    white-space: nowrap;
  }

  /* ---------- HERO SECTION ---------- */
  .hero-section {
    flex-direction: column-reverse;
    text-align: center;
    gap: 24px;
    margin-top: 32px;
  }

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

  .hero-description {
    font-size: 1rem;
  }

  .hero-img-hover-image {
    width: 280px;
    height: 280px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .hero-buttons button {
    width: 100%;
  }

  /* ---------- ABOUT ---------- */
  .about {
    margin: 80px -12px !important;
  }

  .about-section {
    padding: 32px 12px;
  }

  .about-section .hero-img img {
    width: 100%;
  }

  /* ---------- TARGET SECTION ---------- */
  .section.targe {
    padding: 20px 0;
  }

  .section-content {
    flex-direction: column;
  }

  .content-left img {
    height: 260px;
    border-radius: 16px;
  }

  .overlay-text {
    padding: 0 12px;
  }

  .overlay-text h3 {
    font-size: 18px;
  }

  .overlay-text p {
    font-size: 13px;
  }

  .content-right {
    padding: 16px;
  }

  .content-right .content-right-title {
    font-size: 22px;
    text-align: center;
  }

  .content-right .content-right-disc {
    font-size: 14px;
    text-align: center;
  }

  .content-right ul {
    margin-top: 24px;
  }

  .content-right li {
    font-size: 13px;
    padding: 8px;
  }
}
