/* ==============================================================================
   PREM KUTI DARBAR TRUST - RESPONSIVE STYLESHEET
   Supports 320px, 375px, 414px, 768px, 1024px, 1280px, 1440px, 1920px
   ============================================================================== */

/* Tablet & Smaller Desktops (<= 1100px) */
@media screen and (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-grid .footer-contact-col {
    grid-column: 1 / -1;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Tablets (<= 992px) */
@media screen and (max-width: 992px) {
  :root {
    --header-height: 80px;
  }

  .desktop-nav,
  .header-cta-group .btn {
    display: none;
  }

  .menu-toggle-btn {
    display: flex;
  }

  .section {
    padding: 4.5rem 0;
  }

  .cards-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.5rem;
  }

  .stats-banner-wrap {
    padding: 3rem 1.75rem;
  }

  .hero-section {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 4rem;
  }

  .custom-cursor-dot,
  .custom-cursor-ring {
    display: none !important;
  }
}

/* Mobile Landscape & Standard Phones (<= 768px) */
@media screen and (max-width: 768px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

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

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

  .hero-btn-group {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }

  .hero-btn-group .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .stats-counter-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.25rem;
  }

  .contact-form-wrap {
    padding: 2rem 1.5rem;
  }

  .contact-info-panel {
    padding: 2rem 1.5rem;
  }

  .lightbox-modal {
    padding: 1rem;
  }

  .lightbox-img-wrap {
    max-height: 350px;
  }

  .lightbox-caption-wrap {
    padding: 1rem 1.25rem;
  }
}

/* Small Phones (<= 480px) */
@media screen and (max-width: 480px) {
  :root {
    --header-height: 72px;
  }

  .brand-title {
    font-size: 0.98rem;
  }

  .brand-subtitle {
    font-size: 0.7rem;
  }

  .brand-emblem {
    width: 36px;
    height: 36px;
  }

  .brand-emblem svg {
    width: 18px;
    height: 18px;
  }

  .stats-counter-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

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

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

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

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .mobile-nav-drawer {
    max-width: 100%;
  }
}

/* Extremely Small Devices (320px) */
@media screen and (max-width: 340px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .card-icon-frame {
    width: 56px;
    height: 56px;
  }

  .islamic-card {
    padding: 1.75rem 1.25rem;
  }
}
