/* ==========================
   TABLET
========================== */
@media only screen and (min-width:768px) and (max-width:991px){

    .mvv-container{
        display:grid !important;
        grid-template-columns:repeat(2,1fr) !important;
        gap:25px !important;
    }

    .mvv-container .mvv-card{
        width:100% !important;
        min-height:420px !important;
    }

    .mvv-container .mvv-card:nth-child(3){
        grid-column:1 / 3 !important;
        width:48% !important;
        justify-self:center !important;
    }
}

/* ==========================
   MOBILE
========================== */
@media only screen and (max-width:767px){

    .mvv-container{
        display:grid !important;
        grid-template-columns:1fr !important;
        gap:20px !important;
    }

    .mvv-container .mvv-card{
        width:100% !important;
        min-height:auto !important;
    }
}
/* ================================================================
   3. PROJECTS PAGE — GALLERY (image cards)
      Mobile: 1 niche 1  |  Tablet: 2 niche 2  |  Laptop+: 3 niche 3
      (main.css ma already 992px/768px par rules hata, ahi apna
      site na standard breakpoint 1024px/767px sathe match karyu)
   ================================================================ */
@media (min-width: 768px) and (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .gallery-card {
    height: 280px;
  }
}

@media (max-width: 767px) {
  .gallery-section {
    padding: 55px 16px;
  }
  .gallery-header h1 {
    font-size: 28px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .gallery-card {
    height: 230px;
  }
  .gallery-overlay h3 {
    font-size: 16px;
  }
}


/* ================================================================
   4. PRE-FOOTER CTA (about-us.php + projects.php banne ma chhe)
   ================================================================ */
@media (max-width: 767px) {
  .pre-footer-cta {
    padding: 45px 16px;
  }
  .cta-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .cta-heading {
    font-size: 24px;
  }
  .cta-btn {
    width: 100%;
    max-width: 280px;
    padding: 13px 26px;
  }
}


/* ================================================================
   5. ABOUT-HERO-BANNER (top banner, about-us.php + projects.php)
   ================================================================ */
@media (max-width: 767px) {
  .about-hero-banner {
    min-height: 220px;
    padding: 60px 16px;
  }
  .hero-content h1 {
    font-size: 1.9rem;
  }
}


