/* eFuture Academy - shared site styles */
* { box-sizing: border-box; }
body { margin: 0; background: #fffdf9; font-family: 'Tajawal', sans-serif; color: #101114; display: flex; flex-direction: column; min-height: 100vh; }
a { color: #7132f5; }
a:hover { color: #5741d8; }
img { max-width: 100%; display: block; }

/* ---- Banner ---- */
.fa-banner-bar { font-family: 'Tajawal', sans-serif; background: #ffd25d; padding: 12px clamp(16px,4vw,40px); display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; color: #2a2140; position: sticky; top: 0; z-index: 55; }
.fa-banner-emoji { display: inline-block; animation: fa-pulse 2.2s ease-in-out infinite; }
@keyframes fa-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
.fa-progress-fill { background: linear-gradient(90deg, #7132f5, #a78bfa, #7132f5); background-size: 200% 100%; animation: fa-shimmer 2.5s linear infinite; }
@keyframes fa-shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.fa-banner-cta { background: #7132f5; color: #fff; font-weight: 800; font-size: 13.5px; padding: 9px 20px; border-radius: 12px; text-decoration: none; white-space: nowrap; transition: transform .15s, box-shadow .15s; }
.fa-banner-cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 2px 6px rgba(0,0,0,0.25); }

/* ---- Nav ---- */
.fa-nav { font-family: 'Tajawal', sans-serif; background: #7132f5; border-bottom: 1px solid rgba(0,0,0,0.08); display: flex; align-items: center; justify-content: space-between; padding: 14px clamp(20px,5vw,64px); gap: 16px; flex-wrap: nowrap; position: sticky; top: 58px; z-index: 65; }
.fa-nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.fa-nav-logo img { height: 44px; width: auto; flex-shrink: 0; }
.fa-nav-logo-text { font-weight: 600; font-size: 17px; color: #fff; line-height: 1.1; margin-top: -3px; display: inline-block; white-space: nowrap; }
.fa-logo-sub { display: inline; font-weight: 500; font-size: 13px; color: rgba(255,255,255,0.7); letter-spacing: 0.5px; }
.fa-nav-links-desktop { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.fa-nav-link { text-decoration: none; color: #fff; font-weight: 500; font-size: 15px; transition: color .15s; }
.fa-nav-link:hover, .fa-nav-link.active { color: #ffd25d !important; }
.fa-nav-link.active { font-weight: 700; }
.fa-nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.fa-nav-contact-cta { background: #ffd25d; color: #2a2140; font-weight: 700; font-size: 15px; padding: 11px 26px; border-radius: 12px; text-decoration: none; transition: transform .15s, filter .15s, box-shadow .15s; white-space: nowrap; }
.fa-nav-contact-cta:hover { color: #2a2140; transform: scale(1.05); filter: brightness(1.08); box-shadow: 0 2px 6px rgba(0,0,0,0.25); }

/* Shared hover motions (kept separate from a:hover so button text color never shifts) */
.fa-btn-lift:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 2px 6px rgba(0,0,0,0.25); }
.fa-btn-scale-yellow:hover { color: #101114; transform: scale(1.05); filter: brightness(1.08); box-shadow: 0 2px 6px rgba(0,0,0,0.25); }
.fa-hamburger-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; align-items: center; justify-content: center; }
.fa-mobile-menu { display: none; font-family: 'Tajawal', sans-serif; background: #5f28c9; padding: 6px clamp(20px,5vw,64px) 14px; position: sticky; top: 58px; z-index: 59; }
.fa-mobile-menu.open { display: block; }
.fa-mobile-link { display: block; padding: 14px 4px; text-decoration: none; color: #fff; font-weight: 500; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.fa-mobile-link.active { color: #ffd25d; font-weight: 700; }
@media (max-width: 1023px) {
  .fa-nav-links-desktop { display: none; }
  .fa-hamburger-btn { display: flex; }
  .fa-nav { order: 1; top: 0; }
  .fa-banner-bar { order: 2; position: static; }
  .fa-mobile-menu { order: 3; position: fixed; top: 73px; left: 0; right: 0; z-index: 60; max-height: calc(100vh - 73px); overflow-y: auto; }
  main { order: 4; }
  footer { order: 5; }
}
@media (max-width: 640px) {
  .fa-banner-bar { flex-direction: column; align-items: stretch; text-align: center; }
  .fa-banner-cta { display: none !important; }
  .fa-banner-progress { display: none !important; }
  .fa-nav-contact-cta { display: none !important; }
  .fa-social-pill { min-width: 0; }
}

/* ---- Sections / cards ---- */
.fa-course-card { display: flex; flex-direction: column; gap: 14px; border: 2px solid; border-radius: 16px; padding: 26px; text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease; }
.fa-course-card:hover { color: inherit; transform: translateY(-4px); box-shadow: 0 16px 32px rgba(16,17,20,0.12); }
.fa-course-top { display: flex; align-items: center; justify-content: space-between; }
.fa-course-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fa-course-agebadge { font-size: 13.5px; font-weight: 600; color: #8a8a99; }
.fa-course-card h3 { margin: 0; font-size: 20px; font-weight: 800; }
.fa-course-card p { margin: 0; font-size: 14.5px; color: #6b6b7d; line-height: 1.75; }
.fa-course-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid rgba(16,17,20,0.10); flex-wrap: wrap; gap: 8px; }
.fa-course-details { font-weight: 700; font-size: 14px; color: #7132f5; }
.fa-course-price { font-size: 14px; color: #6b6b7d; display: flex; align-items: baseline; gap: 6px; }
.fa-course-price-old { font-size: 14px; color: #e5322d; text-decoration: line-through; font-weight: 700; }
.fa-course-price-new { font-size: 17px; font-weight: 800; color: #101114; }
.fa-course-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.fa-course-card { min-width: 0; }
.fa-course-footer { margin-top: auto; }
.fa-islamic-group { grid-column: 1 / -1; background: #fff; border: 1px solid #e7ddf5; border-radius: 22px; padding: clamp(18px,3vw,30px); }
.fa-islamic-heading { margin-bottom: 24px; }
.fa-islamic-heading h3 { margin: 10px 0 8px; font-size: 25px; }
.fa-islamic-heading p { margin: 0; color: #686b82; line-height: 1.9; }
.fa-subject-tag { display: inline-block; border-radius: 20px; padding: 6px 12px; background: #f1eafb; color: #6130bc; font-size: 13px; font-weight: 700; }
.fa-islamic-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.fa-course-navigation { max-width: 1240px; margin: 0 auto; padding: 12px clamp(20px,5vw,64px) 48px; }
.fa-course-navigation-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.fa-course-navigation-heading h2 { margin: 0; font-size: 23px; }
.fa-course-navigation-heading a { font-size: 14px; font-weight: 700; text-underline-offset: 5px; }
.fa-course-switch-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.fa-course-switch { --switch-color: #63339b; --switch-bg: #f5f0fc; --switch-border: #b98cec; display: flex; align-items: center; gap: 12px; padding: 20px 16px; border: 1px solid var(--switch-border); border-radius: 16px; background: var(--switch-bg); color: var(--switch-color); text-decoration: none; min-width: 0; transition: transform .18s, box-shadow .18s; }
.fa-course-switch--quran { --switch-color: #806118; --switch-bg: #fdf6df; --switch-border: #dbb84a; }
.fa-course-switch--islamic { --switch-color: #226344; --switch-bg: #edf8f2; --switch-border: #8ac5a6; }
.fa-course-switch--heroes { --switch-color: #3457a5; --switch-bg: #eef3fc; --switch-border: #8a9cc2; }
.fa-switch-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: #fff; }
.fa-switch-copy { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fa-switch-title { font-size: 16px; font-weight: 800; line-height: 1.5; }
.fa-switch-description { color: #55566b; font-size: 12.5px; line-height: 1.7; }
.fa-switch-arrow { margin-inline-start: auto; font-size: 20px; }
.fa-course-switch:hover { color: var(--switch-color); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(16,17,20,.08); }
.fa-course-switch:focus-visible { outline: 3px solid var(--switch-color); outline-offset: 4px; }
@media (max-width: 900px) { .fa-course-switch-grid { grid-template-columns: minmax(0,1fr); } }
@media (prefers-reduced-motion: reduce) { .fa-course-switch { transition: none; } .fa-course-switch:hover { transform: none; } }
.fa-islamic-visual { min-height: 360px; border: 1px solid #8ac5a6; border-radius: 24px; background: radial-gradient(circle at 15% 15%,#fff7db,transparent 55%),#edf8f2; color: #226344; padding: 32px 24px; text-align: center; display: flex; align-items: center; flex-direction: column; gap: 18px; }
.fa-islamic-visual h2 { margin: 0; font-size: clamp(30px,3vw,42px); line-height: 1.4; }
.fa-islamic-visual p { margin: 0; line-height: 1.8; }
.fa-subject-visual--arabic { border-color: #b98cec; background: radial-gradient(circle at 15% 15%,#fff7db,transparent 55%),#f5f0fc; color: #63339b; }
.fa-subject-visual--quran { border-color: #dbb84a; background: radial-gradient(circle at 15% 15%,#fffdf3,transparent 55%),#fdf6df; color: #806118; }
.fa-subject-visual--heroes { border-color: #8a9cc2; background: radial-gradient(circle at 15% 15%,#f5efff,transparent 55%),#eef3fc; color: #3457a5; }
.fa-value-pills { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.fa-value-pills span { background: #fff; border-radius: 20px; padding: 7px 14px; font-size: 14px; }
.fa-learning-path { max-width: 1240px; margin: 0 auto; padding: 8px clamp(20px,5vw,64px) 56px; }
.fa-path-heading { max-width: 780px; margin-bottom: 26px; }
.fa-path-heading h2 { margin: 12px 0; font-size: 28px; }
.fa-path-heading p, .fa-level-card p, .fa-age-card p { margin: 0; line-height: 1.9; color: #55566b; }
.fa-path-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.fa-level-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(22px,3vw,32px); border: 1px solid #8ac5a6; border-radius: 20px; background: #edf8f2; }
.fa-level-card--second { background: #f5f0fc; border-color: #b98cec; }
.fa-level-card h3, .fa-age-card h3 { margin: 0; font-size: 23px; }
.fa-level-card ul { margin: 0; padding-inline-start: 22px; color: #3a3150; line-height: 1.9; }
.fa-level-card li + li { margin-top: 6px; }
.fa-level-card .fa-level-duration { margin-top: auto; padding-top: 12px; font-weight: 700; color: #6130bc; }
.fa-age-heading { margin-top: 38px; }
.fa-age-card { padding: 26px; border: 1px solid #e7ddf5; border-radius: 18px; background: #fff; }
.fa-age-card .fa-age-duration { color: #6130bc; font-weight: 700; margin: 10px 0; }
.fa-path-note { background: #fff7df; border-radius: 14px; padding: 18px 22px; margin: 24px 0 0; line-height: 1.9; color: #675124; }
@media (max-width: 720px) { .fa-path-grid { grid-template-columns: minmax(0,1fr); } }
.fa-course-card:focus-visible, .fa-related-course:focus-visible { outline: 3px solid #7132f5; outline-offset: 4px; }
@media (max-width: 639px) { .fa-islamic-grid { grid-template-columns: minmax(0,1fr); } }
.fa-method-card { border: 2px solid; border-radius: 16px; padding: 28px; transition: transform .18s ease, box-shadow .18s ease; }
.fa-method-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(16,17,20,0.12); }
.fa-method-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.fa-plan-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 22px; }
.fa-plan { position: relative; color: #101114; background: #fff; border: 2px solid #7132f5; border-radius: 16px; padding: 30px 26px; }
.fa-plan-launch { background: #ffd25d !important; }
.fa-price-pulse { display: inline-block; animation: fa-price-pulse-anim 1.4s ease-in-out infinite; color: #7132f5; }
@keyframes fa-price-pulse-anim { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
.fa-wa-btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: #25D366; color: #fff; font-weight: 700; font-size: 14.5px; padding: 12px; border-radius: 12px; text-decoration: none; transition: filter .15s, box-shadow .15s; }
.fa-wa-btn:hover { color: #fff; filter: brightness(1.06); box-shadow: 0 2px 6px rgba(0,0,0,0.25); }
.fa-mail-btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: transparent; color: #7132f5; font-weight: 700; font-size: 14.5px; padding: 12px; border-radius: 10px; text-decoration: none; border: 1.5px solid #7132f5; transition: background .15s, box-shadow .15s; }
.fa-mail-btn:hover { background: rgba(113,50,245,0.06); box-shadow: 0 2px 6px rgba(0,0,0,0.25); }
.fa-step { border: 1.5px solid rgba(16,17,20,0.10); border-radius: 16px; padding: 26px 22px; transition: border-color .18s; }
.fa-step:hover { border-color: #ffd25d; }
.fa-cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 2px 6px rgba(0,0,0,0.25); }
.fa-hero-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 48px; align-items: center; grid-template-areas: "text img"; }
.fa-hero-text { grid-area: text; display: flex; flex-direction: column; gap: 22px; }
.fa-hero-img { grid-area: img; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; }
@media (max-width: 720px) { .fa-2col { grid-template-columns: 1fr !important; } }
@media (max-width: 640px) {
  .fa-hero-grid { grid-template-columns: 1fr !important; grid-template-areas: "head" "img" "body" !important; }
  .fa-hero-text { display: contents !important; }
  section { padding-top: 32px !important; padding-bottom: 32px !important; }
  h1 { font-size: clamp(26px,7vw,34px) !important; }
  h2 { font-size: clamp(21px,5.5vw,26px) !important; }
  .fa-hero-ctas { flex-wrap: nowrap !important; }
  .fa-hero-ctas a { flex: 1; padding: 14px 12px !important; font-size: 14.5px !important; text-align: center; }
}
@media (max-width: 479px) { .fa-course-grid, .fa-plan-grid { grid-template-columns: 1fr !important; } }
@media (min-width: 480px) and (max-width: 1023px) { .fa-course-grid, .fa-plan-grid { grid-template-columns: repeat(2,1fr) !important; } }

.fa-foot-link { text-decoration: none; color: rgba(255,255,255,0.72); font-size: 14.5px; }
.fa-foot-link:hover { color: #ffd25d; }
.fa-social { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: transform .15s, background .15s; }
.fa-social:hover { transform: scale(1.12); background: rgba(255,255,255,0.2); }

.fa-reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease-out, transform .5s ease-out; }
.fa-reveal.fa-in { opacity: 1; transform: translateY(0); }

/* ---- Contact cards ---- */
.fa-contact-card { display: flex; flex-direction: column; gap: 16px; border: 2px solid; border-radius: 16px; padding: 22px 24px; text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease; }
.fa-contact-card:hover { color: inherit; transform: translateY(-3px); box-shadow: 0 12px 26px rgba(16,17,20,0.12); }
.fa-contact-header { padding-bottom: 14px; border-bottom: 1px solid rgba(16,17,20,0.10); }
.fa-contact-title { font-weight: 800; font-size: 17px; margin-bottom: 4px; }
.fa-contact-subtitle { margin: 0; font-size: 13.5px; color: #6b6b7d; line-height: 1.6; }
.fa-contact-row { display: flex; align-items: center; gap: 16px; }
.fa-contact-icon { width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fa-contact-text { flex-grow: 1; }
.fa-contact-label { font-weight: 700; font-size: 14px; color: #8a8a99; margin-bottom: 2px; }
.fa-contact-value { font-size: 16px; font-weight: 700; }
.fa-contact-arrow { font-size: 18px; color: #7132f5; flex-shrink: 0; }

/* ---- Social pills & info cards (contact page) ---- */
.fa-social-pill { display: flex; align-items: center; justify-content: flex-start; gap: 10px; background: #fff; border: 1.5px solid rgba(16,17,20,0.10); border-radius: 12px; padding: 10px 14px; text-decoration: none; color: #101114; font-weight: 700; font-size: 13.5px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.fa-social-pill:hover { color: #101114; border-color: #7132f5; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(16,17,20,0.10); }
.fa-social-pill-icon { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fa-social-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(120px,1fr)); gap: 12px; }
.fa-info-card { display: flex; align-items: flex-start; gap: 16px; border: 2px solid; border-radius: 16px; padding: 24px; }
.fa-info-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fa-info-title { font-weight: 800; font-size: 16px; margin-bottom: 4px; }
.fa-info-text { font-size: 14px; color: #55566b; line-height: 1.7; }

/* ---- WhatsApp hero card ---- */
.fa-whatsapp-hero { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; background: #eafbf1; border: 2px solid #9fe0bb; border-radius: 18px; padding: 34px 28px 26px; }
.fa-whatsapp-hero-icon { width: 56px; height: 56px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.fa-whatsapp-hero h2 { margin: 0; font-size: 21px; font-weight: 800; }
.fa-whatsapp-hero p { margin: 0 0 6px; font-size: 14.5px; color: #4c6b57; }
.fa-whatsapp-hero-btn { display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: #fff; font-weight: 700; font-size: 15px; padding: 13px 26px; border-radius: 12px; text-decoration: none; transition: filter .18s ease, box-shadow .18s ease; }
.fa-whatsapp-hero-btn:hover { color: #fff; filter: brightness(1.06); box-shadow: 0 10px 22px rgba(37,211,102,0.35); }
.fa-whatsapp-hero-note { font-size: 12.5px; color: #6b8a77; margin-top: 4px; }

.fa-email-hero { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; background: #f5f0fc; border: 2px solid #d3b8f5; border-radius: 18px; padding: 34px 28px 26px; }
.fa-email-hero-icon { width: 56px; height: 56px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.fa-email-hero h2 { margin: 0; font-size: 21px; font-weight: 800; }
.fa-email-hero p { margin: 0 0 6px; font-size: 14.5px; color: #5c4d78; }
.fa-email-hero-btn { display: inline-flex; align-items: center; gap: 10px; background: #7132f5; color: #fff; font-weight: 700; font-size: 15px; padding: 13px 26px; border-radius: 12px; text-decoration: none; transition: filter .18s ease, box-shadow .18s ease; }
.fa-email-hero-btn:hover { color: #fff; filter: brightness(1.06); box-shadow: 0 10px 22px rgba(113,50,245,0.35); }
.fa-email-hero-note { font-size: 12.5px; color: #7a6b96; margin-top: 4px; }

/* ---- Social frame (contact page) ---- */
.fa-social-frame { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px; background: #fff; border: 1.5px solid rgba(16,17,20,0.10); border-radius: 16px; padding: 22px; }
.fa-social-item { display: flex; transition: transform .18s ease; }
.fa-social-item:hover { transform: translateY(-3px) scale(1.06); }
