/*
Theme Name: Bareeq Academy
Theme URI: https://bareeqacademy.com
Author: Bareeq Academy
Author URI: https://bareeqacademy.com
Description: A modern, responsive STEM education theme for Bareeq Academy. Fully compatible with Elementor page builder. Features orange/purple branding, RTL support, and mobile-first design.
Version: 1.0.0
Requires at least: 5.6
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bareeq-academy
Tags: education, elementor, rtl-language, responsive-layout, custom-colors, custom-menu, featured-images, stem

*/

/* =============================================
   BAREEQ ACADEMY THEME - GLOBAL STYLES
   Primary:   #F5A623 (Orange/Gold)
   Secondary: #4B1E4F (Dark Purple)
   Light:     #F8F4FF
   ============================================= */

:root {
  --color-primary: #F5A623;
  --color-secondary: #4B1E4F;
  --color-secondary-dark: #2d0f31;
  --color-light: #F8F4FF;
  --color-white: #ffffff;
  --color-text: #333333;
  --color-muted: #666666;
  --font-main: 'Cairo', 'Tajawal', sans-serif;
  --border-radius: 12px;
  --shadow: 0 4px 24px rgba(75,30,79,0.10);
  --transition: 0.3s ease;
}

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

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

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-secondary); }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-secondary);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   NAVIGATION
   ============================================= */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: rgba(45, 15, 49, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(245,166,35,0.3);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-primary), #e8940f);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
}
.logo-tagline {
  font-size: 11px;
  color: var(--color-primary);
  font-weight: 500;
  margin-top: 2px;
}

/* Desktop Nav */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-menu a:hover {
  color: var(--color-primary);
  background: rgba(245,166,35,0.1);
}

.nav-cta a {
  background: var(--color-primary) !important;
  color: var(--color-secondary) !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
}

.nav-cta a:hover {
  background: #e8940f !important;
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =============================================
   HERO SECTION
   ============================================= */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #2d0f31 0%, #4B1E4F 50%, #3d1542 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

/* Circuit background pattern */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(245,166,35,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245,166,35,0.06) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(109,42,116,0.4) 0%, transparent 50%);
  pointer-events: none;
}

/* Floating shapes */
#hero::after {
  content: '⚙️';
  position: absolute;
  font-size: 200px;
  opacity: 0.04;
  top: 10%;
  right: 5%;
  animation: floatRotate 12s ease-in-out infinite;
  pointer-events: none;
}

@keyframes floatRotate {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.4);
  color: var(--color-primary);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease forwards;
}

.hero-title {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

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

.hero-arabic {
  font-size: clamp(24px, 4vw, 38px);
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-main);
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-secondary);
  box-shadow: 0 8px 32px rgba(245,166,35,0.4);
}

.btn-primary:hover {
  background: #e8940f;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(245,166,35,0.5);
  color: var(--color-secondary);
}

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

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-3px);
}

/* Hero scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   STATS BAR
   ============================================= */
#stats {
  background: linear-gradient(135deg, var(--color-primary), #e8940f);
  padding: 40px 24px;
}

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

.stat-number {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--color-secondary);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-secondary);
  margin-top: 6px;
  opacity: 0.85;
}

/* =============================================
   SECTION COMMONS
   ============================================= */
section { padding: 90px 24px; }

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--color-secondary);
  margin-bottom: 16px;
}

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

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 4px;
  margin: 20px 0;
}

.section-center { text-align: center; }
.section-center .section-subtitle { margin: 0 auto; }
.section-center .section-divider { margin: 20px auto; }

/* =============================================
   ABOUT SECTION
   ============================================= */
#about { background: var(--color-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(245,166,35,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
}

.about-visual {
  background: linear-gradient(135deg, var(--color-secondary), #6d2a74);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  color: var(--color-white);
}

.about-visual .big-emoji { font-size: 100px; margin-bottom: 24px; }

.about-quote {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--color-white);
  font-style: italic;
  margin-bottom: 16px;
}

.about-quote-author {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 600;
}

/* =============================================
   PROGRAMS SECTION
   ============================================= */
#programs { background: var(--color-light); }

.programs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.program-card {
  background: var(--color-white);
  border-radius: var(--border-radius);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  cursor: pointer;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(75,30,79,0.18);
}

.program-card.featured {
  background: linear-gradient(135deg, var(--color-secondary), #6d2a74);
}

.program-card.featured .program-title { color: var(--color-white); }
.program-card.featured .program-desc { color: rgba(255,255,255,0.8); }
.program-card.featured .program-age { color: var(--color-primary); }

.program-emoji { font-size: 52px; margin-bottom: 16px; }

.program-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 10px;
}

.program-desc {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.program-age {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
}

/* =============================================
   COMPETITIONS SECTION
   ============================================= */
#competitions {
  background: linear-gradient(135deg, #2d0f31, var(--color-secondary));
  color: var(--color-white);
}

.competitions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.competitions-grid .section-title { color: var(--color-white); }

.comp-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.comp-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.comp-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(245,166,35,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.comp-feature h4 { font-size: 15px; color: var(--color-white); font-weight: 700; margin-bottom: 4px; }
.comp-feature p { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.6; }

.comp-right h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.comp-right p {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.skills-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skills-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
}

.skills-list li::before {
  content: '✅';
  font-size: 14px;
  flex-shrink: 0;
}

/* =============================================
   WORKSHOPS SECTION
   ============================================= */
#workshops { background: var(--color-white); }

.workshops-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.workshop-card {
  background: var(--color-light);
  border-radius: var(--border-radius);
  padding: 40px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.workshop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.workshop-card.featured-ws {
  background: linear-gradient(135deg, var(--color-primary), #e8940f);
}

.workshop-card.featured-ws .workshop-title { color: var(--color-white); }
.workshop-card.featured-ws .workshop-desc { color: rgba(255,255,255,0.9); }

.workshop-emoji { font-size: 48px; margin-bottom: 16px; }
.workshop-title { font-size: 18px; font-weight: 700; color: var(--color-secondary); margin-bottom: 10px; }
.workshop-desc { font-size: 13px; color: var(--color-muted); line-height: 1.7; }

/* =============================================
   LEARNING EXPERIENCE
   ============================================= */
#learning { background: var(--color-light); }

.learning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.learning-visual {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 24px;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.learn-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 16px 24px;
  font-size: 22px;
  font-weight: 800;
  color: var(--color-white);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.learn-pill:hover { background: rgba(255,255,255,0.25); transform: translateX(8px); }
.learn-pill span { font-size: 32px; }

.learning-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

/* =============================================
   GALLERY SECTION
   ============================================= */
#gallery { background: var(--color-white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item:first-child { grid-column: span 2; }

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s ease;
  min-height: 200px;
}

.gallery-item:nth-child(1) .gallery-placeholder { background: linear-gradient(135deg, var(--color-secondary), #6d2a74); }
.gallery-item:nth-child(2) .gallery-placeholder { background: linear-gradient(135deg, var(--color-primary), #e8940f); }
.gallery-item:nth-child(3) .gallery-placeholder { background: linear-gradient(135deg, #2d0f31, var(--color-secondary)); }
.gallery-item:nth-child(4) .gallery-placeholder { background: linear-gradient(135deg, #6d2a74, var(--color-primary)); }

.gallery-emoji { font-size: 56px; }
.gallery-caption { font-size: 14px; font-weight: 600; color: var(--color-white); text-align: center; }

/* =============================================
   WHY BAREEQ SECTION
   ============================================= */
#why { background: var(--color-light); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.why-card {
  background: var(--color-white);
  border-radius: var(--border-radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border-bottom: 4px solid transparent;
}

.why-card:hover {
  transform: translateY(-6px);
  border-bottom-color: var(--color-primary);
  box-shadow: 0 16px 48px rgba(75,30,79,0.14);
}

.why-emoji { font-size: 48px; margin-bottom: 16px; }
.why-title { font-size: 18px; font-weight: 700; color: var(--color-secondary); margin-bottom: 10px; }
.why-desc { font-size: 14px; color: var(--color-muted); line-height: 1.7; }

.why-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================
   CTA SECTION
   ============================================= */
#cta {
  background: linear-gradient(135deg, var(--color-primary), #e8940f);
  text-align: center;
  padding: 100px 24px;
}

#cta h2 {
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 800;
  color: var(--color-white);
  max-width: 700px;
  margin: 0 auto 20px;
}

#cta p {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.btn-dark {
  background: var(--color-secondary);
  color: var(--color-white);
  box-shadow: 0 8px 32px rgba(45,15,49,0.4);
  font-size: 18px;
  padding: 18px 50px;
}

.btn-dark:hover {
  background: #2d0f31;
  transform: translateY(-3px);
  color: var(--color-white);
  box-shadow: 0 12px 40px rgba(45,15,49,0.5);
}

/* =============================================
   CONTACT / FOOTER
   ============================================= */
#contact {
  background: #2d0f31;
  padding: 90px 24px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 60px;
}

.contact-brand .brand-name {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.contact-brand .brand-tagline {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

.contact-brand .brand-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}

.contact-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.contact-divider {
  width: 40px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 3px;
  margin-bottom: 20px;
}

.contact-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-links a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: var(--transition);
}

.contact-links a:hover { color: var(--color-primary); padding-left: 6px; }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.contact-info-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-text { display: flex; flex-direction: column; }
.contact-info-label { font-size: 12px; color: var(--color-primary); font-weight: 700; margin-bottom: 2px; }
.contact-info-value { font-size: 14px; color: rgba(255,255,255,0.65); }

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(245,166,35,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--color-primary);
  transition: var(--transition);
  border: 1px solid rgba(245,166,35,0.2);
  text-decoration: none;
}

.social-link:hover { background: var(--color-primary); color: var(--color-secondary); transform: translateY(-3px); }

.footer-bar {
  background: #1a0720;
  padding: 20px 24px;
  text-align: center;
}

.footer-bar p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-bar a { color: var(--color-primary); }

/* =============================================
   ELEMENTOR COMPATIBILITY
   ============================================= */
.elementor-page #site-header { display: flex; }
.elementor-section { max-width: 100% !important; }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* =============================================
   MOBILE RESPONSIVE — TABLET (max 1024px)
   ============================================= */
@media (max-width: 1024px) {
  .programs-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid,
  .competitions-grid,
  .learning-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

/* =============================================
   MOBILE RESPONSIVE — PHONE (max 768px)
   ============================================= */
@media (max-width: 768px) {
  /* Nav */
  .nav-menu {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(45,15,49,0.98);
    flex-direction: column;
    gap: 0;
    padding: 16px 0 24px;
    border-top: 1px solid rgba(245,166,35,0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 14px 24px; border-radius: 0; font-size: 16px; width: 100%; }
  .nav-cta { margin-top: 8px; padding: 0 16px; }
  .nav-cta a { border-radius: 50px !important; text-align: center; }
  .nav-toggle { display: flex; }

  /* Hero */
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 300px; justify-content: center; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Programs */
  .programs-grid { grid-template-columns: repeat(2, 1fr); }

  /* Workshops */
  .workshops-grid { grid-template-columns: repeat(2, 1fr); }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: span 1; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; }
  .why-grid-2 { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Sections */
  section { padding: 60px 20px; }
}

/* =============================================
   MOBILE RESPONSIVE — SMALL (max 480px)
   ============================================= */
@media (max-width: 480px) {
  .programs-grid { grid-template-columns: 1fr; }
  .workshops-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-tagline { display: none; }
  #hero { padding: 100px 20px 70px; }
}

/* =============================================
   RTL SUPPORT (Arabic)
   ============================================= */
[dir="rtl"] .section-divider { margin-right: 0; }
[dir="rtl"] .feature-item,
[dir="rtl"] .comp-feature { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .contact-links a:hover { padding-left: 0; padding-right: 6px; }
