/* ==============================================
   كونكت للصحة النفسية — Complete UI System v2
   Fonts: Tajawal (headings) + Cairo (body)
   Primary: #0F2744 | Accent: #B8956A | Teal: #1A5C52
   ============================================== */

/* 1. RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Cairo', sans-serif;
  font-weight: 400;
  color: #1A202C;
  background: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: 'Tajawal', sans-serif; font-weight: 800; line-height: 1.3; color: #0F2744; }
h4, h5, h6 { font-family: 'Cairo', sans-serif; font-weight: 700; color: #0F2744; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: 'Cairo', sans-serif; cursor: pointer; }
::selection { background: #E8F0FB; color: #0F2744; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #F7F8FA; }
::-webkit-scrollbar-thumb { background: #B8956A; border-radius: 99px; }

/* 2. ANIMATIONS */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.08); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes flashIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.55s cubic-bezier(0.16,1,0.3,1), transform 0.55s cubic-bezier(0.16,1,0.3,1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* 3. LAYOUT */
.cnt-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.cnt-section      { padding: 96px 0; background: #FFFFFF; }
.cnt-section-alt  { padding: 96px 0; background: #F7F8FA; }
.cnt-section-dark { padding: 96px 0; background: #0A1F3D; color: #FFFFFF; }

/* 4. SECTION TITLES */
.cnt-section-title { text-align: center; margin-bottom: 64px; }
.cnt-section-title h2 { font-size: clamp(28px, 4vw, 40px); color: #0F2744; margin-bottom: 12px; letter-spacing: -0.5px; }
.cnt-section-title p { font-size: 16px; color: #6B7A8D; max-width: 520px; margin: 0 auto; line-height: 1.8; }
.cnt-section-title .title-line {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px;
}
.cnt-section-title .title-line::before,
.cnt-section-title .title-line::after {
  content: ''; width: 40px; height: 2px; background: #E8ECF0; border-radius: 99px;
}
.cnt-section-title .title-dot { width: 48px; height: 3px; background: linear-gradient(90deg, #0F2744, #B8956A); border-radius: 99px; }

/* 5. BUTTONS */
.cnt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 12px;
  font-family: 'Cairo', sans-serif; font-size: 15px; font-weight: 700;
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16,1,0.3,1);
  position: relative; overflow: hidden; white-space: nowrap; letter-spacing: 0.01em;
}
.cnt-btn::before { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0.12); opacity: 0; transition: opacity 0.18s; }
.cnt-btn:hover::before { opacity: 1; }
.cnt-btn:active { transform: scale(0.97); }
.cnt-btn-pill { border-radius: 50px; }
.cnt-btn-primary {
  background: #0F2744; color: #FFFFFF; border-color: #0F2744;
  box-shadow: 0 4px 14px rgba(15,39,68,0.25), inset 0 1px 0 rgba(255,255,255,0.1);
}
.cnt-btn-primary:hover {
  background: #1B3F6E; border-color: #1B3F6E;
  box-shadow: 0 8px 24px rgba(15,39,68,0.32), inset 0 1px 0 rgba(255,255,255,0.1);
  transform: translateY(-1px);
}
.cnt-btn-gold {
  background: linear-gradient(135deg, #C9A87A, #B8956A); color: #FFFFFF; border-color: #B8956A;
  box-shadow: 0 4px 14px rgba(184,149,106,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}
.cnt-btn-gold:hover {
  background: linear-gradient(135deg, #D4B480, #C9A87A);
  box-shadow: 0 8px 24px rgba(184,149,106,0.4); transform: translateY(-1px);
}
.cnt-btn-outline { background: transparent; color: #0F2744; border-color: #CBD5E0; }
.cnt-btn-outline:hover { border-color: #0F2744; background: #F0F4F8; box-shadow: 0 4px 12px rgba(15,39,68,0.1); }
.cnt-btn-ghost-white {
  background: rgba(255,255,255,0.1); color: #FFFFFF; border-color: rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}
.cnt-btn-ghost-white:hover {
  background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.cnt-btn-sm  { padding: 8px 18px; font-size: 13px; border-radius: 9px; }
.cnt-btn-lg  { padding: 16px 36px; font-size: 17px; }
.cnt-btn-xl  { padding: 18px 44px; font-size: 18px; }
.cnt-btn-block { width: 100%; }
.cnt-icon-btn {
  width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid #E8ECF0;
  background: #FAFBFC; display: flex; align-items: center; justify-content: center;
  color: #4A5568; cursor: pointer; transition: all 0.18s; flex-shrink: 0;
}
.cnt-icon-btn:hover { border-color: #0F2744; color: #0F2744; background: #F0F4F8; transform: translateY(-1px); box-shadow: 0 3px 10px rgba(15,39,68,0.12); }

/* 6. CARDS */
.cnt-card {
  background: #FFFFFF; border: 1px solid #E8ECF0; border-radius: 20px; overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.16,1,0.3,1), box-shadow 0.28s cubic-bezier(0.16,1,0.3,1), border-color 0.2s;
}
.cnt-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,39,68,0.1), 0 4px 12px rgba(15,39,68,0.06); border-color: #D0D8E4; }
.cnt-card-featured { border: 2px solid #B8956A; box-shadow: 0 0 0 4px rgba(184,149,106,0.08); }
.cnt-card-body    { padding: 24px; }
.cnt-card-body-sm { padding: 18px; }

/* 7. BADGES */
.cnt-badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; }
.cnt-badge-pill { border-radius: 50px; }
.cnt-badge-navy   { background: #E8F0FB; color: #0F2744; }
.cnt-badge-gold   { background: #FDF3E7; color: #8B6840; }
.cnt-badge-teal   { background: #E6F4F1; color: #1A5C52; }
.cnt-badge-green  { background: #ECFDF5; color: #065F46; }
.cnt-badge-red    { background: #FEF2F2; color: #991B1B; }
.cnt-badge-amber  { background: #FFFBEB; color: #92400E; }
.cnt-badge-purple { background: #F5F3FF; color: #5B21B6; }
.cnt-badge-gray   { background: #F3F4F6; color: #4B5563; }
.cnt-cat-CBT        { background: #E8F0FB; color: #0F2744; }
.cnt-cat-DBT        { background: #F5F3FF; color: #5B21B6; }
.cnt-cat-ABA        { background: #E6F4F1; color: #1A5C52; }
.cnt-cat-addiction  { background: #FFF7ED; color: #C2410C; }
.cnt-cat-assessment { background: #ECFDF5; color: #065F46; }
.cnt-cat-other      { background: #F3F4F6; color: #4B5563; }

/* 8. FORMS */
.cnt-input, .cnt-select, .cnt-textarea {
  width: 100%; border: 2px solid #E2E8F0; border-radius: 12px; padding: 12px 16px;
  font-size: 15px; font-family: 'Cairo', sans-serif; color: #1A202C; background: #FAFBFC;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; outline: none;
}
.cnt-input:focus, .cnt-select:focus, .cnt-textarea:focus {
  border-color: #0F2744; background: #FFFFFF; box-shadow: 0 0 0 4px rgba(15,39,68,0.08);
}
.cnt-textarea { resize: vertical; min-height: 120px; }
.cnt-label { display: block; font-size: 13px; font-weight: 700; color: #374151; margin-bottom: 8px; }

/* 9. HEADER */
.cnt-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15,39,68,0.07);
  transition: box-shadow 0.2s;
}
.cnt-header.scrolled { box-shadow: 0 4px 24px rgba(15,39,68,0.1); }
.cnt-header-inner { display: flex; align-items: center; height: 72px; gap: 12px; }
.cnt-logo { text-decoration: none; flex-shrink: 0; }
.cnt-logo-name { font-family: 'Tajawal', sans-serif; font-size: 22px; font-weight: 900; color: #0F2744; line-height: 1.1; display: block; letter-spacing: -0.3px; }
.cnt-logo-sub { font-size: 10px; color: #8D9BAB; display: block; letter-spacing: 0.05em; }
.cnt-nav { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.cnt-nav-link {
  font-size: 14px; font-weight: 600; color: #4A5568; padding: 8px 14px; border-radius: 10px;
  transition: color 0.15s, background 0.15s; white-space: nowrap; text-decoration: none;
  background: none; border: none; cursor: pointer; font-family: 'Cairo', sans-serif; position: relative;
}
.cnt-nav-link::after {
  content: ''; position: absolute; bottom: 4px; right: 50%; left: 50%; height: 2px;
  background: #B8956A; border-radius: 99px;
  transition: right 0.2s cubic-bezier(0.16,1,0.3,1), left 0.2s cubic-bezier(0.16,1,0.3,1);
}
.cnt-nav-link:hover::after, .cnt-nav-link.active::after { right: 14px; left: 14px; }
.cnt-nav-link:hover, .cnt-nav-link.active { color: #0F2744; }
.cnt-header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Dropdown */
.cnt-dropdown-wrap { position: relative; }
.cnt-dropdown {
  position: absolute; top: calc(100% + 12px); right: 0; z-index: 9999;
  background: #FFFFFF; border: 1px solid #E8ECF0; border-radius: 20px;
  box-shadow: 0 24px 64px rgba(15,39,68,0.14), 0 6px 20px rgba(15,39,68,0.06);
  padding: 16px; min-width: 400px; display: none;
  animation: slideDown 0.2s cubic-bezier(0.16,1,0.3,1);
}
.cnt-dropdown-wrap:hover .cnt-dropdown { display: block; }
.cnt-dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.cnt-dropdown-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px;
  text-decoration: none; color: inherit; transition: background 0.15s, transform 0.15s;
}
.cnt-dropdown-item:hover { background: #F7F8FA; transform: translateX(-2px); }
.cnt-dropdown-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.cnt-dropdown-title { font-size: 13px; font-weight: 700; color: #0F2744; }
.cnt-dropdown-desc  { font-size: 11px; color: #8D9BAB; margin-top: 2px; }
.cnt-dropdown-footer { margin-top: 12px; padding-top: 12px; border-top: 1px solid #F3F4F6; }

/* Mobile */
.cnt-mobile-btn {
  display: none; width: 40px; height: 40px; border-radius: 10px;
  border: 1.5px solid #E8ECF0; background: #FAFBFC;
  align-items: center; justify-content: center;
  cursor: pointer; color: #4A5568; flex-shrink: 0; transition: all 0.15s;
}
.cnt-mobile-btn:hover { border-color: #0F2744; color: #0F2744; }
.cnt-mobile-nav { display: none; border-top: 1px solid #F3F4F6; background: #FFFFFF; padding: 16px; animation: slideDown 0.2s ease; }
.cnt-mobile-nav.open { display: block; }
.cnt-mobile-link {
  display: block; padding: 12px 16px; border-radius: 12px;
  font-size: 15px; font-weight: 600; color: #374151; text-decoration: none; transition: background 0.15s, color 0.15s;
}
.cnt-mobile-link:hover, .cnt-mobile-link.active { background: #F0F4F8; color: #0F2744; }

/* 10. PROGRESS BAR */
.cnt-progress { height: 6px; background: #E8ECF0; border-radius: 99px; overflow: hidden; }
.cnt-progress-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, #0F2744, #B8956A); transition: width 0.5s cubic-bezier(0.16,1,0.3,1); }
.cnt-progress-fill.done { background: linear-gradient(90deg, #B8956A, #D4B480); }

/* 11. FOOTER */
.cnt-footer { background: #0A1F3D; color: #A8B8CC; padding: 80px 0 0; }
.cnt-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 56px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.cnt-footer-logo { font-family: 'Tajawal', sans-serif; font-size: 24px; font-weight: 900; color: #FFFFFF; display: block; }
.cnt-footer-logo-sub { font-size: 11px; color: #6B7D93; display: block; margin-bottom: 16px; }
.cnt-footer-desc { font-size: 13px; color: #7D8FA3; line-height: 1.85; margin-bottom: 24px; }
.cnt-footer-socials { display: flex; gap: 8px; }
.cnt-footer-social {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center;
  color: #7D8FA3; text-decoration: none; transition: all 0.18s;
}
.cnt-footer-social:hover { border-color: #B8956A; color: #B8956A; background: rgba(184,149,106,0.1); transform: translateY(-2px); }
.cnt-footer-col-title { font-size: 12px; font-weight: 700; color: #FFFFFF; letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 20px; }
.cnt-footer-link { display: block; font-size: 13px; color: #7D8FA3; text-decoration: none; padding: 5px 0; transition: color 0.15s; }
.cnt-footer-link:hover { color: #B8956A; }
.cnt-footer-nl-wrap { display: flex; }
.cnt-footer-nl-input {
  flex: 1; background: rgba(255,255,255,0.07); border: 1.5px solid rgba(255,255,255,0.12);
  color: #FFFFFF; border-radius: 10px 0 0 10px; padding: 11px 14px; font-size: 13px;
  font-family: 'Cairo', sans-serif; outline: none; transition: border-color 0.18s, background 0.18s;
}
.cnt-footer-nl-input::placeholder { color: #6B7D93; }
.cnt-footer-nl-input:focus { border-color: #B8956A; background: rgba(255,255,255,0.1); }
.cnt-footer-nl-btn {
  background: #B8956A; color: #FFFFFF; border: none; border-radius: 0 10px 10px 0;
  padding: 11px 18px; font-family: 'Cairo', sans-serif; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: background 0.18s; white-space: nowrap;
}
.cnt-footer-nl-btn:hover { background: #A07B52; }
.cnt-footer-bottom { padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cnt-footer-copy { font-size: 12px; color: #4D6278; }
.cnt-footer-legal { display: flex; gap: 20px; }
.cnt-footer-legal a { font-size: 12px; color: #4D6278; text-decoration: none; transition: color 0.15s; }
.cnt-footer-legal a:hover { color: #B8956A; }

/* 12. FLASH */
#flash-wrap {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  z-index: 9999; display: flex; flex-direction: column; gap: 8px;
  min-width: 280px; max-width: 90vw; pointer-events: none; animation: flashIn 0.3s ease;
}
.flash { padding: 14px 20px; border-radius: 12px; font-size: 14px; font-weight: 700; text-align: center; box-shadow: 0 8px 32px rgba(0,0,0,0.15); pointer-events: auto; }
.flash-ok  { background: #065F46; color: #FFFFFF; }
.flash-err { background: #991B1B; color: #FFFFFF; }

/* 13. ADMIN */
.cnt-admin-layout { display: grid; grid-template-columns: 225px 1fr; min-height: 100vh; }
.cnt-sidebar { background: #0A1F3D; color: #A8B8CC; display: flex; flex-direction: column; }
.cnt-sidebar-logo { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.cnt-sidebar-item {
  display: flex; align-items: center; gap: 12px; padding: 13px 20px;
  font-size: 14px; color: #7D8FA3; cursor: pointer; transition: all 0.15s;
  text-decoration: none; border-right: 3px solid transparent;
}
.cnt-sidebar-item:hover { background: rgba(255,255,255,0.05); color: #E0EAF4; }
.cnt-sidebar-item.active { background: rgba(184,149,106,0.12); color: #B8956A; border-right-color: #B8956A; }
.cnt-admin-main { padding: 36px; background: #F7F8FA; }

/* 14. PORTAL */
.cnt-portal-layout { display: grid; grid-template-columns: 210px 1fr; min-height: 100vh; }
.cnt-portal-sidebar { background: #FFFFFF; border-left: 1px solid #E8ECF0; display: flex; flex-direction: column; }
.cnt-portal-main { padding: 36px; background: #F7F8FA; }

/* 15. TABLE */
.cnt-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* 16. PROSE */
.cnt-prose { color: #374151; line-height: 1.85; }
.cnt-prose p { margin-bottom: 1.2em; }
.cnt-prose h2 { font-size: 22px; margin: 1.75em 0 0.6em; }
.cnt-prose h3 { font-size: 18px; margin: 1.5em 0 0.5em; }
.cnt-prose ul, .cnt-prose ol { padding-right: 24px; margin-bottom: 1em; }
.cnt-prose li { margin-bottom: 6px; }
.cnt-prose a { color: #0F2744; border-bottom: 1px dotted; }
.cnt-prose blockquote { border-right: 3px solid #B8956A; padding-right: 16px; color: #6B7A8D; margin: 24px 0; font-style: italic; }

/* 17. DARK MODE */
[data-theme="dark"] body { background: #0D1117; color: #E6EDF3; }
[data-theme="dark"] h1,[data-theme="dark"] h2,[data-theme="dark"] h3,[data-theme="dark"] h4 { color: #F0F6FF; }
[data-theme="dark"] .cnt-header { background: rgba(13,17,23,0.97); }
[data-theme="dark"] .cnt-card { background: #161B22; border-color: #30363D; }
[data-theme="dark"] .cnt-section-alt { background: #111318; }
[data-theme="dark"] .cnt-nav-link { color: #8B949E; }
[data-theme="dark"] .cnt-nav-link:hover { color: #F0F6FF; }

/* 18. RESPONSIVE */
@media (max-width: 1024px) { .cnt-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 768px) {
  .cnt-nav, .cnt-header-actions { display: none; }
  .cnt-mobile-btn { display: flex; }
  .cnt-section, .cnt-section-alt, .cnt-section-dark { padding: 64px 0; }
  .cnt-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .cnt-admin-layout, .cnt-portal-layout { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .cnt-container { padding: 0 16px; } }
@media print { .cnt-header, .cnt-footer { display: none !important; } }

/* ═══════════════════════════════════════════════
   19. INNER PAGE SYSTEM
   ═══════════════════════════════════════════════ */

/* Page Hero */
.pg-hero { background: #F7F8FA; padding: 64px 0 56px; text-align: center; }
.pg-hero-dark { background: #0A1F3D; padding: 72px 0 64px; text-align: center; }
.pg-breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; color: #8D9BAB; margin-bottom: 20px; }
.pg-breadcrumb a { color: #8D9BAB; text-decoration: none; transition: color 0.15s; }
.pg-breadcrumb a:hover { color: #0F2744; }
.pg-breadcrumb-sep { color: #CBD5E0; }
.pg-breadcrumb-cur { color: #0F2744; font-weight: 700; }
.pg-tag { display: inline-block; border: 1px solid #E2E8F0; border-radius: 50px; padding: 4px 16px; font-size: 12px; color: #8D9BAB; margin-bottom: 16px; }
.pg-hero h1 { font-size: clamp(24px,4vw,38px); color: #0F2744; margin: 0 auto 16px; max-width: 640px; line-height: 1.35; }
.pg-hero-dark h1 { color: #FFFFFF; }
.pg-hero p { font-size: 15px; color: #6B7A8D; max-width: 520px; margin: 0 auto 28px; line-height: 1.8; }
.pg-hero-dark p { color: #A8B8CC; }
.pg-accent { color: #0F2744; }
.pg-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.pg-trust-row { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.pg-trust-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #6B7A8D; }
.pg-trust-dot { width: 18px; height: 18px; border-radius: 50%; background: #E6F4F1; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Stats Strip */
.pg-stats-strip { display: inline-flex; border: 1px solid #E8ECF0; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 16px rgba(15,39,68,0.06); margin-top: 28px; }
.pg-stat-cell { padding: 16px 28px; text-align: center; background: #FFFFFF; border-left: 1px solid #E8ECF0; }
.pg-stat-cell:last-child { border-left: none; }
.pg-stat-num { font-family: 'Tajawal',sans-serif; font-size: 22px; font-weight: 800; color: #0F2744; line-height: 1.1; }
.pg-stat-lbl { font-size: 11px; color: #8D9BAB; margin-top: 4px; }

/* Two-column layout */
.pg-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.pg-two-col-wide { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 768px) { .pg-two-col, .pg-two-col-wide { grid-template-columns: 1fr; } }

/* Grid layouts */
.pg-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.pg-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.pg-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
@media (max-width: 900px) { .pg-grid-3 { grid-template-columns: repeat(2,1fr); } .pg-grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .pg-grid-2,.pg-grid-3,.pg-grid-4 { grid-template-columns: 1fr; } }

/* Feature card */
.pg-feat-card { background: #FFFFFF; border: 1px solid #E8ECF0; border-radius: 18px; padding: 24px; transition: box-shadow 0.25s, transform 0.25s, border-color 0.2s; }
.pg-feat-card:hover { box-shadow: 0 12px 36px rgba(15,39,68,0.09); transform: translateY(-3px); border-color: #D0D8E4; }
.pg-feat-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 22px; }
.pg-feat-icon svg { width: 22px; height: 22px; }
.pg-feat-card h3 { font-size: 15px; color: #0F2744; margin-bottom: 8px; }
.pg-feat-card p { font-size: 13px; color: #6B7A8D; line-height: 1.75; }

/* Icon colors */
.ic-blue   { background: #EFF6FF; color: #2563EB; }
.ic-green  { background: #ECFDF5; color: #059669; }
.ic-amber  { background: #FFFBEB; color: #D97706; }
.ic-purple { background: #F5F3FF; color: #7C3AED; }
.ic-teal   { background: #E6F4F1; color: #1A5C52; }
.ic-red    { background: #FEF2F2; color: #DC2626; }
.ic-navy   { background: #EFF4FB; color: #0F2744; }
.ic-gold   { background: #FDF3E7; color: #B8956A; }

/* Form card */
.pg-form-card { background: #FFFFFF; border: 1px solid #E8ECF0; border-radius: 20px; padding: 32px; box-shadow: 0 4px 20px rgba(15,39,68,0.06); }
.pg-form-card h3 { font-size: 17px; color: #0F2744; margin-bottom: 24px; }

/* Info list card */
.pg-info-card { background: #FFFFFF; border: 1px solid #E8ECF0; border-radius: 16px; padding: 20px; }
.pg-info-card + .pg-info-card { margin-top: 16px; }
.pg-info-card-title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #0F2744; margin-bottom: 16px; }
.pg-info-card-title svg { width: 16px; height: 16px; flex-shrink: 0; color: #0F2744; }
.pg-info-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #F3F4F6; font-size: 13px; }
.pg-info-row:last-child { border-bottom: none; }
.pg-info-key { color: #8D9BAB; }
.pg-info-val { color: #1A202C; font-weight: 600; }
.pg-info-val a { color: #0F2744; text-decoration: none; }
.pg-info-val a:hover { color: #B8956A; }

/* Check list */
.pg-check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pg-check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #4A5568; }
.pg-check-list li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: #E6F4F1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A5C52' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E"); background-size: 11px; background-repeat: no-repeat; background-position: center; flex-shrink: 0; margin-top: 1px; }

/* Filter bar */
.pg-filter-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.pg-filter-label { font-size: 12px; color: #8D9BAB; white-space: nowrap; }
.pg-filter-sep { color: #E2E8F0; font-size: 16px; margin: 0 4px; }
.pg-filter-btn { font-size: 12px; padding: 6px 14px; border-radius: 50px; border: 1.5px solid #E2E8F0; background: transparent; color: #6B7A8D; cursor: pointer; font-family: 'Cairo',sans-serif; transition: all 0.18s; }
.pg-filter-btn:hover { border-color: #0F2744; color: #0F2744; }
.pg-filter-btn.active { background: #0F2744; color: #FFFFFF; border-color: #0F2744; }

/* Article card */
.pg-article-card { background: #FFFFFF; border: 1px solid #E8ECF0; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.25s, transform 0.25s; }
.pg-article-card:hover { box-shadow: 0 12px 36px rgba(15,39,68,0.1); transform: translateY(-3px); }
.pg-article-cover { height: 180px; background: #F7F8FA; overflow: hidden; position: relative; flex-shrink: 0; }
.pg-article-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.pg-article-card:hover .pg-article-cover img { transform: scale(1.04); }
.pg-article-cover-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.pg-article-cover-badge { position: absolute; top: 10px; right: 10px; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 50px; }
.pg-article-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.pg-article-meta { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #8D9BAB; margin-bottom: 10px; flex-wrap: wrap; }
.pg-article-meta svg { width: 13px; height: 13px; }
.pg-article-title { font-size: 14px; font-weight: 700; color: #0F2744; line-height: 1.6; margin-bottom: 10px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pg-article-cta { font-size: 13px; font-weight: 700; color: #0F2744; text-decoration: none; transition: color 0.15s; }
.pg-article-cta:hover { color: #B8956A; }

/* Steps */
.pg-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; max-width: 720px; margin: 0 auto; }
.pg-step { text-align: center; padding: 0 24px; position: relative; }
.pg-step + .pg-step::after { content: ''; position: absolute; top: 18px; right: 0; width: 100%; height: 1px; background: #E2E8F0; z-index: 0; pointer-events: none; }
.pg-step-num { width: 38px; height: 38px; border-radius: 50%; background: #0F2744; color: #FFFFFF; font-size: 15px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; position: relative; z-index: 1; }
.pg-step h3 { font-size: 14px; color: #0F2744; margin-bottom: 6px; }
.pg-step p { font-size: 12px; color: #8D9BAB; line-height: 1.7; }
@media (max-width: 600px) { .pg-steps { grid-template-columns: 1fr; gap: 24px; } .pg-step + .pg-step::after { display: none; } }

/* FAQ accordion */
.pg-faq-list { display: flex; flex-direction: column; gap: 8px; }
.pg-faq-item { background: #FFFFFF; border: 1px solid #E8ECF0; border-radius: 14px; overflow: hidden; }
.pg-faq-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; font-size: 14px; font-weight: 700; color: #0F2744; text-align: right; background: none; border: none; cursor: pointer; font-family: 'Cairo',sans-serif; transition: background 0.15s; gap: 16px; }
.pg-faq-btn:hover { background: #F7F8FA; }
.pg-faq-icon { font-size: 20px; color: #B8956A; flex-shrink: 0; line-height: 1; font-weight: 400; }
.pg-faq-answer { padding: 0 20px 18px; font-size: 13px; color: #6B7A8D; line-height: 1.85; border-top: 1px solid #F3F4F6; display: none; }
.pg-faq-answer.open { display: block; }

/* CTA section */
.pg-cta-box { background: linear-gradient(135deg, #0F2744 60%, #1B3F6E); border-radius: 24px; padding: 56px 40px; text-align: center; }
.pg-cta-box h2 { color: #FFFFFF; font-size: clamp(20px,3vw,28px); margin-bottom: 12px; }
.pg-cta-box p { color: #A8B8CC; font-size: 14px; margin-bottom: 28px; max-width: 420px; margin-left: auto; margin-right: auto; }
.pg-cta-box-gold { background: linear-gradient(135deg, #C9A87A 0%, #B8956A 100%); border-radius: 24px; padding: 56px 40px; text-align: center; }
.pg-cta-box-gold h2 { color: #FFFFFF; font-size: clamp(20px,3vw,28px); margin-bottom: 12px; }
.pg-cta-box-gold p { color: rgba(255,255,255,0.8); font-size: 14px; margin-bottom: 28px; }
.pg-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Team card */
.pg-team-card { background: #FFFFFF; border: 1px solid #E8ECF0; border-radius: 18px; overflow: hidden; text-align: center; transition: box-shadow 0.25s, transform 0.25s; }
.pg-team-card:hover { box-shadow: 0 12px 36px rgba(15,39,68,0.1); transform: translateY(-3px); }
.pg-team-photo { height: 100px; background: #F7F8FA; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #F3F4F6; }
.pg-team-avatar { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; }
.pg-team-body { padding: 16px; }
.pg-team-name { font-size: 15px; font-weight: 700; color: #0F2744; margin-bottom: 4px; }
.pg-team-role { font-size: 12px; color: #8D9BAB; margin-bottom: 6px; }
.pg-team-spec { font-size: 11px; color: #B8956A; }

/* Mission box */
.pg-mission { background: #F7F8FA; border-radius: 20px; padding: 40px; text-align: center; }
.pg-mission p { font-size: 17px; color: #0F2744; font-weight: 700; line-height: 1.9; max-width: 600px; margin: 0 auto; }

/* Accreditations */
.pg-accred-list { display: flex; gap: 10px; flex-wrap: justify-content: center; }
.pg-accred-tag { border: 1px solid #E2E8F0; border-radius: 10px; padding: 8px 18px; font-size: 13px; color: #6B7A8D; background: #FFFFFF; transition: border-color 0.15s, color 0.15s; cursor: default; }
.pg-accred-tag:hover { border-color: #0F2744; color: #0F2744; }

/* Event card */
.pg-event-card { display: flex; align-items: center; gap: 16px; background: #FFFFFF; border: 1px solid #E8ECF0; border-radius: 16px; padding: 18px 20px; transition: box-shadow 0.22s; }
.pg-event-card:hover { box-shadow: 0 6px 24px rgba(15,39,68,0.08); }
.pg-event-date { width: 52px; height: 52px; border-radius: 14px; background: #EFF4FB; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.pg-event-day { font-size: 20px; font-weight: 900; color: #0F2744; line-height: 1; font-family: 'Tajawal',sans-serif; }
.pg-event-month { font-size: 10px; color: #8D9BAB; margin-top: 2px; }
.pg-event-info { flex: 1; min-width: 0; }
.pg-event-info h3 { font-size: 14px; color: #0F2744; margin-bottom: 4px; line-height: 1.5; }
.pg-event-info p { font-size: 12px; color: #8D9BAB; }

/* Social links row */
.pg-social-row { display: flex; gap: 8px; }
.pg-social-btn { width: 38px; height: 38px; border-radius: 10px; border: 1.5px solid #E2E8F0; background: #FAFBFC; display: flex; align-items: center; justify-content: center; color: #8D9BAB; text-decoration: none; transition: all 0.18s; }
.pg-social-btn:hover { border-color: #0F2744; color: #0F2744; transform: translateY(-2px); }
.pg-social-btn svg { width: 15px; height: 15px; }

/* Map placeholder */
.pg-map-placeholder { border: 1px solid #E8ECF0; border-radius: 16px; height: 160px; background: #F7F8FA; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: #8D9BAB; }

/* Contact tabs */
.pg-tab-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.pg-tab { font-size: 12px; padding: 7px 14px; border-radius: 10px; border: 1.5px solid #E2E8F0; background: transparent; color: #6B7A8D; cursor: pointer; font-family: 'Cairo',sans-serif; transition: all 0.18s; }
.pg-tab.active { background: #0F2744; color: #FFFFFF; border-color: #0F2744; }
.pg-tab:hover:not(.active) { border-color: #0F2744; color: #0F2744; }

/* Tip box */
.pg-tip-box { background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 14px; padding: 16px 20px; }
.pg-tip-box p { font-size: 13px; color: #92400E; line-height: 1.75; }
.pg-tip-title { font-weight: 700; display: block; margin-bottom: 4px; }

/* Program card */
.pg-prog-card { background: #FFFFFF; border: 1px solid #E8ECF0; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.25s, transform 0.25s; }
.pg-prog-card:hover { box-shadow: 0 12px 36px rgba(15,39,68,0.1); transform: translateY(-3px); }
.pg-prog-cover { height: 160px; background: #F7F8FA; overflow: hidden; position: relative; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.pg-prog-cover img { width: 100%; height: 100%; object-fit: cover; }
.pg-prog-cover-badge { position: absolute; top: 10px; right: 10px; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 50px; }
.pg-prog-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.pg-prog-cat { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 6px; display: inline-block; margin-bottom: 10px; align-self: flex-start; }
.pg-prog-title { font-size: 14px; font-weight: 700; color: #0F2744; line-height: 1.55; margin-bottom: 12px; flex: 1; }
.pg-prog-meta { display: flex; gap: 12px; font-size: 12px; color: #8D9BAB; margin-bottom: 14px; align-items: center; }
.pg-prog-meta svg { width: 13px; height: 13px; }
.pg-prog-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid #F3F4F6; }
.pg-prog-price { font-size: 15px; font-weight: 800; color: #0F2744; font-family: 'Tajawal',sans-serif; }

/* Path card */
.pg-path-card { background: #FFFFFF; border: 1.5px solid #E8ECF0; border-radius: 16px; padding: 22px; cursor: pointer; transition: all 0.22s; }
.pg-path-card:hover { border-color: #0F2744; box-shadow: 0 8px 24px rgba(15,39,68,0.08); transform: translateY(-2px); }
.pg-path-icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; transition: transform 0.2s; }
.pg-path-card:hover .pg-path-icon { transform: scale(1.1); }
.pg-path-icon svg { width: 18px; height: 18px; }
.pg-path-card h3 { font-size: 14px; color: #0F2744; margin-bottom: 6px; }
.pg-path-card p { font-size: 12px; color: #8D9BAB; line-height: 1.7; margin-bottom: 12px; }
.pg-path-count { font-size: 11px; border: 1px solid #E2E8F0; border-radius: 50px; padding: 3px 10px; color: #8D9BAB; display: inline-block; }

/* Empty state */
.pg-empty { text-align: center; padding: 64px 24px; }
.pg-empty-icon { width: 56px; height: 56px; border-radius: 50%; background: #F3F4F6; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.pg-empty-icon svg { width: 24px; height: 24px; color: #CBD5E0; }
.pg-empty p { font-size: 14px; color: #8D9BAB; }

/* Verify page */
.pg-verify-card { background: #FFFFFF; border: 1px solid #E8ECF0; border-radius: 24px; padding: 40px; max-width: 520px; margin: 0 auto; box-shadow: 0 8px 32px rgba(15,39,68,0.07); }
.pg-verify-result { border-radius: 16px; padding: 20px 24px; margin-top: 20px; }
.pg-verify-ok { background: #ECFDF5; border: 1px solid #A7F3D0; }
.pg-verify-fail { background: #FEF2F2; border: 1px solid #FECACA; }

/* Auth layout fix */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: #F7F8FA; padding: 40px 16px; }
.auth-card { background: #FFFFFF; border: 1px solid #E8ECF0; border-radius: 24px; padding: 40px; width: 100%; max-width: 420px; box-shadow: 0 8px 32px rgba(15,39,68,0.08); }

/* Utility helpers */
.u-center { text-align: center; }
.u-max-4xl { max-width: 900px; margin-right: auto; margin-left: auto; }
.u-max-3xl { max-width: 720px; margin-right: auto; margin-left: auto; }
.u-max-2xl { max-width: 600px; margin-right: auto; margin-left: auto; }
.u-stack { display: flex; flex-direction: column; gap: 16px; }
.u-flex-center { display: flex; align-items: center; justify-content: center; }
.u-flex-between { display: flex; align-items: center; justify-content: space-between; }
.u-flex-wrap { display: flex; flex-wrap: wrap; gap: 12px; }
.u-mb-2 { margin-bottom: 8px; }
.u-mb-4 { margin-bottom: 16px; }
.u-mb-6 { margin-bottom: 24px; }
.u-mb-8 { margin-bottom: 32px; }
.u-mb-10 { margin-bottom: 40px; }
.u-mt-4 { margin-top: 16px; }
.u-mt-6 { margin-top: 24px; }
.u-hidden { display: none !important; }
.u-text-sm { font-size: 13px; }
.u-text-xs { font-size: 11px; }
.u-text-muted { color: #8D9BAB; }
.u-text-navy { color: #0F2744; }
.u-text-gold { color: #B8956A; }
.u-text-teal { color: #1A5C52; }
.u-fw-700 { font-weight: 700; }
.u-lh-loose { line-height: 1.85; }
.u-divider { height: 1px; background: #F3F4F6; margin: 24px 0; }