/* ==============================================
   NOOR INSTITUTE — MAIN CSS
   Faithful layout replica of studioarabiya.com
   with Noor Institute branding
============================================== */

/* ---- Variables ---- */
:root {
  --green:       #2d6a4f;
  --green-dark:  #1b4332;
  --green-light: #d8f3dc;
  --gold:        #c9a84c;
  --gold-light:  #f4e0a0;
  --white:       #ffffff;
  --cream:       #f9f6f0;
  --cream2:      #f0ebe0;
  --text:        #1a1a1a;
  --text-mid:    #444444;
  --text-light:  #777777;
  --border:      #e0ddd7;
  --shadow:      0 4px 20px rgba(0,0,0,.09);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.14);
  --radius:      10px;
  --font:        'Poppins', sans-serif;
  --font-arabic: 'Amiri', serif;
  --max:         1200px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: #fff; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Container ---- */
.ni-container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---- Section Titles ---- */
.ni-section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--green-dark);
  text-align: center;
  margin-bottom: 12px;
}
.ni-section-sub {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 40px;
  font-size: 1rem;
}

/* ============================================
   ANNOUNCEMENT BAR
============================================ */
.ni-announce-bar {
  background: var(--green-dark);
  color: #fff;
  overflow: hidden;
  position: relative;
  height: 38px;
  display: flex;
  align-items: center;
}
.ni-announce-track {
  white-space: nowrap;
  animation: niTicker 30s linear infinite;
  display: flex;
  align-items: center;
  height: 100%;
}
.ni-announce-track span {
  font-size: 0.8rem;
  padding: 0 20px;
  font-weight: 500;
}
@keyframes niTicker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ni-announce-close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.6);
  font-size: 0.8rem;
  cursor: pointer;
  z-index: 2;
  padding: 4px 8px;
}
.ni-announce-close:hover { color: #fff; }

/* ============================================
   TOPBAR
============================================ */
.ni-topbar {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 7px 0;
}
.ni-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ni-topbar-left { display: flex; gap: 20px; }
.ni-topbar-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-mid);
  transition: color .2s;
}
.ni-topbar-link:hover { color: var(--green); }
.ni-topbar-login {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  border: 1.5px solid var(--green);
  padding: 4px 14px;
  border-radius: 20px;
  transition: all .2s;
}
.ni-topbar-login:hover { background: var(--green); color: #fff; }

/* ============================================
   HEADER
============================================ */
.ni-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.ni-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}

/* Logo */
.ni-logo { display: flex; align-items: center; }
.ni-logo-text { display: flex; align-items: center; gap: 10px; }
.ni-logo-icon {
  font-family: var(--font-arabic);
  font-size: 1.8rem;
  color: var(--green);
  background: var(--green-light);
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ni-logo-text strong { display: block; font-size: 1.1rem; font-weight: 700; color: var(--green-dark); line-height: 1.2; }
.ni-logo-text small { font-size: 0.68rem; color: var(--text-light); letter-spacing: .04em; text-transform: uppercase; }

/* Nav */
.ni-nav ul { display: flex; gap: 4px; }
.ni-nav li { position: relative; }
.ni-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: 6px;
  transition: all .2s;
}
.ni-nav > ul > li > a:hover,
.ni-nav > ul > li:hover > a { background: var(--cream); color: var(--green); }
.ni-caret { font-size: 0.7rem; transition: transform .2s; }
.ni-has-sub:hover .ni-caret { transform: rotate(180deg); }

/* Dropdown */
.ni-sub {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 210px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .22s;
  z-index: 200;
}
.ni-has-sub:hover .ni-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.ni-sub li a {
  display: block;
  padding: 9px 14px;
  font-size: 0.85rem;
  color: var(--text-mid);
  border-radius: 6px;
  transition: background .15s;
}
.ni-sub li a:hover { background: var(--cream); color: var(--green); }

/* Enroll button */
.ni-btn-enroll {
  background: var(--green);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 25px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: all .2s;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(45,106,79,.3);
}
.ni-btn-enroll:hover { background: var(--green-dark); transform: translateY(-1px); }

/* Hamburger */
.ni-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.ni-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .25s; }

/* Mobile Menu */
.ni-mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 16px 24px;
}
.ni-mobile-menu.open { display: block; }
.ni-mobile-menu ul { display: flex; flex-direction: column; gap: 2px; }
.ni-mobile-menu a { display: block; padding: 10px 14px; font-size: 0.92rem; border-radius: 6px; color: var(--text-mid); }
.ni-mobile-menu a:hover { background: var(--cream); color: var(--green); }

/* ============================================
   BUTTONS (body)
============================================ */
.ni-btn-green {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 12px 28px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all .2s;
  box-shadow: 0 3px 14px rgba(45,106,79,.28);
}
.ni-btn-green:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(45,106,79,.35); }
.ni-btn-outline {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 12px 28px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid rgba(255,255,255,.7);
  transition: all .2s;
}
.ni-btn-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.ni-btn-lg { padding: 15px 40px; font-size: 1rem; }

/* ============================================
   SECTION 1: HERO
============================================ */
.ni-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, #2d6a4f 60%, #1b4332 100%);
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}
.ni-hero::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='%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/svg%3E");
}
.ni-hero-inner { position: relative; max-width: 800px; }
.ni-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 20px;
}
.ni-hero h1 strong { color: var(--gold-light); }
.ni-hero p { color: rgba(255,255,255,.85); font-size: 1rem; margin-bottom: 30px; line-height: 1.7; }
.ni-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.ni-hero-trust { font-size: 0.82rem; color: rgba(255,255,255,.65); margin-bottom: 20px; }
.ni-hero-rating { margin-top: 8px; }

/* ============================================
   SECTION 2 & 3: SPLIT SECTIONS
============================================ */
.ni-split { padding: 80px 0; }
.ni-split-light { background: var(--cream); }
.ni-split-white { background: #fff; }
.ni-split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.ni-split-reverse { direction: rtl; }
.ni-split-reverse > * { direction: ltr; }
.ni-split-img { position: relative; }
.ni-split-img > img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  max-height: 420px;
}
.ni-split-quote {
  background: #fff;
  border-left: 4px solid var(--green);
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  font-size: 0.85rem;
  color: var(--text-mid);
  font-style: italic;
  margin-top: 16px;
  box-shadow: var(--shadow);
}
.ni-split-content h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}
.ni-split-content p { color: var(--text-mid); margin-bottom: 24px; line-height: 1.75; }
.ni-video-thumb {
  display: inline-block;
  position: relative;
  margin-top: 16px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ni-video-thumb img { display: block; }
.ni-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  background: rgba(0,0,0,.4);
  transition: background .2s;
}
.ni-video-thumb:hover .ni-play-btn { background: rgba(0,0,0,.6); }

/* ============================================
   SECTION 4: COMPETITION BANNER
============================================ */
.ni-competition {
  background: linear-gradient(135deg, #3a1a00 0%, #7b3800 50%, #3a1a00 100%);
  padding: 70px 0;
}
.ni-competition-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 50px;
  align-items: center;
}
.ni-competition-img img {
  max-width: 260px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}
.ni-comp-pre {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}
.ni-comp-sub {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 8px;
}
.ni-competition-text h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.3;
}
.ni-competition-text p { color: rgba(255,255,255,.8); margin-bottom: 24px; line-height: 1.7; }

/* ============================================
   SECTION 5: PROMO BANNER
============================================ */
.ni-promo {
  background: var(--gold);
  padding: 50px 0;
}
.ni-promo-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.ni-promo-text h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.ni-promo-text h3 {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 600;
  color: rgba(255,255,255,.9);
  margin-bottom: 16px;
}
.ni-promo-code {
  display: inline-block;
  background: #fff;
  color: #7b3800;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: .12em;
  padding: 10px 28px;
  border-radius: 10px;
  font-family: monospace;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.ni-promo-img img {
  max-width: 260px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}

/* ============================================
   SECTION 6: COURSES GRID
============================================ */
.ni-courses {
  background: var(--cream);
  padding: 80px 0;
}
.ni-courses .ni-section-title { margin-bottom: 40px; }
.ni-courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.ni-course-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.ni-course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ni-course-card > a > img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.ni-course-card:hover > a > img { transform: scale(1.04); }
.ni-course-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.ni-course-tag {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 20px;
  width: fit-content;
}
.ni-course-body h3 { font-size: 0.92rem; font-weight: 700; color: var(--green-dark); line-height: 1.35; }
.ni-course-body h3 a:hover { color: var(--green); }
.ni-course-meta { display: flex; gap: 5px; flex-wrap: wrap; }
.ni-age-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 20px;
}
.ni-course-price {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
  margin-top: auto;
}

/* ============================================
   SECTION 7: CELEBRATION IMAGE
============================================ */
.ni-celebration { padding: 40px 0; background: #fff; }
.ni-celebration-img { width: 100%; border-radius: 16px; box-shadow: var(--shadow-lg); max-height: 300px; object-fit: cover; }

/* ============================================
   SECTION 8: PROGRESS / REPORTS
============================================ */
.ni-progress { padding: 80px 0; background: var(--cream2); }
.ni-progress .ni-section-title { margin-bottom: 8px; }
.ni-progress-gallery {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 32px 0;
}
.ni-progress-gallery img {
  width: calc(14.28% - 14px);
  min-width: 120px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform .2s;
  object-fit: cover;
}
.ni-progress-gallery img:hover { transform: translateY(-4px) scale(1.03); }
.ni-inside-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 16px;
  text-align: center;
}
.ni-inside-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.ni-inside-grid img { border-radius: 14px; width: 100%; object-fit: cover; max-height: 260px; box-shadow: var(--shadow-lg); }

/* ============================================
   SECTION 9: WHY IT WORKS
============================================ */
.ni-why { padding: 80px 0; background: var(--green-dark); }
.ni-why .ni-section-title { color: #fff; }
.ni-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.ni-why-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 28px 22px;
  text-align: center;
  transition: all .25s;
}
.ni-why-card:hover { background: rgba(255,255,255,.14); transform: translateY(-5px); }
.ni-why-icon { font-size: 2.2rem; margin-bottom: 14px; }
.ni-why-card h3 { font-size: 0.85rem; font-weight: 800; color: var(--gold-light); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.ni-why-card p { font-size: 0.85rem; color: rgba(255,255,255,.7); line-height: 1.65; }

/* ============================================
   SECTION 10: TESTIMONIALS
============================================ */
.ni-testimonials { padding: 80px 0; background: #fff; }
.ni-rating-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}
.ni-rating-bar img { max-width: 220px; }
.ni-rating-bar p { font-size: 0.88rem; color: var(--text-light); text-align: center; }
.ni-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.ni-testi-card {
  background: var(--cream);
  border-radius: 14px;
  padding: 26px;
  border: 1px solid var(--border);
  transition: box-shadow .2s, transform .2s;
}
.ni-testi-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.ni-stars { color: #f4b400; font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.ni-testi-card p { font-size: 0.87rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.ni-testi-card strong { font-size: 0.88rem; color: var(--green-dark); }

/* ============================================
   SECTION 11: TRUSTED BY LOGOS
============================================ */
.ni-trusted { padding: 60px 0; background: var(--cream); text-align: center; }
.ni-trusted-title { font-size: 1.3rem; font-weight: 700; color: var(--green-dark); margin-bottom: 28px; }
.ni-logos-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.ni-logos-row img {
  height: 55px;
  width: auto;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: .85;
  transition: all .2s;
  border-radius: 6px;
}
.ni-logos-row img:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.06); }
.ni-trusted-note { margin-top: 24px; font-size: 0.82rem; color: var(--text-light); font-style: italic; }

/* ============================================
   SECTION 12: HOW IT WORKS
============================================ */
.ni-how { padding: 80px 0; background: #fff; }
.ni-how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 40px 0;
  position: relative;
}
.ni-how-step {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  margin: 0 -1px;
  transition: all .25s;
}
.ni-how-step:first-child { border-radius: 14px 0 0 14px; }
.ni-how-step:last-child  { border-radius: 0 14px 14px 0; }
.ni-how-step:hover { z-index: 1; background: var(--green); color: #fff; transform: translateY(-6px); box-shadow: var(--shadow-lg); border-radius: 14px; }
.ni-how-step:hover .ni-step-num { color: var(--gold-light); }
.ni-how-step:hover h3,
.ni-how-step:hover p  { color: rgba(255,255,255,.9); }
.ni-step-num { font-size: 3rem; font-weight: 900; color: var(--green-light); line-height: 1; margin-bottom: 8px; transition: color .25s; }
.ni-how-step h3 { font-size: 0.95rem; font-weight: 700; color: var(--green-dark); margin-bottom: 10px; transition: color .25s; }
.ni-how-step p { font-size: 0.83rem; color: var(--text-light); line-height: 1.65; transition: color .25s; }
.ni-how-cta { text-align: center; }

/* ============================================
   SECTION 13: APP DOWNLOAD
============================================ */
.ni-app { padding: 60px 0; background: var(--green-dark); }
.ni-app-inner { display: flex; align-items: center; justify-content: center; }
.ni-app-text { text-align: center; }
.ni-app-text h2 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); font-weight: 700; color: #fff; margin-bottom: 28px; }
.ni-app-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.ni-appstore-btn img { height: 48px; width: auto; border-radius: 8px; transition: transform .2s; }
.ni-appstore-btn:hover img { transform: translateY(-3px); }

/* ============================================
   NEWSLETTER
============================================ */
.ni-newsletter { padding: 60px 0; background: var(--cream2); text-align: center; }
.ni-newsletter-inner { max-width: 600px; margin: 0 auto; }
.ni-newsletter h3 { font-size: 1.5rem; font-weight: 700; color: var(--green-dark); margin-bottom: 8px; }
.ni-newsletter p { color: var(--text-light); margin-bottom: 24px; font-size: 0.9rem; }
.ni-newsletter-form { display: flex; justify-content: center; gap: 0; border-radius: 30px; overflow: hidden; border: 2px solid var(--border); background: #fff; box-shadow: var(--shadow); max-width: 460px; margin: 0 auto 24px; }
.ni-newsletter-form input { flex: 1; padding: 13px 20px; border: none; outline: none; font-family: var(--font); font-size: 0.9rem; }
.ni-newsletter-form button { background: var(--green); color: #fff; padding: 13px 24px; border: none; font-weight: 700; font-size: 0.82rem; letter-spacing: .06em; cursor: pointer; transition: background .2s; }
.ni-newsletter-form button:hover { background: var(--green-dark); }
.ni-social-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.ni-social-row a { font-size: 0.85rem; font-weight: 600; color: var(--green); border-bottom: 1.5px solid transparent; transition: border-color .2s; }
.ni-social-row a:hover { border-color: var(--green); }

/* ============================================
   FOOTER
============================================ */
.ni-footer { background: var(--green-dark); padding: 56px 0 0; }
.ni-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.ni-footer-col h4 {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.ni-footer-col ul { display: flex; flex-direction: column; gap: 7px; }
.ni-footer-col a { font-size: 0.83rem; color: rgba(255,255,255,.62); transition: color .2s; }
.ni-footer-col a:hover { color: var(--gold-light); }
.ni-footer-app { display: flex; flex-direction: column; gap: 10px; }
.ni-app-btn { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.8); padding: 10px 16px; border-radius: 8px; font-size: 0.83rem; font-weight: 600; transition: background .2s; width: fit-content; }
.ni-app-btn:hover { background: rgba(255,255,255,.16); }
.ni-footer-payment { margin-top: 12px; }
.ni-footer-payment p { font-size: 0.72rem; color: rgba(255,255,255,.45); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .08em; }
.ni-payment-icons { display: flex; gap: 6px; flex-wrap: wrap; }
.ni-payment-icons span { background: rgba(255,255,255,.1); color: rgba(255,255,255,.55); font-size: 0.65rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; border: 1px solid rgba(255,255,255,.15); }
.ni-footer-bottom { padding: 20px 0; text-align: center; }
.ni-footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,.4); }

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1100px) {
  .ni-courses-grid { grid-template-columns: repeat(3, 1fr); }
  .ni-why-grid { grid-template-columns: repeat(2, 1fr); }
  .ni-testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .ni-nav, .ni-btn-enroll { display: none; }
  .ni-hamburger { display: flex; }
  .ni-split-inner { grid-template-columns: 1fr; gap: 32px; }
  .ni-split-reverse { direction: ltr; }
  .ni-competition-inner { grid-template-columns: 1fr; }
  .ni-competition-img { display: none; }
  .ni-promo-inner { grid-template-columns: 1fr; }
  .ni-promo-img { display: none; }
  .ni-how-grid { grid-template-columns: 1fr 1fr; }
  .ni-how-step:first-child, .ni-how-step:last-child { border-radius: var(--radius); }
  .ni-how-step { margin: 0; border-radius: var(--radius); }
  .ni-footer-grid { grid-template-columns: 1fr 1fr; }
  .ni-topbar-left { display: none; }
}
@media (max-width: 640px) {
  .ni-courses-grid { grid-template-columns: 1fr 1fr; }
  .ni-why-grid { grid-template-columns: 1fr; }
  .ni-testimonials-grid { grid-template-columns: 1fr; }
  .ni-how-grid { grid-template-columns: 1fr; }
  .ni-footer-grid { grid-template-columns: 1fr; }
  .ni-hero-btns { flex-direction: column; }
  .ni-progress-gallery img { width: calc(33% - 14px); }
  .ni-inside-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .ni-courses-grid { grid-template-columns: 1fr; }
}

/* ============================================
   ALIF WISDOM — ADDITIONAL STYLES
============================================ */

/* Footer email links */
.ni-footer-email {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.83rem;
  color: rgba(255,255,255,.62);
  transition: color .2s;
}
.ni-footer-email:hover { color: #f4e0a0; }

/* Logo Arabic letter */
.ni-logo-icon {
  font-family: 'Amiri', serif;
  font-size: 1.9rem;
  color: #2d6a4f;
  background: #d8f3dc;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
