/* ===== CSS Variables ===== */
:root {
  --gold: #d4a843;
  --gold-light: #e8c56d;
  --gold-dark: #b8922e;
  --dark: #0a0a0f;
  --dark2: #111118;
  --dark3: #1a1a25;
  --dark4: #252535;
  --text: #e8e8ec;
  --text-muted: #8888a0;
  --text-dark: #55556a;
  --font-arabic: 'Cairo', sans-serif;
  --font-heading: 'Amiri', serif;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow: 0 20px 60px rgba(0,0,0,0.5);
  --radius: 16px;
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-arabic);
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.8;
}
::selection { background: var(--gold); color: var(--dark); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ===== Navigation ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0.8rem 0;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(10,10,15,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212,168,67,0.1);
}
.nav-container {
  max-width: 1200px; margin: 0 auto;
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
}
.nav-logo span { color: var(--gold); }
.nav-logo-img {
  height: 26px; width: auto;
  margin-left: 6px;
}
.nav-menu {
  list-style: none;
  display: flex; gap: 2rem;
}
.nav-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color var(--transition);
  padding: 0.3rem 0;
}
.nav-menu a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--gold); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 5px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: var(--transition);
}
.lang-btn {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.4rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-arabic);
  font-weight: 600;
  font-size: 0.8rem;
  transition: var(--transition);
}
.lang-btn:hover { background: var(--gold); color: var(--dark); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
#heroCanvas {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Slider */
.hero-slider {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-slider .slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slider .slide.active {
  opacity: 1;
}
.slide-label {
  position: absolute;
  bottom: 130px; right: 40px;
  color: rgba(255,255,255,0.06);
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 700;
  pointer-events: none;
  line-height: 1;
  user-select: none;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, var(--dark) 85%);
  z-index: 1;
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
}
.hero-profile {
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease-out forwards;
}
.profile-frame {
  width: 190px; height: 190px;
  margin: 0 auto;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold-dark));
  box-shadow: 0 0 50px rgba(212,168,67,0.2), 0 0 100px rgba(212,168,67,0.08);
  position: relative;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}
.profile-frame:hover {
  transform: scale(1.03);
  box-shadow: 0 0 70px rgba(212,168,67,0.35), 0 0 140px rgba(212,168,67,0.15);
}
.profile-frame .profile-img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid var(--dark2);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.5rem;
  border: 1px solid rgba(212,168,67,0.25);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--gold-light);
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  background: rgba(212,168,67,0.05);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
}
.hero-badge .dot {
  color: rgba(212,168,67,0.5);
  font-size: 0.5rem;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.title-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s ease-out forwards;
  animation-delay: 0.4s;
}
.title-line.accent {
  color: var(--gold);
  font-size: 6rem;
  text-shadow: 0 0 40px rgba(212,168,67,0.15);
  animation-delay: 0.6s;
}
.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease-out forwards;
  animation-delay: 0.8s;
}
.hero-actions {
  display: flex; gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease-out forwards;
  animation-delay: 1s;
}
.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-family: var(--font-arabic);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  box-shadow: 0 8px 30px rgba(212,168,67,0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(212,168,67,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-3px);
}
.btn-full { width: 100%; text-align: center; }
.hero-stats {
  display: flex; gap: 3rem;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease-out forwards;
  animation-delay: 1.2s;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 700;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(212,168,67,0.25);
  background: rgba(10,10,15,0.4);
  color: var(--gold);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  opacity: 0;
  animation: fadeIn 0.6s ease-out 1.5s forwards;
}
.slider-arrow:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.slider-arrow.prev { right: 20px; }
.slider-arrow.next { left: 20px; }
.slider-arrow svg { width: 22px; height: 22px; }

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 90px;
  left: 50%; transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.7rem;
  opacity: 0;
  animation: fadeIn 0.6s ease-out 1.5s forwards;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(212,168,67,0.4);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(212,168,67,0.5);
}

.scroll-indicator {
  position: absolute; bottom: 2rem;
  left: 50%; transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; gap: 0.5rem;
  color: var(--text-dark);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s ease-out 1.5s forwards, float 2.5s ease-in-out 2.5s infinite;
}
.scroll-arrow {
  width: 18px; height: 18px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: rotate(45deg) translateY(0); }
  50% { opacity: 1; transform: rotate(45deg) translateY(5px); }
}
@keyframes float { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-10px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ===== Sections ===== */
.section {
  padding: 7rem 0;
  position: relative;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-subtitle {
  display: inline-block;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 1rem;
}
.section-title .accent { color: var(--gold); }
.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 0 auto;
  border-radius: 3px;
}

/* ===== About ===== */
.about { background: var(--dark2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}
.about-image { position: relative; }
.image-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.image-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--dark3), var(--dark4));
  display: flex; align-items: center; justify-content: center;
}
.placeholder-icon {
  width: 80px; height: 80px;
  color: var(--gold);
  opacity: 0.4;
}
.about-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.about-text h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--gold-light);
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}
.about-info {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.info-label {
  font-size: 0.8rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.info-item span:last-child {
  color: var(--text);
  font-weight: 600;
}

/* ===== Services ===== */
.services { background: var(--dark); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.service-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  border-color: rgba(212,168,67,0.2);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.service-icon {
  width: 60px; height: 60px;
  margin: 0 auto 1.5rem;
  color: var(--gold);
}
.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text);
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== Portfolio ===== */
.portfolio { background: var(--dark2); }
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--dark4);
  color: var(--text-muted);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--font-arabic);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.portfolio-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}
.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.portfolio-thumb {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}
.thumb-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem;
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  font-weight: 600;
  background: rgba(0,0,0,0.3);
  transition: var(--transition);
}
.portfolio-item:hover .thumb-content {
  background: rgba(0,0,0,0.5);
}
.portfolio-info {
  padding: 1.2rem 1.5rem;
  background: var(--dark3);
}
.portfolio-info h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.portfolio-cat {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 500;
}

/* ===== Clients ===== */
.clients { background: var(--dark); }
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.client-item {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.client-item:hover {
  border-color: rgba(212,168,67,0.2);
  background: var(--dark3);
}
.client-item span {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 600;
  transition: color var(--transition);
}
.client-item:hover span { color: var(--gold); }

/* ===== Courses ===== */
.courses { background: var(--dark); }
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.course-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.course-card:hover {
  border-color: rgba(212,168,67,0.2);
  transform: translateY(-5px);
}
.course-thumb {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.course-icon {
  width: 60px; height: 60px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: rgba(0,0,0,0.3);
}
.course-icon svg { width: 28px; height: 28px; }
.course-info {
  padding: 1.5rem;
  text-align: center;
}
.course-info h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
}
.course-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== Contact ===== */
.contact { background: var(--dark2); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}
.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--gold-light);
}
.contact-items { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
.contact-item {
  display: flex; align-items: center; gap: 1rem;
}
.contact-item svg {
  width: 24px; height: 24px;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.contact-item span:last-child { color: var(--text); }
.social-links {
  display: flex; gap: 1rem;
}
.social-link {
  width: 44px; height: 44px;
  border: 1px solid var(--dark4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-link svg { width: 20px; height: 20px; }
.social-link:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--dark);
}
.contact-form {
  display: flex; flex-direction: column; gap: 1.2rem;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  background: var(--dark);
  border: 1px solid var(--dark4);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-arabic);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,168,67,0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-dark); }

/* ===== Footer ===== */
.footer {
  background: linear-gradient(180deg, var(--dark2) 0%, var(--dark) 100%);
  border-top: 1px solid rgba(212,168,67,0.08);
  padding: 4rem 0 0;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}
.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand { text-align: center; }
.footer-logo-icon {
  margin: 0 auto 1rem;
  max-width: 120px;
}
.footer-logo-icon img {
  width: 100%; height: auto;
  display: block;
}
.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.footer-brand h3 span { color: var(--gold); }
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}
.footer-links { text-align: center; }
.footer-links h4 {
  color: var(--gold-light);
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  position: relative;
  display: inline-block;
}
.footer-links h4::after {
  content: '';
  display: block;
  width: 30px; height: 2px;
  background: var(--gold);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--transition);
  font-size: 0.9rem;
  position: relative;
  padding-right: 0;
}
.footer-links a::before {
  content: '•';
  color: var(--gold);
  margin-left: 0.5rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.footer-links a:hover {
  color: var(--gold);
  padding-right: 5px;
}
.footer-links a:hover::before { opacity: 1; }
.footer-tagline {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.quote-mark {
  font-size: 4rem;
  line-height: 0.5;
  color: var(--gold);
  opacity: 0.3;
  font-family: serif;
  margin-bottom: 0.5rem;
}
.footer-tagline p {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 300px;
}
.footer-divider {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,67,0.2), transparent);
}
.footer-bottom {
  padding: 1.5rem 0;
  display: flex; justify-content: space-between;
  color: var(--text-dark);
  font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-title { font-size: 3.5rem; }
  .title-line.accent { font-size: 4rem; }
  .profile-frame { width: 170px; height: 170px; }
  .slide-label { font-size: 5rem; bottom: 110px; right: 25px; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .image-frame { max-width: 350px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .container { padding: 0 1.2rem; }

  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; top: 0; right: -100%;
    width: 75%; height: 100vh;
    background: rgba(10,10,15,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: right 0.5s ease;
    border-left: 1px solid rgba(212,168,67,0.1);
  }
  .nav-menu.open { right: 0; }
  .nav-menu a { font-size: 1.3rem; }

  .hero-title { font-size: 2.5rem; }
  .title-line.accent { font-size: 3rem; }
  .hero-desc { font-size: 1rem; }
  .hero-stats { gap: 1.5rem; }
  .stat-num { font-size: 1.8rem; }
  .profile-frame { width: 150px; height: 150px; }
  .slide-label { font-size: 2.8rem; bottom: 85px; right: 15px; }
  .slider-arrow { width: 38px; height: 38px; }
  .slider-arrow svg { width: 16px; height: 16px; }
  .slider-arrow.prev { right: 8px; }
  .slider-arrow.next { left: 8px; }
  .slider-dots { bottom: 60px; gap: 0.5rem; }
  .slider-dot { width: 8px; height: 8px; }

  .section-title { font-size: 1.8rem; }
  .section-header { margin-bottom: 2.5rem; }

  .about-text h3 { font-size: 1.5rem; }
  .about-text p { font-size: 0.95rem; }
  .about-info { grid-template-columns: 1fr; gap: 0.5rem; }

  .services-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .service-card { padding: 1.8rem 1.2rem; }

  .portfolio-filters { gap: 0.5rem; }
  .filter-btn { padding: 0.5rem 1rem; font-size: 0.8rem; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 1rem; }

  .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .client-item { padding: 1.2rem 1rem; }
  .client-item span { font-size: 0.85rem; }

  .courses-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }

  .contact-grid { gap: 2rem; }
  .contact-info h3 { font-size: 1.4rem; }
  .form-group input, .form-group textarea { padding: 0.8rem 1rem; font-size: 0.9rem; }

  .footer { padding: 3rem 0 0; }
  .footer-content { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; font-size: 0.8rem; }
}

@media (max-width: 480px) {
  .section { padding: 3rem 0; }
  .container { padding: 0 1rem; }

  .hero-title { font-size: 2rem; }
  .title-line.accent { font-size: 2.5rem; }
  .profile-frame { width: 130px; height: 130px; }
  .slide-label { font-size: 2rem; bottom: 75px; right: 12px; }
  .slider-arrow { width: 32px; height: 32px; }
  .slider-arrow svg { width: 14px; height: 14px; }
  .slider-arrow.prev { right: 5px; }
  .slider-arrow.next { left: 5px; }
  .slider-dots { bottom: 50px; }
  .hero-actions { flex-direction: column; }
  .hero-stats { gap: 1rem; }
  .stat-num { font-size: 1.5rem; }

  .btn { width: 100%; text-align: center; padding: 0.8rem 1.5rem; font-size: 0.9rem; }

  .section-title { font-size: 1.5rem; }
  .section-subtitle { font-size: 0.75rem; }

  .about-text h3 { font-size: 1.3rem; }
  .about-text p { font-size: 0.9rem; }

  .service-card { padding: 1.5rem 1rem; }
  .service-card h3 { font-size: 1.1rem; }

  .filter-btn { padding: 0.4rem 0.8rem; font-size: 0.75rem; }
  .portfolio-info { padding: 0.8rem 1rem; }
  .portfolio-info h3 { font-size: 0.9rem; }

  .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .client-item { padding: 1rem 0.8rem; }
  .client-item span { font-size: 0.8rem; }

  .courses-grid { grid-template-columns: 1fr; gap: 1rem; }

  .contact-grid { gap: 1.5rem; }
  .social-link { width: 38px; height: 38px; }
  .social-link svg { width: 17px; height: 17px; }

  .footer { padding: 2rem 0 0; }
  .footer-brand h3 { font-size: 1.4rem; }
  .footer-tagline p { font-size: 0.85rem; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 1.6rem; }
  .title-line.accent { font-size: 2rem; }
  .profile-frame { width: 110px; height: 110px; }
  .slide-label { font-size: 1.5rem; bottom: 65px; }
  .slider-arrow { width: 28px; height: 28px; }
  .slider-arrow svg { width: 12px; height: 12px; }
  .slider-dots { bottom: 42px; gap: 0.4rem; }
  .slider-dot { width: 6px; height: 6px; }

  .stat-num { font-size: 1.3rem; }
  .stat-label { font-size: 0.7rem; }

  .section-title { font-size: 1.3rem; }

  .about-text p { font-size: 0.85rem; line-height: 1.6; }
  .about-info { margin-top: 1rem; }

  .clients-grid { gap: 0.6rem; }
  .client-item { padding: 0.8rem 0.5rem; }
  .client-item span { font-size: 0.75rem; }
}

/* ===== Animations ===== */
/* ===== LTR Language Overrides ===== */
html[dir="ltr"] .scroll-indicator { right: auto; left: 40px; }
html[dir="ltr"] .slide-label { right: auto; left: 40px; text-align: left; }
html[dir="ltr"] .slider-arrow.prev { right: auto; left: 20px; }
html[dir="ltr"] .slider-arrow.next { left: auto; right: 20px; }
html[dir="ltr"] .slider-arrow svg { transform: scaleX(-1); }
html[dir="ltr"] .nav-menu { right: auto; left: -100%; border-left: none; border-right: 1px solid rgba(212,168,67,0.1); }
html[dir="ltr"] .nav-menu.open { left: 0; }
html[dir="ltr"] .about-info .info-label { margin-left: 0; margin-right: 0.5rem; }

@media (max-width: 1024px) {
  html[dir="ltr"] .slide-label { right: auto; left: 30px; }
  html[dir="ltr"] .scroll-indicator { right: auto; left: 30px; }
}

@media (max-width: 768px) {
  html[dir="ltr"] .slide-label { right: auto; left: 15px; }
  html[dir="ltr"] .scroll-indicator { right: auto; left: 15px; }
  html[dir="ltr"] .slider-arrow.prev { right: auto; left: 8px; }
  html[dir="ltr"] .slider-arrow.next { left: auto; right: 8px; }
}

@media (max-width: 480px) {
  html[dir="ltr"] .slide-label { right: auto; left: 12px; }
  html[dir="ltr"] .slider-arrow.prev { right: auto; left: 5px; }
  html[dir="ltr"] .slider-arrow.next { left: auto; right: 5px; }
}

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
