/* ============================================================
   Akij Eco Lifestyle Ltd. — Responsive Stylesheet
   Breakpoints: xs(<576) | sm(576) | md(768) | lg(992) | xl(1200)
   ============================================================ */

/* ============================================================
   Extra Large — xl (≤1400px)
   ============================================================ */
@media (max-width: 1400px) {
  .hero-title {
    font-size: 3rem;
  }
}

/* ============================================================
   Large — lg (≤1199px)
   ============================================================ */
@media (max-width: 1199px) {
  .section-padding {
    padding: 75px 0;
  }
  .hero-section {
    min-height: 85vh;
  }
  .hero-title {
    font-size: 2.7rem;
  }
  .hero-image-card img {
    min-height: 340px;
  }
  .about-img-main {
    height: 360px;
  }
  .about-badge-card {
    right: -10px;
    bottom: -10px;
  }
}

/* ============================================================
   Medium — md (≤991px) — Tablets
   ============================================================ */
@media (max-width: 991px) {
  /* Top bar */
  .top-bar .d-flex {
    flex-wrap: wrap;
    gap: 4px;
  }

  /* Navbar */
  .main-navbar .navbar-collapse {
    background: var(--soft-white);
    border-top: 1px solid var(--border-color);
    padding: 16px 0 8px;
    margin-top: 12px;
  }
  .main-navbar .nav-link {
    padding: 10px 16px !important;
    border-radius: 8px;
  }
  .main-navbar .nav-link::after {
    display: none;
  }
  .main-navbar .btn-eco {
    margin-top: 10px;
    display: inline-flex;
  }

  /* Hero */
  .hero-section {
    min-height: auto;
    padding: 80px 0 60px;
  }
  .hero-image-card {
    margin-top: 40px;
  }
  .hero-image-card img {
    min-height: 280px;
    height: 280px;
  }
  .hero-stats {
    gap: 1.5rem;
  }
  .hero-stat-num {
    font-size: 1.5rem;
  }

  /* About */
  .about-img-main {
    height: 300px;
    margin-bottom: 40px;
  }
  .about-badge-card {
    right: 20px;
    bottom: -10px;
  }

  /* Section padding */
  .section-padding {
    padding: 65px 0;
  }
  .section-padding-sm {
    padding: 50px 0;
  }

  /* Why us */
  .why-us-card {
    padding: 24px;
  }

  /* Products modal */
  .modal-product-img {
    height: 260px;
    margin-bottom: 24px;
  }
  .modal-footer-custom {
    flex-direction: column;
  }
  .modal-footer-custom .btn-eco,
  .modal-footer-custom .btn-eco-outline {
    width: 100%;
    justify-content: center;
  }

  /* Sustainability banner */
  .sustainability-banner {
    padding: 65px 0;
    text-align: center;
  }
  .eco-pillars {
    justify-content: center;
  }
  .sustainability-banner .btn-eco-white {
    margin: auto;
  }

  /* Footer */
  .main-footer {
    padding-top: 55px;
  }
  .footer-desc {
    max-width: 100%;
  }

  /* Filter bar */
  .filter-bar .row {
    gap: 14px;
  }
}

/* ============================================================
   Small — sm (≤767px) — Large Phones
   ============================================================ */
@media (max-width: 767px) {
  html {
    font-size: 15px;
  }

  /* Top bar - hide on very small screens or stack */
  .top-bar .top-bar-item.d-md-flex {
    display: none !important;
  }

  /* Section */
  .section-padding {
    padding: 55px 0;
  }
  .section-padding-sm {
    padding: 40px 0;
  }

  /* Hero */
  .hero-section {
    padding: 70px 0 50px;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-stats {
    justify-content: center;
    gap: 2rem;
  }
  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-section .d-flex.gap-3 {
    justify-content: center;
  }

  /* Intro strip */
  .intro-strip .feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* About section */
  .about-img-main {
    height: 260px;
  }
  .about-badge-card {
    position: relative;
    bottom: auto;
    right: auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
  }
  .about-badge-card .big-num {
    font-size: 1.8rem;
  }

  /* Category cards */
  .category-card {
    padding: 24px 18px;
  }

  /* Product cards */
  .product-img-wrapper {
    height: 210px;
  }
  .product-actions {
    flex-direction: column;
  }
  .product-actions .btn-eco,
  .product-actions .btn-eco-outline {
    width: 100%;
    justify-content: center;
  }

  /* Filter bar */
  .filter-btn {
    font-size: 0.78rem;
    padding: 7px 14px;
  }

  /* Page hero */
  .page-hero {
    padding: 60px 0 45px;
    text-align: center;
  }
  .breadcrumb-eco {
    justify-content: center;
  }
  .page-hero p {
    margin: 0 auto;
  }

  /* Mission vision */
  .mv-card {
    padding: 28px 22px;
  }

  /* Contact form */
  .contact-form-card {
    padding: 24px 20px;
  }

  /* Sustainability */
  .sustainability-banner {
    padding: 55px 0;
  }
  .eco-pillars {
    gap: 8px;
  }
  .eco-pillar {
    font-size: 0.78rem;
    padding: 6px 14px;
  }

  /* Footer */
  .footer-bottom .d-flex {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Stats row on about page */
  .stat-box .stat-num {
    font-size: 2rem;
  }

  /* Contact info card */
  .contact-info-card {
    padding: 24px 20px;
  }

  /* CTA buttons group */
  .cta-section .d-flex {
    flex-direction: column;
    align-items: center;
  }
  .cta-section .btn-eco,
  .cta-section .btn-eco-outline {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* ============================================================
   Extra Small — xs (≤575px) — Phones
   ============================================================ */
@media (max-width: 575px) {
  html {
    font-size: 14.5px;
  }

  /* Back to top */
  .back-to-top {
    bottom: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
  }

  /* Hero */
  .hero-title {
    font-size: 1.9rem;
  }
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  .hero-image-card img {
    min-height: 220px;
    height: 220px;
  }

  /* Intro strip */
  .intro-strip .row > [class*="col"] {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 4px;
  }
  .intro-strip .row > [class*="col"]:last-child {
    border-bottom: none;
  }

  /* Product cards */
  .product-img-wrapper {
    height: 190px;
  }
  .product-body {
    padding: 16px;
  }
  .color-chips {
    gap: 4px;
  }

  /* Modal */
  .product-modal .modal-body {
    padding: 20px 16px;
  }
  .product-modal .modal-header {
    padding: 16px 20px;
  }

  /* Filter */
  .filter-bar {
    padding: 18px 16px;
  }
  .filter-buttons-wrap {
    gap: 7px;
  }
  .filter-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  /* Contact */
  .contact-info-icon {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }

  /* Why us */
  .why-us-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  /* Section labels */
  .section-label {
    font-size: 0.7rem;
  }

  /* Jute benefit items */
  .jute-benefit-item {
    padding: 16px;
  }

  /* Footer columns spacing */
  .main-footer [class*="col-"] {
    margin-bottom: 10px;
  }

  /* Navbar brand compact */
  .navbar-brand .logo-name {
    font-size: 0.95rem;
  }
  .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* ============================================================
   Print Styles
   ============================================================ */
@media print {
  .top-bar,
  .main-navbar,
  .back-to-top,
  .page-loader,
  .hero-section,
  .sustainability-banner {
    display: none !important;
  }
  body {
    font-size: 12pt;
  }
  .product-card {
    break-inside: avoid;
  }
}
