/* =================================================
   IMPORT GOOGLE FONTS
================================================= */
@import url('fonts.css');

/* =================================================
   PAGE-SPECIFIC STYLES
   Shared styles for all internal pages
================================================= */

/* =================================================
   CRITICAL NAV FIX: Force transparent nav on all pages
   Must be at top to prevent pages.css from interfering
   Note: nav.css (loaded later) will have final say, but this ensures compatibility
================================================= */
.main-nav {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

.main-nav:not(.scrolled) {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* Ensure nav text is white and visible when transparent */
.main-nav:not(.scrolled) .menu a,
.main-nav:not(.scrolled) .accessibility-btn {
  color: #ffffff !important;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7), 0 0 10px rgba(0,0,0,0.4) !important;
  font-weight: 700 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Ensure hamburger is white when nav is transparent */
.main-nav:not(.scrolled) .hamburger span {
  background: #ffffff !important;
}

/* When scrolled - nav gets background (nav.css will override this, but good to have) */
.main-nav.scrolled {
  background: #ffffff !important;
  background-color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.15) !important;
}

/* Dark mode scrolled nav */
body.dark .main-nav.scrolled {
  background: rgba(15,23,42,0.95) !important;
  background-color: rgba(15,23,42,0.95) !important;
}

/* Enhanced Typography for All Pages */
body {
  font-family: var(--font-en-body);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

/* Ensure body background doesn't interfere with nav transparency */
body {
  background-color: var(--bg, #ffffff);
}

body[data-lang="bn"] {
  font-family: var(--font-bn);
  font-weight: 400;
  line-height: 1.8;
}

body[data-lang="bn"] h1,
body[data-lang="bn"] h2,
body[data-lang="bn"] h3,
body[data-lang="bn"] h4,
body[data-lang="bn"] h5,
body[data-lang="bn"] h6 {
  font-family: var(--font-bn-title);
  font-weight: 600;
  line-height: 1.4;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-en);
  font-weight: 600;
  line-height: 1.3;
}

p, span, div, li, td, th, label, input, textarea, select, button, option {
  font-family: inherit;
}

/* Ensure all input fields use proper fonts */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="date"],
input[type="file"],
textarea,
select,
option {
  font-family: var(--font-en-body) !important;
}

body[data-lang="bn"] input[type="text"],
body[data-lang="bn"] input[type="email"],
body[data-lang="bn"] input[type="tel"],
body[data-lang="bn"] input[type="number"],
body[data-lang="bn"] input[type="password"],
body[data-lang="bn"] input[type="date"],
body[data-lang="bn"] input[type="file"],
body[data-lang="bn"] textarea,
body[data-lang="bn"] select,
body[data-lang="bn"] option {
  font-family: var(--font-bn) !important;
}

body[data-lang="bn"] p,
body[data-lang="bn"] span,
body[data-lang="bn"] div,
body[data-lang="bn"] li,
body[data-lang="bn"] td,
body[data-lang="bn"] th,
body[data-lang="bn"] label {
  font-family: var(--font-bn);
}

/* =================================================
   PAGE HERO (Smaller than homepage)
   Animated bg like index.php zoomHero
================================================= */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(6rem, 12vw, 10rem) var(--content-pad) clamp(4rem, 8vw, 6rem);
  text-align: center;
  margin-top: 0 !important; /* Nav overlays, no space needed */
}

/* Animated background layer (zoom like index hero) */
.page-hero-bg {
  position: absolute;
  inset: -5%;
  background: linear-gradient(135deg, rgba(21, 184, 224, 0.15), rgba(14, 165, 233, 0.15)) center / cover no-repeat;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: pageHeroZoom 26s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes pageHeroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.14); }
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(21, 184, 224, 0.3), rgba(0, 0, 0, 0.4));
  z-index: 1;
}

.page-hero > div:not(.page-hero-bg) {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-family: var(--font-logo);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  color: var(--primary);
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: clamp(18px, 3vw, 22px);
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

body[data-lang="bn"] .page-hero h1 {
  font-family: var(--font-bn-title);
}

body[data-lang="bn"] .page-hero p {
  font-family: var(--font-bn);
  color: var(--text) !important;
}

/* =================================================
   BREADCRUMB NAVIGATION
================================================= */
.breadcrumb {
  padding: 1.5rem var(--content-pad);
  background: var(--soft-gray);
  border-bottom: 1px solid rgba(21, 184, 224, 0.1);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 14px;
  max-width: 1400px;
  margin: 0 auto;
}

.breadcrumb-nav a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb-nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.breadcrumb-nav span {
  color: var(--text-gray);
}

.breadcrumb-nav .separator {
  color: var(--text-gray);
  margin: 0 0.5rem;
}

body[data-lang="bn"] .breadcrumb-nav {
  font-family: var(--font-bn);
}

body[data-lang="bn"] .breadcrumb-nav span,
body[data-lang="bn"] .breadcrumb-nav .separator {
  color: var(--text) !important;
}

/* =================================================
   STYLED FILE UPLOAD BUTTONS (Public Pages)
================================================= */
.form-group input[type="file"],
input[type="file"] {
  display: none;
}

.file-upload-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  margin-top: 0.5rem;
}

.file-upload-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  border: 2px solid transparent;
  text-align: center;
  font-size: 1rem;
}

.file-upload-label:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21, 184, 224, 0.3);
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.file-upload-label:active {
  transform: translateY(0);
}

.file-upload-label::before {
  content: "📁";
  font-size: 1.3rem;
}

.file-upload-label.has-file {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.file-upload-label.has-file::before {
  content: "✓";
  color: white;
}

.file-name-display {
  margin-top: 0.75rem;
  padding: 0.875rem;
  background: rgba(21, 184, 224, 0.05);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text);
  border-left: 3px solid var(--primary);
  display: none;
}

.file-name-display.show {
  display: block;
}

.file-name-display span {
  font-weight: 600;
  color: var(--primary);
}

/* Custom file input alternative */
.custom-file-input {
  position: relative;
  display: inline-block;
  width: 100%;
}

.custom-file-input input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.custom-file-input-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: white;
  border: 2px dashed rgba(21, 184, 224, 0.3);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text);
}

.custom-file-input-label:hover {
  border-color: var(--primary);
  background: rgba(21, 184, 224, 0.05);
}

.custom-file-input-label .file-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-gray);
}

.custom-file-input-label .file-button {
  padding: 0.6rem 1.2rem;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.custom-file-input-label:hover .file-button {
  background: var(--accent);
  transform: scale(1.05);
}

/* =================================================
   CONTENT SECTIONS
================================================= */
.page-content {
  padding: var(--section-pad) var(--content-pad);
  max-width: 1400px;
  margin: 0 auto;
}

.content-section {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.content-section h2 {
  font-family: var(--font-logo);
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.content-section h3 {
  font-size: clamp(1.4rem, 3vw, 1.6rem);
  color: var(--text);
  margin-bottom: 1rem;
  margin-top: 2rem;
  font-weight: 700;
}

.content-section p {
  font-size: clamp(16px, 2.5vw, 18px);
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.content-section ul,
.content-section ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.content-section li {
  font-size: clamp(16px, 2.5vw, 18px);
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 0.75rem;
}

body[data-lang="bn"] .content-section h2 {
  font-family: var(--font-bn-title);
}

body[data-lang="bn"] .content-section h3,
body[data-lang="bn"] .content-section p,
body[data-lang="bn"] .content-section li {
  font-family: var(--font-bn);
}

/* =================================================
   CONTENT CARDS
================================================= */
.content-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(2rem, 4vw, 2.5rem);
  margin: clamp(2rem, 4vw, 3rem) 0;
}

.content-card {
  background: #fff;
  padding: clamp(2rem, 4vw, 2.5rem);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-smooth);
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(21, 184, 224, 0.15);
}

.content-card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.content-card h3 {
  font-size: clamp(1.3rem, 3vw, 1.5rem);
  color: var(--primary);
  margin-bottom: 1rem;
  margin-top: 0;
}

.content-card p {
  font-size: clamp(15px, 2.5vw, 16px);
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 0;
}

body[data-lang="bn"] .content-card h3 {
  font-family: var(--font-bn-title);
}

body[data-lang="bn"] .content-card p {
  font-family: var(--font-bn);
  color: var(--text) !important;
}

/* =================================================
   IMAGE SECTIONS
================================================= */
.image-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
  margin: clamp(2rem, 4vw, 3rem) 0;
}

.image-section img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.image-section-content h3 {
  font-size: clamp(1.4rem, 3vw, 1.6rem);
  color: var(--primary);
  margin-bottom: 1rem;
  margin-top: 0;
}

.image-section-content p {
  font-size: clamp(16px, 2.5vw, 18px);
  line-height: 1.8;
  color: var(--text);
}

body[data-lang="bn"] .image-section-content h3 {
  font-family: var(--font-bn-title);
}

body[data-lang="bn"] .image-section-content p {
  font-family: var(--font-bn);
}

/* =================================================
   TIMELINE / HISTORY
================================================= */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: calc(100% + 1rem);
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.timeline-item::after {
  content: "";
  position: absolute;
  left: -8px;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--primary);
}

.timeline-item h3 {
  font-size: clamp(1.3rem, 3vw, 1.5rem);
  color: var(--primary);
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.timeline-item .year {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, rgba(21, 184, 224, 0.1), rgba(14, 165, 233, 0.1));
  border-radius: 50px;
  border: 2px solid var(--primary);
  letter-spacing: 0.05em;
}

.timeline-item p {
  font-size: clamp(15px, 2.5vw, 16px);
  line-height: 1.7;
  color: var(--text);
}

body[data-lang="bn"] .timeline-item h3 {
  font-family: var(--font-bn-title);
}

body[data-lang="bn"] .timeline-item p {
  font-family: var(--font-bn);
}

/* =================================================
   STATS / NUMBERS
================================================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
  margin: clamp(2rem, 4vw, 3rem) 0;
}

.stat-box {
  text-align: center;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: linear-gradient(135deg, rgba(21, 184, 224, 0.05), rgba(14, 165, 233, 0.05));
  border-radius: 16px;
  border: 2px solid transparent;
  transition: all var(--transition-smooth);
}

.stat-box:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.stat-box .number {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-box .label {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--text-gray);
  font-weight: 600;
}

body[data-lang="bn"] .stat-box .label {
  font-family: var(--font-bn);
  color: var(--text) !important;
}

/* =================================================
   CTA SECTION
================================================= */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: clamp(4rem, 8vw, 6rem) var(--content-pad);
  text-align: center;
  color: #fff;
  margin: clamp(3rem, 6vw, 5rem) 0;
  border-radius: 24px;
}

.cta-section h2 {
  font-family: var(--font-logo);
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 1rem;
  color: #fff;
}

.cta-section p {
  font-size: clamp(16px, 3vw, 18px);
  margin-bottom: 2rem;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  padding: clamp(14px, 3vw, 18px) clamp(35px, 6vw, 50px);
  background: #fff;
  color: var(--primary);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: clamp(15px, 3vw, 17px);
  transition: all var(--transition-smooth);
  border: 2px solid #fff;
}

.cta-btn:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cta-btn.secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.cta-btn.secondary:hover {
  background: #fff;
  color: var(--primary);
}

body[data-lang="bn"] .cta-section h2 {
  font-family: var(--font-bn-title);
}

body[data-lang="bn"] .cta-section p,
body[data-lang="bn"] .cta-btn {
  font-family: var(--font-bn);
}

/* =================================================
   DARK MODE ADJUSTMENTS
================================================= */
body.dark .content-card {
  background: #1f293b;
  color: #e5e7eb;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

body.dark .content-section p {
  color: #cbd5e1;
}

body[data-lang="bn"] .content-section p {
  color: var(--text) !important;
}

body.dark .stat-box {
  background: linear-gradient(135deg, rgba(21, 184, 224, 0.1), rgba(14, 165, 233, 0.1));
}

body.dark .breadcrumb {
  background: #1e293b;
  border-bottom-color: rgba(21, 184, 224, 0.2);
}

/* =================================================
   REPORT SECTIONS - SLIDER
================================================= */
.reports-section {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.report-slider-container {
  position: relative;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 3rem;
}

.report-slider {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.report-slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.report-slide {
  min-width: 100%;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  display: none;
}

.report-slide.active {
  opacity: 1;
  transform: translateX(0);
  display: block;
}

.report-card {
  background: #fff;
  border-radius: 20px;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.report-cover-image {
  width: 100%;
  max-width: 500px;
  height: 600px;
  margin: 0 auto 2rem;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(21, 184, 224, 0.05), rgba(14, 165, 233, 0.05));
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-smooth);
}

.report-card:hover .report-cover-image {
  transform: scale(1.02);
  box-shadow: 0 12px 35px rgba(21, 184, 224, 0.2);
}

.report-cover-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
}

.report-card-content {
  width: 100%;
}

.report-card-content h3 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.report-year {
  font-size: clamp(16px, 2.5vw, 18px);
  color: var(--text-gray);
  margin-bottom: 1rem;
}

.report-description {
  font-size: clamp(15px, 2.5vw, 16px);
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.report-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Border Button Style */
.report-btn {
  text-decoration: none !important;
  padding: clamp(12px, 2.5vw, 16px) clamp(30px, 5vw, 45px);
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  font-size: clamp(15px, 2.5vw, 17px);
  border-radius: 50px;
  transition: all var(--transition-fast);
  display: inline-block;
  cursor: pointer;
}

.report-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(21, 184, 224, 0.3);
  text-decoration: none !important;
}

.report-btn-border {
  border: 2px solid var(--primary);
  background: transparent;
}

/* Slider Navigation Buttons */
.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(21, 184, 224, 0.3);
}

.slider-nav-btn:hover {
  background: var(--accent);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(21, 184, 224, 0.4);
}

.slider-prev {
  left: 0;
}

.slider-next {
  right: 0;
}

/* Slider Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

.dot:hover {
  background: var(--accent);
}

/* Ensure all report links have no text decoration */
.report-btn,
.admin-table a {
  text-decoration: none !important;
}

body[data-lang="bn"] .report-card-content h3 {
  font-family: var(--font-bn-title);
}

body[data-lang="bn"] .report-year,
body[data-lang="bn"] .report-description,
body[data-lang="bn"] .report-btn {
  font-family: var(--font-bn);
}

/* =================================================
   RESPONSIVE
================================================= */
@media (max-width: 768px) {
  .page-hero {
    min-height: 40vh;
    padding: clamp(4rem, 8vw, 6rem) var(--content-pad) clamp(3rem, 6vw, 4rem);
    margin-top: 0 !important; /* Nav overlays, no space needed */
  }

  .page-hero h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }

  .page-hero p {
    font-size: clamp(16px, 2.5vw, 18px);
  }

  .image-section {
    grid-template-columns: 1fr;
  }

  .content-cards {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-btn {
    width: 100%;
    text-align: center;
  }

  .timeline-item {
    padding-left: 2rem;
  }
  
  .timeline-item .year {
    font-size: 1.2rem;
    padding: 0.4rem 1rem;
  }

  .report-slider-container {
    padding: 0 1rem;
  }

  .slider-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .slider-prev {
    left: -10px;
  }

  .slider-next {
    right: -10px;
  }

  .report-cover-image {
    height: 400px;
    max-width: 100%;
  }

  .report-card {
    padding: 1.5rem;
  }

  .report-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .report-btn {
    width: 100%;
    text-align: center;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }

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

  .content-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .page-hero {
    min-height: 35vh;
    padding: clamp(3rem, 6vw, 4rem) var(--content-pad) clamp(2rem, 4vw, 3rem);
    margin-top: 0 !important; /* Nav overlays, no space needed */
  }

  .breadcrumb-nav {
    font-size: 12px;
  }

  .content-section h2 {
    font-size: clamp(1.5rem, 4vw, 1.8rem);
  }

  .content-section h3 {
    font-size: clamp(1.2rem, 3vw, 1.4rem);
  }
}

/* =================================================
   BANGLA TEXT COLOR OVERRIDE
   Ensure all Bangla text is black instead of gray
================================================= */
body[data-lang="bn"] p,
body[data-lang="bn"] span,
body[data-lang="bn"] div,
body[data-lang="bn"] li,
body[data-lang="bn"] td,
body[data-lang="bn"] th,
body[data-lang="bn"] label {
  color: var(--text) !important;
}
