/*!
 * ঐতিহাসিক বিগ ভলিউম বাঁশখালী — Responsive Stylesheet
 * Breakpoints: 1920 / 1440 / 1366 / 1280 / 1024 / 768 / 430 / 414 / 390 / 375 / 360
 */

/* ---------- Very large desktops (≥1920px) ---------- */
@media (min-width: 1920px) {
  .container { max-width: 1520px; }
  body { font-size: 1.125rem; }
  .hero { max-height: 980px; }
  .section { padding: 6.5rem 0; }
}

/* ---------- Desktop (≤1440px) ---------- */
@media (max-width: 1440px) {
  .hero-title { font-size: clamp(2rem, 4.4vw, 3.2rem); }
}

/* ---------- Desktop (≤1366px) ---------- */
@media (max-width: 1366px) {
  .section { padding: 4.6rem 0; }
  .site-nav .nav-link { padding: .5rem .7rem !important; font-size: .94rem; }
}

/* ---------- Laptop (≤1280px) ---------- */
@media (max-width: 1280px) {
  .brand-text { font-size: 1.02rem; }
  .topbar-info { gap: 1rem; }
}

/* ---------- Tablet landscape (≤1024px) ---------- */
@media (max-width: 1024px) {
  .section { padding: 4rem 0; }
  .form-panel { padding: 1.7rem 1.4rem; }
  .doc-sheet-body { padding: 1.8rem 1.6rem; }
  .place-card { height: 260px; }
  .gallery-thumb img { height: 210px; }
  .gallery-item.tall .gallery-thumb img { height: 260px; }
  .stats-band { background-attachment: scroll; }
}

/* ---------- Tablet portrait (≤768px) ---------- */
@media (max-width: 768px) {
  .hero { height: auto; min-height: 520px; }
  .hero.swiper { height: 74vh; min-height: 520px; }
  .section { padding: 3.4rem 0; }
  .section-head { margin-bottom: 2.2rem; }
  .intro-media::before { inset: 12px -10px -10px 12px; }
  .intro-badge { left: 10px; bottom: -18px; padding: .7rem 1rem; }
  .person-card { max-width: 420px; margin: 0 auto; }
  .cta-strip h2 { margin-bottom: 1rem; }
  .footer-bottom { text-align: center; }
  .footer-bottom .d-flex { justify-content: center !important; }
  .map-frame iframe, .map-placeholder { height: 260px; }
  .bv-deco::before, .bv-deco::after { width: 34px; }
  .form-section-title { font-size: 1.05rem; }
}

/* ---------- Mobile (≤576px) ---------- */
@media (max-width: 576px) {
  body { font-size: 1rem; line-height: 1.8; }
  .section { padding: 2.8rem 0; }
  .section-tight { padding: 2.2rem 0; }

  /* Topbar collapses to essentials */
  .topbar { height: auto; padding: .35rem 0; font-size: .82rem; }
  .topbar-info .hide-sm { display: none !important; }

  /* Navbar */
  :root { --bv-nav-h: 64px; }
  .brand-logo { height: 40px; }
  .brand-text { font-size: .95rem; }
  .hero { margin-top: 0; }

  /* Hero slider */
  .hero.swiper { height: 82vh; min-height: 480px; }
  .hero-content { padding: 0 .4rem; }
  .hero-kicker { font-size: .8rem; padding: .3rem .8rem; }
  .hero-desc { font-size: .98rem; }
  .hero .btn { padding: .6rem 1.1rem; font-size: .92rem; }
  .hero-caption { display: none; }
  .hero-scroll-down { bottom: 4.6rem; font-size: 1.4rem; }

  /* Cards */
  .cat-card { padding: 1.4rem 1rem; }
  .cat-card p { font-size: .88rem; }
  .icon-badge { width: 48px; height: 48px; font-size: 1.25rem; }
  .place-card { height: 230px; }
  .gallery-thumb img { height: 180px; }
  .gallery-item.tall .gallery-thumb img { height: 180px; }
  .stat-number { font-size: 1.9rem; }
  .stats-band { padding: 3rem 0; }
  .stat-item { margin-bottom: 1.6rem; }
  .testimonial-card { padding: 1.4rem 1.1rem; }

  /* Forms */
  .form-panel { padding: 1.4rem 1rem; border-radius: 12px; }
  .captcha-box { gap: .6rem; }
  .upload-tile { padding: 1.1rem .8rem; }

  /* Buttons touch-friendly */
  .btn-bv, .gallery-filter, .app-store-btn, .social-pill {
    min-height: 46px;
    display: inline-flex;
  }
  .float-btn { width: 46px; height: 46px; font-size: 1.1rem; }
  .floating-wrap { right: 12px; bottom: 12px; }

  /* Footer */
  .site-footer { padding-top: 2.8rem; }
  .site-footer .col { margin-bottom: 2rem; }

  /* ID card & doc sheet */
  .doc-sheet-header { padding: 1.5rem 1.2rem; }
  .doc-sheet-body { padding: 1.4rem 1.1rem; }
  .doc-item { gap: .7rem; }
  .bv-id-body { padding: 1.2rem 1.1rem; }
  .bv-id-row { gap: .9rem; }
  .bv-id-photo { width: 88px; height: 106px; }
  .phone-mockup { width: 178px; }
}

/* ---------- Small mobile (≤430 / 414 / 390 / 375 / 360px) ---------- */
@media (max-width: 430px) {
  .hero-title { font-size: 1.72rem; }
  .hero-subtitle { font-size: 1.02rem; }
  .section-title { font-size: 1.42rem; }
  .profile-name { font-size: 1.35rem; }
  .page-hero { padding: 3.4rem 0 2.6rem; }
  .student-row { padding: .75rem .8rem; }
}

@media (max-width: 375px) {
  :root { --bv-nav-h: 60px; }
  .brand-logo { height: 36px; }
  .brand-text { font-size: .88rem; }
  .hero-title { font-size: 1.55rem; }
  .btn-bv { padding: .55rem 1rem; font-size: .9rem; }
  .gallery-filters .gallery-filter { padding: .4rem .8rem; font-size: .88rem; }
}

/* ---------- prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .site-nav, .floating-wrap, #bvLoader, .hero-scroll-down { display: none !important; }
  body { background: #fff; }
}
