/* =============================================
   LEARN QURAN – Upgraded Stylesheet
   Theme: Deep Night Sky · Gold Constellation · Sacred Geometry
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Night-Sky Palette */
  --night-900:   #050d14;
  --night-800:   #091622;
  --night-700:   #0e2236;
  --night-600:   #132d47;

  /* Sacred Green */
  --green-900:   #0a2016;
  --green-800:   #153426;
  --green-700:   #1e4d35;
  --green-500:   #2e7d52;

  /* Living Gold */
  --gold:        #c9a84c;
  --gold-bright: #e8cc80;
  --gold-pale:   #f5e9c4;
  --gold-dim:    rgba(201,168,76,.15);

  /* Text */
  --text-white:  #ffffff;
  --text-pale:   rgba(255,255,255,.85);
  --text-muted:  rgba(255,255,255,.5);
  --text-faint:  rgba(255,255,255,.3);

  /* Surface (section bg) */
  --surface:     #0a1a2b;
  --surface-2:   #0f2337;

  /* Fonts */
  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'Inter', system-ui, sans-serif;
  --ff-arabic:  'Noto Naskh Arabic', 'Traditional Arabic', serif;

  /* Shadows */
  --glow-gold:  0 0 40px rgba(201,168,76,.25), 0 0 80px rgba(201,168,76,.1);
  --glow-sm:    0 0 20px rgba(201,168,76,.2);
  --shadow-card:0 24px 64px rgba(0,0,0,.5);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 32px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  background: var(--night-900);
  color: var(--text-pale);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── STARFIELD CANVAS ── */
#starCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5,13,20,0);
  backdrop-filter: blur(0px);
  transition: background .4s, backdrop-filter .4s, box-shadow .4s;
}
.navbar.scrolled {
  background: rgba(5,13,20,.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(201,168,76,.12);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  letter-spacing: .02em;
}
.nav-logo-moon {
  color: var(--gold);
  font-size: 1.3rem;
  display: inline-block;
  animation: moonPulse 4s ease-in-out infinite;
}
@keyframes moonPulse {
  0%,100% { text-shadow: 0 0 8px rgba(201,168,76,.4); }
  50%      { text-shadow: 0 0 20px rgba(201,168,76,.8); }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}
.nav-links a {
  text-decoration: none;
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color .25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gold-bright);
  border-radius: 2px;
  transition: all .3s;
}

@media (max-width: 720px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(5,13,20,.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    padding: 28px 0 36px;
    gap: 28px;
    transform: translateY(-120%);
    transition: transform .38s cubic-bezier(.4,0,.2,1);
    border-bottom: 1px solid rgba(201,168,76,.15);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 1rem; }
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  padding: 110px 28px 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 540px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(201,168,76,.35);
  color: var(--gold);
  background: rgba(201,168,76,.06);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: badgeFadeIn .8s ease both;
}
.badge-star {
  font-size: .6rem;
  opacity: .7;
}
@keyframes badgeFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-title {
  display: flex;
  flex-direction: column;
  line-height: .95;
  margin-bottom: 24px;
  animation: titleFadeIn .9s .15s ease both;
}
@keyframes titleFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-title-learn {
  font-family: var(--ff-display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
  letter-spacing: .04em;
}
.hero-title-quran {
  font-family: var(--ff-display);
  font-size: clamp(4.5rem, 13vw, 8.5rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: .88;
  background: linear-gradient(135deg, #e8cc80 0%, #c9a84c 40%, #a07830 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 20px rgba(201,168,76,.35));
}

.hero-arabic-verse {
  margin-bottom: 20px;
  animation: arabicFadeIn 1s .3s ease both;
}
@keyframes arabicFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.arabic-text {
  display: block;
  font-family: var(--ff-arabic);
  font-size: 1.7rem;
  color: var(--gold-bright);
  letter-spacing: .06em;
  line-height: 1.8;
  text-align: right;
  direction: rtl;
}
.arabic-translation {
  display: block;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: right;
}

.hero-sub {
  font-size: .96rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 400px;
  line-height: 1.75;
  animation: subFadeIn 1s .4s ease both;
}
@keyframes subFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: ctaFadeIn 1s .5s ease both;
}
@keyframes ctaFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 100px;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.08);
  opacity: 0;
  transition: opacity .25s;
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, #c9a84c, #a07830);
  color: var(--night-900);
  font-weight: 700;
  box-shadow: 0 4px 24px rgba(201,168,76,.35), var(--glow-sm);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(201,168,76,.5), var(--glow-gold);
}

.btn-ghost {
  background: rgba(255,255,255,.04);
  color: var(--text-pale);
  border: 1px solid rgba(255,255,255,.15);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(201,168,76,.5);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  animation: statsFadeIn 1s .65s ease both;
}
@keyframes statsFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-num {
  font-family: var(--ff-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-plus {
  font-size: 1rem;
  vertical-align: super;
}
.stat-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(201,168,76,.2);
}

/* ── HERO VISUAL ── */
.hero-visual {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: visualFadeIn 1.2s .2s ease both;
}
@keyframes visualFadeIn {
  from { opacity: 0; transform: scale(.96); }
  to   { opacity: 1; transform: scale(1); }
}

.mosque-arch {
  position: relative;
  width: 300px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arch-glow-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,.12);
  animation: ringPulse 4s ease-in-out infinite;
}
.ring-1 { width: 260px; height: 260px; animation-delay: 0s; }
.ring-2 { width: 320px; height: 320px; animation-delay: .8s; border-color: rgba(201,168,76,.07); }
.ring-3 { width: 380px; height: 380px; animation-delay: 1.6s; border-color: rgba(201,168,76,.04); }
@keyframes ringPulse {
  0%,100% { opacity: .4; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.03); }
}

.arch-body {
  width: 250px;
  height: 320px;
  background: linear-gradient(175deg,
    rgba(30,77,53,.5) 0%,
    rgba(14,34,54,.7) 50%,
    rgba(5,13,20,.8) 100%
  );
  border-radius: 125px 125px 20px 20px;
  border: 1px solid rgba(201,168,76,.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  padding: 26px 16px 22px;
  box-shadow:
    0 0 60px rgba(201,168,76,.12),
    0 40px 80px rgba(0,0,0,.6),
    inset 0 1px 0 rgba(201,168,76,.2);
  position: relative;
  overflow: hidden;
}
.arch-body::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 112px 112px 12px 12px;
  border: 1px solid rgba(201,168,76,.12);
  pointer-events: none;
}
.arch-body::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,.5), transparent);
}

.crescent-star-wrap {
  display: flex;
  justify-content: center;
}
.crescent-svg {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 0 12px rgba(201,168,76,.6));
  animation: crescentGlow 3s ease-in-out infinite;
}
@keyframes crescentGlow {
  0%,100% { filter: drop-shadow(0 0 10px rgba(201,168,76,.5)); }
  50%      { filter: drop-shadow(0 0 22px rgba(201,168,76,.9)); }
}

.book-wrap {
  display: flex;
  justify-content: center;
  margin: 4px 0;
}
.quran-book {
  width: 196px;
  height: auto;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.55));
  animation: bookFloat 5s ease-in-out infinite;
}
@keyframes bookFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.lanterns-row {
  display: flex;
  gap: 40px;
  justify-content: center;
}
.lantern {
  font-size: 1.7rem;
  display: inline-block;
  filter: drop-shadow(0 2px 8px rgba(201,168,76,.4));
}
.lantern-l { animation: swayL 3.2s ease-in-out infinite; }
.lantern-r { animation: swayR 3.2s ease-in-out infinite; }
@keyframes swayL {
  0%,100% { transform: rotate(-6deg); }
  50%      { transform: rotate(4deg); }
}
@keyframes swayR {
  0%,100% { transform: rotate(6deg); }
  50%      { transform: rotate(-4deg); }
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 120px;
    gap: 40px;
  }
  .hero-content { max-width: 100%; }
  .arabic-text, .arabic-translation { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta-group { justify-content: center; }
  .hero-stats { justify-content: center; }
  .mosque-arch { width: 260px; height: 330px; }
  .arch-body { width: 210px; height: 280px; }
  .ring-1 { width: 220px; height: 220px; }
  .ring-2 { width: 270px; height: 270px; }
  .ring-3 { width: 320px; height: 320px; }
}

/* ── WAVE DIVIDER ── */
.wave-divider {
  position: relative;
  z-index: 1;
  height: 60px;
  overflow: hidden;
  background: var(--night-900);
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── SECTIONS COMMON ── */
.section-eyebrow {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-eyebrow.light { color: var(--gold-bright); }

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--text-white);
  margin-bottom: 14px;
}
.section-title em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(135deg, #e8cc80, #c9a84c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-title.light { color: var(--text-white); }

.section-sub {
  font-size: .92rem;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 56px;
}

/* ── LEARN SECTION ── */
.learn-section {
  background: var(--surface);
  padding: 100px 28px;
  position: relative;
  z-index: 1;
}
.learn-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.pillar-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(201,168,76,.12);
  border-radius: var(--radius-md);
  padding: 36px 28px 32px;
  text-align: left;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition:
    transform .35s cubic-bezier(.4,0,.2,1),
    border-color .35s,
    box-shadow .35s;
  opacity: 0;
  transform: translateY(32px);
}
.pillar-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity .6s ease var(--card-delay),
    transform .6s ease var(--card-delay),
    border-color .35s,
    box-shadow .35s;
}
.pillar-card:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(201,168,76,.35);
  box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 30px rgba(201,168,76,.08);
}

.pillar-number {
  font-family: var(--ff-display);
  font-size: 4.5rem;
  font-weight: 700;
  color: rgba(201,168,76,.07);
  line-height: 1;
  position: absolute;
  top: 12px; right: 18px;
  pointer-events: none;
  transition: color .35s;
}
.pillar-card:hover .pillar-number {
  color: rgba(201,168,76,.12);
}

.pillar-icon-ring {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(201,168,76,.08);
  border: 1px solid rgba(201,168,76,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.pillar-card:hover .pillar-icon-ring {
  background: rgba(201,168,76,.14);
  border-color: rgba(201,168,76,.4);
  box-shadow: 0 0 16px rgba(201,168,76,.2);
}

.pillar-title {
  font-family: var(--ff-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
  letter-spacing: .01em;
}

.pillar-desc {
  font-size: .86rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 22px;
}

.pillar-tag {
  display: inline-block;
  background: rgba(201,168,76,.1);
  color: var(--gold);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid rgba(201,168,76,.2);
}

/* Shine overlay on hover */
.pillar-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(255,255,255,.04) 0%,
    transparent 50%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s;
}
.pillar-card:hover .pillar-shine { opacity: 1; }

/* ── WHY SECTION ── */
.why-section {
  background: linear-gradient(160deg, #071220 0%, var(--green-900) 40%, #091a10 100%);
  padding: 110px 28px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  text-align: center;
}

.why-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.why-orb-1 {
  width: 500px; height: 500px;
  top: -100px; right: -100px;
  background: radial-gradient(circle, rgba(201,168,76,.06) 0%, transparent 70%);
  animation: orbFloat1 12s ease-in-out infinite;
}
.why-orb-2 {
  width: 400px; height: 400px;
  bottom: -80px; left: -80px;
  background: radial-gradient(circle, rgba(30,77,53,.15) 0%, transparent 70%);
  animation: orbFloat2 10s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%,100% { transform: translate(0,0); }
  50%      { transform: translate(-30px, 30px); }
}
@keyframes orbFloat2 {
  0%,100% { transform: translate(0,0); }
  50%      { transform: translate(20px, -20px); }
}

.why-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}

.why-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(201,168,76,.1);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: left;
  transition: background .3s, border-color .3s, transform .35s;
  opacity: 0;
  transform: translateY(24px);
}
.why-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity .6s ease var(--why-delay),
    transform .6s ease var(--why-delay),
    background .3s,
    border-color .3s;
}
.why-card:hover {
  background: rgba(255,255,255,.05);
  border-color: rgba(201,168,76,.25);
  transform: translateY(-6px) !important;
}

.why-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.why-icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(201,168,76,.08);
  border: 1px solid rgba(201,168,76,.18);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .3s;
}
.why-card:hover .why-icon-wrap {
  background: rgba(201,168,76,.14);
}

.why-card h4 {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.25;
}

.why-card p {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Hadith Block */
.hadith-block {
  max-width: 620px;
  margin: 0 auto;
  padding: 44px 40px;
  background: rgba(201,168,76,.04);
  border: 1px solid rgba(201,168,76,.18);
  border-radius: var(--radius-lg);
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease .3s, transform .7s ease .3s;
}
.hadith-block.visible {
  opacity: 1;
  transform: translateY(0);
}

.hadith-ornament {
  font-family: var(--ff-display);
  font-size: 5rem;
  color: var(--gold);
  opacity: .25;
  line-height: .5;
  margin-bottom: 20px;
  display: block;
}

.hadith-text {
  font-family: var(--ff-display);
  font-size: 1.45rem;
  font-weight: 600;
  font-style: italic;
  color: var(--gold-bright);
  line-height: 1.4;
  margin-bottom: 16px;
}

.hadith-source {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── CONTACT SECTION ── */
.contact-section {
  background: var(--surface-2);
  padding: 100px 28px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.contact-inner {
  max-width: 780px;
  margin: 0 auto;
}

.contact-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-card {
  flex: 1;
  min-width: 280px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  position: relative;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s, border-color .3s;
  opacity: 0;
  transform: translateY(20px);
}
.contact-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity .6s ease,
    transform .6s ease,
    box-shadow .3s,
    border-color .3s;
}
.contact-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-card);
}

.contact-card-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}

.whatsapp-card { color: #25d366; }
.whatsapp-card .contact-card-bg {
  background: radial-gradient(circle at 0% 50%, rgba(37,211,102,.08) 0%, transparent 70%);
}
.whatsapp-card:hover .contact-card-bg { opacity: 1; }
.whatsapp-card:hover { border-color: rgba(37,211,102,.25); }

.email-card { color: var(--gold); }
.email-card .contact-card-bg {
  background: radial-gradient(circle at 0% 50%, rgba(201,168,76,.08) 0%, transparent 70%);
}
.email-card:hover .contact-card-bg { opacity: 1; }
.email-card:hover { border-color: rgba(201,168,76,.3); }

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  border: 1px solid currentColor;
  border-opacity: .2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: .8;
  transition: opacity .25s;
}
.contact-card:hover .contact-icon { opacity: 1; }

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  gap: 3px;
}

.contact-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-value {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-pale);
}

.contact-arrow {
  color: var(--text-faint);
  flex-shrink: 0;
  transition: color .25s, transform .25s;
}
.contact-card:hover .contact-arrow {
  color: currentColor;
  transform: translateX(5px);
}

/* ── FOOTER ── */
.footer {
  background: var(--night-900);
  padding: 60px 28px 40px;
  text-align: center;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(201,168,76,.08);
}

.footer-star-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  color: var(--gold);
  opacity: .4;
  font-size: .7rem;
  letter-spacing: 8px;
}

.footer-arabic {
  font-family: var(--ff-arabic);
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: .06em;
  display: block;
  margin-bottom: 14px;
  text-shadow: 0 0 20px rgba(201,168,76,.3);
}

.footer-tagline {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 24px;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,.2), transparent);
  margin-bottom: 20px;
}

.footer-copy {
  font-size: .74rem;
  color: rgba(255,255,255,.2);
}

/* ── SCROLL REVEAL HELPERS ── */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
