/* ===== أكاديمية الرواد الرياضية - CSS الرئيسي ===== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Tajawal:wght@300;400;500;700;800;900&display=swap');

:root {
  --primary: #1a2040;
  --primary-dark: #111827;
  --primary-deeper: #0d1526;
  --gold: #f5c518;
  --gold-dark: #d4a017;
  --gold-light: #ffd700;
  --background: #0f172a;
  --card-bg: #1e293b;
  --card-bg2: #162032;
  --foreground: #f8fafc;
  --muted: #94a3b8;
  --border: #2d3f5e;
  --radius: 1rem;
  --nav-height: 72px;
}

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

html {
  direction: rtl;
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: rgba(10, 15, 30, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245, 197, 24, 0.15);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.navbar-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.navbar-logo img {
  height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  border-radius: 0;
}

.navbar-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.navbar-logo-text .ar {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--foreground);
}

.navbar-logo-text .en {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  border-radius: 0.5rem;
  transition: all 0.2s;
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold);
  background: rgba(245, 197, 24, 0.1);
}

.nav-link svg {
  width: 14px;
  height: 14px;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-book-now {
  background: var(--gold);
  color: #0f172a;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-book-now:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 197, 24, 0.4);
}

/* ===== DROPDOWN MENU ===== */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #1a2a45;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.5rem;
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  z-index: 100;
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  border-radius: 0.5rem;
  transition: all 0.2s;
  white-space: nowrap;
}

.dropdown-item:hover {
  background: rgba(245, 197, 24, 0.1);
  color: var(--gold);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: #0f172a;
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 197, 24, 0.4);
}

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

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(245, 197, 24, 0.05);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  animation: none;
}

.hero-slide.active {
  opacity: 1;
  animation: kenBurns 8s ease-in-out forwards;
}

.hero-slide.prev {
  opacity: 0;
  animation: kenBurnsOut 1.2s ease-in-out forwards;
}

@keyframes kenBurns {
  0%   { transform: scale(1.0) translate(0, 0); opacity: 0; }
  5%   { opacity: 1; }
  100% { transform: scale(1.12) translate(-1%, -1%); opacity: 1; }
}

@keyframes kenBurnsOut {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}

/* Slide Indicators */
.hero-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 5px;
}

/* Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}

.hero-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

.hero-arrow-prev {
  right: 1.5rem;
}

.hero-arrow-next {
  left: 1.5rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,15,30,0.6) 0%, rgba(10,15,30,0.4) 50%, rgba(10,15,30,0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 2rem 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 197, 24, 0.15);
  border: 1px solid rgba(245, 197, 24, 0.3);
  color: var(--gold);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: #fff;
}

.hero-title .highlight {
  color: var(--gold);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== STATS SECTION ===== */
.stats-section {
  background: rgba(255,255,255,0.04);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.stat-item .number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.stat-item .label {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* ===== SECTION STYLES ===== */
.section {
  padding: 5rem 1.5rem;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 197, 24, 0.1);
  border: 1px solid rgba(245, 197, 24, 0.2);
  color: var(--gold);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.7;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin: 0 auto;
}

/* ===== FEATURES CARDS ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: rgba(245, 197, 24, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(245, 197, 24, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--gold);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.feature-text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ===== PROGRAMS SECTION ===== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.program-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
}

.program-card:hover {
  border-color: rgba(245, 197, 24, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.program-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  position: relative;
}

.program-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-age-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(245, 197, 24, 0.9);
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}

.program-card-body {
  padding: 1.5rem;
}

.program-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.program-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.program-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 600;
  transition: gap 0.2s;
}

.program-link:hover {
  gap: 0.75rem;
}

/* ===== PARTNERS SECTION ===== */
.partners-section {
  background: var(--card-bg2);
  padding: 4rem 1.5rem;
  overflow: hidden;
}

.partners-track {
  display: flex;
  gap: 2rem;
  animation: scroll-rtl 30s linear infinite;
  width: max-content;
}

.partners-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-rtl {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 130px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem;
  transition: all 0.3s;
}

.partner-item:hover {
  background: rgba(245, 197, 24, 0.08);
  border-color: rgba(245, 197, 24, 0.2);
}

.partner-img-wrap {
  width: 80px;
  height: 60px;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.partner-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.partner-item img {
  width: 68px;
  height: 48px;
  object-fit: contain;
}

.partner-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
  text-align: center;
}

.partner-role {
  font-size: 0.65rem;
  color: var(--muted);
  text-align: center;
}

/* ===== JOIN PARTNER SECTION (OLD) ===== */
.join-partner-section {
  background: linear-gradient(135deg, #0d1a2e 0%, #162032 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.join-partner-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 50%;
}

/* ===== JOIN PARTNER NEW CARD ===== */
.join-partner-bg-section {
  padding: 3rem 1.5rem;
  background: var(--background);
}

.join-partner-card {
  background: linear-gradient(135deg, #0d1a2e 0%, #162032 100%);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.join-partner-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.join-partner-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--foreground);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.join-partner-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.join-partner-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: gap 0.2s;
}

.join-partner-link:hover {
  gap: 0.7rem;
}

.join-partner-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.join-partner-logo-box {
  width: 220px;
  height: 220px;
  background: #fff;
  border: 3px solid rgba(245,197,24,0.4);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0.75rem;
  box-shadow: 0 0 40px rgba(245,197,24,0.15), 0 8px 32px rgba(0,0,0,0.4);
}

.join-partner-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.join-partner-badge {
  display: none;
}

/* ===== WHATSAPP IMAGE GRID ===== */
.whatsapp-img-grid-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.whatsapp-img-grid-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.whatsapp-img-card {
  position: relative;
  border-radius: 0.875rem;
  overflow: hidden;
  display: block;
  border: 2px solid rgba(37,211,102,0.25);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  aspect-ratio: 1 / 1;
  background: #0a1a0a;
}

.whatsapp-img-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(37,211,102,0.3);
  border-color: rgba(37,211,102,0.7);
}

.whatsapp-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  transition: transform 0.4s ease;
  background: #0a1a0a;
}

.whatsapp-img-card:hover .whatsapp-card-img {
  transform: scale(1.04);
}

.whatsapp-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  padding: 1.5rem 1rem 1rem;
  display: flex;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.whatsapp-img-card:hover .whatsapp-img-overlay {
  opacity: 1;
}

.whatsapp-img-btn {
  background: #25D366;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(37,211,102,0.4);
}

/* ===== WHATSAPP GROUPS SECTION ===== */
.whatsapp-section {
  background: linear-gradient(135deg, #0a1a0a 0%, #0d2010 100%);
  border-top: 1px solid rgba(37, 211, 102, 0.2);
  padding: 4rem 1.5rem;
}

.whatsapp-groups-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.whatsapp-group-card {
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  transition: all 0.3s;
}

.whatsapp-group-card:hover {
  background: rgba(37, 211, 102, 0.15);
  transform: translateY(-3px);
}

.whatsapp-group-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.whatsapp-group-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.whatsapp-group-desc {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* ===== FIELDS PREVIEW SECTION ===== */
.fields-preview {
  background: var(--card-bg2);
  padding: 4rem 1.5rem;
}

.fields-preview-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
  background: linear-gradient(135deg, #0d1a2e 0%, #162032 100%);
  padding: 4rem 1.5rem;
  text-align: center;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 500px;
  margin: 2rem auto 0;
}

.newsletter-input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--foreground);
  font-family: inherit;
  font-size: 0.9rem;
  direction: rtl;
}

.newsletter-input::placeholder {
  color: var(--muted);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--gold);
}

/* ===== FOOTER ===== */
.footer {
  background: #080e1a;
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.footer-logo-text .ar {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--foreground);
}

.footer-logo-text .en {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.2s;
}

.social-btn:hover {
  background: rgba(245, 197, 24, 0.1);
  border-color: var(--gold);
  color: var(--gold);
}

.social-btn svg {
  width: 18px;
  height: 18px;
}

/* جميع أيقونات التواصل الاجتماعي بنفس الشكل الموحد */
/* لا توجد أنماط خاصة - كل الأيقونات تستخدم .social-btn فقط */

/* SAFF Logo in Footer */
.footer-saff-logo {
  display: flex;
  align-items: center;
  margin-top: 1rem;
}

.footer-saff-logo img {
  height: 52px;
  width: 52px;
  max-width: 52px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.2s;
  filter: drop-shadow(0 0 6px rgba(0, 150, 0, 0.4));
}

.footer-saff-logo img:hover {
  opacity: 1;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-contact-icon {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-text {
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-contact-text a {
  color: var(--muted);
  transition: color 0.2s;
}

.footer-contact-text a:hover {
  color: var(--gold);
}

.footer-bottom {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

/* ===== PAGE HERO (for inner pages) ===== */
.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + 4rem) 1.5rem 4rem;
  text-align: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0f1e 0%, #1a2040 40%, #0d1530 70%, #0a0f1e 100%);
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,15,30,0.7) 0%, rgba(10,15,30,0.5) 50%, rgba(10,15,30,0.9) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
}

.page-hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

/* ===== PROGRAMS PAGE ===== */
.program-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
  transition: all 0.3s;
}

.program-detail-card:nth-child(even) {
  direction: ltr;
}

.program-detail-card:nth-child(even) .program-detail-body {
  direction: rtl;
}

.program-detail-card:hover {
  border-color: rgba(245, 197, 24, 0.3);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.program-detail-img {
  height: 350px;
  overflow: hidden;
}

.program-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.program-detail-card:hover .program-detail-img img {
  transform: scale(1.05);
}

.program-detail-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.program-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.program-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245, 197, 24, 0.1);
  border: 1px solid rgba(245, 197, 24, 0.2);
  color: var(--gold);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.program-detail-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.program-detail-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.program-features-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.program-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.program-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.program-feature-item svg {
  width: 16px;
  height: 16px;
  color: #22c55e;
  flex-shrink: 0;
}

.program-price {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.program-price span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
}

/* ===== BOOKING PAGE ===== */
.booking-wizard {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.booking-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 3rem;
  position: relative;
}

.booking-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  right: 10%;
  left: 10%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.booking-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
  flex: 1;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--muted);
  transition: all 0.3s;
}

.booking-step.active .step-circle {
  background: var(--gold);
  border-color: var(--gold);
  color: #0f172a;
}

.booking-step.completed .step-circle {
  background: #22c55e;
  border-color: #22c55e;
  color: #fff;
}

.step-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

.booking-step.active .step-label {
  color: var(--gold);
  font-weight: 600;
}

.booking-content {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.booking-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--foreground);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.booking-section-title svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.fields-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 500px;
  overflow-y: auto;
  padding-left: 0.25rem;
}

.field-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}

.field-option:hover {
  border-color: rgba(245, 197, 24, 0.3);
  background: rgba(245, 197, 24, 0.05);
}

.field-option.selected {
  border-color: var(--gold);
  background: rgba(245, 197, 24, 0.08);
}

.field-option-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.field-option-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--foreground);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.field-option-location {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.field-option-price {
  font-weight: 700;
  color: var(--gold);
  font-size: 0.9rem;
}

.booking-next-btn {
  margin-top: 1.5rem;
  width: 100%;
}

/* ===== REGISTER PAGE ===== */
.register-form-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.form-section-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.form-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.form-section-icon {
  width: 40px;
  height: 40px;
  background: rgba(245, 197, 24, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.form-section-icon svg {
  width: 20px;
  height: 20px;
}

.form-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
}

.form-section-subtitle {
  font-size: 0.8rem;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.form-label .required {
  color: #ef4444;
  margin-right: 0.25rem;
}

.form-input, .form-select, .form-textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--foreground);
  font-family: inherit;
  font-size: 0.9rem;
  direction: rtl;
  transition: border-color 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(245, 197, 24, 0.05);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: var(--muted);
}

.form-select option {
  background: #1e293b;
  color: var(--foreground);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.radio-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--foreground);
}

.radio-option input {
  accent-color: var(--gold);
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
}

.checkbox-item input[type="checkbox"] {
  accent-color: var(--gold);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-label {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

.disclaimer-box {
  background: rgba(245, 197, 24, 0.05);
  border: 1px solid rgba(245, 197, 24, 0.2);
  border-radius: 0.5rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.disclaimer-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.disclaimer-list {
  list-style: decimal;
  padding-right: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.disclaimer-list li {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== FAQ PAGE ===== */
.faq-filters {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  transition: all 0.2s;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #0f172a;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--foreground);
  transition: all 0.2s;
  gap: 1rem;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--gold);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  border-top: 1px solid var(--border);
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-icon {
  width: 36px;
  height: 36px;
  background: rgba(245, 197, 24, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.faq-icon svg {
  width: 18px;
  height: 18px;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.contact-info-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-info-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: rgba(245,197,24,0.12);
  border: 1px solid rgba(245,197,24,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.contact-info-icon svg {
  width: 22px !important;
  height: 22px !important;
  color: var(--gold);
  stroke: var(--gold);
  flex-shrink: 0;
}
.contact-info-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.contact-info-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
.contact-info-value:hover {
  color: var(--gold);
}

.contact-info-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.contact-info-subtitle {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  transition: all 0.2s;
}

.contact-item:hover {
  border-color: rgba(245, 197, 24, 0.2);
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(245, 197, 24, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
}

.contact-item-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.contact-item-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--foreground);
}

.contact-form-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-form-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

/* ===== NEWS PAGE ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.news-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
}

.news-card:hover {
  border-color: rgba(245, 197, 24, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  position: relative;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-category-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(245, 197, 24, 0.9);
  color: #0f172a;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.news-card-body {
  padding: 1.5rem;
}

.news-date {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.news-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--foreground);
  line-height: 1.5;
}

.news-excerpt {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  transition: gap 0.2s;
}

.news-read-more:hover {
  gap: 0.75rem;
}

/* ===== FIELDS PAGE ===== */
.fields-filters {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.fields-search {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.fields-search input {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  color: var(--foreground);
  font-family: inherit;
  font-size: 0.9rem;
  direction: rtl;
}

.fields-search input:focus {
  outline: none;
  border-color: var(--gold);
}

.fields-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  width: 18px;
  height: 18px;
}

.filter-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.filter-label {
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
}

.fields-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.field-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
}

.field-card:hover {
  border-color: rgba(245, 197, 24, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.field-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.field-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.field-card:hover .field-card-img img {
  transform: scale(1.05);
}

.field-city-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(10, 15, 30, 0.85);
  border: 1px solid var(--border);
  color: var(--foreground);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.field-card-body {
  padding: 1.5rem;
}

.field-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.field-location {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.field-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.field-tag {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  font-size: 0.7rem;
  color: var(--muted);
}

.field-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.field-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
}

.field-price span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
}

.field-players {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ===== ABOUT PAGE ===== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  height: 450px;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-stats-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.about-stat-card {
  background: rgba(245, 197, 24, 0.08);
  border: 1px solid rgba(245, 197, 24, 0.2);
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
}

.about-stat-number {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--gold);
}

.about-stat-label {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ===== MOBILE RESPONSIVE ===== */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  right: 0;
  left: 0;
  background: rgba(10, 15, 30, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  z-index: 999;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-nav-link {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--foreground);
  border-radius: 0.5rem;
  transition: all 0.2s;
  display: block;
}

.mobile-nav-link:hover {
  background: rgba(245, 197, 24, 0.1);
  color: var(--gold);
}

@media (max-width: 1024px) {
  .navbar-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .programs-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .program-detail-card {
    grid-template-columns: 1fr;
  }
  .program-detail-card:nth-child(even) {
    direction: rtl;
  }
  .program-detail-img {
    height: 250px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fields-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-intro {
    grid-template-columns: 1fr;
  }
  .whatsapp-groups-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .join-partner-section {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .join-partner-img {
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .fields-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .whatsapp-groups-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-title {
    font-size: 2rem;
  }
  .newsletter-form {
    flex-direction: column;
  }
}

/* ===== UTILITIES ===== */
.gold-text { color: var(--gold); }
.muted-text { color: var(--muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--background); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* ===== FORM CARD ===== */
.form-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.form-card-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.form-card-title svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group.full-width {
  grid-column: 1 / -1;
}
.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.form-input, .form-select, .form-textarea {
  background: var(--card-bg2);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.65rem 0.875rem;
  font-size: 0.9rem;
  color: var(--foreground);
  font-family: var(--font-arabic);
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s;
  direction: rtl;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-textarea {
  resize: vertical;
  min-height: 90px;
}

/* ===== RESPONSIVE FIX: JOIN PARTNER CARD & WHATSAPP GRID ===== */
@media (max-width: 900px) {
  .join-partner-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 2rem;
  }
  .join-partner-logo-wrap {
    order: -1;
  }
  .join-partner-logo-box {
    width: 160px;
    height: 160px;
    margin: 0 auto;
  }
  .join-partner-content {
    align-items: center;
  }
  .join-partner-title {
    font-size: 1.6rem;
  }
  .whatsapp-img-grid-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .whatsapp-img-grid-bottom {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .join-partner-bg-section {
    padding: 2rem 1rem;
  }
  .join-partner-card {
    padding: 1.5rem 1rem;
    gap: 1.5rem;
    border-radius: 1rem;
  }
  .join-partner-logo-box {
    width: 130px;
    height: 130px;
  }
  .join-partner-title {
    font-size: 1.3rem;
  }
  .join-partner-desc {
    font-size: 0.85rem;
  }
  .whatsapp-img-grid-top {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .whatsapp-img-grid-bottom {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .whatsapp-img-card img {
    height: 160px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }
  .navbar-logo img {
    height: 40px;
  }
  .navbar-logo-text .ar {
    font-size: 0.7rem;
  }
  .navbar-logo-text .en {
    font-size: 0.55rem;
  }
}

@media (max-width: 400px) {
  .join-partner-logo-box {
    width: 110px;
    height: 110px;
  }
  .whatsapp-img-card img {
    height: 130px;
  }
}
