/* ==========================================================================
   Mobarak Saadi Portfolio - Precision Stylesheet
   Theme: Deep Navy Blue (#031735) & Royal Gold (#d4a359)
   Typography: Hind Siliguri (Bengali) & Inter / Cinzel (Latin)
   ========================================================================== */

:root {
  --navy-dark: #031735;
  --navy-header: #02122b;
  --navy-accent: #0f274d;
  --navy-light: #1e3a6a;
  
  --gold-primary: #d4a359;
  --gold-hover: #b88235;
  --gold-light: #f7eedb;
  --gold-gradient: linear-gradient(135deg, #d4a359 0%, #b88235 100%);
  --gold-gradient-hover: linear-gradient(135deg, #dfaf65 0%, #c48e41 100%);
  
  --bg-page: #ffffff;
  --bg-card: #ffffff;
  --bg-card-alt: #f0f4fa;
  --bg-quote: #fdfaf4;
  --border-quote: #faebd0;
  --border-light: #e2e8f0;
  --border-subtle: #edf2f7;
  
  --text-primary: #0a1c36;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  --blue-badge-bg: #e2edfd;
  --blue-badge-text: #1d4ed8;
  
  --shadow-sm: 0 1px 4px rgba(3, 23, 53, 0.04);
  --shadow-md: 0 4px 16px rgba(3, 23, 53, 0.06);
  --shadow-lg: 0 10px 30px rgba(3, 23, 53, 0.1);
  
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  
  --font-bn: 'Hind Siliguri', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Noto Serif Bengali', Georgia, serif;
  --font-brand: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-en: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --transition: all 0.2s ease-in-out;
}

/* CSS Reset & Defaults */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 14.5px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-bn);
  background-color: #ffffff;
  color: var(--text-primary);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  padding-top: 54px; /* Space for fixed sticky header */
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Navigation Bar (Desktop & Mobile) - Always Fixed to Top on Scroll
   ========================================================================== */
.site-header {
  background-color: var(--navy-header);
  color: var(--text-white);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.55rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand-monogram {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-monogram img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.3px;
  color: #ffffff;
  line-height: 1.2;
}

.brand-title {
  font-family: var(--font-en);
  font-size: 0.7rem;
  color: var(--text-light);
  letter-spacing: 0.2px;
}

/* Desktop Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: #cbd5e1;
  padding: 0.35rem 0.15rem;
  display: inline-block;
  white-space: nowrap;
}

.nav-link:hover {
  color: #ffffff;
}

/* Active Menu Item indicator (আমার সম্পর্কে in screenshot) */
.nav-item.active .nav-link {
  color: var(--gold-primary, #dfb235);
  font-weight: 600;
  border-bottom: 2px solid var(--gold-primary, #dfb235);
  padding-bottom: 0.25rem;
}

/* Navigation Actions (Language Switcher & Search) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.lang-btn {
  padding: 0.2rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--gold-primary);
  color: var(--navy-header);
}

.lang-btn:hover:not(.active) {
  color: #ffffff;
}

.search-btn {
  color: #ffffff;
  font-size: 1rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.search-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold-primary);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  font-size: 1.35rem;
  color: #ffffff;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Main Content Layout (Seamless Edge-to-Edge with Zero Top Gap)
   ========================================================================== */
.main-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.5rem 2.25rem 2.5rem;
  flex: 1;
  width: 100%;
  background-color: #ffffff;
}

.content-sheet {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

/* ==========================================================================
   Hero / Profile Introduction Card
   ========================================================================== */
.hero-card {
  display: grid;
  grid-template-columns: 215px 1fr 260px;
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--border-light);
}

/* Left: Portrait */
.portrait-container {
  width: 215px;
  height: 196px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: #cbd5e1;
  position: relative;
  flex-shrink: 0;
}

.portrait-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Middle: Intro Details */
.intro-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.badge-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.82rem;
  font-weight: 600;
  color: #92400e;
  background-color: #fef3c7;
  padding: 0.15rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.35rem;
}

.person-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 0.3rem;
}

.person-titles {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.person-bio-lead {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0.55rem;
}

.signature-box {
  margin-top: 0.35rem;
}

.signature-img {
  height: 42px;
  width: auto;
  opacity: 0.95;
}

/* Right: Quote Box & Quick Info */
.hero-right-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.quote-card {
  background-color: var(--bg-quote);
  border: 1px solid var(--border-quote);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.quote-icon {
  font-size: 1.75rem;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
  display: block;
  font-family: serif;
}

.quote-text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-primary);
  font-style: italic;
  font-family: var(--font-bn);
  margin-bottom: 0.4rem;
}

.quote-author {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: right;
  font-weight: 500;
}

.quick-info-list {
  background-color: var(--bg-card);
  padding: 0.15rem 0.25rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 0.22rem 0;
}

.info-icon {
  color: var(--navy-dark);
  width: 18px;
  text-align: center;
  font-size: 0.9rem;
}

.info-item.highlight .info-icon {
  color: #2563eb;
}

.info-label {
  font-weight: 600;
  color: var(--text-primary);
}

/* ==========================================================================
   Middle Section: Tabs + Short Bio + Stats + Interests
   ========================================================================== */
.middle-grid {
  display: grid;
  grid-template-columns: 185px 1fr 240px;
  gap: 1.5rem;
  align-items: start;
}

/* Vertical Tabs Sidebar */
.vertical-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.tab-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  text-align: left;
  transition: var(--transition);
}

.tab-btn:hover {
  background-color: var(--bg-card-alt);
  color: var(--text-primary);
  border-color: #cbd5e1;
}

.tab-btn.active {
  background: var(--gold-gradient);
  color: #ffffff;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(184, 130, 53, 0.25);
}

.tab-btn i {
  font-size: 0.88rem;
  width: 16px;
  text-align: center;
}

.tab-btn.active i {
  color: #ffffff;
}

/* Bio Content & Stats Area */
.bio-stats-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-head-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.bar-accent {
  width: 3.5px;
  height: 1.25rem;
  background-color: var(--gold-primary);
  border-radius: 2px;
}

.section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.bio-paragraph {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* 4 Statistics Cards */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 0.15rem;
}

.stat-card {
  background-color: var(--bg-card-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: #cbd5e1;
}

.stat-title {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.stat-number {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 0.15rem;
}

.stat-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Right: Interests Checklist */
.interests-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow-sm);
}

.interests-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border-light);
}

.interests-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.interest-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.check-icon {
  color: #0284c7;
  font-size: 0.82rem;
  font-weight: bold;
}

/* ==========================================================================
   Lower Grid: Education Timeline + Career Timeline + Sunset Card
   ========================================================================== */
.lower-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 240px;
  gap: 1.5rem;
  align-items: stretch;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.column-card {
  display: flex;
  flex-direction: column;
}

.column-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.95rem;
}

.column-header i {
  color: #2563eb;
  font-size: 1.05rem;
}

/* Education Timeline Items */
.edu-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.edu-item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.year-badge {
  background-color: var(--blue-badge-bg);
  color: var(--blue-badge-text);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.edu-details {
  display: flex;
  flex-direction: column;
}

.edu-institution {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.edu-degree {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
  line-height: 1.4;
}

/* Career Timeline Items with Vertical Line */
.career-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 0.85rem;
}

.career-timeline::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 8px;
  left: 2px;
  width: 2px;
  background-color: #cbd5e1;
}

.career-item {
  position: relative;
  padding-bottom: 0.95rem;
}

.career-item:last-child {
  padding-bottom: 0;
}

.career-dot {
  position: absolute;
  left: -0.85rem;
  top: 5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #0284c7;
  box-shadow: 0 0 0 2px #ffffff;
}

.career-time {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.1rem;
}

.career-org {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.career-role {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
  line-height: 1.4;
}

/* Haor Inspiration Photo Card */
.inspiration-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 190px;
  height: 100%;
}

.inspiration-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.inspiration-card:hover .inspiration-img {
  transform: scale(1.03);
}

.inspiration-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(2, 18, 43, 0.9) 0%, rgba(2, 18, 43, 0.5) 60%, transparent 100%);
  padding: 1.35rem 0.85rem 0.75rem;
  text-align: center;
}

.inspiration-text {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  font-style: italic;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--navy-header);
  color: #ffffff;
  padding: 0.75rem 2.5rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  box-sizing: border-box;
}

.footer-container {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.footer-brand .brand-monogram {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.footer-brand .brand-text {
  display: flex;
  flex-direction: column;
}

.footer-brand .brand-name {
  font-family: var(--font-en-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.15;
}

.footer-brand .brand-title {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 400;
}

.footer-quote {
  font-size: 0.88rem;
  color: #cbd5e1;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.footer-social-links,
.social-links {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.social-link {
  color: #cbd5e1;
  font-size: 0.85rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.social-link:hover {
  color: #ffffff;
  background: var(--gold-primary);
  transform: translateY(-2px);
}

.footer-bar-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.95rem;
  line-height: 1;
}

.footer-meta-links {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: #94a3b8;
  white-space: nowrap;
  margin: 0;
}

.footer-meta-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-meta-links a:hover {
  color: var(--gold-primary);
}

.footer-meta-links .divider {
  color: rgba(255, 255, 255, 0.25);
}

.scroll-top-btn {
  background-color: #ffffff;
  color: var(--navy-dark);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  margin-left: 0.5rem;
}

.scroll-top-btn:hover {
  background-color: var(--gold-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Interactive Modals & Search Overlay
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(2, 18, 43, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 550px;
  width: 90%;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 1.25rem;
  color: var(--text-muted);
}

.modal-close-btn:hover {
  color: var(--navy-dark);
}

.search-input-wrap {
  position: relative;
  margin-top: 1rem;
}

.search-input-wrap input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
}

.search-input-wrap i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--navy-dark);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-left: 4px solid var(--gold-primary);
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: var(--transition);
}

.toast-notice.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ==========================================================================
   Tab Content Panels
   ========================================================================== */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: contents;
}

/* ==========================================================================
   Responsive Design & Mobile View (Matching Mobile View Mockup)
   ========================================================================== */

/* Tablet & Smaller Desktop */
@media (max-width: 1100px) {
  .hero-card {
    grid-template-columns: 200px 1fr;
  }
  
  .hero-right-col {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .middle-grid {
    grid-template-columns: 1fr 1fr;
  }

  .vertical-tabs {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .vertical-tabs .tab-btn {
    width: auto;
    flex: 1 1 180px;
  }

  .lower-grid {
    grid-template-columns: 1fr 1fr;
  }

  .inspiration-card {
    grid-column: 1 / -1;
    max-height: 220px;
  }
}

/* Mobile Devices (Exactly as shown in smartphone mockup) */
@media (max-width: 768px) {
  body {
    padding-top: 50px;
  }

  .nav-menu {
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    background-color: var(--navy-header);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    gap: 0.75rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* In mobile header, show only brand and hamburger menu icon */
  .nav-container {
    padding: 0.55rem 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
    gap: 0.5rem;
  }

  .brand-monogram {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 0.95rem;
    line-height: 1.15;
  }

  .brand-title {
    font-size: 0.62rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-actions {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 1.35rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    margin-left: auto;
  }

  .main-wrapper {
    margin: 0 auto;
    padding: 0.85rem 0.85rem 1.75rem;
  }

  .content-sheet {
    padding: 0;
    gap: 1.15rem;
    border-radius: 0;
    box-shadow: none;
    border: none;
  }

  /* Hero Section Stacked in Mobile (Matching Phone Mockup Order) */
  .hero-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 1rem;
  }

  .portrait-container {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-md);
    height: auto;
    order: 1;
  }

  .portrait-container img {
    object-position: center 25%;
  }

  .intro-content {
    order: 2;
    text-align: center;
    align-items: center;
  }

  .badge-tag {
    display: none; /* In phone mockup, title directly follows photo */
  }

  .person-name {
    font-size: 1.55rem;
    text-align: center;
    margin-bottom: 0.25rem;
  }

  .person-titles {
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 0.4rem;
  }

  .person-bio-lead,
  .signature-box {
    display: none; /* Hidden on mobile hero to match phone mockup cleanly; shown in bio section */
  }

  .hero-right-col {
    order: 3;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
  }

  .quote-card {
    padding: 0.9rem 1rem;
  }

  .quote-text {
    font-size: 0.85rem;
  }

  .quick-info-list {
    padding: 0.25rem 0.5rem;
  }

  .info-item {
    font-size: 0.86rem;
  }

  /* Middle Grid Stacked */
  .middle-grid {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
  }

  .vertical-tabs {
    flex-direction: column;
    width: 100%;
    gap: 0.45rem;
  }

  .vertical-tabs .tab-btn {
    width: 100%;
    flex: 0 0 auto !important;
    height: auto !important;
    padding: 0.6rem 0.85rem;
    font-size: 0.86rem;
  }

  .bio-stats-col {
    gap: 0.95rem;
  }

  .section-title {
    font-size: 1.05rem;
  }

  .bio-paragraph {
    font-size: 0.85rem;
    line-height: 1.65;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
  }

  .stat-card {
    padding: 0.65rem 0.4rem;
  }

  .stat-number {
    font-size: 1.3rem;
  }

  .interests-card {
    width: 100%;
    padding: 0.9rem 1rem;
  }

  /* Lower Grid Stacked */
  .lower-grid {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    padding-top: 0.85rem;
  }

  .column-header {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .inspiration-card {
    height: 170px;
    min-height: 170px;
    max-height: 190px;
  }

  /* Footer Stacked */
  .footer-container {
    flex-direction: column;
    gap: 0.85rem;
    text-align: center;
  }

  .footer-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-bar-sep {
    display: none;
  }
}

/* ==========================================================================
   Education & Career Page (শিক্ষা ও কর্মজীবন) Dedicated Styles
   ========================================================================== */

/* Top Hero Banner */
/* Top Hero Banner - Matches Client Design with Centered Title & Haor Landscape */
.edu-hero-banner {
  position: relative;
  width: 100%;
  background: url('../images/haor_banner_landscape_clean.jpg') center/cover no-repeat;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2.5rem;
  border-bottom: 2px solid var(--gold-primary);
  box-sizing: border-box;
}

.edu-hero-banner .banner-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 2;
}

.banner-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 8px rgba(0, 15, 35, 0.85);
}

.banner-subtitle {
  font-size: 0.98rem;
  color: #f1f5f9;
  font-weight: 400;
  text-align: center;
  text-shadow: 0 1px 5px rgba(0, 15, 35, 0.8);
}

.edu-hero-banner .banner-quote-box {
  position: absolute;
  right: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: stretch;
  gap: 0.85rem;
  max-width: 380px;
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 2;
}

.banner-quote-bar {
  width: 3.5px;
  background-color: var(--gold-primary);
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(212, 163, 89, 0.4);
}

.banner-quote-text {
  font-size: 0.88rem;
  color: #ffffff;
  line-height: 1.5;
  font-style: normal;
  text-shadow: 0 1px 4px rgba(0, 15, 35, 0.7);
}

.banner-quote-author {
  font-size: 0.8rem;
  color: #cbd5e1;
  margin-top: 0.25rem;
  text-shadow: 0 1px 3px rgba(0, 15, 35, 0.7);
}

.banner-left {
  display: flex;
  flex-direction: column;
}

.banner-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.banner-subtitle {
  font-size: 0.95rem;
  color: #cbd5e1;
  font-weight: 400;
}

.banner-quote-box {
  display: flex;
  align-items: stretch;
  gap: 0.85rem;
  max-width: 390px;
}

.banner-quote-bar {
  width: 3px;
  background-color: var(--gold-primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.banner-quote-text {
  font-size: 0.86rem;
  color: #f1f5f9;
  line-height: 1.5;
  font-style: italic;
}

.banner-quote-author {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

/* Education Page Main Container */
.edu-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.75rem 2rem 3rem;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.75rem;
  background-color: #ffffff;
}

/* Left Sidebar Profile Card */
.profile-sidebar-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-self: start;
}

.sidebar-photo {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1rem;
  background-color: #cbd5e1;
}

.sidebar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.sidebar-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.sidebar-role {
  font-size: 0.86rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1rem;
}

.sidebar-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1rem;
}

.sidebar-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.sidebar-info-item i {
  color: var(--navy-dark);
  width: 16px;
  text-align: center;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.sidebar-info-item strong {
  color: var(--text-primary);
  font-weight: 600;
}

.sidebar-sig-wrap {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0;
}

.sidebar-sig-wrap img {
  height: 42px;
  width: auto;
}

.sidebar-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0;
}

.sidebar-divider::before,
.sidebar-divider::after {
  content: '';
  height: 1px;
  background: #e2e8f0;
  flex: 1;
}

.sidebar-divider span {
  padding: 0 0.5rem;
  color: var(--gold-primary);
  font-size: 0.75rem;
}

.sidebar-motto {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  font-style: italic;
}

/* Right Content Area */
.edu-content-area {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

/* Horizontal Tab Bar */
.edu-tabs-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-light);
}

.edu-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.edu-tab-btn:hover {
  background-color: var(--bg-card-alt);
  color: var(--text-primary);
  border-color: #cbd5e1;
}

.edu-tab-btn.active {
  background-color: var(--navy-header);
  color: #ffffff;
  border-color: var(--navy-header);
  font-weight: 600;
}

.edu-tab-btn i {
  font-size: 0.88rem;
}

/* Main Grid below tabs: Education (Left) + Career/Skills/CV (Right) */
.edu-details-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.75rem;
  align-items: start;
}

/* Education Items Column */
.edu-items-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.edu-sec-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.edu-sec-head i {
  color: #2563eb;
  font-size: 1.15rem;
}

.degree-cards-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.degree-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  transition: var(--transition);
}

.degree-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: #cbd5e1;
}

.degree-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 0.35rem 0.5rem;
  background-color: #f1f5f9;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  flex-shrink: 0;
}

.degree-badge .year {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
}

.degree-badge .status {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.2;
}

.degree-logo {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.degree-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.degree-info {
  display: flex;
  flex-direction: column;
}

.degree-inst {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.degree-prog {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
  line-height: 1.35;
}

.degree-res {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.1rem;
}

/* Special Notes Box */
.special-notes-box {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
}

.notes-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.note-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.note-item::before {
  content: '•';
  color: #2563eb;
  font-weight: bold;
}

/* Right Column (Career, Skills, CV Download) */
.edu-side-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.edu-box {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
}

.edu-box-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

.edu-box-title i {
  color: #2563eb;
  font-size: 1.05rem;
}

/* Skills Pills */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  padding: 0.32rem 0.85rem;
  background-color: #eef4fc;
  color: #031735;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid #dbeafe;
}

/* CV Download Section */
.cv-buttons-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.cv-btn-navy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background-color: var(--navy-header);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}

.cv-btn-navy:hover {
  background-color: var(--navy-light);
  transform: translateY(-1px);
}

.cv-btn-gold {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background-color: #c99742;
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}

.cv-btn-gold:hover {
  background-color: #b88235;
  transform: translateY(-1px);
}

.cv-quote {
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

.cv-quote-mark {
  color: var(--gold-primary);
  font-size: 1.4rem;
  line-height: 1;
  display: block;
  margin-bottom: 0.2rem;
}

.cv-quote-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  font-style: italic;
}

.cv-quote-author {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 0.25rem;
}

/* Mobile Media Queries for Education Page */
@media (max-width: 992px) {
  .edu-hero-banner {
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1.25rem;
    gap: 1rem;
  }

  .edu-hero-banner .banner-left {
    margin: 0 auto;
  }

  .edu-hero-banner .banner-quote-box {
    position: static;
    transform: none;
    max-width: 100%;
    margin-top: 0.5rem;
  }

  .edu-container {
    grid-template-columns: 1fr;
    padding: 1.25rem 1rem 2rem;
  }

  .edu-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Phone Mockup Styling */
  .edu-hero-banner {
    padding: 1.25rem 1rem;
    height: auto;
    min-height: 95px;
    background: #061937 !important;
    border-radius: var(--radius-md);
    margin: 0.75rem;
    border-bottom: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .edu-hero-banner .banner-left {
    opacity: 1 !important;
    pointer-events: auto !important;
    max-width: calc(100% - 70px);
  }

  .banner-title {
    font-size: 1.4rem;
    color: #ffffff;
  }

  .banner-subtitle {
    font-size: 0.8rem;
    color: #cbd5e1;
  }

  .banner-quote-box {
    display: none !important;
  }

  .banner-mobile-avatar {
    display: block !important;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--gold-primary);
  }

  .banner-mobile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .edu-container {
    padding: 0.5rem 0.75rem 2rem;
  }

  .profile-sidebar-card {
    display: none; /* In phone mockup, profile info is in about page or collapsed; main screen shows degree list */
  }

  .edu-tabs-bar {
    display: flex;
    justify-content: space-between;
    gap: 0.35rem;
    padding-bottom: 0.65rem;
    overflow-x: auto;
  }

  .edu-tab-btn {
    padding: 0.45rem 0.65rem;
    font-size: 0.85rem;
    flex-shrink: 0;
  }

  .edu-tab-btn span {
    display: none; /* Icons only on phone mockup! */
  }

  .edu-tab-btn i {
    font-size: 1.1rem;
    margin: 0;
  }

  .degree-card {
    padding: 0.75rem 0.85rem;
    gap: 0.85rem;
  }
}

/* ==========================================================================
   Theatre Practice Page (নাট্যচর্চা) Dedicated Styles
   ========================================================================== */

/* Hero Banner */
.theatre-hero-banner {
  background: url('../images/theatre_stage_panoramic_clean.jpg') right center / cover no-repeat;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  min-height: 250px;
  display: flex;
  align-items: center;
}

.theatre-hero-content {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 1.8rem 3rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.theatre-hero-left {
  max-width: 580px;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.theatre-badge {
  font-size: 0.95rem;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.5px;
}

.theatre-badge .gold-bar {
  color: var(--gold-primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.theatre-title {
  font-size: 2.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
  line-height: 1.22;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.theatre-subtitle {
  font-size: 1.08rem;
  color: #e2e8f0;
  margin-bottom: 1.25rem;
  font-weight: 400;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.theatre-quote-wrap {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-top: 0.25rem;
}

.theatre-quote {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.5;
  font-style: normal;
  max-width: 320px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.theatre-gold-sig {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

/* Filter Bar */
.theatre-filters-wrapper {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 1.25rem 2.5rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  flex-wrap: wrap;
  background-color: #ffffff;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  background-color: var(--bg-card-alt);
  color: var(--text-primary);
  border-color: #cbd5e1;
}

.filter-btn.active {
  background-color: var(--gold-primary);
  color: var(--navy-header);
  border-color: var(--gold-primary);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(212, 163, 89, 0.3);
}

/* Cards Grid (2 Rows x 3 Columns) */
.theatre-grid-container {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 1rem 2.5rem 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  background-color: #ffffff;
}

.theatre-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  transition: var(--transition);
}

.theatre-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: #cbd5e1;
}

/* Card Media (Left Half) */
.card-media {
  width: 130px;
  flex-shrink: 0;
  position: relative;
  background-color: #f1f5f9;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Card Content (Right Half) */
.card-body {
  padding: 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.card-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.55rem;
  line-height: 1.25;
}

.badge-navy {
  background-color: var(--navy-header);
  color: #ffffff;
}

.badge-cyan {
  background-color: #0284c7;
  color: #ffffff;
}

.badge-light {
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 0.15rem;
  margin-bottom: 0.45rem;
  line-height: 1.35;
}

.card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.65rem;
}

.card-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.card-meta-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.card-meta-item i {
  color: var(--navy-accent);
  width: 14px;
}

.card-btn {
  align-self: flex-start;
  background-color: var(--navy-header);
  color: #ffffff;
  padding: 0.38rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition);
}

.card-btn:hover {
  background-color: var(--navy-light);
  transform: translateX(2px);
}

/* Card Variant: Vertical Graphic (Cards 3 and 6) */
.theatre-card-vertical {
  flex-direction: column;
}

.theatre-card-vertical .card-top-graphic {
  width: 100%;
  height: 90px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.theatre-card-vertical .card-top-graphic img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.card-top-icon-box {
  width: 100%;
  height: 85px;
  background-color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #dc2626;
  border-bottom: 1px solid var(--border-light);
}

/* Full-Width Stats Strip */
.theatre-stats-strip {
  background-color: var(--navy-header);
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 2.5rem;
}

.theatre-stats-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stats-items-group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.theatre-stat-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theatre-stat-icon {
  font-size: 1.6rem;
  color: var(--gold-primary);
}

.theatre-stat-val {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.theatre-stat-lbl {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.2rem;
}

.theatre-strip-quote {
  font-size: 0.88rem;
  color: #cbd5e1;
  font-style: italic;
  text-align: right;
  max-width: 320px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .theatre-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .theatre-hero-banner {
    background: linear-gradient(to right, rgba(3, 16, 34, 0.92) 0%, rgba(3, 16, 34, 0.8) 55%, rgba(3, 16, 34, 0.35) 100%),
                url('../images/theatre_stage_panoramic_clean.jpg') right center / cover no-repeat;
    min-height: 160px;
    padding: 0;
  }

  .theatre-hero-content {
    padding: 1.25rem 1rem;
  }

  .theatre-title {
    font-size: 1.35rem;
  }

  .theatre-subtitle {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
  }

  .theatre-quote {
    font-size: 0.75rem;
  }

  .theatre-gold-sig {
    height: 32px;
  }

  .theatre-filters-wrapper,
  .research-filters-wrapper {
    padding: 0.85rem 1rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .theatre-filters-wrapper::-webkit-scrollbar,
  .research-filters-wrapper::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex-shrink: 0;
    padding: 0.35rem 0.9rem;
    font-size: 0.82rem;
  }

  .theatre-grid-container {
    grid-template-columns: 1fr;
    padding: 0.85rem 1rem 2rem;
    gap: 1rem;
  }

  .theatre-card {
    flex-direction: column;
  }

  .card-media {
    width: 100%;
    height: 190px;
  }

  .theatre-stats-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .stats-items-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    width: 100%;
  }

  .theatre-strip-quote {
    text-align: left;
    max-width: 100%;
  }

  /* Bottom Floating Bar on Mobile */
  .mobile-bottom-bar,
  .mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--navy-header);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.5rem 0;
    z-index: 1000;
  }

  .mobile-bar-item,
  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.72rem;
    color: #94a3b8;
    text-decoration: none;
    gap: 0.2rem;
  }

  .mobile-bar-item.active,
  .bottom-nav-item.active,
  .mobile-bar-item:hover,
  .bottom-nav-item:hover {
    color: var(--gold-primary);
  }

  .mobile-bar-item i,
  .bottom-nav-item i {
    font-size: 1.05rem;
  }
}

/* ==========================================================================
   RESEARCH & PUBLICATIONS PAGE STYLING (research.html)
   ========================================================================== */

/* Hero Banner */
.research-hero-banner {
  background: url('../images/research_hero_banner_clean.jpg') right center / cover no-repeat;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  min-height: 250px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--gold-primary);
}

.research-hero-content {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 1.8rem 3rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}

.research-hero-left {
  max-width: 580px;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.research-badge {
  font-size: 0.95rem;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.5px;
}

.research-badge .gold-icon {
  color: var(--gold-primary);
  font-size: 1rem;
}

.research-title {
  font-size: 2.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
  line-height: 1.22;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.research-subtitle {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 0.85rem;
  font-weight: 400;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.research-quote-wrap {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-top: 0.25rem;
}

.research-quote {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.5;
  font-style: normal;
  max-width: 330px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.research-gold-sig {
  height: 46px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.research-hero-quote-right {
  border-left: 2px solid var(--gold-primary, #dfb235);
  padding-left: 0.85rem;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  margin-right: 1.5rem;
}

.quote-right-text {
  font-size: 0.95rem;
  color: #ffffff;
  line-height: 1.5;
  font-weight: 500;
  font-family: 'Hind Siliguri', sans-serif;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

/* Category Filter Bar */
.research-filters-wrapper {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 1.25rem 2.5rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  flex-wrap: wrap;
  background-color: #ffffff;
}

/* Page Main Container */
.research-page-container {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 1rem 2.5rem 2.5rem;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.research-row {
  display: grid;
  gap: 1.4rem;
  align-items: stretch;
}

.research-row-top {
  grid-template-columns: 1.3fr 0.9fr 0.7fr;
}

.research-row-bottom {
  grid-template-columns: 1.35fr 0.95fr 0.7fr;
}

.research-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.research-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Card 1: Featured Book Card */
.featured-book-card {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.book-cover-wrap {
  flex-shrink: 0;
}

.book-3d-cover {
  width: 155px;
  height: 220px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: -4px 6px 16px rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.15);
  border-left: 3px solid #1a365d;
}

.book-details-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.book-badge-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #031022;
  margin-bottom: 0.15rem;
  display: inline-block;
}

.book-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #031022;
  margin-bottom: 0.2rem;
  line-height: 1.25;
}

.book-subtitle-tag {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0.85rem;
}

.book-meta-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #334155;
  margin-bottom: 1.15rem;
}

.book-meta-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.book-meta-list .meta-icon {
  color: #031022;
  width: 16px;
  font-size: 0.82rem;
}

.book-meta-list .meta-label {
  font-weight: 600;
  color: #1e293b;
}

.book-meta-list .meta-value {
  color: #475569;
}

.btn-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: #031022;
  color: #ffffff;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-primary-action:hover {
  background-color: #061937;
  transform: translateY(-1px);
}

/* Card 2: Research Foundations Card */
.methodology-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-title-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.card-header-icon-box {
  background-color: #031022;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.card-main-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #031022;
}

.meth-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.meth-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.meth-circle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.meth-text {
  font-size: 0.86rem;
  color: #1e293b;
  line-height: 1.45;
  font-weight: 500;
}

/* Card 3: Quote & Visual Card */
.haor-quote-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 0;
  overflow: hidden;
  background-color: #f8fafc;
}

.quote-symbol {
  color: #0284c7;
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
}

.haor-quote-body {
  font-size: 0.95rem;
  color: #1e293b;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0.4rem;
}

.haor-quote-author {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 1rem;
}

.haor-boat-visual {
  margin: 0 -1.5rem;
  height: 105px;
  overflow: hidden;
}

.haor-boat-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Card 4: Published Books Shelf Card */
.books-shelf-card {
  display: flex;
  flex-direction: column;
}

.header-check-icon {
  color: #031022;
  font-size: 1.15rem;
}

.shelf-books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.shelf-book-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.shelf-book-cover {
  width: 100%;
  height: 110px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  margin-bottom: 0.45rem;
}

.shelf-book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.shelf-book-cover:hover img {
  transform: scale(1.05);
}

.shelf-book-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #031022;
  margin-bottom: 0.15rem;
  line-height: 1.25;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shelf-book-year {
  font-size: 0.72rem;
  color: #64748b;
  margin-bottom: 0.4rem;
}

.shelf-status-pill {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  display: inline-block;
}

.status-published {
  background-color: #16a34a;
  color: #ffffff;
}

.status-in-prep {
  background-color: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.status-planned {
  background-color: #475569;
  color: #ffffff;
}

/* Card 5: Gift Dedication Card */
.gift-dedication-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #fffdfa;
}

.header-gift-icon {
  color: #031022;
  font-size: 1.15rem;
}

.gift-intro-text {
  font-size: 0.84rem;
  color: #334155;
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.foundation-highlight-banner {
  background-color: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.6rem;
}

.foundation-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #d97706;
  margin-top: 5px;
  flex-shrink: 0;
}

.foundation-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 0.2rem;
  line-height: 1.35;
}

.foundation-location {
  font-size: 0.76rem;
  color: #78350f;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.gift-signature-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.2rem;
}

.gift-blue-signature {
  height: 38px;
  width: auto;
}

/* Card 6: Writings Category Card */
.writings-category-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.header-folder-icon {
  color: #031022;
  font-size: 1.15rem;
}

.writings-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
}

.writings-links-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: #1e293b;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
}

.writings-links-list li:hover {
  color: var(--gold-primary);
}

.writings-links-list .link-icon {
  color: #031022;
  width: 16px;
  font-size: 0.82rem;
}

.btn-more-writings {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: #031022;
  color: #ffffff;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
  transition: background-color 0.2s ease;
}

.btn-more-writings:hover {
  background-color: #061937;
}

/* Desktop hidden for mobile bottom nav */
.mobile-bottom-nav {
  display: none;
}

/* Responsive Rules for Research Page */
@media (max-width: 1024px) {
  .research-row-top {
    grid-template-columns: 1fr;
  }

  .research-row-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .research-hero-banner {
    background: linear-gradient(to right, rgba(3, 16, 34, 0.94) 0%, rgba(3, 16, 34, 0.8) 55%, rgba(3, 16, 34, 0.35) 100%),
                url('../images/research_hero_banner_clean.jpg') right center / cover no-repeat;
    min-height: 160px;
    padding: 0;
  }

  .research-hero-content {
    padding: 1.25rem 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .research-hero-quote-right {
    display: none;
  }

  .research-title {
    font-size: 1.35rem;
  }

  .research-subtitle {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
  }

  .research-quote {
    font-size: 0.75rem;
  }

  .research-gold-sig {
    height: 32px;
  }

  .research-filters-wrapper {
    padding: 0.85rem 1rem;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .research-page-container {
    padding: 0.85rem 1rem 4rem;
    gap: 1rem;
  }

  .featured-book-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .book-details-content {
    align-items: center;
  }

  .btn-primary-action {
    align-self: center;
  }

  .shelf-books-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .mobile-bottom-nav {
    display: flex;
  }
}

/* ==========================================================================
   Gallery Page Styles (ছবি ও ভিডিও গ্যালারি)
   ========================================================================== */

.gallery-hero-banner {
  position: relative;
  width: 100%;
  min-height: 232px;
  background: url('../images/gallery_hero_banner_exact.jpg') no-repeat 54% top / cover;
  display: flex;
  align-items: center;
  border-bottom: 2px solid #b8860b;
  overflow: hidden;
}

.gallery-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 10, 20, 0.72) 0%, rgba(2, 10, 20, 0.35) 32%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
  pointer-events: none;
}

.gallery-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
  padding: 1.6rem 2.5rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.gallery-hero-left {
  max-width: 580px;
}

.gallery-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #dfb235;
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-family: 'Hind Siliguri', sans-serif;
}

.gallery-cam-svg {
  width: 28px;
  height: 22px;
  flex-shrink: 0;
}

.gallery-title {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 2.3rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.22;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.gallery-subtitle {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 0.8rem;
  font-family: 'Hind Siliguri', sans-serif;
}

.gallery-quote-wrap {
  display: flex;
  align-items: center;
}

.gallery-gold-sig {
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.gallery-hero-quote-right {
  max-width: 250px;
  margin-right: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  text-align: left;
}

.quote-symbol-large {
  font-size: 2.8rem;
  color: #dfb235;
  font-family: 'Noto Serif Bengali', Georgia, serif;
  line-height: 1;
  flex-shrink: 0;
  margin-top: -0.2rem;
}

.quote-text-group {
  display: flex;
  flex-direction: column;
}

.quote-right-body {
  font-size: 0.95rem;
  color: #ffffff;
  line-height: 1.45;
  font-weight: 500;
  font-family: 'Hind Siliguri', sans-serif;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.quote-right-author {
  font-size: 0.8rem;
  color: #cbd5e1;
  margin-top: 0.35rem;
  font-family: 'Hind Siliguri', sans-serif;
}

/* Horizontal Category Filter Bar */
.gallery-filters-wrapper {
  width: 100%;
  box-sizing: border-box;
  padding: 1.25rem 2.5rem 0.6rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
  flex-wrap: wrap;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.gallery-filters-wrapper .filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.95rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: #334155;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.gallery-filters-wrapper .filter-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.gallery-filters-wrapper .filter-btn.active {
  background: #d4a737;
  color: #0f172a;
  border-color: #c59b27;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Gallery Main Layout: Sidebar + Grid */
.gallery-main-layout {
  width: 100%;
  box-sizing: border-box;
  padding: 1.25rem 2.5rem 3rem;
  display: flex;
  gap: 1.5rem;
  background: #f8fafc;
}

/* Left Sidebar */
.gallery-sidebar {
  width: 220px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.gallery-sidebar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.1rem 0.95rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.sidebar-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f1f5f9;
  font-family: 'Hind Siliguri', sans-serif;
}

.sidebar-categories-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.side-cat-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.65rem;
  border: none;
  background: transparent;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 6px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.side-cat-btn i {
  font-size: 0.8rem;
  width: 16px;
  text-align: center;
  color: #64748b;
}

.side-cat-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.side-cat-btn.active {
  background: #eedfa9;
  color: #0f172a;
  font-weight: 600;
}

.side-cat-btn.active i {
  color: #0f172a;
}

.gallery-quote-box {
  background: #03142e;
  border: 1px solid #1e293b;
  border-radius: 10px;
  padding: 1.25rem 1rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(3, 20, 46, 0.15);
}

.gold-quote-mark {
  font-size: 2.2rem;
  color: #dfb235;
  font-family: serif;
  line-height: 1;
  margin-bottom: -0.25rem;
}

.quote-box-text {
  font-size: 0.84rem;
  line-height: 1.55;
  color: #e2e8f0;
  font-style: italic;
}

.quote-sig-wrap {
  display: flex;
  margin-top: 0.35rem;
}

.quote-box-sig {
  height: 28px;
  object-fit: contain;
}

/* Right Content Section */
.gallery-content-section {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.gallery-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.gallery-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.card-thumb-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #0f172a;
}

.gallery-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-card-img {
  transform: scale(1.04);
}

.card-info-wrap {
  padding: 0.75rem 0.85rem 0.85rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gallery-cat-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  background: #0284c7;
  color: #ffffff;
  border-radius: 4px;
  margin-bottom: 0.45rem;
}

.gallery-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
  line-height: 1.3;
  font-family: 'Hind Siliguri', sans-serif;
}

.gallery-meta-text {
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-meta-text i {
  font-size: 0.72rem;
  color: #94a3b8;
  flex-shrink: 0;
}

.gallery-photo-count {
  margin-top: auto;
  font-size: 0.72rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
}

.gallery-photo-count i {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* Pagination */
.gallery-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.page-nav-btn,
.page-num-btn {
  min-width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.page-num-btn.active {
  background: #03142e;
  color: #ffffff;
  border-color: #03142e;
}

.page-nav-btn:hover,
.page-num-btn:hover:not(.active) {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

/* Responsive Overrides for Gallery */
@media (max-width: 1200px) {
  .gallery-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .gallery-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-hero-banner {
    min-height: auto;
    padding: 1.5rem 1rem;
    background-position: center;
  }

  .gallery-hero-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 1.25rem;
  }

  .gallery-title {
    font-size: 1.5rem;
  }

  .gallery-hero-quote-right {
    border-left: 2px solid #dfb235;
    padding-left: 0.75rem;
    max-width: 100%;
  }

  .quote-symbol-large {
    display: none;
  }

  .gallery-filters-wrapper {
    padding: 0.85rem 1rem;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .gallery-filters-wrapper .filter-btn {
    flex-shrink: 0;
  }

  .gallery-main-layout {
    flex-direction: column;
    padding: 1rem 1rem 4rem;
  }

  .gallery-sidebar {
    display: none;
  }

  .gallery-cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}






/* ==========================================================================
   MASTER MOBILE RESPONSIVE ENGINE (Pixel-to-Pixel for all Smartphones)
   Supports iOS & Android (320px - 480px, and tablets <= 768px)
   ========================================================================== */

/* Hide mobile-specific blocks on desktop */
.gallery-mobile-header-block {
  display: none;
}

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  /* Prevent horizontal scroll globally */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative !important;
  }

  body {
    padding-top: 52px !important;
    padding-bottom: 68px !important; /* Clears fixed bottom app bar */
    -webkit-text-size-adjust: 100% !important;
  }

  /* ----------------------------------------------------
     1. Top Navigation Bar & Mobile Brand & Hamburger
     ---------------------------------------------------- */
  .site-header {
    height: 52px !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background-color: #02122b !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .nav-container {
    padding: 0 1rem !important;
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-sizing: border-box !important;
    gap: 0.5rem !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  .brand {
    display: flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-decoration: none !important;
  }

  .brand-monogram {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    flex-shrink: 0 !important;
  }

  .brand-text {
    min-width: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .brand-name {
    font-size: 0.95rem !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
  }

  .brand-title {
    font-size: 0.62rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: #94a3b8 !important;
    max-width: 165px !important;
    line-height: 1.1 !important;
  }

  .nav-actions {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    cursor: pointer !important;
    border: none !important;
    padding: 0 !important;
  }

  .mobile-toggle:active {
    background: rgba(255, 255, 255, 0.18) !important;
  }

  .nav-menu {
    position: fixed !important;
    top: 52px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background-color: #031735 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 1rem 1.25rem 1.5rem !important;
    gap: 0.25rem !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    transform: translateY(-120%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 9998 !important;
    max-height: calc(100vh - 110px) !important;
    overflow-y: auto !important;
  }

  .nav-menu.open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .nav-menu .nav-item {
    width: 100% !important;
  }

  .nav-menu .nav-link {
    display: block !important;
    padding: 0.75rem 0.5rem !important;
    font-size: 0.95rem !important;
    color: #e2e8f0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    text-decoration: none !important;
  }

  .nav-menu .nav-item.active .nav-link,
  .nav-menu .nav-link:hover {
    color: #d4a359 !important;
    font-weight: 600 !important;
  }

  /* ----------------------------------------------------
     2. Native App Style Mobile Bottom Navigation Bar
     ---------------------------------------------------- */
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 56px !important;
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06) !important;
    z-index: 9999 !important;
    justify-content: space-around !important;
    align-items: center !important;
    padding: 0 0.25rem !important;
    box-sizing: border-box !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
  }

  .bottom-nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    text-decoration: none !important;
    color: #64748b !important;
    gap: 3px !important;
    padding: 4px 0 !important;
    transition: all 0.2s ease !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .bottom-nav-item i {
    font-size: 1.15rem !important;
    color: #334155 !important;
    transition: all 0.2s ease !important;
  }

  .bottom-nav-item span {
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    color: #475569 !important;
  }

  .bottom-nav-item.active i,
  .bottom-nav-item.active span {
    color: #b88235 !important;
    font-weight: 700 !important;
  }

  .bottom-nav-item.active {
    position: relative !important;
  }

  .bottom-nav-item.active::before {
    content: '' !important;
    position: absolute !important;
    top: 2px !important;
    width: 32px !important;
    height: 22px !important;
    background: rgba(212, 163, 89, 0.16) !important;
    border-radius: 12px !important;
    z-index: -1 !important;
  }

  /* ----------------------------------------------------
     3. index.html Mobile Polish
     ---------------------------------------------------- */
  .main-wrapper {
    margin: 0 auto !important;
    padding: 0.75rem 0.75rem 2rem !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .content-sheet {
    border-radius: 10px !important;
    padding: 0.85rem !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  }

  .profile-grid-container {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .hero-card {
    width: 100% !important;
    border-radius: 10px !important;
    margin-bottom: 0.75rem !important;
  }

  .hero-card img {
    border-radius: 8px !important;
    width: 100% !important;
  }

  .quote-card {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0.85rem 1rem !important;
    margin: 0.75rem 0 !important;
    border-radius: 8px !important;
  }

  .quote-text {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .quote-author {
    font-size: 0.75rem !important;
    text-align: right !important;
  }

  .info-list-grid {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
  }

  .tab-btn {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.92rem !important;
  }

  .middle-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  /* ----------------------------------------------------
     4. theatre.html Mobile Polish
     ---------------------------------------------------- */
  .theatre-hero-banner {
    min-height: 175px !important;
    padding: 1.25rem 1rem !important;
    background-size: cover !important;
    background-position: right 20% center !important;
  }

  .theatre-hero-left {
    max-width: 100% !important;
  }

  .theatre-hero-title {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
    margin: 0.35rem 0 !important;
  }

  .theatre-hero-subtitle {
    font-size: 0.82rem !important;
    margin-bottom: 0.35rem !important;
  }

  .theatre-hero-quote {
    font-size: 0.72rem !important;
    line-height: 1.4 !important;
    max-width: 100% !important;
  }

  .theatre-hero-sig {
    width: 95px !important;
    margin-top: 0.25rem !important;
  }

  .theatre-filters-bar,
  .theatre-filters-wrapper {
    padding: 0.75rem 1rem !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    display: flex !important;
    gap: 0.45rem !important;
  }

  .theatre-filters-bar::-webkit-scrollbar,
  .theatre-filters-wrapper::-webkit-scrollbar {
    display: none !important;
  }

  .theatre-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    padding: 1rem 0.85rem !important;
  }

  .theatre-card {
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
  }

  .theatre-card .card-media img {
    height: 190px !important;
    object-fit: cover !important;
    width: 100% !important;
  }

  .theatre-card .card-body {
    padding: 1rem !important;
  }

  .theatre-card .card-title {
    font-size: 1.15rem !important;
    line-height: 1.3 !important;
  }

  .theatre-card .card-desc {
    font-size: 0.85rem !important;
    line-height: 1.45 !important;
  }

  .theatre-card .card-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.65rem 1rem !important;
  }

  .stats-items-group {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    padding: 1rem 0.75rem !important;
  }

  /* ----------------------------------------------------
     5. research.html Mobile Polish
     ---------------------------------------------------- */
  .research-hero-banner {
    min-height: 175px !important;
    padding: 1.25rem 1rem !important;
    background-size: cover !important;
    background-position: right 25% center !important;
  }

  .research-hero-title {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
    margin: 0.35rem 0 !important;
  }

  .research-filters-row {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.35rem !important;
    padding: 0.75rem 0.5rem !important;
  }

  .research-filter-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.55rem 0.2rem !important;
    border-radius: 8px !important;
    font-size: 0.7rem !important;
    gap: 0.3rem !important;
  }

  .research-filter-card i {
    font-size: 1rem !important;
  }

  .research-row-top,
  .research-row-bottom {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }

  /* Featured Book Card on Mobile (Cover Left, Text Right) */
  .featured-book-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 0.85rem !important;
    padding: 0.85rem !important;
    border-radius: 12px !important;
    background: #ffffff !important;
  }

  .featured-book-card .book-cover-wrap {
    width: 105px !important;
    min-width: 105px !important;
    flex-shrink: 0 !important;
  }

  .featured-book-card .book-cover-wrap img {
    border-radius: 6px !important;
    width: 100% !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
  }

  .featured-book-card .book-details-content {
    flex: 1 !important;
    min-width: 0 !important;
  }

  .featured-book-card .book-badge-label {
    font-size: 0.65rem !important;
    padding: 2px 6px !important;
    display: inline-block !important;
    margin-bottom: 0.25rem !important;
  }

  .featured-book-card .book-title {
    font-size: 1.1rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.2rem !important;
  }

  .featured-book-card .book-subtitle-tag {
    font-size: 0.7rem !important;
    color: #64748b !important;
    margin-bottom: 0.35rem !important;
  }

  .featured-book-card .book-meta-list {
    font-size: 0.7rem !important;
    gap: 0.2rem !important;
  }

  .featured-book-card .btn-primary-action {
    margin-top: 0.5rem !important;
    padding: 0.45rem 0.75rem !important;
    font-size: 0.72rem !important;
    display: inline-flex !important;
  }

  /* 4 Published books row on mobile */
  .books-shelf-grid,
  .books-preview-flex {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.4rem !important;
  }

  .shelf-book-item img {
    border-radius: 4px !important;
    width: 100% !important;
  }

  .shelf-book-item h4 {
    font-size: 0.65rem !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* ----------------------------------------------------
     6. gallery.html Mobile Polish
     ---------------------------------------------------- */
  .gallery-hero-banner {
    min-height: 155px !important;
    padding: 1.25rem 1rem !important;
    background-size: cover !important;
    background-position: right 25% center !important;
  }

  .gallery-hero-content {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 0 !important;
    gap: 0.5rem !important;
  }

  .gallery-hero-left {
    display: none !important; /* Title shown below banner on mobile */
  }

  .gallery-hero-quote-right {
    border-left: 2px solid #dfb235 !important;
    padding-left: 0.75rem !important;
    max-width: 100% !important;
  }

  .gallery-hero-quote-right .quote-right-body {
    font-size: 0.85rem !important;
    line-height: 1.45 !important;
  }

  .gallery-hero-quote-right .quote-right-author {
    font-size: 0.75rem !important;
  }

  .gallery-mobile-header-block {
    display: block !important;
    padding: 1rem 1rem 0.25rem !important;
  }

  .gallery-mobile-title {
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: #031735 !important;
    margin-bottom: 0.2rem !important;
    line-height: 1.25 !important;
  }

  .gallery-mobile-sub {
    font-size: 0.82rem !important;
    color: #475569 !important;
  }

  .gallery-filters-wrapper {
    padding: 0.65rem 1rem !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    display: flex !important;
    gap: 0.45rem !important;
  }

  .gallery-filters-wrapper::-webkit-scrollbar {
    display: none !important;
  }

  .gallery-filters-wrapper .filter-btn {
    flex-shrink: 0 !important;
    padding: 0.45rem 0.85rem !important;
    font-size: 0.8rem !important;
    border-radius: 9999px !important;
  }

  .gallery-main-layout {
    flex-direction: column !important;
    padding: 0.5rem 0.85rem 3rem !important;
  }

  .gallery-sidebar {
    display: none !important;
  }

  .gallery-cards-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }

  /* Compact Horizontal Gallery Cards on Mobile */
  .gallery-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    background: #ffffff !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    padding: 8px !important;
    gap: 12px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  }

  .gallery-card .card-thumb-wrap {
    width: 110px !important;
    height: 85px !important;
    min-width: 110px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
  }

  .gallery-card .card-thumb-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .gallery-card .card-info-wrap {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 0 !important;
    flex: 1 !important;
    min-width: 0 !important;
  }

  .gallery-card .gallery-cat-badge {
    display: inline-block !important;
    align-self: flex-start !important;
    font-size: 0.65rem !important;
    background: #0284c7 !important;
    color: #ffffff !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    margin-bottom: 3px !important;
    font-weight: 600 !important;
  }

  .gallery-card .gallery-item-title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.25 !important;
    margin-bottom: 3px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .gallery-card .card-meta-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    font-size: 0.7rem !important;
    color: #64748b !important;
  }

  .gallery-card .card-meta-row span {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
  }

  /* ----------------------------------------------------
     7. education.html Mobile Polish
     ---------------------------------------------------- */
  .edu-hero-banner {
    min-height: 145px !important;
    padding: 1.25rem 1rem !important;
    background-size: cover !important;
  }

  .edu-banner-title {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
  }

  .edu-banner-subtitle {
    font-size: 0.8rem !important;
  }

  .edu-categories-nav {
    overflow-x: auto !important;
    white-space: nowrap !important;
    padding: 0.75rem 1rem !important;
    scrollbar-width: none !important;
    display: flex !important;
    gap: 0.5rem !important;
  }

  .edu-categories-nav::-webkit-scrollbar {
    display: none !important;
  }

  .degree-cards-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    padding: 0.75rem !important;
  }

  .degree-card {
    padding: 0.85rem !important;
    border-radius: 10px !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.75rem !important;
  }

  /* ----------------------------------------------------
     8. Universal Footer Mobile Stacking
     ---------------------------------------------------- */
  .site-footer {
    padding: 1.75rem 1rem 5rem !important;
    text-align: center !important;
  }

  .footer-container {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.25rem !important;
  }

  .footer-brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.5rem !important;
  }

  .footer-quote {
    text-align: center !important;
    max-width: 100% !important;
    font-size: 0.82rem !important;
  }

  .footer-social-icons {
    justify-content: center !important;
  }
}

/* ==========================================================================
   PAGES SYSTEM: MEDIA, PROJECTS, BLOG, CONTACT (Added 2026)
   ========================================================================== */

/* --- Common Inner Page Hero Banners --- */
.media-hero-banner,
.projects-hero-banner,
.blog-hero-banner,
.contact-hero-banner {
  color: #ffffff;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  min-height: 240px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--gold-primary);
}

.media-hero-banner {
  background: linear-gradient(90deg, rgba(2, 10, 25, 0.94) 0%, rgba(2, 10, 25, 0.78) 55%, rgba(2, 10, 25, 0.4) 100%),
              url('../images/gallery_hero_banner_exact.jpg') center/cover no-repeat;
}

.projects-hero-banner {
  background: linear-gradient(90deg, rgba(2, 12, 28, 0.94) 0%, rgba(2, 12, 28, 0.78) 55%, rgba(2, 12, 28, 0.4) 100%),
              url('../images/theatre_stage_panoramic_clean.jpg') center/cover no-repeat;
}

.blog-hero-banner {
  background: linear-gradient(90deg, rgba(3, 14, 30, 0.94) 0%, rgba(3, 14, 30, 0.78) 55%, rgba(3, 14, 30, 0.4) 100%),
              url('../images/research_hero_banner_clean.jpg') center/cover no-repeat;
}

.contact-hero-banner {
  background: linear-gradient(90deg, rgba(2, 10, 24, 0.94) 0%, rgba(2, 10, 24, 0.78) 55%, rgba(2, 10, 24, 0.4) 100%),
              url('../images/haor_banner_landscape_clean.jpg') center/cover no-repeat;
}

.page-hero-content {
  width: 100%;
  margin: 0;
  padding: 1.8rem 2.5rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.page-hero-left {
  max-width: 650px;
  display: flex;
  flex-direction: column;
}

.page-badge {
  font-size: 0.95rem;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: 0.45rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.5px;
}

.page-badge .gold-bar {
  color: var(--gold-primary);
  font-weight: 700;
  font-size: 1.15rem;
}

.page-hero-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
  line-height: 1.25;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.page-hero-subtitle {
  font-size: 1.05rem;
  color: #e2e8f0;
  margin-bottom: 1.25rem;
  font-weight: 400;
  line-height: 1.5;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.page-quote-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(3, 16, 34, 0.55);
  border-left: 3px solid var(--gold-primary);
  padding: 0.6rem 1.1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  backdrop-filter: blur(4px);
  width: fit-content;
  max-width: 100%;
}

.page-quote {
  font-size: 0.92rem;
  color: #cbd5e1;
  font-style: italic;
  margin: 0;
  line-height: 1.45;
}

.page-gold-sig {
  height: 38px;
  width: auto;
  opacity: 0.92;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  flex-shrink: 0;
}

/* --- Filter Pills Wrapper (Common) --- */
.page-filters-wrapper {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 1.25rem 2.5rem 0.6rem;
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  gap: 0.65rem;
  flex-wrap: wrap;
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.page-filter-btn {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.5rem 1.15rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.page-filter-btn:hover {
  border-color: var(--gold-primary);
  color: #0f172a;
  background-color: #fdfaf5;
}

.page-filter-btn.active {
  background-color: var(--gold-primary);
  color: #ffffff;
  border-color: var(--gold-primary);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(212, 163, 89, 0.35);
}

/* --- Common Container Layout --- */
.page-main-container {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 1.25rem 2.5rem 3.5rem;
  background-color: #f8fafc;
}

/* ==========================================================================
   1. MEDIA PAGE COMPONENTS
   ========================================================================== */
.media-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.media-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.media-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: #cbd5e1;
}

.media-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.5;
  background-color: #0f172a;
  overflow: hidden;
}

.media-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.media-card:hover .media-card-media img {
  transform: scale(1.04);
}

.media-outlet-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(3, 16, 34, 0.88);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  border-left: 3px solid var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.media-type-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
}

.media-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.media-card:hover .media-play-overlay {
  opacity: 1;
}

.media-play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transform: scale(0.9);
  transition: transform 0.25s ease;
}

.media-card:hover .media-play-btn {
  transform: scale(1);
}

.media-card-body {
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.media-meta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.media-meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.media-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.42;
  margin-bottom: 0.6rem;
}

.media-card-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.media-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.85rem;
  margin-top: auto;
}

.media-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0369a1;
  transition: color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.media-btn:hover {
  color: #0284c7;
  transform: translateX(3px);
}

/* Media Press Contact Box */
.press-inquiry-box {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, #07172c 0%, #0d2847 100%);
  border-radius: var(--radius-md);
  padding: 2.2rem 2.5rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-left: 4px solid var(--gold-primary);
  box-shadow: var(--shadow-md);
}

.press-inquiry-text h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
  color: #ffffff;
}

.press-inquiry-text p {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

.press-inquiry-btn {
  background: var(--gold-primary);
  color: #ffffff;
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease;
}

.press-inquiry-btn:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   2. PROJECTS PAGE COMPONENTS
   ========================================================================== */
.project-impact-bar {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 1.25rem 2.5rem 0.5rem;
  background-color: #f8fafc;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.impact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.impact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #fdfaf5;
  border: 1px solid rgba(212, 163, 89, 0.3);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.impact-item-text {
  display: flex;
  flex-direction: column;
}

.impact-num {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.1;
}

.impact-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.projects-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.project-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

.project-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background: #0f172a;
}

.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-card-media img {
  transform: scale(1.04);
}

.project-status-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.status-active {
  background: #10b981;
}

.status-completed {
  background: #0284c7;
}

.status-planned {
  background: #f59e0b;
}

.project-category-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(3, 16, 34, 0.88);
  color: #f1f5f9;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  border-left: 3px solid var(--gold-primary);
}

.project-card-body {
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.38;
  margin-bottom: 0.6rem;
}

.project-card-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.project-metrics-box {
  background: #f8fafc;
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 1.15rem;
  border: 1px solid #edf2f7;
}

.project-metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.project-metric-row:last-child {
  margin-bottom: 0;
}

.project-metric-val {
  font-weight: 600;
  color: var(--text-dark);
}

.project-card-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.project-card:hover .project-card-btn {
  background: var(--gold-primary);
  color: #ffffff;
  border-color: var(--gold-primary);
}

/* ==========================================================================
   3. BLOG PAGE COMPONENTS
   ========================================================================== */
.featured-blog-section {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 1.25rem 2.5rem 0.5rem;
  background-color: #f8fafc;
}

.featured-blog-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

.featured-blog-media {
  position: relative;
  min-height: 320px;
  background: #0f172a;
  overflow: hidden;
}

.featured-blog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-blog-card:hover .featured-blog-media img {
  transform: scale(1.03);
}

.featured-badge-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold-primary);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.featured-blog-body {
  padding: 2.2rem 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-meta-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.blog-category-label {
  color: var(--gold-primary);
  font-weight: 600;
}

.featured-blog-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.featured-blog-excerpt {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.blog-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 1.1rem;
  margin-top: auto;
}

.blog-author-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.blog-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-primary);
}

.blog-author-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.blog-read-time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.blog-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

.blog-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.5;
  background: #0f172a;
  overflow: hidden;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.04);
}

.blog-card-body {
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 0.6rem;
}

.blog-card-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.85rem;
  margin-top: auto;
}

.blog-read-btn {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0369a1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.blog-read-btn:hover {
  color: #0284c7;
  transform: translateX(3px);
}

/* ==========================================================================
   4. CONTACT PAGE COMPONENTS
   ========================================================================== */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.2rem;
  align-items: start;
}

.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.6rem;
  box-shadow: var(--shadow-sm);
}

.contact-info-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.contact-info-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gold-primary);
  border-radius: 2px;
}

.contact-row-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.contact-row-item:last-child {
  margin-bottom: 0;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fdfaf5;
  border: 1px solid rgba(212, 163, 89, 0.35);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-row-content {
  display: flex;
  flex-direction: column;
}

.contact-row-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.contact-row-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.45;
}

.contact-row-value a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-row-value a:hover {
  color: var(--gold-primary);
}

/* Social pills */
.contact-social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 1rem;
}

.contact-social-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.25s ease;
}

.contact-social-btn:hover {
  background: #07172c;
  color: #ffffff;
  border-color: #07172c;
  transform: translateY(-2px);
}

.contact-social-btn i {
  font-size: 1.05rem;
  color: var(--gold-primary);
}

/* Contact Form Card */
.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.2rem 2.2rem;
  box-shadow: var(--shadow-sm);
}

.contact-form-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.contact-form-card .form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.45;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-bottom: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.1rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.form-group label .req {
  color: #ef4444;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.92rem;
  color: #0f172a;
  background: #fdfdfd;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 163, 89, 0.2);
  background: #ffffff;
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-submit-btn {
  background: linear-gradient(135deg, #d4a359 0%, #b8860b 100%);
  color: #ffffff;
  border: none;
  padding: 0.85rem 1.8rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 4px 14px rgba(212, 163, 89, 0.4);
  transition: all 0.25s ease;
  width: 100%;
}

.form-submit-btn:hover {
  box-shadow: 0 6px 18px rgba(184, 134, 11, 0.5);
  transform: translateY(-2px);
}

/* FAQ & Directions Section */
.contact-extra-section {
  max-width: 1440px;
  margin: 3rem auto 0 auto;
  box-sizing: border-box;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.faq-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-question i {
  color: var(--gold-primary);
}

.faq-answer {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE OVERRIDES FOR ALL 4 PAGES
   ========================================================================== */
@media (max-width: 1024px) {
  .media-grid-container,
  .projects-grid-container,
  .blog-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .featured-blog-card {
    grid-template-columns: 1fr;
  }

  .contact-layout-grid {
    grid-template-columns: 1fr;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .media-hero-banner,
  .projects-hero-banner,
  .blog-hero-banner,
  .contact-hero-banner {
    min-height: 175px !important;
    padding: 1.25rem 1rem !important;
  }

  .page-hero-content {
    padding: 0 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }

  .page-hero-title {
    font-size: 1.65rem !important;
  }

  .page-hero-subtitle {
    font-size: 0.92rem !important;
    margin-bottom: 0.85rem !important;
  }

  .page-quote-wrap {
    padding: 0.5rem 0.85rem !important;
  }

  .page-quote {
    font-size: 0.82rem !important;
  }

  .page-gold-sig {
    height: 30px !important;
  }

  .page-filters-wrapper {
    padding: 0 1rem !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding-bottom: 0.5rem !important;
  }

  .page-filters-wrapper::-webkit-scrollbar {
    display: none !important;
  }

  .page-main-container,
  .featured-blog-section,
  .project-impact-bar {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .media-grid-container,
  .projects-grid-container,
  .blog-grid-container {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .impact-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.85rem !important;
    padding: 1rem !important;
  }

  .press-inquiry-box {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 1.5rem !important;
    gap: 1.25rem !important;
  }

  .form-grid-2 {
    grid-template-columns: 1fr !important;
  }

  .faq-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-form-card {
    padding: 1.5rem 1.25rem !important;
  }
}

/* ==========================================================================
   THEATRE DEDICATED DETAIL PAGES STYLES
   ========================================================================== */
.theatre-detail-header {
  background: linear-gradient(135deg, #031735 0%, #08244c 100%);
  color: #ffffff;
  padding: 2.2rem 2.5rem;
  border-bottom: 2px solid var(--gold-primary);
  width: 100%;
  box-sizing: border-box;
}

.theatre-detail-header-inner {
  max-width: 1440px;
  margin: 0 auto;
}

.theatre-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.theatre-breadcrumb a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.theatre-breadcrumb a:hover {
  color: var(--gold-primary);
}

.theatre-breadcrumb .sep {
  color: #64748b;
  font-size: 0.75rem;
}

.theatre-breadcrumb .current {
  color: var(--gold-primary);
  font-weight: 600;
}

.theatre-detail-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.theatre-detail-title-group h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
}

.theatre-detail-meta-pills {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #e2e8f0;
  margin-top: 0.6rem;
}

.theatre-detail-meta-pills span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.theatre-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 163, 89, 0.4);
  color: #ffffff;
  padding: 0.55rem 1.15rem;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.theatre-back-btn:hover {
  background: var(--gold-primary);
  color: #031735;
  border-color: var(--gold-primary);
  transform: translateX(-3px);
}

/* Detail Main Layout */
.theatre-detail-body {
  background-color: #f8fafc;
  width: 100%;
  box-sizing: border-box;
  padding: 2.2rem 2.5rem 4rem;
}

.theatre-detail-layout {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2.3fr 1fr;
  gap: 2.2rem;
  align-items: start;
}

/* Main Article Card */
.theatre-article-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.2rem 2.4rem;
  box-shadow: var(--shadow-sm);
}

.theatre-feature-photo {
  width: 100%;
  max-height: 480px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #031735;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.theatre-feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.theatre-photo-caption {
  font-size: 0.82rem;
  color: #64748b;
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

.theatre-article-section {
  margin-bottom: 2.2rem;
}

.theatre-article-section:last-child {
  margin-bottom: 0;
}

.theatre-section-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.55rem;
}

.theatre-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 45px;
  height: 3px;
  background: var(--gold-primary);
  border-radius: 2px;
}

.theatre-article-text {
  font-size: 1rem;
  color: #334155;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.theatre-director-quote {
  background: #fdfaf5;
  border-left: 4px solid var(--gold-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 1.05rem;
  color: #0f172a;
  font-style: italic;
  line-height: 1.65;
  box-shadow: 0 1px 4px rgba(212, 163, 89, 0.15);
}

.theatre-director-quote-author {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #92400e;
  margin-top: 0.6rem;
  font-style: normal;
}

/* Cast & Credits Table/Pills */
.cast-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 1rem;
}

.cast-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cast-role {
  font-weight: 600;
  color: var(--navy-dark);
  font-size: 0.92rem;
}

.cast-name {
  color: #64748b;
  font-size: 0.88rem;
}

/* Scene gallery grid inside detail page */
.scene-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.2rem;
}

.scene-photo {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0f172a;
  box-shadow: var(--shadow-sm);
}

.scene-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.scene-photo:hover img {
  transform: scale(1.05);
}

/* Sidebar Cards */
.theatre-sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.theatre-factsheet-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.6rem;
  box-shadow: var(--shadow-sm);
}

.theatre-factsheet-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.theatre-factsheet-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background: var(--gold-primary);
  border-radius: 2px;
}

.fact-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.65rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
}

.fact-row:last-child {
  border-bottom: none;
}

.fact-label {
  color: #64748b;
  font-weight: 500;
  flex-shrink: 0;
}

.fact-value {
  color: var(--navy-dark);
  font-weight: 600;
  text-align: right;
}

/* Related Productions Sidebar */
.related-productions-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.6rem;
  box-shadow: var(--shadow-sm);
}

.related-productions-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.related-productions-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background: var(--gold-primary);
  border-radius: 2px;
}

.related-item-link {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.related-item-link:last-child {
  border-bottom: none;
}

.related-item-link:hover {
  transform: translateX(4px);
}

.related-item-thumb {
  width: 60px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0f172a;
}

.related-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-item-text {
  display: flex;
  flex-direction: column;
}

.related-item-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-dark);
  line-height: 1.35;
}

.related-item-role {
  font-size: 0.78rem;
  color: var(--gold-hover);
  margin-top: 0.15rem;
}

/* Mobile Responsiveness for Detail Page */
@media (max-width: 900px) {
  .theatre-detail-layout {
    grid-template-columns: 1fr;
  }

  .cast-list-grid {
    grid-template-columns: 1fr;
  }

  .scene-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .theatre-detail-header {
    padding: 1.5rem 1rem !important;
  }

  .theatre-detail-title-group h1 {
    font-size: 1.75rem !important;
  }

  .theatre-detail-body {
    padding: 1.25rem 1rem 4rem !important;
  }

  .theatre-article-card {
    padding: 1.4rem 1.15rem !important;
  }

  .theatre-feature-photo {
    max-height: 260px !important;
    margin-bottom: 1.25rem !important;
  }

  .scene-gallery-grid {
    grid-template-columns: 1fr !important;
  }
}


/* ==========================================================================
   COMPREHENSIVE PIXEL-PERFECT MOBILE RESPONSIVE ENGINE (ALL 35 PAGES)
   Ensures 100% responsiveness on mobile devices (<= 768px and <= 480px)
   ========================================================================== */

/* 1. Global Viewport & Container Protections */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
  -webkit-text-size-adjust: 100% !important;
}

body {
  padding-bottom: 68px !important; /* Prevents mobile bottom bar from overlapping content */
}

*, *::before, *::after {
  box-sizing: border-box !important;
}

img, video, iframe, canvas {
  max-width: 100% !important;
  height: auto !important;
}

/* 2. Responsive Top Site Header & Hamburger Navigation */
@media (max-width: 768px) {
  .site-header {
    padding: 0.55rem 1rem !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 99990 !important;
    background: #03142e !important;
    border-bottom: 1px solid rgba(212, 163, 89, 0.3) !important;
  }

  .nav-container, .header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .brand, .footer-brand {
    display: flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
    text-decoration: none !important;
  }

  .brand-monogram img {
    width: 34px !important;
    height: 34px !important;
  }

  .brand-text {
    display: flex !important;
    flex-direction: column !important;
  }

  .brand-name {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.15 !important;
  }

  .brand-title {
    font-size: 0.65rem !important;
    color: #94a3b8 !important;
    display: block !important;
  }

  .nav-actions, .header-utils {
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
  }

  .lang-switch, .lang-switch-capsule {
    display: flex !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 20px !important;
    padding: 2px !important;
  }

  .lang-btn, .lang-pill {
    font-size: 0.72rem !important;
    padding: 0.2rem 0.5rem !important;
    border-radius: 16px !important;
    border: none !important;
    background: transparent !important;
    color: #cbd5e1 !important;
  }

  .lang-btn.active, .lang-pill.active {
    background: var(--gold-primary) !important;
    color: #03142e !important;
    font-weight: 700 !important;
  }

  .search-btn, .btn-search-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #cbd5e1 !important;
    font-size: 0.8rem !important;
  }

  .mobile-toggle, .mobile-menu-trigger {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(212, 163, 89, 0.35) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    padding: 0 !important;
  }

  /* Slide-down / Fullscreen Mobile Drawer Menu */
  .nav-menu, .desktop-nav {
    position: fixed !important;
    top: 54px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: calc(100vh - 54px) !important;
    background: #03142e !important;
    flex-direction: column !important;
    padding: 1.5rem !important;
    gap: 0.75rem !important;
    transform: translateX(-100%) !important;
    transition: transform 0.28s ease !important;
    z-index: 99998 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6) !important;
  }

  .nav-menu.open, .desktop-nav.open {
    transform: translateX(0) !important;
    display: flex !important;
  }

  .nav-item, .nav-list li {
    width: 100% !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
    padding: 0.45rem 0 !important;
    margin: 0 !important;
  }

  .nav-link {
    font-size: 1.05rem !important;
    color: #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-decoration: none !important;
    padding: 0.4rem 0 !important;
  }

  .nav-item.active .nav-link, .nav-link.active {
    color: var(--gold-primary) !important;
    font-weight: 700 !important;
  }
}

/* 3. Hero Banners Responsive Polish */
@media (max-width: 768px) {
  .research-hero-banner,
  .theatre-hero-banner,
  .page-hero-banner,
  .media-hero-banner,
  .projects-hero-banner,
  .blog-hero-banner,
  .contact-hero-banner,
  .edu-hero-banner {
    min-height: auto !important;
    padding: 1.25rem 1rem !important;
    background-size: cover !important;
    background-position: center right !important;
  }

  .theatre-hero-content,
  .research-hero-content,
  .page-hero-content {
    padding: 0 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    max-width: 100% !important;
  }

  .theatre-title,
  .research-title,
  .page-hero-title {
    font-size: 1.45rem !important;
    line-height: 1.3 !important;
    margin: 0.35rem 0 !important;
  }

  .theatre-subtitle,
  .research-subtitle,
  .page-hero-subtitle {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0.5rem !important;
  }

  .theatre-quote-wrap,
  .research-quote-wrap,
  .page-quote-wrap {
    padding: 0.55rem 0.85rem !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.35rem !important;
  }

  .theatre-quote,
  .research-quote,
  .page-quote {
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
  }

  .theatre-gold-sig,
  .research-gold-sig,
  .page-gold-sig {
    height: 28px !important;
    align-self: flex-start !important;
  }

  .research-hero-quote-right,
  .theatre-hero-quote-right,
  .gallery-hero-quote-right {
    display: none !important;
  }
}

/* 4. Horizontal Scroll Filter Pills on Mobile */
@media (max-width: 768px) {
  .research-filters-wrapper,
  .gallery-filters-wrapper,
  .page-filters-wrapper,
  .theatre-filters-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 0.75rem 1rem !important;
    gap: 0.5rem !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }

  .research-filters-wrapper::-webkit-scrollbar,
  .gallery-filters-wrapper::-webkit-scrollbar,
  .page-filters-wrapper::-webkit-scrollbar,
  .theatre-filters-wrapper::-webkit-scrollbar {
    display: none !important;
  }

  .filter-btn,
  .page-filter-btn {
    flex-shrink: 0 !important;
    font-size: 0.8rem !important;
    padding: 0.4rem 0.85rem !important;
    white-space: nowrap !important;
  }
}

/* 5. Detail Pages Header & Back Buttons (Theatre, Research, Gallery, Blog) */
@media (max-width: 768px) {
  .theatre-detail-header {
    padding: 1.25rem 1rem !important;
  }

  .theatre-breadcrumb {
    font-size: 0.78rem !important;
    margin-bottom: 0.75rem !important;
    flex-wrap: wrap !important;
    gap: 0.35rem !important;
  }

  .theatre-detail-top-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.85rem !important;
  }

  .theatre-detail-title-group h1 {
    font-size: 1.45rem !important;
    line-height: 1.35 !important;
    margin: 0.35rem 0 !important;
  }

  .theatre-detail-meta-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.4rem 0.85rem !important;
    font-size: 0.8rem !important;
    margin-top: 0.4rem !important;
  }

  .theatre-back-btn {
    align-self: flex-start !important;
    font-size: 0.82rem !important;
    padding: 0.4rem 0.9rem !important;
  }

  .theatre-detail-body {
    padding: 1rem 1rem 4.5rem !important;
  }

  .theatre-detail-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
  }

  .theatre-article-card {
    padding: 1.25rem 1rem !important;
    border-radius: 10px !important;
  }

  .theatre-feature-photo {
    max-height: 220px !important;
    border-radius: 8px !important;
    margin-bottom: 0.75rem !important;
  }

  .theatre-lead-para {
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
  }

  .book-banner-wrap,
  .blog-author-card-wrap {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1rem !important;
    padding: 1.25rem 1rem !important;
  }
}

/* 6. Cards Grids on Mobile Devices */
@media (max-width: 768px) {
  .page-main-container,
  .research-page-container {
    padding: 1rem 1rem 4.5rem !important;
  }

  .theatre-grid-container,
  .blog-grid-container,
  .media-grid-container,
  .projects-grid-container,
  .gallery-cards-grid,
  .album-grid,
  .scene-gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .research-row,
  .research-row-top,
  .research-row-bottom {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }

  .featured-book-card {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 1.25rem 1rem !important;
  }

  .book-cover-wrap {
    width: 140px !important;
    margin: 0 auto 1rem !important;
  }

  .featured-blog-section {
    padding: 1rem 1rem 0 !important;
  }

  .featured-blog-card {
    grid-template-columns: 1fr !important;
    border-radius: 10px !important;
  }

  .contact-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  .project-impact-bar {
    padding: 1rem !important;
  }
}

/* 7. Extra Small Screens (<= 480px, e.g. iPhone SE, Galaxy A-series) */
@media (max-width: 480px) {
  .impact-grid {
    grid-template-columns: 1fr !important;
  }

  .theatre-detail-title-group h1 {
    font-size: 1.3rem !important;
  }

  .page-hero-title,
  .theatre-title,
  .research-title {
    font-size: 1.25rem !important;
  }

  .brand-name {
    font-size: 0.95rem !important;
  }

  .theatre-detail-meta-pills span {
    font-size: 0.75rem !important;
  }
}

/* 8. Lightbox Modal Mobile Polish */
@media (max-width: 768px) {
  .lightbox-modal {
    padding: 1rem !important;
  }

  .lightbox-content {
    max-width: 95vw !important;
  }

  .lightbox-img {
    max-height: 70vh !important;
  }

  .lightbox-close {
    top: -36px !important;
    font-size: 1.5rem !important;
  }
}

/* 9. Mobile Bottom Floating App Navigation */
@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 60px !important;
    background: #03142e !important;
    border-top: 1px solid rgba(212, 163, 89, 0.4) !important;
    z-index: 99999 !important;
    justify-content: space-around !important;
    align-items: center !important;
    box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.4) !important;
    padding: 0 0.5rem !important;
  }

  .mob-nav-item,
  .bottom-nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-size: 0.68rem !important;
    gap: 3px !important;
    flex: 1 !important;
    padding: 6px 0 !important;
  }

  .mob-nav-item.active,
  .bottom-nav-item.active {
    color: var(--gold-primary) !important;
    font-weight: 700 !important;
  }

  .mob-nav-item i,
  .bottom-nav-item i {
    font-size: 1.15rem !important;
  }
}
@media (min-width: 769px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}

/* 10. Footer Mobile Responsive Polish */
@media (max-width: 768px) {
  .site-footer {
    padding: 2rem 1rem 1rem !important;
  }

  .footer-container {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1.25rem !important;
    padding: 0 !important;
  }

  .footer-quote {
    text-align: center !important;
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    margin: 0 !important;
  }

  .footer-actions {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.75rem !important;
  }

  .footer-bar-sep {
    display: none !important;
  }

  .footer-meta-links {
    display: flex !important;
    gap: 0.75rem !important;
    font-size: 0.82rem !important;
  }

  .footer-bottom {
    margin-top: 1.5rem !important;
    text-align: center !important;
    font-size: 0.75rem !important;
  }
}
