/* =============================================
   GENIUS STUDENT TRAINING CENTER
   Main Stylesheet
   ============================================= */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&family=Cairo:wght@300;400;600;700;900&display=swap');

/* --- CSS Variables --- */
:root {
  --blue-dark:    #0a1f6e;
  --blue-mid:     #1139c4;
  --blue-bright:  #1a5eff;
  --gold:         #f5c518;
  --gold-dark:    #d4a017;
  --white:        #ffffff;
  --off-white:    #f0f4ff;
  --text-dark:    #0d1b4b;
  --text-muted:   #4a5e9a;
  --card-bg:      rgba(255,255,255,0.06);
  --card-border:  rgba(255,255,255,0.15);
  --shadow-blue:  0 8px 40px rgba(26,94,255,0.25);
  --shadow-gold:  0 4px 20px rgba(245,197,24,0.3);
  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-xl:    40px;
  --transition:   all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Cairo', sans-serif;
  --font-body:    'Tajawal', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  direction: rtl;
  background: var(--blue-dark);
  color: var(--white);
  line-height: 1.9;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

/* --- Utility Classes --- */
.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.section-pad {
  padding-block: 90px;
}

.section-pad-sm {
  padding-block: 60px;
}

.text-gold { color: var(--gold); }
.text-center { text-align: center; }

.section-badge {
  display: inline-block;
  background: rgba(245,197,24,0.15);
  border: 1px solid rgba(245,197,24,0.4);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 6px 20px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.3;
  color: var(--white);
}

.section-title span {
  color: var(--gold);
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.72);
  max-width: 640px;
  margin-top: 12px;
}

.section-subtitle.centered {
  margin-inline: auto;
}

/* --- Divider line under headings --- */
.title-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 4px;
  margin-top: 16px;
}

.title-line.centered {
  margin-inline: auto;
}

/* --- Button Styles --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(37,211,102,0.35);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--blue-dark);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 28px rgba(245,197,24,0.5);
}

/* --- WA Icon --- */
.wa-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* --- Responsive Breakpoints Reference ---
   Mobile:  < 640px
   Tablet:  640px - 1024px
   Desktop: > 1024px
--- */
