/* ===================================================================
   DAILY VERSES BIBLE INSTITUTE & CHURCH — Main Stylesheet
   Design System: Brand Colors, Typography, Grid, Utilities
   =================================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600&family=Noto+Nastaliq+Urdu:wght@400;500;600;700&family=Noto+Sans+Arabic:wght@400;500;600;700&display=swap');

/* ---------- CSS Custom Properties (Design Tokens) ---------- */
:root {
  /* Brand Colors */
  --clr-red:        #C6272E;
  --clr-red-dark:   #a01f25;
  --clr-red-light:  #e04349;
  --clr-navy:       #0C1B3A;
  --clr-navy-mid:   #162850;
  --clr-navy-light: #1e3a6e;
  --clr-white:      #FFFFFF;
  --clr-gray-50:    #F5F5F5;
  --clr-gray-100:   #EBEBEB;
  --clr-gray-200:   #D4D4D4;
  --clr-gray-400:   #9CA3AF;
  --clr-gray-600:   #6B7280;
  --clr-gray-800:   #1F2937;
  --accent-gold:    #F59E0B;
  --accent-gold-light: #FCD34D;

  /* Gradient Tokens */
  --grad-red:       linear-gradient(135deg, var(--clr-red) 0%, #8B1A1F 100%);
  --grad-navy:      linear-gradient(135deg, var(--clr-navy) 0%, var(--clr-navy-light) 100%);
  --grad-hero:      linear-gradient(160deg, rgba(12,27,58,0.85) 0%, rgba(198,39,46,0.55) 100%);
  --grad-cta:       linear-gradient(90deg, var(--clr-red) 0%, #8B1A1F 50%, var(--clr-navy) 100%);

  /* Typography */
  --ff-heading:     'Poppins', sans-serif;
  --ff-body:        'Inter', sans-serif;
  --ff-urdu:        'Noto Nastaliq Urdu', 'Noto Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --fs-xs:          0.75rem;
  --fs-sm:          0.875rem;
  --fs-base:        1rem;
  --fs-lg:          1.125rem;
  --fs-xl:          1.25rem;
  --fs-2xl:         1.5rem;
  --fs-3xl:         1.875rem;
  --fs-4xl:         2.25rem;
  --fs-5xl:         3rem;
  --fs-6xl:         3.75rem;

  /* Spacing (8px grid) */
  --sp-1:  0.5rem;    /* 8px */
  --sp-2:  1rem;      /* 16px */
  --sp-3:  1.5rem;    /* 24px */
  --sp-4:  2rem;      /* 32px */
  --sp-5:  2.5rem;    /* 40px */
  --sp-6:  3rem;      /* 48px */
  --sp-8:  4rem;      /* 64px */
  --sp-10: 5rem;      /* 80px */
  --sp-12: 6rem;      /* 96px */
  --sp-16: 8rem;      /* 128px */

  /* Border Radius */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.14), 0 4px 12px rgba(0,0,0,0.08);
  --shadow-xl:  0 24px 64px rgba(0,0,0,0.18), 0 8px 24px rgba(0,0,0,0.10);
  --shadow-red: 0 8px 32px rgba(198,39,46,0.30);
  --shadow-navy:0 8px 32px rgba(12,27,58,0.35);

  /* Transitions */
  --tr-fast:    150ms ease;
  --tr-base:    250ms ease;
  --tr-slow:    400ms ease;

  /* Layout */
  --navbar-h:   72px;
  --max-w:      1200px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-body);
  color: var(--clr-gray-800);
  background: var(--clr-white);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--navbar-h);
}

img, video, iframe {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}

.section {
  padding-block: var(--sp-12);
}

.section--gray {
  background: var(--clr-gray-50);
}

.section--navy {
  background: var(--grad-navy);
  color: var(--clr-white);
}

.section--dark {
  background: var(--clr-navy);
  color: var(--clr-white);
}

/* ---------- Grid System ---------- */
.grid {
  display: grid;
  gap: var(--sp-4);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  .container { padding-inline: var(--sp-2); }
  .section { padding-block: var(--sp-8); }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  line-height: 1.2;
  font-weight: 700;
  color: var(--clr-navy);
}

.section--navy h1, .section--navy h2, .section--navy h3,
.section--dark h1, .section--dark h2, .section--dark h3 {
  color: var(--clr-white);
}

h1 { font-size: clamp(var(--fs-3xl), 5vw, var(--fs-6xl)); }
h2 { font-size: clamp(var(--fs-2xl), 3.5vw, var(--fs-4xl)); }
h3 { font-size: clamp(var(--fs-xl), 2.5vw, var(--fs-3xl)); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }

p { color: var(--clr-gray-600); line-height: 1.75; }

.section--navy p, .section--dark p { color: rgba(255,255,255,0.8); }

.lead {
  font-size: var(--fs-lg);
  color: var(--clr-gray-600);
  max-width: 640px;
}

.section-label {
  display: inline-block;
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-red);
  margin-bottom: var(--sp-1);
}

.section--navy .section-label,
.section--dark .section-label {
  color: var(--clr-red-light);
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-8);
}

.section-header p {
  max-width: 600px;
  margin-inline: auto;
  margin-top: var(--sp-2);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--tr-base);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity var(--tr-fast);
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--grad-red);
  color: var(--clr-white);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(198,39,46,0.40);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: transparent;
  color: var(--clr-white);
  border-color: rgba(255,255,255,0.6);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--clr-white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--clr-red);
  border-color: var(--clr-red);
}

.btn-outline:hover {
  background: var(--clr-red);
  color: var(--clr-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn-navy {
  background: var(--grad-navy);
  color: var(--clr-white);
  box-shadow: var(--shadow-navy);
}

.btn-navy:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(12,27,58,0.45);
}

.btn-whatsapp {
  background: #25D366 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
  border: none !important;
}

.btn-whatsapp:hover {
  background: #128C7E !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.45) !important;
  color: #ffffff !important;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: var(--fs-base);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-xs);
}

/* ---------- Cards ---------- */
.card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--tr-base), box-shadow var(--tr-base);
  border: 1px solid rgba(0,0,0,0.06);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card__body {
  padding: var(--sp-3) var(--sp-4);
}

.card__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-red);
  margin-bottom: var(--sp-1);
}

.card__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--clr-navy);
  margin-bottom: var(--sp-1);
  line-height: 1.3;
}

.card__text {
  font-size: var(--fs-sm);
  color: var(--clr-gray-600);
  line-height: 1.65;
}

/* ---------- Video Embed (Lite / Lazy) ---------- */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--clr-gray-800);
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.video-embed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}

.video-embed:hover img { transform: scale(1.04); }

.video-embed__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12,27,58,0.35);
  transition: background var(--tr-base);
}

.video-embed:hover .video-embed__play { background: rgba(198,39,46,0.45); }

.video-embed__play svg {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
  transition: transform var(--tr-base);
}

.video-embed:hover .video-embed__play svg { transform: scale(1.1); }

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: var(--clr-navy);
  overflow: hidden;
  padding-block: var(--sp-8) var(--sp-6);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.38;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: var(--sp-6) 0;
}

.hero__glass {
  display: block;
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  padding: 0;
  max-width: 680px;
}

.hero__eyebrow {
  font-family: var(--ff-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-red-light);
  margin-bottom: var(--sp-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(198,39,46,0.15);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(224,67,73,0.3);
  backdrop-filter: blur(8px);
}

.hero__title {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1.15;
  margin-bottom: var(--sp-3);
  letter-spacing: -0.01em;
  text-shadow: 0 4px 24px rgba(0,0,0,0.85);
}

.hero__title span {
  color: var(--clr-red-light);
  text-shadow: 0 4px 24px rgba(198,39,46,0.5);
}

.hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.95);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 580px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.85);
}

.hero__ctas {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

/* ---------- Stats Section ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: transparent;
  box-shadow: none;
}

.stat-item {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
  border: 1.5px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 20px rgba(12,27,58,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--clr-red);
  transition: background 0.3s ease;
}

.stat-item--fb::before    { background: #1877F2; }
.stat-item--yt::before    { background: #FF0000; }
.stat-item--tt::before    { background: #000000; }
.stat-item--edu::before   { background: #0C1B3A; }
.stat-item--legacy::before{ background: var(--clr-red); }

.stat-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(12,27,58,0.12);
  border-color: rgba(0,0,0,0.12);
}

.stat-item__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-2);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.stat-item__icon--fb     { background: #1877F2; color: #fff; }
.stat-item__icon--yt     { background: #FF0000; color: #fff; }
.stat-item__icon--tt     { background: #000000; color: #fff; }
.stat-item__icon--edu    { background: #0C1B3A; color: #fff; }
.stat-item__icon--legacy { background: var(--clr-red); color: #fff; }

.stat-item__badge {
  display: inline-block;
  font-family: var(--ff-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.stat-item__badge--fb     { background: #e7f3ff; color: #1877F2; }
.stat-item__badge--yt     { background: #ffe6e6; color: #FF0000; }
.stat-item__badge--tt     { background: #f0f0f0; color: #000000; }
.stat-item__badge--edu    { background: #eef2fb; color: #0C1B3A; }
.stat-item__badge--legacy { background: #fde8e9; color: var(--clr-red); }

.stat-item__number {
  font-family: var(--ff-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--clr-navy);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-item__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--clr-gray-600);
  line-height: 1.35;
}

/* ---------- Platform Dashboard Cards (UI/UX Pro Max Edition) ---------- */
.stats-platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
}

.platform-card {
  background: var(--clr-white);
  border-radius: 18px;
  border: 1px solid rgba(12, 27, 58, 0.08);
  box-shadow: 0 10px 30px rgba(12, 27, 58, 0.06);
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.platform-card--fb::before { background: #1877F2; }
.platform-card--yt::before { background: #FF0000; }
.platform-card--tt::before { background: #000000; }
.platform-card--highlights::before { background: var(--clr-red); }

.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(12, 27, 58, 0.12);
  border-color: rgba(12, 27, 58, 0.15);
}

.platform-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.platform-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.platform-card--fb .platform-card__icon { background: #1877F2; }
.platform-card--yt .platform-card__icon { background: #FF0000; }
.platform-card--tt .platform-card__icon { background: #000000; }
.platform-card__icon--edu { background: #0C1B3A; }

.platform-card__title {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clr-navy);
  margin: 0;
  line-height: 1.2;
}

.platform-card__tag {
  font-size: 0.78rem;
  color: var(--clr-gray-600);
  font-weight: 500;
}

.platform-card__metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.metric-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.metric-box__label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--clr-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.metric-box__value {
  font-family: var(--ff-heading);
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--clr-navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.metric-box__sub {
  font-size: 0.78rem;
  color: var(--clr-gray-600);
  font-weight: 500;
  margin-top: 2px;
}

.metric-divider {
  width: 1px;
  height: 50px;
  background: #e2e8f0;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .stats-platform-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .platform-card {
    padding: 18px;
  }
  .metric-box__value {
    font-size: 1.6rem;
  }
}

/* ---------- Scripture / CTA Banner ---------- */
.scripture-banner {
  background: var(--clr-navy);
  padding: var(--sp-10) var(--sp-4);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.scripture-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.scripture-banner__inner { position: relative; z-index: 1; max-width: 800px; margin: auto; }

.scripture-banner__quote {
  font-family: var(--ff-heading);
  font-size: clamp(var(--fs-xl), 3vw, var(--fs-3xl));
  font-weight: 600;
  color: var(--clr-white);
  line-height: 1.5;
  margin-bottom: var(--sp-3);
  font-style: italic;
}

.scripture-banner__ref {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-red-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Page Hero (Inner Pages) ---------- */
.page-hero {
  background: var(--grad-navy);
  padding: var(--sp-16) var(--sp-4) var(--sp-10);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-red);
}

.page-hero__eyebrow {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-red-light);
  margin-bottom: var(--sp-2);
}

.page-hero__title {
  font-family: var(--ff-heading);
  font-size: clamp(var(--fs-3xl), 5vw, var(--fs-5xl));
  font-weight: 800;
  color: var(--clr-white);
  margin-bottom: var(--sp-2);
}

.page-hero__subtitle {
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  margin-inline: auto;
  font-size: var(--fs-lg);
}

/* ---------- Tag / Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge--red { background: rgba(198,39,46,0.1); color: var(--clr-red); }
.badge--navy { background: rgba(12,27,58,0.1); color: var(--clr-navy); }
.badge--white { background: rgba(255,255,255,0.15); color: var(--clr-white); }

/* ---------- Divider ---------- */
.divider {
  width: 60px;
  height: 4px;
  background: var(--grad-red);
  border-radius: var(--radius-full);
  margin: var(--sp-2) 0 var(--sp-4);
}

.divider--center { margin-inline: auto; }

/* ---------- Filter Tabs ---------- */
.filter-tabs {
  display: flex;
  gap: var(--sp-1);
  flex-wrap: wrap;
  margin-bottom: var(--sp-5);
  justify-content: center;
}

.filter-tab {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--clr-gray-200);
  background: var(--clr-white);
  color: var(--clr-gray-600);
  transition: all var(--tr-base);
}

.filter-tab:hover {
  border-color: var(--clr-red);
  color: var(--clr-red);
}

.filter-tab.active {
  background: var(--grad-red);
  border-color: transparent;
  color: var(--clr-white);
  box-shadow: var(--shadow-red);
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  max-width: 800px;
  margin-inline: auto;
  padding-left: var(--sp-5);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--clr-red), var(--clr-navy));
  border-radius: var(--radius-full);
}

.timeline-item {
  position: relative;
  padding: 0 0 var(--sp-6) var(--sp-5);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--sp-5) - 6px);
  top: 4px;
  width: 15px;
  height: 15px;
  background: var(--clr-red);
  border: 3px solid var(--clr-white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--clr-red);
}

.timeline-item__year {
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--clr-red);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.timeline-item__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--clr-navy);
  margin-bottom: var(--sp-1);
}

.timeline-item__text {
  color: var(--clr-gray-600);
  line-height: 1.7;
}

html[dir="rtl"] .timeline {
  padding-left: 0;
  padding-right: var(--sp-5);
}

html[dir="rtl"] .timeline::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .timeline-item {
  padding: 0 var(--sp-5) var(--sp-6) 0;
}

html[dir="rtl"] .timeline-item::before {
  left: auto;
  right: calc(-1 * var(--sp-5) - 6px);
}

/* ---------- Team Card ---------- */
.team-card {
  position: relative;
  background: var(--clr-navy);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  aspect-ratio: 3 / 4;
  width: 100%;
}

.team-card:hover,
.team-card:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(12, 27, 58, 0.35);
  border-color: rgba(198, 39, 46, 0.4);
}

.team-card__image-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.team-card__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.6s ease;
}

.team-card:hover .team-card__avatar,
.team-card:focus-within .team-card__avatar {
  transform: scale(1.08);
}

.team-card__avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--clr-navy-mid), var(--clr-navy));
  font-family: var(--ff-heading);
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: rgba(255,255,255,0.4);
}

.team-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,27,58,0.96) 0%, rgba(12,27,58,0.72) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--sp-4) var(--sp-3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
  z-index: 2;
  text-align: left;
}

.team-card:hover .team-card__overlay,
.team-card:focus-within .team-card__overlay {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.team-card__name {
  font-family: var(--ff-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--clr-white);
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.team-card__role {
  font-family: var(--ff-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--clr-red-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 4px 0 8px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

.team-card__desc {
  font-family: var(--ff-body);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

/* Touch screen fallback so mobile users can view team info */
@media (hover: none) {
  .team-card__overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    background: linear-gradient(to top, rgba(12,27,58,0.92) 0%, rgba(12,27,58,0.6) 65%, transparent 100%);
    padding-top: var(--sp-8);
  }
}

/* ---------- Event Date Card ---------- */
.event-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  transition: transform var(--tr-base), box-shadow var(--tr-base);
  border: 1px solid rgba(0,0,0,0.06);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.event-card__date {
  background: var(--grad-red);
  color: var(--clr-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-3) var(--sp-3);
  min-width: 80px;
  text-align: center;
  flex-shrink: 0;
}

.event-card__day {
  font-family: var(--ff-heading);
  font-size: var(--fs-3xl);
  font-weight: 800;
  line-height: 1;
}

.event-card__month {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.event-card__body {
  padding: var(--sp-3) var(--sp-4);
  flex: 1;
}

.event-card__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--clr-navy);
  margin-bottom: var(--sp-1);
}

.event-card__meta {
  font-size: var(--fs-sm);
  color: var(--clr-gray-600);
}

/* ---------- Form Styles ---------- */
.form-group {
  margin-bottom: var(--sp-4);
}

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-gray-800);
  margin-bottom: var(--sp-1);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--clr-gray-200);
  border-radius: var(--radius-md);
  background: var(--clr-white);
  color: var(--clr-gray-800);
  font-size: var(--fs-base);
  transition: border-color var(--tr-base), box-shadow var(--tr-base);
  outline: none;
}

.form-control:focus {
  border-color: var(--clr-red);
  box-shadow: 0 0 0 3px rgba(198,39,46,0.12);
}

.form-control::placeholder { color: var(--clr-gray-400); }

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

/* ---------- Map Embed ---------- */
.map-embed {
  width: 100%;
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: none;
}

/* ---------- Scroll Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.stagger-in > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.stagger-in.in-view > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.05s; }
.stagger-in.in-view > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.12s; }
.stagger-in.in-view > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.19s; }
.stagger-in.in-view > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.26s; }
.stagger-in.in-view > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.33s; }
.stagger-in.in-view > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.40s; }
.stagger-in.in-view > *:nth-child(n+7) { opacity: 1; transform: none; transition-delay: 0.47s; }

/* ---------- Utility Classes ---------- */
.text-center { text-align: center; }
.text-red { color: var(--clr-red) !important; }
.text-navy { color: var(--clr-navy) !important; }
.text-white { color: var(--clr-white) !important; }
.text-muted { color: var(--clr-gray-600) !important; }

.fw-700 { font-weight: 700 !important; }
.fw-600 { font-weight: 600 !important; }

.mt-1 { margin-top: var(--sp-1); }
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mb-1 { margin-bottom: var(--sp-1); }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-3 { margin-bottom: var(--sp-3); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.flex-wrap { flex-wrap: wrap; }

.rounded-lg { border-radius: var(--radius-lg); }
.shadow-md { box-shadow: var(--shadow-md); }

.d-none { display: none !important; }

/* Screen Reader Only */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ---------- Responsive Hero Adjustments ---------- */
@media (max-width: 768px) {
  .hero { min-height: 85vh; }
  .hero__glass {
    padding: var(--sp-5) var(--sp-4);
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(8px);
  }
  .hero__ctas { flex-direction: column; gap: var(--sp-2); }
  .hero__ctas .btn { text-align: center; justify-content: center; }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--clr-gray-50); }
::-webkit-scrollbar-thumb { background: var(--clr-red); border-radius: 3px; }

/* ---------- Selection ---------- */
::selection { background: var(--clr-red); color: var(--clr-white); }

/* ---------- Focus Visible ---------- */
:focus-visible {
  outline: 2px solid var(--clr-red);
  outline-offset: 3px;
}

/* ==========================================================================
   CONVOCATION & DYNAMIC UPCOMING/PAST EVENTS STYLES
   ========================================================================== */

/* Convocation Layer Section Styles */
.convocation-layer {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.06);
  margin-bottom: var(--sp-8);
}

.convocation-layer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
  border-bottom: 2px solid var(--clr-gray-100);
  padding-bottom: var(--sp-3);
}

.convocation-layer__year-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--clr-red);
  color: #fff;
  font-family: var(--ff-heading);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(198,39,46,0.3);
}

.convocation-layer__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--clr-navy);
  margin: 0;
}

.convocation-photo-grid {
  display: grid;
  gap: var(--sp-4);
}

.convocation-photo-grid--2col { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.convocation-photo-grid--3col { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.convocation-photo-grid--4col { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.convocation-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.08);
  background: var(--clr-navy);
  aspect-ratio: 16/10;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.convocation-photo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.convocation-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.convocation-photo-card:hover img {
  transform: scale(1.04);
}

.convocation-photo-card__label {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  background: linear-gradient(to top, rgba(12,27,58,0.92) 0%, transparent 100%);
  padding: var(--sp-3) var(--sp-4);
  color: #fff;
  font-family: var(--ff-heading);
  font-size: 0.9rem;
  font-weight: 700;
}

/* Video Highlights Box */
.video-highlight-box {
  background: var(--grad-navy);
  border-radius: var(--radius-xl);
  padding: var(--sp-8) var(--sp-6);
  color: #fff;
  box-shadow: var(--shadow-xl);
  margin-bottom: var(--sp-8);
  text-align: center;
}

.video-player-frame {
  max-width: 840px;
  margin: var(--sp-5) auto 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  position: relative;
}

/* --- Dynamic Events Cards (Upcoming & Past) --- */
.events-list-container {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  max-width: 900px;
  margin: 0 auto;
}

.event-card-modern {
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(12,27,58,0.08);
  border: 1.5px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  position: relative;
}

@media (min-width: 768px) {
  .event-card-modern {
    flex-direction: row;
    align-items: stretch;
  }
}

.event-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(12,27,58,0.14);
}

.event-card-modern__poster {
  position: relative;
  width: 100%;
  height: 220px;
  background: var(--clr-navy);
  flex-shrink: 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .event-card-modern__poster {
    width: 300px;
    height: auto;
    min-height: 250px;
  }
}

.event-card-modern__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.event-card-modern:hover .event-card-modern__poster img {
  transform: scale(1.05);
}

.event-card-modern__status-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--clr-red);
  color: #ffffff;
  font-family: var(--ff-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(198,39,46,0.4);
  z-index: 2;
}

.event-card-modern__status-badge--completed {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  box-shadow: none;
}

.event-card-modern__content {
  padding: var(--sp-5) var(--sp-6);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.event-card-modern__title {
  font-family: var(--ff-heading);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 800;
  color: var(--clr-navy);
  margin: 0 0 var(--sp-2);
  line-height: 1.3;
}

/* Strikethrough & Opacity for completed events */
.event-card-modern--completed {
  opacity: 0.85;
  background: #f8fafc;
  border-color: #e2e8f0;
}

.event-card-modern--completed:hover {
  opacity: 1.0;
  border-color: #cbd5e1;
}

.event-card-modern--completed .event-card-modern__title {
  color: var(--clr-navy);
}

.event-card-modern__meta-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: var(--sp-4);
  font-size: 0.9rem;
  color: #4a5568;
}

.event-card-modern__meta-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.event-card-modern__meta-icon {
  color: var(--clr-red);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Countdown Timer Box */
.event-timer-wrapper {
  background: linear-gradient(135deg, #0c1b3a 0%, #1a2f5a 100%);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  margin: var(--sp-3) 0 var(--sp-4);
  color: #fff;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.3);
}

.event-timer-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-timer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  text-align: center;
}

.event-timer-unit {
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 6px 4px;
  border: 1px solid rgba(255,255,255,0.15);
}

.event-timer-number {
  font-family: var(--ff-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.event-timer-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.8);
  margin-top: 2px;
}

.event-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: auto;
}

/* Event Highlights Modal */
.highlights-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(12,27,58,0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.highlights-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.highlights-modal__card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--sp-6);
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.highlights-modal__close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: var(--clr-gray-100);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--clr-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.highlights-modal__close:hover {
  background: var(--clr-red);
  color: #ffffff;
}

/* ===================================================================
   URDU (RTL) GLOBAL STYLES & TYPOGRAPHY
   =================================================================== */
html[dir="rtl"],
html[lang="ur"],
html.lang-ur {
  direction: rtl;
}

html[dir="rtl"] body,
html[lang="ur"] body,
html.lang-ur body {
  font-family: var(--ff-urdu);
  direction: rtl;
  letter-spacing: normal;
  unicode-bidi: plaintext;
}

/* Urdu Typography & Line-Heights */
html[dir="rtl"] [lang="ur"],
html[dir="rtl"] .urdu-text,
html[dir="rtl"] [data-i18n],
html.lang-ur [data-i18n] {
  font-family: var(--ff-urdu);
  direction: rtl;
  letter-spacing: normal;
}

/* Headings Line-Heights & Spacing in Urdu (Prevents Nastaliq font overlap) */
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html.lang-ur h1,
html.lang-ur h2,
html.lang-ur h3,
html.lang-ur h4,
html.lang-ur h5,
html.lang-ur h6 {
  font-family: var(--ff-urdu);
  line-height: 1.75;
  letter-spacing: normal;
  padding-top: 3px;
  padding-bottom: 3px;
}

/* Paragraphs & Body Text in Urdu */
html[dir="rtl"] p,
html[dir="rtl"] li,
html.lang-ur p,
html.lang-ur li {
  line-height: 2.1;
  letter-spacing: normal;
}

/* Preserve natural punctuation for mixed English content */
html[dir="rtl"] p,
html[dir="rtl"] li,
html[dir="rtl"] span,
html[dir="rtl"] div {
  unicode-bidi: isolate;
}

/* ── Hero Section Spacing in Urdu (Prevents Eyebrow / Title / Subtitle Overlap) ── */
html[dir="rtl"] .hero__glass,
html.lang-ur .hero__glass {
  max-width: 760px;
}

html[dir="rtl"] .hero__eyebrow,
html.lang-ur .hero__eyebrow {
  font-family: var(--ff-urdu);
  font-size: 0.95rem;
  line-height: 1.8;
  letter-spacing: normal;
  text-transform: none;
  margin-bottom: 1.5rem;
  padding: 6px 18px;
}

html[dir="rtl"] .hero__title,
html.lang-ur .hero__title {
  font-family: var(--ff-urdu);
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  line-height: 1.75;
  margin-top: 0.35rem;
  margin-bottom: 1.5rem;
  padding: 6px 0;
  letter-spacing: normal;
  word-spacing: 2px;
}

html[dir="rtl"] .hero__title span,
html.lang-ur .hero__title span {
  display: inline-block;
  line-height: 1.75;
}

html[dir="rtl"] .hero__subtitle,
html.lang-ur .hero__subtitle {
  font-family: var(--ff-urdu);
  font-size: 1.15rem;
  line-height: 2.25;
  margin-bottom: 2.5rem;
  letter-spacing: normal;
  max-width: 660px;
}

html[dir="rtl"] .hero__ctas,
html.lang-ur .hero__ctas {
  gap: 1rem;
}

html[dir="rtl"] .hero__ctas .btn,
html.lang-ur .hero__ctas .btn {
  line-height: 1.85;
  padding: 12px 26px;
  font-size: 1.05rem;
}

/* ── Inner Pages Hero Spacing in Urdu ── */
html[dir="rtl"] .page-hero,
html.lang-ur .page-hero {
  padding-top: calc(var(--sp-16) + 10px);
  padding-bottom: calc(var(--sp-10) + 10px);
}

html[dir="rtl"] .page-hero__tag,
html[dir="rtl"] .page-hero__eyebrow,
html.lang-ur .page-hero__tag,
html.lang-ur .page-hero__eyebrow {
  font-family: var(--ff-urdu);
  font-size: 0.95rem;
  line-height: 1.8;
  letter-spacing: normal;
  text-transform: none;
  margin-bottom: 1.25rem;
  padding: 5px 16px;
}

html[dir="rtl"] .page-hero__title,
html.lang-ur .page-hero__title {
  font-family: var(--ff-urdu);
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  line-height: 1.75;
  margin-top: 0.25rem;
  margin-bottom: 1.25rem;
  padding: 4px 0;
  letter-spacing: normal;
}

html[dir="rtl"] .page-hero__subtitle,
html[dir="rtl"] .page-hero__desc,
html.lang-ur .page-hero__subtitle,
html.lang-ur .page-hero__desc {
  font-family: var(--ff-urdu);
  font-size: 1.1rem;
  line-height: 2.15;
  letter-spacing: normal;
  max-width: 680px;
}

/* ── Section Header Spacing in Urdu ── */
html[dir="rtl"] .section-header__tag,
html[dir="rtl"] .section-label,
html.lang-ur .section-header__tag,
html.lang-ur .section-label {
  font-family: var(--ff-urdu);
  font-size: 0.92rem;
  line-height: 1.8;
  letter-spacing: normal;
  text-transform: none;
  margin-bottom: 1rem;
}

html[dir="rtl"] .section-header__title,
html.lang-ur .section-header__title {
  font-family: var(--ff-urdu);
  line-height: 1.75;
  margin-bottom: 0.85rem;
  padding: 3px 0;
}

html[dir="rtl"] .section-header__sub,
html[dir="rtl"] .section-header__text,
html[dir="rtl"] .section-desc,
html.lang-ur .section-header__sub,
html.lang-ur .section-header__text,
html.lang-ur .section-desc {
  font-family: var(--ff-urdu);
  font-size: 1.05rem;
  line-height: 2.1;
  letter-spacing: normal;
}

/* RTL Buttons & Badges */
html[dir="rtl"] .btn,
html[dir="rtl"] .badge,
html[dir="rtl"] .pill,
html.lang-ur .btn,
html.lang-ur .badge,
html.lang-ur .pill {
  font-family: var(--ff-urdu);
  letter-spacing: normal;
  line-height: 1.8;
}

html[dir="rtl"] .btn svg,
html.lang-ur .btn svg {
  margin-left: 6px;
  margin-right: 0;
}

/* Form Inputs in RTL */
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select,
html.lang-ur input,
html.lang-ur textarea,
html.lang-ur select {
  font-family: var(--ff-urdu);
  text-align: inherit;
}

html[dir="rtl"] .hero__eyebrow-dot,
html.lang-ur .hero__eyebrow-dot {
  margin-right: 0;
  margin-left: 8px;
}

html[dir="rtl"] .highlights-modal__close,
html.lang-ur .highlights-modal__close {
  right: auto;
  left: 22px;
}



