/* ========================================
   Root Variables & Reset
   ======================================== */
:root {
  --bg-primary: #0a0a1a;
  --bg-secondary: #0d0d24;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --border-glass: rgba(255, 255, 255, 0.08);
  --text-primary: #f0f0ff;
  --text-secondary: #b0b0cc;
  --text-muted: #7a7a9a;
  --gradient-1: linear-gradient(135deg, #6366f1, #8b5cf6);
  --gradient-2: linear-gradient(135deg, #8b5cf6, #a78bfa);
  --gradient-3: linear-gradient(135deg, #6366f1, #3b82f6);
  --accent-blue: #6366f1;
  --accent-purple: #a78bfa;
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebe60;
  --form-color: #8b5cf6;
  --shadow-sm: 0 2px 8px rgba(99, 102, 241, 0.15);
  --shadow-md: 0 8px 30px rgba(99, 102, 241, 0.2);
  --shadow-lg: 0 20px 60px rgba(99, 102, 241, 0.25);
  --font: 'Cairo', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
}

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

ul {
  list-style: none;
}

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

::selection {
  background: var(--accent-purple);
  color: #fff;
}

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

/* ========================================
   Loading Screen
   ======================================== */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader {
  text-align: center;
}

.loader-circle {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border: 4px solid rgba(139, 92, 246, 0.15);
  border-top-color: var(--accent-purple);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  letter-spacing: 1px;
}

/* ========================================
   Scroll to Top
   ======================================== */
#scroll-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-2);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

#scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
}

/* ========================================
   Navbar
   ======================================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-purple);
  transition: var(--transition);
}

.logo-img:hover {
  transform: scale(1.05);
  border-color: var(--accent-blue);
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--gradient-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
  overflow: hidden;
}

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

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--gradient-2);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 3px;
  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;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: var(--accent-blue);
  top: -10%;
  right: -10%;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-purple);
  bottom: -10%;
  left: -10%;
  animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: #3b82f6;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 12s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
}

.gradient-text {
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: var(--text-secondary);
  margin-bottom: 35px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--gradient-2);
  color: #fff;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--accent-purple);
}

.btn-secondary:hover {
  background: rgba(139, 92, 246, 0.1);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-glass);
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 50px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-weight: 500;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  position: relative;
}

.badge-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #22c55e;
  opacity: 0.3;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
}

.hero-stat {
  text-align: center;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  min-width: 100px;
  transition: var(--transition);
}

.hero-stat:hover {
  transform: translateY(-4px);
  border-color: var(--accent-purple);
}

.hero-stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* Hero Image Wrapper */
.hero-image-wrapper {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.2), transparent 70%);
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
}

.hero-image-content {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 3px solid var(--border-glass);
  backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.15);
}

.hero-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.5s ease;
}

.hero-image-wrapper:hover .hero-avatar-img {
  transform: scale(1.08);
}

/* Hero Floating Cards */
.hero-floating-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  animation: float-card 6s ease-in-out infinite;
}

.float-card i {
  font-size: 1rem;
  color: var(--accent-purple);
}

.float-card-1 {
  top: 10%;
  right: -20%;
  animation-delay: 0s;
}

.float-card-2 {
  bottom: 15%;
  left: -25%;
  animation-delay: 2s;
}

.float-card-3 {
  top: 50%;
  right: -30%;
  animation-delay: 4s;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* ========================================
   Wave Divider
   ======================================== */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* ========================================
   Section Shared Styles
   ======================================== */
section {
  background: var(--bg-secondary);
  position: relative;
}

#hero {
  background: var(--bg-primary);
}

#about,
#why-me,
#process,
#faq {
  background: var(--bg-secondary);
}

#services,
#testimonials,
#contact {
  background: var(--bg-primary);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.divider {
  width: 60px;
  height: 4px;
  background: var(--gradient-2);
  border-radius: 4px;
  margin: 0 auto;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-top: 16px;
}

/* ========================================
   About Section
   ======================================== */
#about {
  padding: 100px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: center;
}

.about-img {
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-glass);
  margin: 0 auto;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 18px;
  font-size: 1.05rem;
  line-height: 1.9;
}

.about-text strong {
  color: var(--accent-purple);
}

.about-badge {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 50px;
  background: var(--gradient-2);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.about-text h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.about-img-wrapper {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.15), transparent 70%);
  animation: glow-pulse 3s ease-in-out infinite;
}

.about-img-icon {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 2px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
}

.about-img-icon i {
  font-size: 4rem;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.about-cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.about-cert-badges span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.about-cert-badges span i {
  color: #22c55e;
  font-size: 0.75rem;
}

/* ========================================
   Services Section
   ======================================== */
#services {
  padding: 100px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.service-card {
  padding: 40px 35px;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 20px;
}

.service-card {
  position: relative;
  overflow: visible;
}

.service-card-badge {
  position: absolute;
  top: -10px;
  left: 30px;
  padding: 4px 16px;
  border-radius: 50px;
  background: var(--gradient-2);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
  line-height: 1.7;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.service-list li i {
  color: var(--accent-purple);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.service-card .btn {
  margin-top: 20px;
}

/* ========================================
   Why Choose Me
   ======================================== */
#why-me {
  padding: 100px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  padding: 30px 25px;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  text-align: center;
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: var(--shadow-sm);
}

.why-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
}

.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ========================================
   Work Process
   ======================================== */
#process {
  padding: 100px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-step {
  text-align: center;
  padding: 35px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  position: relative;
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: var(--shadow-sm);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  margin: 0 auto 16px;
}

.step-icon {
  font-size: 1.8rem;
  color: var(--accent-purple);
  margin-bottom: 14px;
}

.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.process-step p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* ========================================
   Testimonials
   ======================================== */
#testimonials {
  padding: 100px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 30px 25px;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 0.85rem;
  margin-bottom: 14px;
  display: flex;
  gap: 3px;
}

.testimonial-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

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

.testimonial-author img,
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-purple);
  flex-shrink: 0;
}

.testimonial-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  border-color: transparent;
}

.testimonial-author h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========================================
   FAQ
   ======================================== */
#faq {
  padding: 100px 0;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(139, 92, 246, 0.2);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  user-select: none;
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--accent-purple);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 22px 18px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ========================================
   Contact Section
   ======================================== */
#contact {
  padding: 100px 0;
}

.contact-buttons {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 48px;
  border-radius: var(--radius-md);
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.contact-btn i {
  font-size: 1.6rem;
}

.contact-whatsapp {
  background: var(--whatsapp);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.contact-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
}

.contact-form {
  background: var(--gradient-2);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
}

.contact-form:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
}

/* ========================================
   Footer
   ======================================== */
footer {
  background: var(--bg-primary);
  padding: 40px 0;
  border-top: 1px solid var(--border-glass);
}

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

.footer-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--gradient-1);
  color: #fff;
  transform: translateY(-3px);
  border-color: transparent;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--gradient-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
}

.footer-brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

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

.footer-made i {
  color: #ef4444;
  display: inline-block;
  animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* ========================================
   Fade-in Animation (Intersection Observer)
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in.visible:nth-child(2) { transition-delay: 0.1s; }
.fade-in.visible:nth-child(3) { transition-delay: 0.2s; }
.fade-in.visible:nth-child(4) { transition-delay: 0.3s; }
.fade-in.visible:nth-child(5) { transition-delay: 0.4s; }
.fade-in.visible:nth-child(6) { transition-delay: 0.5s; }

.fade-in[style*="--card-delay"] {
  transition-delay: var(--card-delay, 0s);
}

/* ========================================
   Course Sections (الدورة الحضورية & دورة الويب)
   ======================================== */
.course-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

#course-web {
  background: var(--bg-primary);
}

.section-badge {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 50px;
  background: var(--gradient-2);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

/* Instructor Card */
.instructor-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 35px;
  border-radius: var(--radius-lg);
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.instructor-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.instructor-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gradient-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  flex-shrink: 0;
}

.instructor-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.instructor-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.course-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  min-width: 90px;
}

.stat-number {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
}

.stat-number i {
  -webkit-text-fill-color: initial;
  color: var(--accent-purple);
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* Curriculum */
.curriculum {
  margin-bottom: 50px;
}

.curriculum-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 30px;
  text-align: center;
}

.module-card {
  margin-bottom: 10px;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  transition: var(--transition);
}

.module-card:hover {
  border-color: rgba(139, 92, 246, 0.25);
}

.module-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
}

.module-header:hover {
  background: rgba(255, 255, 255, 0.03);
}

.module-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.module-name {
  flex: 1;
  font-weight: 600;
  font-size: 0.98rem;
}

.module-header i {
  color: var(--accent-purple);
  font-size: 0.8rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.module-card.active .module-header i {
  transform: rotate(180deg);
}

.module-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.module-card.active .module-body {
  max-height: 400px;
  padding: 0 22px 18px;
}

.module-body ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 20px;
}

.module-body li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 6px 0;
}

.module-body li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--accent-purple);
  font-size: 0.75rem;
}

/* Course Benefits */
.course-benefits {
  margin-bottom: 50px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 700px;
  margin: 0 auto;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  transition: var(--transition);
}

.benefit-item:hover {
  border-color: rgba(139, 92, 246, 0.25);
  transform: translateX(-5px);
}

.benefit-item i {
  color: var(--accent-purple);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.benefit-item span {
  font-size: 0.95rem;
  font-weight: 500;
}

/* Final Goal */
.course-goal {
  padding: 40px 35px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.course-goal h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.course-goal h3 i {
  color: var(--accent-purple);
  font-size: 1.3rem;
}

.course-goal > p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: 1rem;
}

.goal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 750px;
  margin: 0 auto 30px;
  text-align: right;
}

.goal-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
}

.goal-item:hover {
  border-color: rgba(139, 92, 246, 0.25);
  transform: translateY(-3px);
}

.goal-item i {
  color: var(--accent-purple);
  font-size: 1rem;
  flex-shrink: 0;
}

.goal-cta {
  margin-top: 10px;
}

/* ========================================
   Video Testimonials (فيديوهات آراء الطلاب)
   ======================================== */
#video-testimonials {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.video-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

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

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
}

.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-info {
  padding: 18px 20px;
}

.video-info h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.video-info p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  font-style: italic;
}

.add-video-cta {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-style: dashed;
}

.add-video-cta p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 16px;
}

/* ========================================
   Glassmorphism Utility
   ======================================== */
.glass {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
}

/* ========================================
   Responsive - Tablet
   ======================================== */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-img {
    max-width: 300px;
  }

  .hero-image-wrapper {
    width: 320px;
    height: 320px;
  }

  .hero-image-content {
    width: 240px;
    height: 240px;
  }

  .float-card {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .float-card-1 {
    top: 5%;
    right: -10%;
  }

  .float-card-2 {
    bottom: 10%;
    left: -15%;
  }

  .float-card-3 {
    top: 45%;
    right: -15%;
  }

  .hero-stats {
    justify-content: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .about-img {
    max-width: 300px;
  }

  .about-img-wrapper {
    width: 200px;
    height: 200px;
  }

  .about-img-icon {
    width: 130px;
    height: 130px;
  }

  .about-img-icon i {
    font-size: 2.5rem;
  }

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

  .about-img-wrapper {
    width: 240px;
    height: 240px;
  }

  .about-img-icon {
    width: 150px;
    height: 150px;
  }

  .about-img-icon i {
    font-size: 3rem;
  }

  .about-cert-badges {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }

  .instructor-card {
    flex-direction: column;
    text-align: center;
  }

  .instructor-info {
    flex-direction: column;
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   Responsive - Mobile
   ======================================== */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 40px;
    transition: right 0.35s ease;
    border-left: 1px solid var(--border-glass);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-link {
    font-size: 1.05rem;
    padding: 12px 16px;
    width: 100%;
    text-align: center;
  }

  .nav-link::after {
    display: none;
  }

  #hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-image-wrapper {
    width: 260px;
    height: 260px;
  }

  .hero-image-content {
    width: 200px;
    height: 200px;
  }

  .float-card {
    font-size: 0.7rem;
    padding: 5px 12px;
  }

  .float-card-1 {
    top: 0;
    right: -5%;
  }

  .float-card-2 {
    bottom: 5%;
    left: -10%;
  }

  .float-card-3 {
    display: none;
  }

  .hero-stats {
    gap: 16px;
  }

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

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .why-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }

  .process-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
  }

  .contact-btn {
    width: 100%;
    max-width: 350px;
    justify-content: center;
    padding: 18px 30px;
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  section {
    padding: 60px 0;
  }

  #about,
  #services,
  #why-me,
  #process,
  #testimonials,
  #faq,
  #contact,
  #course-inperson,
  #course-web,
  #video-testimonials {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .wave-divider svg {
    height: 35px;
  }

  .course-stats {
    justify-content: center;
  }

  .module-body ul {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .goal-grid {
    grid-template-columns: 1fr;
  }

  .video-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto 40px;
  }

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

  .course-goal {
    padding: 30px 20px;
  }

  .instructor-card {
    padding: 20px;
  }

  .stat-item {
    min-width: 70px;
    padding: 10px 14px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 1.4rem;
  }

  .service-card {
    padding: 28px 22px;
  }

  .testimonial-card {
    padding: 22px 18px;
  }
}
