/* =========================================================
   Responsive rules — desktop-first, from 1440px down to 320px
   ========================================================= */

/* ----- 1440px large desktop: slightly reduce container ----- */
@media (max-width: 1440px) {
    :root { 
      --container-width: 1140px; 
    
    }
}

/* ----- 1280px desktop ----- */
@media (max-width: 1280px) {
    .hero-inner {
      gap: 40px;

    }

    .cta-banner { 
      padding: 60px 44px; 
    
    }
}

/* ----- 1024px: primary tablet/small-laptop breakpoint ----- */
@media (max-width: 1024px) {
  :root {
    --header-height: 80px;
  }

  .main-nav {
    gap: 22px;
  }

  .nav-list {
    gap: 20px;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  /* Hero: Content first, visual second */
  /* .hero-inner {
    grid-template-columns: 1fr;
    text-align: left;
  } */

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
    margin-top: 30px;
    margin-bottom: 0;
  }

  .spice-dial {
    width: min(320px, 80%);
    margin: 0 auto;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intro-visual {
    max-width: 420px;
    margin: 0 auto;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vision-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .process-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 20px;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .detail-card {
    grid-template-columns: 1fr;
  }

  .detail-card:nth-child(even) {
    direction: ltr;
  }

  .detail-media {
    min-height: 220px;
  }

  .detail-body {
    padding: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .section-pad {
    padding: 76px 0;
  }
  
}
/* ----- 820px / 768px tablets ----- */
@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(340px, 84vw);
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 100px 32px 40px;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 450;
  }
  .main-nav.is-open { 
    transform: translateX(0); 
  }
  
  .nav-list { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .nav-list li { width: 100%; }
  .nav-link { display: block; padding: 14px 0; font-size: 1.05rem; color: var(--ink) !important; width: 100%; }
  .has-dropdown .dropdown-menu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none;
    background: var(--sand);
    display: none;
    margin: 4px 0 8px;
  }
  .has-dropdown.is-open .dropdown-menu { display: block; }
  .has-dropdown.is-open .nav-caret { transform: rotate(180deg); }
  .btn-nav-cta { margin: 20px 0 0; width: 100%; justify-content: center; }
  .hamburger { display: flex; }
  .hamburger span { background: var(--ink) !important; }

  .feature-grid { grid-template-columns: 1fr 1fr; }
  .vision-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }

  
  
}

/* ----- 768px ----- */
@media (max-width: 768px) {
  h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
  .hero { min-height: auto; padding-bottom: 90px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  .page-hero { padding: calc(var(--header-height) + 60px) 0 60px; text-align: left; }
  .page-hero-inner { text-align: left; }
  .breadcrumb, .page-hero .section-heading.center { justify-content: flex-start; }

  .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
  .cta-banner { padding: 50px 26px; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { justify-content: center; }

  .enquiry-form-card { padding: 30px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-info-card { padding: 32px 26px; }

  .section-pad { padding: 60px 0; }
  .section-pad-sm { padding: 46px 0; }

  /* .hero-copy h1 {
    text-align: center;
  } */
}

/* ----- 576px small phones ----- */
@media (max-width: 576px) {
  .container {
     padding: 0 18px;
 }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .detail-body { padding: 26px 20px; }
  .value-card { padding: 30px 22px; }
  .process-row { grid-template-columns: 1fr; }
  .quote-block .quote-mark { font-size: 2.4rem; }
  .back-to-top { 
    right: 18px;
    bottom: 18px; width: 44px; height: 44px; }

    

}





/* why choose us */

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 992px) {

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card {
        min-height: 240px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .why-anubhuti-section .section-heading {
        margin-bottom: 35px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .feature-card {
        min-height: 210px;

        padding:
            28px
            24px
            75px;

        border-radius: 20px;
    }

    .feature-icon {
        width: 55px;
        height: 55px;

        margin-bottom: 18px;

        font-size: 21px;
    }

    .feature-content h3 {
        font-size: 19px;
    }

    .feature-content p {
        font-size: 14px;
    }

    .card-spice-image {
        height: 23%;
    }

    .feature-card:hover .card-spice-image {
        height: 26%;
    }
}


/* =========================================================
   FOOTER CENTER FIX - 425px AND BELOW
========================================================= */

@media screen and (max-width: 425px) {

    .site-footer {
        text-align: center !important;
    }

    .site-footer * {
        box-sizing: border-box;
    }

    /* Main footer grid */
    .site-footer .footer-grid {
        display: flex !important;
        flex-direction: column !important;

        width: 100% !important;

        align-items: center !important;
        justify-content: center !important;

        margin: 0 auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;

        text-align: center !important;
    }

    /* Every direct child */
    .site-footer .footer-grid > * {
        width: 100% !important;

        margin-left: auto !important;
        margin-right: auto !important;

        text-align: center !important;
    }

    /* Brand */
    .site-footer .brand-footer {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .site-footer .footer-tagline {
        text-align: center !important;

        max-width: 300px !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Social */
    .site-footer .social-icons {
        display: flex !important;

        justify-content: center !important;
        align-items: center !important;

        width: 100% !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Headings */
    .site-footer .footer-heading {
        text-align: center !important;
        width: 100% !important;
    }

    /* Links */
    .site-footer .footer-links {
        width: 100% !important;

        padding: 0 !important;
        margin: 0 auto !important;

        text-align: center !important;
    }

    .site-footer .footer-links li {
        width: 100% !important;
        text-align: center !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }

    .site-footer .footer-links a {
        display: inline-block !important;
        text-align: center !important;
    }

    /* Contact */
    .site-footer .footer-contact {
        width: 100% !important;

        display: flex !important;
        flex-direction: column !important;

        align-items: center !important;

        margin: 0 auto !important;
        padding: 0 !important;
    }

    .site-footer .footer-contact li {
        width: 100% !important;
        max-width: 320px !important;

        margin-left: auto !important;
        margin-right: auto !important;

        justify-content: center !important;

        text-align: center !important;
    }

    /* Bottom */
    .site-footer .footer-bottom-inner {
        width: 100% !important;

        display: flex !important;
        flex-direction: column !important;

        justify-content: center !important;
        align-items: center !important;

        text-align: center !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }
}