/*
Theme Name: Al Rabbania
Theme URI: https://alrabbania.com/
Author: Al Rabbania
Description: Premium Urdu-first theme for Al Rabbania Education System.
Version: 1.0.1
Text Domain: al-rabbania
*/

@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Naskh Arabic";
  src: url("assets/fonts/noto-naskh-arabic-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Naskh Arabic";
  src: url("assets/fonts/noto-naskh-arabic-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Nastaliq Urdu";
  src: url("assets/fonts/noto-nastaliq-urdu-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Amiri;
  src: url("assets/fonts/amiri-arabic-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ar-navy: #15305b;
  --ar-navy-dark: #0b1f3a;
  --ar-gold: #b68430;
  --ar-gold-soft: #d9bd7b;
  --ar-ivory: #fbf9f4;
  --ar-sand: #f3efe6;
  --ar-white: #fff;
  --ar-text: #172033;
  --ar-muted: #667085;
  --ar-border: #e6e0d6;
  --ar-radius: 18px;
  --ar-radius-sm: 12px;
  --ar-shadow: 0 18px 50px rgba(11, 31, 58, 0.08);
  --ar-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ar-ivory);
  color: var(--ar-text);
  font-family: "Noto Naskh Arabic", Arial, sans-serif;
  font-size: 19px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
body.is-en {
  font-family: Manrope, Inter, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: -100px;
  inset-inline-start: 20px;
  background: var(--ar-navy-dark);
  color: #fff;
  padding: 10px 16px;
  z-index: 9999;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 244, 0.94);
  border-bottom: 1px solid rgba(230, 224, 214, 0.8);
  backdrop-filter: blur(16px);
  transition: 0.35s var(--ar-ease);
}
.admin-bar .site-header {
  top: 32px;
}
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.brand-copy {
  line-height: 1.2;
}
.brand-copy strong {
  display: block;
  font-family: Manrope, sans-serif;
  color: var(--ar-navy-dark);
  font-size: 18px;
  letter-spacing: 0.02em;
}
.brand-copy small {
  color: var(--ar-gold);
  font-size: 13px;
}
.primary-nav {
  margin-inline-start: auto;
}
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.primary-nav a {
  font-size: 16px;
  font-weight: 700;
  color: var(--ar-navy-dark);
}
.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--ar-gold);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.language-switch {
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--ar-navy);
  padding: 8px 10px;
  border: 1px solid var(--ar-border);
  border-radius: 999px;
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--ar-navy);
  font-size: 28px;
  padding: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  line-height: 1.25;
  transition: 0.3s var(--ar-ease);
  cursor: pointer;
}
.btn-primary {
  background: var(--ar-navy-dark);
  color: var(--ar-white);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(11, 31, 58, 0.18);
  border-color: var(--ar-gold-soft);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--ar-navy);
  color: var(--ar-navy);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #fff;
  transform: translateY(-2px);
}
:focus-visible {
  outline: 3px solid var(--ar-gold-soft);
  outline-offset: 3px;
}
.hero {
  position: relative;
  min-height: calc(100svh - 84px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ar-sand);
  padding: 56px 0;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(251, 249, 244, 0.98) 0%,
    rgba(251, 249, 244, 0.95) 55%,
    rgba(251, 249, 244, 0.88) 100%
  );
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
  width: 100%;
}
.hero-main {
  text-align: left;
}
.hero-urdu-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 31, 58, 0.06);
  border: 1px solid var(--ar-border);
  padding: 4px 14px;
  border-radius: 999px;
  color: var(--ar-navy-dark);
  font-size: 15px;
  margin-bottom: 12px;
}
.hero-urdu-badge .nastaliq {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ar-navy-dark);
}
.hero-quran-box {
  margin-bottom: 14px;
}
.hero-quran-box .quran {
  font-family: Amiri, "Noto Naskh Arabic", serif !important;
  font-size: clamp(34px, 3.8vw, 48px);
  line-height: 1.4;
  color: var(--ar-navy-dark);
  margin: 4px 0;
}
.hero-quran-box .translation {
  font-size: 16px;
  font-weight: 600;
  color: var(--ar-gold);
  margin: 0;
}
.hero h1 {
  font-family: Manrope, sans-serif;
  font-size: clamp(36px, 4vw, 50px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--ar-navy-dark);
}
.hero .lead {
  max-width: 600px;
  margin: 0 0 20px;
  color: #334155;
  font-size: 17px;
  line-height: 1.65;
}
.hero-mission-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 22px;
}
.hero-mission-pill .nastaliq {
  font-size: 17px;
  line-height: 1.4;
  color: #14532d;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-meta {
  display: flex;
  gap: 20px;
  color: var(--ar-muted);
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 600;
  flex-wrap: wrap;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  direction: ltr;
  unicode-bidi: isolate;
}

/* Right Column Highlights Card */
.hero-quick-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--ar-border);
  border-top: 4px solid var(--ar-gold);
  border-radius: var(--ar-radius);
  padding: 28px 24px;
  box-shadow: 0 12px 36px rgba(11, 31, 58, 0.08);
}
.hero-quick-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ar-border);
}
.hero-quick-header h3 {
  font-size: 17px;
  color: var(--ar-navy-dark);
  margin: 0;
  font-weight: 700;
}
.hero-quick-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.hero-quick-item {
  background: var(--ar-sand);
  border-radius: var(--ar-radius-sm);
  padding: 12px 14px;
  border-left: 3px solid var(--ar-navy);
}
.hero-quick-item h4 {
  font-size: 14px;
  color: var(--ar-navy-dark);
  margin: 0 0 4px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero-quick-item .stream-urdu {
  font-family: "Noto Nastaliq Urdu", serif !important;
  font-size: 14px;
  color: var(--ar-gold);
  font-weight: 500;
}
.hero-quick-item p {
  font-size: 13px;
  color: var(--ar-muted);
  margin: 0;
  line-height: 1.4;
}
.hero-quick-card .quick-cta {
  display: block;
  text-align: center;
  background: var(--ar-navy-dark);
  color: #fff;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: var(--ar-radius-sm);
  font-size: 14px;
  transition: 0.2s ease;
}
.hero-quick-card .quick-cta:hover {
  background: var(--ar-navy);
  color: var(--ar-gold-soft);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ar-gold);
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: currentColor;
}
.quran {
  font-family: Amiri, serif;
  font-size: clamp(42px, 5vw, 60px);
  line-height: 1.35;
  color: var(--ar-navy-dark);
  margin: 10px 0 2px;
}
.nastaliq {
  font-family: "Noto Nastaliq Urdu", "Noto Naskh Arabic", serif !important;
}
.section {
  padding: 110px 0;
}
.section-tight {
  padding: 78px 0;
}
.section-sand {
  background: var(--ar-sand);
}
.section-navy {
  background: var(--ar-navy-dark);
  color: var(--ar-white);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 44px;
  width: 100%;
}
.section-head h2,
.page-hero h1 {
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.15;
  margin: 8px 0 0;
  color: var(--ar-navy-dark);
}
.section-head p {
  max-width: 580px;
  margin: 0;
  color: var(--ar-muted);
}
.section-navy .section-head h2,
.section-navy .section-head p {
  color: var(--ar-white);
}
.intro-grid,
.split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 72px;
  align-items: center;
}
.image-frame {
  position: relative;
  border-radius: var(--ar-radius);
  overflow: hidden;
  box-shadow: var(--ar-shadow);
  background: #fff;
}
.image-frame img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.image-frame.wide img {
  aspect-ratio: 16/10;
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(217, 189, 123, 0.45);
  border-radius: 12px;
  pointer-events: none;
}
.prose h2 {
  font-family: "Noto Nastaliq Urdu", serif;
  font-size: clamp(35px, 4vw, 49px);
  font-weight: 500;
  line-height: 1.85;
  color: var(--ar-navy-dark);
  margin: 8px 0 18px;
}
.is-en .prose h2 {
  font-family: Manrope, sans-serif;
  line-height: 1.15;
  font-weight: 750;
}
.prose p {
  color: var(--ar-muted);
  margin: 0 0 18px;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.principle {
  border-top: 2px solid var(--ar-gold-soft);
  padding-top: 14px;
}
.principle strong {
  display: block;
  color: var(--ar-navy);
  font-size: 18px;
}
.principle span {
  font-size: 15px;
  color: var(--ar-muted);
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
.course-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ar-border);
  background: #fff;
  border-radius: var(--ar-radius);
  box-shadow: 0 4px 20px rgba(11, 31, 58, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ar-shadow);
}
.course-image {
  height: 210px;
  overflow: hidden;
}
.course-urdu-sub {
  display: inline-block;
  font-family: "Noto Nastaliq Urdu", serif !important;
  font-size: 15px;
  color: var(--ar-gold);
  line-height: 1.8;
  margin-top: 4px;
}
.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.55s var(--ar-ease);
}
.course-card:hover .course-image img {
  transform: scale(1.025);
}
.course-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.course-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.tag {
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--ar-sand);
  color: var(--ar-navy);
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 800;
}
.course-body h3 {
  font-family: "Noto Nastaliq Urdu", serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.9;
  margin: 0;
  color: var(--ar-navy-dark);
}
.is-en .course-body h3 {
  font-family: Manrope, sans-serif;
  line-height: 1.3;
  font-weight: 750;
}
.course-body p {
  color: var(--ar-muted);
  margin: 8px 0 20px;
}
.text-link {
  margin-top: auto;
  color: var(--ar-navy);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.text-link::after {
  content: "←";
  color: var(--ar-gold);
}
.is-en .text-link::after {
  content: "→";
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.why-card {
  padding: 30px 24px;
  border: 1px solid var(--ar-border);
  border-radius: var(--ar-radius);
  background: rgba(255, 255, 255, 0.72);
}
.why-index {
  font-family: Manrope, sans-serif;
  color: var(--ar-gold);
  font-weight: 800;
  font-size: 13px;
}
.why-card h3 {
  font-size: 22px;
  color: var(--ar-navy-dark);
  margin: 12px 0 8px;
}
.why-card p {
  color: var(--ar-muted);
  font-size: 16px;
  margin: 0;
}
.spotlight {
  border-radius: 28px;
  overflow: hidden;
  background: var(--ar-navy-dark);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.spotlight-media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}
.spotlight-copy {
  padding: 64px;
}
.spotlight-copy h2 {
  font-family: "Noto Nastaliq Urdu", serif;
  font-weight: 500;
  font-size: clamp(38px, 4.5vw, 54px);
  line-height: 1.8;
  margin: 8px 0 18px;
}
.is-en .spotlight-copy h2 {
  font-family: Manrope, sans-serif;
  line-height: 1.12;
  font-weight: 750;
}
.spotlight-copy p {
  color: #d5dbe5;
}
.spotlight-list {
  list-style: none;
  padding: 0;
  margin: 26px 0;
}
.spotlight-list li {
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.spotlight-list li::before {
  content: "✓";
  color: var(--ar-gold-soft);
  margin-inline-end: 10px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step {
  position: relative;
  padding: 32px;
  border-inline-start: 1px solid var(--ar-gold-soft);
}
.step b {
  display: block;
  font-family: Manrope, sans-serif;
  font-size: 42px;
  line-height: 1;
  color: rgba(182, 132, 48, 0.32);
}
.step h3 {
  color: var(--ar-navy-dark);
  margin: 18px 0 8px;
}
.step p {
  color: var(--ar-muted);
  margin: 0;
}
.notice-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}
.notice {
  padding: 32px;
  border-radius: var(--ar-radius);
  background: #fff;
  border: 1px solid var(--ar-border);
}
.notice time {
  font-family: Manrope, sans-serif;
  color: var(--ar-gold);
  font-size: 13px;
  font-weight: 800;
}
.notice h3 {
  margin: 12px 0;
  color: var(--ar-navy-dark);
}
.empty-state {
  color: var(--ar-muted);
  font-style: italic;
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-list details {
  background: #fff;
  border: 1px solid var(--ar-border);
  border-radius: 14px;
  padding: 0 22px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--ar-navy-dark);
  padding: 20px 0;
}
.faq-list details p {
  color: var(--ar-muted);
  padding: 0 0 20px;
  margin: 0;
}
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 440px;
  display: grid;
  align-items: center;
}
.cta-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 31, 58, 0.12),
    rgba(11, 31, 58, 0.88) 58%
  );
}
.cta-copy {
  position: relative;
  z-index: 2;
  color: #fff;
  width: min(590px, 58%);
  margin-inline-start: auto;
  padding: 56px;
}
.cta-copy h2 {
  font-family: "Noto Nastaliq Urdu", serif;
  font-size: 46px;
  font-weight: 500;
  line-height: 1.8;
  margin: 0 0 10px;
}
.is-en .cta-copy h2 {
  font-family: Manrope, sans-serif;
  line-height: 1.15;
  font-weight: 750;
}
.cta-copy p {
  color: #e6eaf0;
}
.page-hero {
  padding: 94px 0 70px;
  background: linear-gradient(135deg, var(--ar-sand), #fff);
  border-bottom: 1px solid var(--ar-border);
}
.page-hero p {
  max-width: 720px;
  color: var(--ar-muted);
}
.content-wrap {
  padding: 84px 0;
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 54px;
}
.content-card {
  background: #fff;
  border: 1px solid var(--ar-border);
  border-radius: var(--ar-radius);
  padding: 34px;
  margin-bottom: 24px;
}
.content-card h2,
.content-card h3 {
  color: var(--ar-navy-dark);
}
.content-card h2 {
  font-size: 32px;
}
.content-card p,
.content-card li {
  color: var(--ar-muted);
}
.sidebar-card {
  position: sticky;
  top: 120px;
  background: var(--ar-navy-dark);
  color: #fff;
  border-radius: var(--ar-radius);
  padding: 30px;
}
.sidebar-card h3 {
  margin-top: 0;
}
.sidebar-card p {
  color: #d5dbe5;
}
.placeholder {
  padding: 14px 16px;
  border: 1px dashed var(--ar-gold);
  border-radius: 10px;
  background: #fffaf0;
  color: #7a5a22;
  font-size: 15px;
}
.faculty-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.faculty-card {
  background: #fff;
  border: 1px solid var(--ar-border);
  border-radius: var(--ar-radius);
  padding: 30px;
  text-align: center;
}
.faculty-avatar {
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ar-sand);
  color: var(--ar-navy);
  font-size: 30px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--ar-radius);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field-full {
  grid-column: 1/-1;
}
.form-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--ar-border);
  border-radius: 10px;
  background: #fff;
  padding: 12px 14px;
  color: var(--ar-text);
}
.form-field textarea {
  min-height: 130px;
  resize: vertical;
}
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.form-message {
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 18px;
}
.form-message.success {
  background: #e8f5ed;
  color: #23633b;
}
.form-message.error {
  background: #fff0ee;
  color: #8b2f25;
}
.site-footer {
  background: var(--ar-navy-dark);
  color: #fff;
  padding: 76px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 0.9fr;
  gap: 44px;
}
.footer-brand img {
  width: 100px;
  background: #fff;
  border-radius: 14px;
  padding: 8px;
  margin-bottom: 18px;
}
.footer-brand p,
.site-footer li,
.site-footer address {
  color: #b8c1cf;
  font-style: normal;
  font-size: 16px;
}
.footer-title {
  color: var(--ar-gold-soft);
  font-size: 16px;
  margin: 0 0 18px;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li {
  margin: 9px 0;
}
.site-footer a:hover {
  color: var(--ar-gold-soft);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 50px;
  padding-top: 22px;
  color: #8f9aac;
  font-family: Manrope, sans-serif;
  font-size: 13px;
}
.socials {
  display: flex;
  gap: 12px;
}
.socials a {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 6px 11px;
}
@media (max-width: 1000px) {
  .primary-nav {
    display: none;
    position: absolute;
    top: 84px;
    inset-inline: 20px;
    background: #fff;
    border: 1px solid var(--ar-border);
    border-radius: var(--ar-radius);
    box-shadow: var(--ar-shadow);
    padding: 22px;
  }
  .primary-nav.is-open {
    display: block;
  }
  .primary-nav ul {
    display: grid;
    gap: 12px;
  }
  .menu-toggle {
    display: block;
  }
  .header-actions .btn {
    display: none;
  }
  .hero {
    min-height: 680px;
  }
  .hero-content {
    width: min(680px, 72%);
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .intro-grid,
  .split,
  .spotlight,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .spotlight-media {
    order: 2;
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .faculty-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  body {
    font-size: 17px;
  }
  .site-shell {
    width: min(100% - 28px, 1180px);
  }
  .admin-bar .site-header {
    top: 46px;
  }
  .header-inner {
    min-height: 72px;
  }
  .brand img {
    width: 52px;
    height: 52px;
  }
  .brand-copy small {
    display: none;
  }
  .language-switch {
    padding: 6px 9px;
  }
  .section {
    padding: 72px 0;
  }
  .section-tight {
    padding: 56px 0;
  }
  .hero {
    min-height: 720px;
  }
  .hero::after,
  .is-en .hero::after {
    background: linear-gradient(
      180deg,
      rgba(251, 249, 244, 0.3),
      rgba(251, 249, 244, 0.96) 54%,
      var(--ar-ivory)
    );
  }
  .hero-content,
  .is-en .hero-content {
    width: 100%;
    padding: 280px 0 68px;
    margin: 0;
    text-align: start;
  }
  .hero h1 {
    font-size: 42px;
  }
  .quran {
    font-size: 43px;
  }
  .hero .translation {
    font-size: 20px;
  }
  .hero-actions {
    display: grid;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-meta {
    flex-wrap: wrap;
  }
  .section-head {
    display: block;
  }
  .intro-grid,
  .split {
    gap: 34px;
  }
  .principles,
  .why-grid,
  .steps,
  .faculty-grid,
  .gallery-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .course-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .spotlight-copy {
    padding: 36px 24px;
  }
  .spotlight-media img {
    min-height: 320px;
  }
  .cta-band {
    min-height: 520px;
  }
  .cta-band::after {
    background: linear-gradient(
      180deg,
      rgba(11, 31, 58, 0.12),
      rgba(11, 31, 58, 0.92) 58%
    );
  }
  .cta-copy {
    width: 100%;
    margin: 0;
    padding: 220px 24px 34px;
  }
  .cta-copy h2 {
    font-size: 36px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    display: block;
  }
  .content-card {
    padding: 24px;
  }
  .page-hero {
    padding: 70px 0 50px;
  }
}
/* Modern Al Rabbania Enhanced Sections */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(217, 189, 123, 0.4);
  color: var(--ar-gold-soft);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}
.hero-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
  width: 100%;
}
@media (max-width: 960px) {
  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .facts-grid {
    grid-template-columns: 1fr;
  }
}
.fact-card {
  background: var(--ar-white);
  border: 1px solid var(--ar-border);
  border-radius: var(--ar-radius-sm);
  padding: 26px 22px;
  box-shadow: 0 4px 16px rgba(11, 31, 58, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(11, 31, 58, 0.08);
}
.fact-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.fact-card h3 {
  font-size: 18px;
  color: var(--ar-navy);
  margin-bottom: 8px;
}
.fact-card p {
  color: var(--ar-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.tag-status {
  background: rgba(40, 167, 69, 0.12) !important;
  color: #1e7e34 !important;
  border: 1px solid rgba(40, 167, 69, 0.3) !important;
  font-weight: 700 !important;
}
.course-specs {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--ar-text);
  border-top: 1px dashed var(--ar-border);
  border-bottom: 1px dashed var(--ar-border);
  padding: 12px 0;
}
.course-specs li strong {
  color: var(--ar-navy);
}
.card-footer-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.card-footer-actions .btn {
  flex: 1;
  text-align: center;
  min-width: 140px;
}
.admission-banner {
  background: linear-gradient(135deg, #0b1f3a 0%, #15305b 100%);
  border: 2px solid var(--ar-gold);
  border-radius: var(--ar-radius);
  padding: 44px 36px;
  color: #fff;
  box-shadow: 0 20px 50px rgba(11, 31, 58, 0.15);
}
.badge-accent {
  display: inline-block;
  background: var(--ar-gold);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.admission-banner h2 {
  color: #fff;
  font-size: 32px;
  margin: 10px 0 16px;
  line-height: 1.3;
}
.admission-banner p {
  color: #cbd5e0;
  max-width: 780px;
  font-size: 16px;
  line-height: 1.7;
}
.banner-ctas {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.faculty-card {
  position: relative;
  background: var(--ar-white);
  border: 1px solid var(--ar-border);
  border-radius: var(--ar-radius-sm);
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(11, 31, 58, 0.04);
}
.faculty-badge {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  background: var(--ar-sand);
  border: 1px solid var(--ar-border);
  color: var(--ar-navy);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
}
.faculty-role {
  display: block;
  color: var(--ar-gold);
  font-weight: 600;
  font-size: 14px;
  margin: 4px 0 6px;
}
.faculty-creds {
  font-size: 13px;
  color: var(--ar-muted);
  font-weight: 500;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ar-border);
}
.admission-success-box {
  background: #f0fdf4;
  border: 2px solid #22c55e;
  border-radius: var(--ar-radius-sm);
  padding: 36px 28px;
  margin-bottom: 36px;
  text-align: center;
}
.admission-success-box h2 {
  color: #15803d;
  font-size: 26px;
  margin: 12px 0 10px;
}
.admission-success-box p {
  max-width: 650px;
  margin: 0 auto 20px;
  color: #166534;
}
.btn-whatsapp {
  background: #25d366 !important;
  color: #fff !important;
  border-color: #25d366 !important;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 24px;
}
.btn-whatsapp:hover {
  background: #1ebc59 !important;
}
.btn-block {
  width: 100%;
  text-align: center;
  font-size: 16px;
  padding: 14px 20px;
}
.contact-card-item {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ar-border);
}
.contact-card-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.contact-card-item h4 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--ar-navy);
}
.contact-card-item p {
  margin: 0 0 10px;
  color: var(--ar-text);
  font-size: 15px;
}
.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}
.sidebar-contact-info {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--ar-border);
  font-size: 13px;
  line-height: 1.8;
  color: var(--ar-text);
}
.footer-contact-pills {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ar-gold-soft);
}
.prospectus-banner {
  margin-top: 48px;
  background: var(--ar-white);
  border: 1px solid var(--ar-border);
  border-inline-start: 6px solid var(--ar-gold);
  border-radius: var(--ar-radius-sm);
  padding: 32px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 4px 16px rgba(11, 31, 58, 0.04);
}
.prospectus-copy h3 {
  font-size: 22px;
  color: var(--ar-navy);
  margin: 8px 0 8px;
}
.prospectus-copy p {
  color: var(--ar-muted);
  margin: 0;
  max-width: 650px;
  font-size: 15px;
  line-height: 1.6;
}
.btn-outline {
  display: block;
  width: 100%;
  text-align: center;
  background: transparent;
  border: 1.5px solid var(--ar-border);
  color: var(--ar-navy);
  padding: 10px 18px;
  border-radius: var(--ar-radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
}
.btn-outline:hover {
  background: var(--ar-sand);
  border-color: var(--ar-gold);
  color: var(--ar-navy);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
