/* =====================================================
   ZizbeyJobs - Responsive Stylesheet
   Mobile-first breakpoints:
   sm: 480px | md: 768px | lg: 1024px | xl: 1280px
   ===================================================== */

/* ---- XS: default (mobile) ---- */
:root {
  --section-gap: 64px;
}

/* Navbar */
.menu-toggle {
  display: flex;
}

.navbar-store-buttons {
  display: none;
}

/* Hero */
.hero-section {
  padding: 32px 0 0;
}

.phone-track {
  padding: 0 12px;
  gap: 12px;
}

.phone-arrow {
  display: none;
}

/* Intro */
.intro-content {
  grid-template-columns: 1fr;
  gap: 40px;
  text-align: center;
}

.intro-image {
  order: -1;
}

.intro-image img {
  max-width: 260px;
  margin: 0 auto;
}

.intro-features {
  align-items: flex-start;
  text-align: left;
}

.intro-store-buttons {
  justify-content: center;
}

.section-description {
  margin-left: auto;
  margin-right: auto;
}

/* Feature sections */
.feature-content {
  grid-template-columns: 1fr;
  gap: 36px;
  text-align: center;
}

.feature-content.reverse {
  direction: ltr;
}

.feature-image {
  order: -1;
}

.feature-image img {
  max-width: 240px;
  margin: 0 auto;
}

.feature-text p {
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer-bottom {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-links {
  justify-content: center;
}

/* Scroll top */
.scroll-top-btn {
  bottom: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
}

/* ---- SM: 480px ---- */
@media (min-width: 480px) {
  .carousel-wrapper {
    max-width: 340px;
  }

  .feature-image img {
    max-width: 270px;
  }
}

/* ---- MD: 768px ---- */
@media (min-width: 768px) {
  :root {
    --section-gap: 80px;
  }

  .navbar-store-buttons {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

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

  .phone-arrow {
    display: flex;
  }

  /* Intro stays stacked but wider */
  .intro-content {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    text-align: left;
  }

  .intro-image {
    order: 0;
  }

  .intro-image img {
    max-width: 300px;
    margin: 0;
  }

  .intro-store-buttons {
    justify-content: flex-start;
  }

  /* Feature sections side-by-side */
  .feature-content {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    text-align: left;
  }

  .feature-content.reverse {
    direction: rtl;
  }

  .feature-content.reverse > * {
    direction: ltr;
  }

  .feature-image {
    order: 0;
  }

  .feature-image img {
    max-width: 260px;
    margin: 0;
  }

  .feature-text p {
    margin-left: 0;
    margin-right: 0;
  }

  /* Footer */
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

/* ---- LG: 1024px ---- */
@media (min-width: 1024px) {
  :root {
    --section-gap: 96px;
  }

  .hero-section {
    padding: 48px 0 0;
  }

  .intro-content {
    gap: 80px;
  }

  .intro-image img {
    max-width: 340px;
  }

  .feature-content {
    gap: 80px;
  }

  .feature-image img {
    max-width: 290px;
  }
}

/* ---- XL: 1280px ---- */
@media (min-width: 1280px) {
  .feature-image img {
    max-width: 320px;
  }
}

/* ---- Print ---- */
@media print {
  .navbar,
  .scroll-top-btn,
  .sidebar-overlay,
  .mobile-sidebar {
    display: none !important;
  }

  .policy-page {
    margin-top: 0;
  }
}
