/* ===================================================
   مسابقة القرآن الكريم لأهل سوهاج - Stylesheet (Sky Blue Edition)
=================================================== */

:root {
  /* التدرجات السماوية والزرقاء */
  --primary: #0284c7;             /* سماوي غني Sky 600 */
  --primary-dark: #0369a1;        /* أزرق سماوي عميق Sky 700 */
  --primary-deep: #0c4a6e;        /* أزرق كحلي ملكي Sky 900 */
  --primary-light: #38bdf8;       /* سماوي مشرق Sky 400 */
  --primary-subtle: #e0f2fe;      /* سماوي فاتح جداً Sky 100 */
  
  /* اللمسات الذهبية الملكية المتناسقة مع السماوي */
  --accent-gold: #d97706;
  --accent-gold-light: #f59e0b;
  
  /* ألوان الخلفيات */
  --bg-main: #f0f9ff;             /* خلفية عامة سماوية مريحة للعين */
  --bg-card: #ffffff;
  --bg-alt: #e0f2fe;
  
  /* ألوان النصوص */
  --text-main: #0f172a;
  --text-muted: #334155;
  --text-light: #64748b;
  
  /* الحدود والظلال */
  --border-color: #bae6fd;
  --border-gold: #fde68a;
  
  --shadow-sm: 0 1px 2px rgba(2, 132, 199, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(2, 132, 199, 0.08);
  --shadow-lg: 0 10px 15px -3px rgba(2, 132, 199, 0.12);
  --shadow-xl: 0 20px 25px -5px rgba(2, 132, 199, 0.15);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-base: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-quran: 'Amiri', serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 16px;
}

/* شريط الإعلان */
.top-announcement {
  background: linear-gradient(90deg, #0369a1, #0284c7, #38bdf8);
  color: #ffffff;
  padding: 9px 12px;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

.top-announcement i {
  margin-left: 6px;
}

/* الهيدر */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.brand-text h1 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-deep);
  line-height: 1.2;
}

.brand-text p {
  font-size: 0.8rem;
  color: var(--primary-dark);
}

/* الأزرار */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-base);
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.45);
}

.btn-primary-sm {
  background: var(--primary);
  color: #fff;
  padding: 8px 18px;
  font-size: 0.88rem;
  border-radius: var(--radius-full);
}

.btn-outline {
  background: #ffffff;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary-subtle);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #1eb954;
  transform: scale(1.02);
}

.btn-whatsapp-submit {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
}

.btn-whatsapp-submit:hover {
  background: linear-gradient(135deg, #0369a1, #0c4a6e);
  transform: translateY(-2px);
}

.btn-large {
  padding: 14px 28px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.pulse-effect {
  animation: pulseBtn 2.2s infinite;
}

@keyframes pulseBtn {
  0% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(2, 132, 199, 0); }
  100% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
}

/* قسم Hero */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, #e0f2fe 0%, #bae6fd 45%, #f0f9ff 100%);
  padding: 38px 0 24px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--primary-dark);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-deep);
  line-height: 1.25;
  margin-bottom: 14px;
}

.hero-title span {
  color: var(--primary);
}

.hero-description {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 18px;
}

.hero-fee-banner {
  display: inline-block;
  background: #ffffff;
  border: 1.5px dashed var(--primary);
  color: var(--primary-dark);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.hero-fee-banner strong {
  font-size: 1.15rem;
  color: var(--primary-deep);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 18px;
}

.hero-note {
  font-size: 0.88rem;
  color: var(--primary-deep);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(2, 132, 199, 0.12);
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

/* بطاقة المؤقت */
.stats-timer-section {
  padding-bottom: 24px;
}

.timer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-md);
}

.timer-header {
  text-align: center;
  margin-bottom: 18px;
}

.timer-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.time-box {
  background: #f0f9ff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  min-width: 60px;
  text-align: center;
}

.time-number {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-deep);
}

.time-label {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* بانر العمرة */
.umrah-highlight-banner {
  background: linear-gradient(135deg, #0c4a6e, #075985);
  color: #ffffff;
  border: 2px solid #38bdf8;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
  text-align: center;
}

.umrah-icon {
  font-size: 2.3rem;
  color: #fcd34d;
}

.umrah-text h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #e0f2fe;
  margin-bottom: 2px;
}

.umrah-text p {
  font-size: 0.85rem;
  color: #bae6fd;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  text-align: center;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.stat-box .num {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-box .lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* العناوين العامة */
.section-padding {
  padding: 36px 0;
}

.bg-alt {
  background-color: var(--bg-alt);
}

.section-badge {
  display: inline-block;
  background: rgba(2, 132, 199, 0.12);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 8px;
}

.section-intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* بطاقات المستويات والجوائز */
.levels-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.level-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.featured-level {
  border-color: #38bdf8;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  border-right: 5px solid var(--primary);
}

.level-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 6px;
}

.level-tag {
  background: var(--primary-deep);
  color: #ffffff;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
}

.level-top h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-deep);
  flex-grow: 1;
  margin-right: 10px;
}

.level-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.prize-row {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gold-badge {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  font-weight: 700;
}

.cash-badge {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
  font-weight: 700;
}

/* بانر الجوائز التشجيعية */
.encouragement-banner {
  background: linear-gradient(135deg, #0284c7, #0c4a6e);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.enc-icon {
  font-size: 2.4rem;
  color: #fcd34d;
}

.enc-content h4 {
  font-size: 1.1rem;
  color: #e0f2fe;
  margin-bottom: 4px;
}

.enc-content p {
  font-size: 0.9rem;
  opacity: 0.95;
}

/* بطاقة الإشراف */
.supervision-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.sup-badge {
  display: inline-block;
  background: rgba(2, 132, 199, 0.12);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.supervision-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 8px;
}

.supervision-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 16px;
}

.sup-logos {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sup-pill {
  background: #f0f9ff;
  border: 1px solid var(--border-color);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-deep);
}

/* استمارة التسجيل */
.register-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  box-shadow: var(--shadow-lg);
}

.register-intro {
  margin-bottom: 24px;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-group label i {
  color: var(--primary);
  margin-left: 4px;
}

.req {
  color: #dc2626;
}

.form-group input,
.form-group select {
  font-family: var(--font-base);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: #f8fafc;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}

/* صندوق الرسوم والتحويل للواتساب */
.fee-confirmation-box {
  background: #e0f2fe;
  border: 1.5px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.fee-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.fee-details strong {
  font-size: 1.2rem;
  color: var(--primary-deep);
}

.target-phone-note {
  font-size: 0.85rem;
  color: var(--primary-dark);
}

/* مراكز سوهاج */
.centers-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}

.center-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-deep);
}

.contact-box-centered {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.contact-box-centered h4 {
  font-size: 1.1rem;
  color: var(--primary-deep);
  margin-bottom: 6px;
}

.contact-box-centered p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* الفوتر */
.site-footer {
  background: #0c4a6e;
  color: #bae6fd;
  padding: 28px 0;
  font-size: 0.88rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 10px;
}

.footer-copy {
  margin-bottom: 6px;
}

.footer-sub {
  font-family: var(--font-quran);
  font-size: 2.15rem;
  color: #000000;
}

/* زر الواتساب العائم */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 54px;
  height: 54px;
  background: #25d366;
  color: #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

/* بانر عداد المشتركين الحي */
.live-counter-banner {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary-dark));
  border: 2px solid var(--primary-light);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
  color: #ffffff;
  text-align: center;
}

.live-counter-banner .counter-icon {
  font-size: 2.2rem;
  color: #fde047;
  background: rgba(255, 255, 255, 0.1);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
}

.live-counter-banner .counter-label {
  display: block;
  font-size: 0.95rem;
  color: #e0f2fe;
  font-weight: 700;
  margin-bottom: 2px;
}

.live-counter-banner .counter-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.live-counter-banner .counter-number strong {
  font-size: 1.8rem;
  font-weight: 900;
  color: #fde047;
}

.live-counter-banner .counter-number .unit {
  font-size: 0.9rem;
  color: #bae6fd;
}

/* شارة تنبيه شرط السن */
.age-condition-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px solid #f59e0b;
  color: #92400e;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 14px;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.15);
}

.age-condition-badge i {
  color: #d97706;
  font-size: 1.1rem;
}

.age-condition-badge strong {
  color: #b45309;
  text-decoration: underline;
  text-underline-offset: 3px;
}