/* ============================================
   خطوات مهنية - Main Stylesheet
   RTL Arabic Professional Design
   ============================================ */

@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: #1a3a6b;
  --primary-dark: #0f2447;
  --primary-light: #2a5298;
  --accent: #f47920;
  --accent-light: #ff9a45;
  --accent-dark: #d4631a;
  --white: #ffffff;
  --light-gray: #f5f7fa;
  --gray: #e8ecf0;
  --text-dark: #1a2332;
  --text-medium: #4a5568;
  --text-light: #718096;
  --border: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(26,58,107,0.08);
  --shadow-md: 0 8px 24px rgba(26,58,107,0.12);
  --shadow-lg: 0 20px 60px rgba(26,58,107,0.18);
  --shadow-accent: 0 8px 24px rgba(244,121,32,0.3);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Cairo', 'Tajawal', sans-serif;
}

/* Dark Mode */
[data-theme="dark"] {
  --white: #0f1923;
  --light-gray: #1a2332;
  --gray: #243447;
  --text-dark: #f0f4f8;
  --text-medium: #a0aec0;
  --text-light: #718096;
  --border: #2d3f55;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
}

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

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

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

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--light-gray); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  padding: 0;
}

[data-theme="dark"] .navbar {
  background: rgba(15,25,35,0.95);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-brand img {
  height: 52px;
  width: auto;
}

.navbar-nav .nav-link {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark) !important;
  padding: 0.6rem 1rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent) !important;
  background: rgba(244,121,32,0.08);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  left: 50%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  right: 10px;
  left: 10px;
}

.btn-nav-login {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary) !important;
  padding: 0.45rem 1.2rem !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  transition: var(--transition) !important;
}

.btn-nav-login:hover {
  background: var(--primary) !important;
  color: white !important;
}

.btn-nav-register {
  background: var(--accent) !important;
  border: 2px solid var(--accent) !important;
  color: white !important;
  padding: 0.45rem 1.2rem !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  transition: var(--transition) !important;
}

.btn-nav-register:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent) !important;
}

/* ============ HERO SECTION ============ */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(244,121,32,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 40%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-floating-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: floatShape 8s ease-in-out infinite;
}

.shape-1 {
  width: 300px; height: 300px;
  background: var(--accent);
  top: -100px; left: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px; height: 200px;
  background: white;
  bottom: -50px; right: 10%;
  animation-delay: 2s;
}

.shape-3 {
  width: 150px; height: 150px;
  background: var(--accent-light);
  top: 30%; right: 5%;
  animation-delay: 4s;
}

@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(10deg); }
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244,121,32,0.2);
  border: 1px solid rgba(244,121,32,0.4);
  color: var(--accent-light);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.6s ease forwards;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: white;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  animation: fadeInDown 0.8s ease forwards;
}

.hero-title span {
  color: var(--accent);
  position: relative;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 500px;
  animation: fadeInDown 1s ease forwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 1.2s ease forwards;
}

.btn-hero-primary {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-primary:hover {
  background: var(--accent-dark);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(244,121,32,0.45);
}

.btn-hero-secondary {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.2);
  color: white;
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  animation: fadeInUp 1.4s ease forwards;
}

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

.hero-stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  display: block;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}

.hero-image-wrap {
  position: relative;
  animation: fadeInLeft 1s ease forwards;
}

.hero-card-float {
  background: white;
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  position: absolute;
  animation: floatCard 4s ease-in-out infinite;
}

.hero-card-float.card-1 {
  bottom: 20%;
  right: -20px;
  animation-delay: 0s;
}

.hero-card-float.card-2 {
  top: 15%;
  left: -30px;
  animation-delay: 2s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.hero-card-icon.orange { background: rgba(244,121,32,0.15); color: var(--accent); }
.hero-card-icon.blue { background: rgba(26,58,107,0.1); color: var(--primary); }

.hero-card-text { font-size: 0.8rem; color: var(--text-medium); font-weight: 600; }
.hero-card-val { font-size: 1rem; color: var(--text-dark); font-weight: 800; }

/* ============ SECTIONS ============ */
section { padding: 90px 0; }

.section-header { text-align: center; margin-bottom: 3.5rem; }

.section-badge {
  display: inline-block;
  background: rgba(244,121,32,0.1);
  color: var(--accent);
  border: 1px solid rgba(244,121,32,0.25);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 1rem;
}

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

.section-subtitle {
  font-size: 1rem;
  color: var(--text-medium);
  max-width: 550px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  margin: 1rem auto 0;
}

/* ============ CARDS ============ */
.card-pro {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.card-pro:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* ============ SERVICES SECTION ============ */
.services-section {
  background: var(--light-gray);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  transform: scaleY(0);
  transform-origin: top;
  transition: var(--transition);
}

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

.service-card:hover::before { transform: scaleY(1); }

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  margin-bottom: 1.4rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  transform: scale(1.05);
}

.service-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.7rem;
}

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

.service-price {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1.2rem;
}

.service-price strong {
  color: var(--accent);
  font-size: 1.1rem;
}

/* ============ COURSES ============ */
.course-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}

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

.course-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.course-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.course-card:hover .course-thumb-img { transform: scale(1.08); }

.course-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.5));
}

.course-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: white;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

.course-body { padding: 1.4rem; }

.course-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.course-meta-item { display: flex; align-items: center; gap: 4px; }

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

.course-price {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--primary);
}

.course-price small {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 400;
  margin-right: 3px;
}

/* ============ STATISTICS ============ */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(244,121,32,0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(255,255,255,0.05) 0%, transparent 40%);
}

.stat-box {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
  z-index: 1;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
}

/* ============ WHY US ============ */
.why-us-section { background: var(--white); }

.why-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  margin-bottom: 1rem;
}

.why-card:hover {
  background: var(--light-gray);
}

.why-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.why-icon.orange { background: rgba(244,121,32,0.12); color: var(--accent); }
.why-icon.blue { background: rgba(26,58,107,0.1); color: var(--primary); }
.why-icon.green { background: rgba(72,187,120,0.12); color: #38a169; }

.why-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.why-desc {
  font-size: 0.88rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* ============ TESTIMONIALS ============ */
.testimonials-section { background: var(--light-gray); }

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.15;
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: serif;
  line-height: 1;
}

.testimonial-stars { color: #f59e0b; margin-bottom: 1rem; font-size: 0.9rem; }

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

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
}

.testimonial-name { font-weight: 700; color: var(--text-dark); font-size: 0.95rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-light); }

/* ============ BLOG ============ */
.blog-section { background: var(--white); }

.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}

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

.blog-thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  position: relative;
  overflow: hidden;
}

.blog-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  opacity: 0.3;
}

.blog-category {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--accent);
  color: white;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

.blog-body { padding: 1.5rem; }

.blog-date { font-size: 0.8rem; color: var(--text-light); margin-bottom: 0.5rem; }

.blog-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.7rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-excerpt {
  font-size: 0.88rem;
  color: var(--text-medium);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============ NEWSLETTER ============ */
.newsletter-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(244,121,32,0.15) 0%, transparent 50%);
}

.newsletter-title {
  font-size: 2rem;
  font-weight: 900;
  color: white;
  margin-bottom: 0.8rem;
}

.newsletter-sub { color: rgba(255,255,255,0.75); margin-bottom: 0; }

.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }

.newsletter-input {
  flex: 1;
  min-width: 250px;
  padding: 0.85rem 1.4rem;
  border-radius: 50px;
  border: none;
  font-family: var(--font-main);
  font-size: 0.95rem;
  background: rgba(255,255,255,0.15);
  color: white;
  backdrop-filter: blur(10px);
}

.newsletter-input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-input:focus { outline: 2px solid rgba(255,255,255,0.4); }

/* ============ FOOTER ============ */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}

.footer-logo img { height: 50px; margin-bottom: 1rem; }

.footer-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-socials { display: flex; gap: 10px; }

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
}

.social-btn:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 1rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.4rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover { color: var(--accent); padding-right: 5px; }

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

.footer-contact-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background: rgba(244,121,32,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.85rem;
}

.footer-contact-text { font-size: 0.88rem; color: rgba(255,255,255,0.6); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.4rem 0;
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ============ BUTTONS ============ */
.btn-primary-pro {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-pro:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent-pro {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-accent-pro:hover {
  background: var(--accent-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn-outline-pro {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-pro:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  animation: pulse-whatsapp 2s infinite;
  transition: var(--transition);
}

.whatsapp-float:hover {
  color: white;
  transform: scale(1.1);
  background: #1da851;
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 6px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 30px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.1); }
  100% { box-shadow: 0 6px 20px rgba(37,211,102,0.4); }
}

/* ============ DARK MODE TOGGLE ============ */
.dark-mode-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.dark-mode-btn:hover { background: var(--light-gray); color: var(--accent); }

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

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

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ============ WORKSHOP SECTION ============ */
.workshop-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.workshop-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 1.5rem;
  color: white;
}

.workshop-date-badge {
  background: rgba(255,255,255,0.15);
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
}

.countdown-timer {
  display: flex;
  gap: 10px;
  margin: 1rem 0;
}

.countdown-unit {
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
  min-width: 56px;
}

.countdown-number {
  display: block;
  font-size: 1.4rem;
  font-weight: 900;
}

.countdown-label {
  display: block;
  font-size: 0.65rem;
  opacity: 0.75;
}

/* ============ PAGE HERO ============ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 130px 0 70px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: white;
  margin-bottom: 0.5rem;
}

.breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-item { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.breadcrumb-item a { color: rgba(255,255,255,0.6); text-decoration: none; }
.breadcrumb-item a:hover { color: var(--accent); }
.breadcrumb-item.active { color: var(--accent); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ============ SEARCH & FILTERS ============ */
.search-filters {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.search-input-wrap {
  position: relative;
}

.search-input-wrap i {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.search-input {
  width: 100%;
  padding: 0.8rem 2.8rem 0.8rem 1.2rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.95rem;
  background: var(--light-gray);
  color: var(--text-dark);
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}

.filter-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--text-medium);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

/* ============ AUTH PAGES ============ */
.auth-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex;
  align-items: center;
  padding: 30px 0;
  position: relative;
}

.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.auth-logo { text-align: center; margin-bottom: 2rem; }
.auth-logo img { height: 65px; }

.auth-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 0.4rem;
}

.auth-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.form-label-pro {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-control-pro {
  width: 100%;
  padding: 0.8rem 1.2rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.95rem;
  background: var(--light-gray);
  color: var(--text-dark);
  transition: var(--transition);
}

.form-control-pro:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(26,58,107,0.08);
}

/* ============ DASHBOARD ============ */
.dashboard-wrap {
  min-height: 100vh;
  background: var(--light-gray);
  padding-top: 80px;
}

.dashboard-sidebar {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border);
  position: sticky;
  top: 100px;
}

.dash-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-medium);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  margin-bottom: 4px;
}

.dash-menu-item:hover,
.dash-menu-item.active {
  background: var(--light-gray);
  color: var(--primary);
}

.dash-menu-item.active {
  background: rgba(26,58,107,0.08);
  color: var(--primary);
}

.dash-menu-item i { width: 20px; text-align: center; }

.dash-stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dash-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.dash-stat-icon.blue { background: rgba(26,58,107,0.1); color: var(--primary); }
.dash-stat-icon.orange { background: rgba(244,121,32,0.12); color: var(--accent); }
.dash-stat-icon.green { background: rgba(72,187,120,0.12); color: #38a169; }
.dash-stat-icon.purple { background: rgba(128,90,213,0.12); color: #7c3aed; }

.dash-stat-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.dash-stat-label {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ============ CONTACT ============ */
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border);
  height: 100%;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* ============ ADMIN ============ */
.admin-wrap {
  min-height: 100vh;
  background: var(--light-gray);
  display: flex;
}

.admin-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--primary-dark);
  min-height: 100vh;
  padding: 0;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  overflow-y: auto;
}

.admin-sidebar-logo {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1rem;
}

.admin-sidebar-logo img { height: 45px; }

.admin-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.75rem 1.5rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  border-right: 3px solid transparent;
}

.admin-menu-item:hover,
.admin-menu-item.active {
  background: rgba(255,255,255,0.08);
  color: white;
  border-right-color: var(--accent);
}

.admin-menu-item i { width: 20px; text-align: center; }

.admin-section-label {
  padding: 0.5rem 1.5rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-top: 1rem;
}

.admin-content {
  margin-right: 260px;
  flex: 1;
  padding: 2rem;
}

.admin-topbar {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th {
  background: var(--light-gray);
  padding: 0.9rem 1rem;
  text-align: right;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-medium);
}

.admin-table tr:hover td { background: var(--light-gray); }

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

.status-badge.active { background: rgba(72,187,120,0.12); color: #38a169; }
.status-badge.pending { background: rgba(236,153,5,0.12); color: #d69e2e; }
.status-badge.inactive { background: rgba(245,101,101,0.12); color: #e53e3e; }

/* ============ UTILS ============ */
.bg-primary-pro { background: var(--primary); }
.bg-accent-pro { background: var(--accent); }
.text-accent { color: var(--accent) !important; }
.text-primary-pro { color: var(--primary) !important; }

.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
  .hero-section { text-align: center; }
  .hero-subtitle { margin: 0 auto 2rem; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image-wrap { display: none; }
  .admin-sidebar { width: 220px; }
  .admin-content { margin-right: 220px; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .admin-sidebar { transform: translateX(260px); transition: var(--transition); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-content { margin-right: 0; }
  .hero-stats { gap: 1.5rem; }
  .hero-stat-number { font-size: 1.6rem; }
  .whatsapp-float { bottom: 20px; left: 20px; width: 50px; height: 50px; font-size: 1.2rem; }
}

@media (max-width: 576px) {
  .newsletter-form { flex-direction: column; }
  .newsletter-input { min-width: unset; }
  .hero-buttons { flex-direction: column; align-items: center; }
}
