/* ============================================================
   AMJAD ALI BILALI BROTHERS — MASTER LUXURY DESIGN SYSTEM v7
   Multimedia-First Streaming UI · Bootstrap 5.3 + jQuery 3.7
   Palette: Luminous Royal Ivory / Warm Cashmere / Antique Imperial Gold
   Elevated Professional Light Theme with Rich Micro-Lighting
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  color-scheme: light;

  /* Luxurious Warm Surfaces */
  --bg-body: #FBF9F4;          /* luminous warm alabaster ground */
  --bg-ivory: #F4EFE6;         /* alternating warm cashmere porcelain band */
  --bg-card: #FFFFFF;          /* pure pristine white card surface */
  --bg-card-raised: #FFFFFF;
  --bg-hero: #F8F4EC;          /* warm golden champagne hero wash */
  --bg-footer: #EFE9DF;        /* luxurious warm sandstone footer */
  --bg-footer-alt: #E5DDD0;

  /* Typography & Inks (WCAG AAA / AA compliant) */
  --text-ink: #0F172A;         /* deep midnight velvet slate headings */
  --text-body: #2D3748;        /* rich charcoal slate body copy (9.2:1 contrast) */
  --text-muted: #5C6878;       /* warm graphite secondary / meta text */
  --text-soft-dark: #F1F5F9;   /* soft champagne slate on dark imagery */

  /* Devotional & Luxury Accents */
  --gold: #CBA135;             /* master luminous imperial gold */
  --gold-soft: #F3E3B6;        /* champagne highlight */
  --gold-deep: #855806;        /* burnished antique bronze gold (5.2:1+ contrast on light) */
  --gold-light: rgba(203, 161, 53, .09);
  --gold-glow: rgba(203, 161, 53, .28);
  --emerald: #0D9488;          /* sacred spiritual jade/emerald */
  --whatsapp: #25D366;
  --youtube: #E60000;
  --facebook: #1877F2;

  /* Borders & Micro-Details */
  --border-light: rgba(226, 218, 203, .75);     /* warm artisanal hairline */
  --border-subtle: #EDE7DC;
  --border-gold: rgba(203, 161, 53, .35);
  --border-gold-focus: rgba(203, 161, 53, .75);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-arabic: 'Amiri', serif;

  /* Radii */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --nav-height: 76px;

  /* Elevation Shadows & Lighting */
  --shadow-sm: 0 2px 5px rgba(28, 25, 23, .04), 0 1px 2px rgba(28, 25, 23, .02);
  --shadow-card: 0 6px 20px -2px rgba(28, 25, 23, .06), 0 2px 8px -1px rgba(203, 161, 53, .04);
  --shadow-lift: 0 20px 42px -6px rgba(28, 25, 23, .11), 0 8px 18px -4px rgba(203, 161, 53, .08);
  --shadow-glow: 0 0 32px rgba(203, 161, 53, .26);

  /* Bootstrap light-theme harmonization */
  --bs-body-bg: var(--bg-body);
  --bs-body-color: var(--text-body);
  --bs-body-font-family: var(--font-body);
  --bs-border-color: var(--border-light);
  --bs-link-color: var(--gold-deep);
  --bs-link-hover-color: var(--gold);
  --bs-emphasis-color: var(--text-ink);
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

/* Never let a row's negative gutters outdent past container padding */
.row {
  margin-right: max(calc(var(--bs-gutter-x) * -.5), -.75rem);
  margin-left: max(calc(var(--bs-gutter-x) * -.5), -.75rem);
}

body {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(203, 161, 53, .08), transparent 65%),
    radial-gradient(900px 500px at -10% 25%, rgba(13, 148, 136, .05), transparent 60%),
    radial-gradient(1100px 650px at 50% 85%, rgba(203, 161, 53, .07), transparent 65%),
    var(--bg-body);
  color: var(--text-body);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-top: var(--nav-height);
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, .font-heading {
  font-family: var(--font-heading);
  color: var(--text-ink);
  letter-spacing: -.01em;
}

::selection {
  background: var(--gold);
  color: #FFFFFF;
}

/* Subtle islamic-star pattern overlay (used on light hero bands) */
.pattern-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .085;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 4l6 18h18l-15 10 6 18-15-11-15 11 6-18L4 22h18z' fill='none' stroke='%23CBA135' stroke-width='1'/%3E%3C/svg%3E");
}

.text-gold {
  color: var(--gold-deep);
}
/* Bright gold for .text-gold icons that sit on dark imagery overlays */
.masonry-overlay .text-gold,
.badge-live .text-gold,
.cinema-overlay .text-gold {
  color: var(--gold-soft);
}
.lead-soft {
  color: var(--text-body);
  font-size: 1.04rem;
  line-height: 1.68;
}

/* ---------- Buttons ---------- */
.btn-gold {
  --bs-btn-font-weight: 600;
  color: #FFFFFF;
  background: linear-gradient(135deg, #E2BF5C 0%, #C5962B 50%, var(--gold-deep) 100%);
  border: 0;
  border-radius: var(--radius-full);
  padding: .68rem 1.6rem;
  box-shadow: 0 6px 22px rgba(203, 161, 53, .38);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-gold:hover,
.btn-gold:focus {
  color: #FFFFFF;
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(203, 161, 53, .5);
}

.btn-outline-gold {
  --bs-btn-font-weight: 600;
  color: var(--gold-deep);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: .65rem 1.55rem;
  background: var(--gold-light);
  transition: all .2s ease;
}
.btn-outline-gold:hover,
.btn-outline-gold:focus {
  background: rgba(203, 161, 53, .18);
  color: var(--gold-deep);
  border-color: var(--gold-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(203, 161, 53, .18);
}

.btn-wa {
  color: #FFFFFF;
  background: var(--whatsapp);
  border: 0;
  border-radius: var(--radius-full);
  font-weight: 600;
  padding: .68rem 1.6rem;
  box-shadow: 0 6px 22px rgba(37, 211, 102, .32);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.btn-wa:hover {
  color: #FFFFFF;
  filter: brightness(1.07);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, .45);
}

.btn-yt {
  color: #FFFFFF;
  background: var(--youtube);
  border: 0;
  border-radius: var(--radius-full);
  font-weight: 600;
  padding: .68rem 1.6rem;
  box-shadow: 0 6px 22px rgba(230, 0, 0, .26);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.btn-yt:hover {
  color: #FFFFFF;
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(230, 0, 0, .38);
}

/* ---------- Navbar (luxury frosted pearl glass) ---------- */
.site-nav {
  background: rgba(251, 249, 244, .90);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(203, 161, 53, .20);
  min-height: var(--nav-height);
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  padding: 0;
}
.site-nav.scrolled {
  background: rgba(251, 249, 244, .98);
  box-shadow: 0 8px 30px rgba(28, 25, 23, .07);
  border-bottom-color: rgba(203, 161, 53, .32);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.navbar-brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  box-shadow: 0 0 14px rgba(197, 155, 39, .25);
  transition: transform .3s ease;
}
.navbar-brand:hover img {
  transform: scale(1.05);
}
.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--text-ink);
  line-height: 1.1;
  display: block;
}
.brand-tag {
  font-size: .68rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
  display: block;
}

.site-nav .nav-link {
  color: var(--text-body);
  font-weight: 500;
  font-size: .95rem;
  padding: .5rem 0.95rem !important;
  position: relative;
  transition: color .2s ease;
}
.site-nav .nav-link::after {
  content: "";
  position: absolute;
  left: .95rem;
  right: .95rem;
  bottom: .15rem;
  height: 2px;
  background: linear-gradient(90deg, #D4AF37, var(--gold-deep));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
  border-radius: 2px;
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  color: var(--gold-deep);
}
.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after {
  transform: scaleX(1);
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1.5px solid var(--border-gold);
  color: var(--gold-deep);
  background: var(--gold-light);
  padding: .38rem 1rem;
  border-radius: var(--radius-full);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
  white-space: nowrap;
}
.lang-switch-btn:hover {
  background: rgba(197, 155, 39, .18);
  color: var(--gold-deep);
  border-color: var(--gold-deep);
  transform: translateY(-1px);
}

.nav-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  color: var(--text-body);
  background: #FFFFFF;
  font-size: 1rem;
  text-decoration: none;
  transition: all .2s ease;
  box-shadow: var(--shadow-sm);
}
.nav-social-icon:hover {
  color: var(--gold-deep);
  border-color: var(--gold);
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(197, 155, 39, .2);
}

.navbar-toggler {
  border-color: rgba(197, 155, 39, .45);
  padding: .35rem .65rem;
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(197, 155, 39, .25);
}

/* Offcanvas mobile menu (light) */
.offcanvas {
  background: var(--bg-body);
  border-left: 1px solid rgba(197, 155, 39, .25);
}
.offcanvas .nav-link {
  color: var(--text-body);
  font-size: 1.05rem;
  padding: .75rem 0 !important;
  border-bottom: 1px solid var(--border-light);
  transition: color .2s ease, padding-left .2s ease;
}
.offcanvas .nav-link:hover,
.offcanvas .nav-link.active {
  color: var(--gold-deep);
  padding-left: 6px;
}

/* ---------- Hero (compact & sleek luxury band) ---------- */
.hero {
  position: relative;
  padding: clamp(32px, 5.5vw, 60px) 0;
  display: flex;
  align-items: center;
  background: var(--bg-hero);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(251, 249, 244, .99) 0%, rgba(251, 249, 244, .95) 48%, rgba(251, 249, 244, .82) 100%);
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero h1, .page-hero h1, .hero h2, .page-hero h2 {
  color: var(--text-ink);
}
.hero .lead-soft, .page-hero .lead-soft {
  color: var(--text-body);
}
.hero .section-kicker, .page-hero .section-kicker {
  color: var(--gold-deep);
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-light);
  border: 1px solid var(--border-gold);
  color: var(--gold-deep);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .35rem .95rem;
  border-radius: var(--radius-full);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(203, 161, 53, .6); }
  70% { box-shadow: 0 0 0 10px rgba(203, 161, 53, 0); }
  100% { box-shadow: 0 0 0 0 rgba(203, 161, 53, 0); }
}

.hero-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 8px 0 10px;
}
.hero-title .gold-underline {
  background: linear-gradient(90deg, #E2BF5C 0%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Hero YouTube-style featured cards */
.hero-video-card {
  border-color: rgba(203, 161, 53, .35);
  box-shadow: 0 10px 30px rgba(28, 25, 23, .07), 0 1px 3px rgba(0, 0, 0, .04);
}
.hero-video-card:hover {
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(133, 88, 6, .16), var(--shadow-glow);
}

/* Featured cinema card (image tile — dark caption chrome stays on the photo) */
.cinema-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(197, 155, 39, .45);
  box-shadow: var(--shadow-glow), 0 20px 50px rgba(15, 23, 42, .18);
  cursor: pointer;
  display: block;
  width: 100%;
  padding: 0;
  background: none;
}
.cinema-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
  display: block;
}
.cinema-card:hover img {
  transform: scale(1.05);
}
.cinema-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(3, 7, 14, .05) 30%, rgba(3, 7, 14, .88) 100%);
  padding: 20px;
  text-align: left;
}
.cinema-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(197, 155, 39, .95);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 0 0 12px rgba(197, 155, 39, .25), 0 15px 40px rgba(15, 23, 42, .35);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.cinema-card:hover .cinema-play {
  transform: translate(-50%, -50%) scale(1.1);
  background: #D4AF37;
  box-shadow: 0 0 0 16px rgba(197, 155, 39, .32), 0 18px 45px rgba(15, 23, 42, .4);
}
.cinema-caption h3 {
  font-size: 1.18rem;
  margin: 0 0 4px;
  color: #FFFFFF;
}
.cinema-caption p {
  margin: 0;
  font-size: .88rem;
  color: var(--text-soft-dark);
}
.chip-hd {
  background: var(--gold);
  color: #FFFFFF;
  font-size: .68rem;
  font-weight: 800;
  padding: 3px 11px;
  border-radius: var(--radius-full);
  letter-spacing: 1px;
}

/* ---------- Sections ---------- */
.section {
  padding: 76px 0;
  position: relative;
}
.section-alt {
  background: var(--bg-ivory);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.section-header {
  margin-bottom: 42px;
}
.section-kicker {
  color: var(--gold-deep);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 800;
  margin-bottom: 10px;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 640px;
  line-height: 1.62;
}

/* ---------- Video Rails (horizontal shelves) ---------- */
.rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 4px 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(197, 155, 39, .45) transparent;
}
.rail::-webkit-scrollbar {
  height: 6px;
}
.rail::-webkit-scrollbar-thumb {
  background: rgba(197, 155, 39, .45);
  border-radius: 3px;
}
.rail > * {
  flex: 0 0 auto;
  width: 320px;
  scroll-snap-align: start;
}

.rail-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border-gold);
  background: #FFFFFF;
  color: var(--gold-deep);
  font-size: 1rem;
  transition: all .2s ease;
  box-shadow: var(--shadow-sm);
}
.rail-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #FFFFFF;
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(197, 155, 39, .35);
}

/* ---------- Video Card ---------- */
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: start;
  padding: 0;
  box-shadow: var(--shadow-card);
}
.video-card:hover {
  transform: translateY(-6px);
  border-color: rgba(203, 161, 53, .65);
  box-shadow: var(--shadow-lift), var(--shadow-glow);
}
.video-thumb {
  position: relative;
  overflow: hidden;
}
.video-thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}
.video-card:hover .video-thumb img {
  transform: scale(1.06);
}
.video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(3, 7, 14, .75) 100%);
}
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.85);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  z-index: 2;
  background: rgba(203, 161, 53, .95);
  color: #FFFFFF;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all .3s ease;
  box-shadow: 0 0 0 8px rgba(203, 161, 53, .25);
}
.video-card:hover .video-play,
.video-card:focus-visible .video-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.video-chip {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: rgba(3, 7, 14, .75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(203, 161, 53, .5);
  color: var(--gold-soft);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}
.video-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.video-cat {
  color: var(--gold-deep);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.video-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-ink);
  margin: 0;
  line-height: 1.45;
  transition: color .2s ease;
}
.video-card:hover .video-title {
  color: var(--gold-deep);
}
.video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
  font-size: .8rem;
  color: var(--text-muted);
}
.video-yt-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: .8rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color .2s;
}
.video-yt-link:hover {
  color: var(--youtube);
}
.video-yt-link i {
  font-size: .95rem;
}

/* ---------- Video Grid (catalog) ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* ---------- Shorts (9:16 Vertical Format) ---------- */
.shorts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}
.short-card .video-thumb img {
  aspect-ratio: 9/16;
  object-fit: cover;
}
.shorts-dialog {
  max-width: 420px;
}

/* ---------- Filter pills & search ---------- */
.filter-pill {
  border: 1.5px solid var(--border-gold);
  background: #FFFFFF;
  color: var(--gold-deep);
  font-size: .88rem;
  font-weight: 600;
  padding: .48rem 1.25rem;
  border-radius: var(--radius-full);
  transition: all .2s ease;
  box-shadow: var(--shadow-sm);
}
.filter-pill:hover {
  background: var(--gold-light);
  border-color: var(--gold-deep);
  transform: translateY(-1px);
}
.filter-pill.active {
  background: linear-gradient(135deg, #E2BF5C 0%, #C5962B 50%, var(--gold-deep) 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(203, 161, 53, .4);
}

.search-bar {
  position: relative;
  max-width: 580px;
  margin: 0 auto;
}
.search-bar input {
  width: 100%;
  background: #FFFFFF;
  border: 1.5px solid var(--border-gold);
  color: var(--text-ink);
  border-radius: var(--radius-full);
  padding: .88rem 1.4rem .88rem 3.2rem;
  font-size: .98rem;
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: border .2s, box-shadow .2s;
}
[dir="rtl"] .search-bar input {
  padding: .88rem 3.2rem .88rem 1.4rem;
}
.search-bar input::placeholder {
  color: var(--text-muted);
}
.search-bar input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(197, 155, 39, .20);
}
.search-bar .search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-deep);
  font-size: 1.1rem;
}
[dir="rtl"] .search-bar .search-icon {
  left: auto;
  right: 1.25rem;
}

/* ---------- Stats ---------- */
.stat-box {
  text-align: center;
  padding: 24px 12px;
}
.stat-box .number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  background: linear-gradient(90deg, #D4AF37, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.stat-box .label {
  color: var(--text-muted);
  font-size: .84rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 8px;
  font-weight: 600;
}
.stats-band {
  background: linear-gradient(135deg, rgba(197, 155, 39, .10), rgba(13, 148, 136, .05));
  border: 1px solid rgba(197, 155, 39, .32);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* ---------- Cards / Bento ---------- */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  height: 100%;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  box-shadow: var(--shadow-card);
}
.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 155, 39, .55);
  box-shadow: var(--shadow-lift);
}
.glass-card h3, .glass-card h4 {
  color: var(--text-ink);
}
.gold-num {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--gold-deep);
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 36px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(197, 155, 39, .12));
}
.timeline-item {
  position: relative;
  padding-bottom: 32px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-body);
  border: 3px solid var(--gold);
  box-shadow: 0 0 12px rgba(197, 155, 39, .45);
}
[dir="rtl"] .timeline {
  padding-left: 0;
  padding-right: 36px;
}
[dir="rtl"] .timeline::before {
  left: auto;
  right: 9px;
}
[dir="rtl"] .timeline-item::before {
  left: auto;
  right: -35px;
}

/* ---------- Affiliation badges ---------- */
.affiliation-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-decoration: none;
  color: var(--text-body);
  transition: all .25s ease;
  box-shadow: var(--shadow-card);
}
.affiliation-badge:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  color: var(--gold-deep);
  box-shadow: var(--shadow-lift);
}
.affiliation-icon {
  font-size: 1.9rem;
  color: var(--gold-deep);
}
.affiliation-badge h4 {
  font-size: .95rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin: 0;
}

/* ---------- Event cards ---------- */
.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  padding: 12px 10px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(197, 155, 39, .14), rgba(197, 155, 39, .04));
  border: 1px solid rgba(197, 155, 39, .42);
  color: var(--gold-deep);
}
.event-date .d {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold-deep);
  line-height: 1;
}
.event-date .m {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ---------- Gallery masonry ---------- */
.masonry {
  columns: 3 280px;
  column-gap: 20px;
}
.masonry-item {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: none;
  margin-bottom: 20px;
  break-inside: avoid;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  text-align: start;
  box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease;
}
.masonry-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.masonry-item img {
  width: 100%;
  display: block;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}
.masonry-item:hover img {
  transform: scale(1.05);
}
.masonry-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  background: linear-gradient(180deg, transparent 40%, rgba(3, 7, 14, .92) 100%);
  opacity: 0;
  transition: opacity .3s ease;
}
.masonry-item:hover .masonry-overlay {
  opacity: 1;
}
.masonry-overlay h4 {
  font-size: 1.02rem;
  margin: 0 0 4px;
  color: #FFFFFF;
}
.masonry-overlay p {
  margin: 0;
  font-size: .84rem;
  color: var(--text-soft-dark);
}
.photo-zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.85);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(203, 161, 53, .92);
  color: #FFFFFF;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all .3s ease;
  box-shadow: 0 0 0 6px rgba(203, 161, 53, .25);
  z-index: 2;
}
.masonry-item:hover .photo-zoom {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ---------- FAQ (Bootstrap accordion reskin, light) ---------- */
.accordion {
  --bs-accordion-bg: var(--bg-card);
  --bs-accordion-border-color: var(--border-light);
  --bs-accordion-btn-color: var(--text-ink);
  --bs-accordion-active-bg: var(--bg-card);
  --bs-accordion-active-color: var(--gold-deep);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(197, 155, 39, .25);
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238F6208' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238F6208' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}
.accordion-button {
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 1.02rem;
  padding: 1.15rem 1.25rem;
}
.accordion-body {
  color: var(--text-body);
  font-size: .98rem;
  line-height: 1.65;
  padding: .5rem 1.25rem 1.25rem;
}
.accordion-item {
  border-radius: var(--radius-sm) !important;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
}

/* ---------- Video Modal ---------- */
.modal-content.video-modal {
  background: transparent;
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .75);
}
.video-modal .ratio {
  background: #000000;
}
.video-modal-title {
  color: #FFFFFF;
  font-size: .98rem;
}
.btn-close-video {
  position: absolute;
  top: -46px;
  right: 0;
  background: none;
  border: 0;
  color: #FFFFFF;
  font-size: 2rem;
  line-height: 1;
  opacity: .85;
  transition: opacity .2s, color .2s;
}
.btn-close-video:hover {
  opacity: 1;
  color: var(--gold);
}

/* ---------- Contact info ---------- */
.contact-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  flex: 0 0 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: var(--gold-light);
  border: 1px solid var(--border-gold);
  color: var(--gold-deep);
  box-shadow: var(--shadow-sm);
}
.contact-icon.wa {
  background: rgba(37, 211, 102, .12);
  border-color: rgba(37, 211, 102, .45);
  color: #128C4B;
}
.contact-icon.yt {
  background: rgba(230, 0, 0, .08);
  border-color: rgba(230, 0, 0, .38);
  color: #CC0000;
}
.contact-icon.fb {
  background: rgba(24, 119, 242, .1);
  border-color: rgba(24, 119, 242, .45);
  color: #1B5FBD;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
}
.contact-row:last-child {
  border-bottom: 0;
}
.contact-row > span:not(.contact-icon) {
  min-width: 0;
}
.contact-row .label,
.contact-row .value {
  overflow-wrap: anywhere;
}
.contact-row .label {
  font-size: .74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  display: block;
}
.contact-row .value {
  color: var(--text-ink);
  font-weight: 600;
  font-size: 1.04rem;
  transition: color .2s ease;
}
a.contact-row:hover .value {
  color: var(--gold-deep);
}

.map-frame {
  width: 100%;
  height: 340px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  filter: none;
  box-shadow: var(--shadow-card);
}

/* ---------- Footer (light ivory band) ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--bg-footer), var(--bg-footer-alt));
  border-top: 3px solid var(--gold);
  position: relative;
  overflow: hidden;
  padding: 64px 0 0;
}
.footer-brand-text {
  font-size: .94rem;
  color: var(--text-body);
  max-width: 320px;
  line-height: 1.65;
}
.site-footer h5 {
  color: var(--gold-deep);
  font-size: .88rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 11px;
}
.footer-links a {
  color: var(--text-body);
  text-decoration: none;
  font-size: .94rem;
  transition: color .2s, padding-left .2s;
}
.footer-links a:hover {
  color: var(--gold-deep);
  padding-left: 4px;
}
[dir="rtl"] .footer-links a:hover {
  padding-left: 0;
  padding-right: 4px;
}
.footer-bottom {
  border-top: 1px solid var(--border-light);
  margin-top: 44px;
  padding: 22px 0;
  font-size: .88rem;
  color: var(--text-muted);
}
.footer-arabic {
  color: var(--gold-deep);
  font-family: var(--font-arabic);
  font-size: 1.25rem;
  margin: 0;
}

/* ---------- Floating buttons ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 1050;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #FFFFFF;
  font-size: 1.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37, 211, 102, .45);
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  color: #FFFFFF;
  box-shadow: 0 12px 40px rgba(37, 211, 102, .6);
}
.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: wa-ring 2s infinite;
}
@keyframes wa-ring {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.55); opacity: 0; }
}

[dir="rtl"] .whatsapp-float {
  right: auto;
  left: 22px;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  min-height: 38vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 36px) 0 36px;
  background: var(--bg-hero);
}
.page-hero .container {
  position: relative;
  z-index: 2;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  margin: 10px 0;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.active {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Urdu / RTL ---------- */
html[dir="rtl"],
[dir="rtl"],
[lang="ur"] {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] body,
[lang="ur"] body {
  font-family: 'Noto Nastaliq Urdu', 'Amiri', serif;
  direction: rtl;
  text-align: right;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5,
[dir="rtl"] .font-heading, [dir="rtl"] .brand-name, [dir="rtl"] .hero-title, [dir="rtl"] .section-title {
  font-family: 'Noto Nastaliq Urdu', 'Amiri', serif;
  letter-spacing: 0;
  line-height: 1.95;
  text-align: right;
}
[dir="rtl"] .hero-title {
  line-height: 1.9;
  font-size: clamp(1.7rem, 4vw, 2.9rem);
  text-align: right;
}
[dir="rtl"] .video-card,
[dir="rtl"] .video-card-body,
[dir="rtl"] .video-title,
[dir="rtl"] .video-cat,
[dir="rtl"] .video-meta {
  text-align: right;
}
[dir="rtl"] .video-chip {
  left: auto;
  right: 10px;
}
[dir="rtl"] .cinema-overlay,
[dir="rtl"] .cinema-caption {
  text-align: right;
}
[dir="rtl"] .stat-box .label,
[dir="rtl"] .video-cat,
[dir="rtl"] .section-kicker,
[dir="rtl"] .badge-live,
[dir="rtl"] .contact-row .label,
[dir="rtl"] .site-footer h5,
[dir="rtl"] .brand-tag {
  font-family: 'Noto Nastaliq Urdu', 'Amiri', serif;
  letter-spacing: 0;
  text-transform: none;
  line-height: 2;
  text-align: right;
}
[dir="rtl"] .video-title {
  font-size: 1.05rem;
  text-align: right;
}
[dir="rtl"] .btn {
  line-height: 2;
}
[dir="rtl"] .section-kicker {
  font-size: .95rem;
  text-align: right;
}
[dir="rtl"] .search-bar input {
  text-align: right;
}
[dir="rtl"] .accordion-button {
  text-align: right;
}
[dir="rtl"] .accordion-button::after {
  margin-left: 0;
  margin-right: auto;
}
[dir="rtl"] .about-content,
[dir="rtl"] .bio-text,
[dir="rtl"] .contact-card,
[dir="rtl"] .contact-row,
[dir="rtl"] .site-footer,
[dir="rtl"] .masonry-caption {
  text-align: right;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
    padding: 60px 0;
  }
  .cinema-card {
    margin-top: 36px;
  }
}
@media (max-width: 575.98px) {
  .rail > * {
    width: 260px;
  }
  .section {
    padding: 54px 0;
  }
  .whatsapp-float {
    width: 54px;
    height: 54px;
    font-size: 1.7rem;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
  [dir="rtl"] .whatsapp-float {
    right: auto;
    left: 16px;
  }
}
