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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', sans-serif;
  direction: rtl;
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1628 100%);
  color: #e8eef5;
  line-height: 1.7;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.6);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.8rem;
  border-radius: 12px;
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid transparent;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.2);
  transition: left 0.3s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  border-color: #2563eb;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

.btn-outline {
  background: transparent;
  color: #3b82f6;
  border-color: #3b82f6;
}

.btn-outline:hover {
  background: #3b82f6;
  color: #fff;
  transform: translateY(-3px);
}

.btn-login {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  border-color: #2563eb;
  padding: 0.6rem 1.4rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.btn-white {
  background: #fff;
  color: #2563eb;
  border-color: #fff;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

.btn-full {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

.arrow {
  font-size: 1rem;
  display: inline-block;
  transform: scaleX(-1);
  transition: transform 0.3s ease;
}

.btn:hover .arrow {
  transform: scaleX(-1) translateX(-3px);
}

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 22, 40, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  animation: slideInDown 0.5s ease;
}

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

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  white-space: nowrap;
  animation: slideInLeft 0.6s ease;
}

.logo img {
  height: 40px;
  width: auto;
  animation: float 3s ease-in-out infinite;
}

.logo-icon {
  color: #ff6b35;
  font-size: 1.5rem;
  font-weight: 900;
  animation: rotate 20s linear infinite;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 700;
  color: #cbd5e1;
  transition: all 0.3s ease;
  position: relative;
  animation: fadeInUp 0.6s ease backwards;
}

.nav-links a:nth-child(1) { animation-delay: 0.1s; }
.nav-links a:nth-child(2) { animation-delay: 0.2s; }
.nav-links a:nth-child(3) { animation-delay: 0.3s; }
.nav-links a:nth-child(4) { animation-delay: 0.4s; }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #ff6b35);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #3b82f6;
  transform: translateY(-2px);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInRight 0.6s ease;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(15, 22, 40, 0.98);
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  padding: 0.5rem 1.5rem 1rem;
  backdrop-filter: blur(10px);
}

.mobile-menu a {
  padding: 0.85rem 0;
  font-size: 1rem;
  font-weight: 700;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  transition: all 0.2s ease;
}

.mobile-menu a:hover {
  color: #3b82f6;
  padding-right: 10px;
}

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

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1628 100%);
  position: relative;
  padding: 6rem 0 5rem;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease;
}

.hero-text p {
  font-size: 1.15rem;
  color: #94a3b8;
  margin-bottom: 2.5rem;
  max-width: 500px;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

/* Stats Cards */
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.stat-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(255, 107, 53, 0.05) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  animation: slideInRight 0.8s ease backwards;
}

.stat-card:nth-child(1) { animation-delay: 0.3s; }
.stat-card:nth-child(2) { animation-delay: 0.4s; }
.stat-card:nth-child(3) { animation-delay: 0.5s; }

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.2);
}

.stat-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
  animation: float 3s ease-in-out infinite;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
}

.stat-label {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* ===== Section Header ===== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 650px;
  margin: 0 auto;
}

/* ===== Services ===== */
.services {
  padding: 6rem 0;
  background: linear-gradient(180deg, rgba(15, 22, 40, 0.8) 0%, rgba(26, 31, 58, 0.8) 100%);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.service-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(255, 107, 53, 0.03) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: fadeInUp 0.8s ease backwards;
}

.service-card:nth-child(1) { animation-delay: 0.2s; }
.service-card:nth-child(2) { animation-delay: 0.3s; }
.service-card:nth-child(3) { animation-delay: 0.4s; }

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.2);
}

.service-icon {
  font-size: 3rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(255, 107, 53, 0.1) 100%);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  animation: float 3s ease-in-out infinite;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

.service-card p {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.8;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: #cbd5e1;
  transition: all 0.2s ease;
}

.feature-list li:hover {
  color: #3b82f6;
  padding-left: 5px;
}

.check {
  color: #3b82f6;
  font-weight: 900;
  font-size: 1.1rem;
}

/* ===== Courses Section ===== */
.courses-section {
  padding: 6rem 0;
}

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

.course-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(255, 107, 53, 0.03) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  animation: scaleIn 0.6s ease backwards;
  backdrop-filter: blur(10px);
}

.course-card:nth-child(1) { animation-delay: 0.1s; }
.course-card:nth-child(2) { animation-delay: 0.2s; }
.course-card:nth-child(3) { animation-delay: 0.3s; }
.course-card:nth-child(4) { animation-delay: 0.4s; }
.course-card:nth-child(5) { animation-delay: 0.5s; }
.course-card:nth-child(6) { animation-delay: 0.6s; }

.course-card:hover {
  transform: translateY(-10px);
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.3);
}

.course-thumb {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(255, 107, 53, 0.1) 100%);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  position: relative;
  overflow: hidden;
}

.course-thumb::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  animation: shimmer 3s infinite;
}

.course-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1rem;
}

.course-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(255, 107, 53, 0.1) 100%);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
  width: fit-content;
}

.course-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.course-body p {
  font-size: 0.92rem;
  color: #94a3b8;
  flex: 1;
  line-height: 1.7;
}

.course-meta {
  display: flex;
  gap: 1.2rem;
  font-size: 0.85rem;
  color: #64748b;
}

.course-price {
  font-size: 1.4rem;
  font-weight: 900;
  background: linear-gradient(135deg, #3b82f6, #ff6b35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Social Media Section ===== */
.social-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(255, 107, 53, 0.05) 100%);
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.social-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(255, 107, 53, 0.03) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.4s ease;
  animation: fadeInUp 0.8s ease backwards;
  backdrop-filter: blur(10px);
}

.social-card:nth-child(1) { animation-delay: 0.1s; }
.social-card:nth-child(2) { animation-delay: 0.2s; }
.social-card:nth-child(3) { animation-delay: 0.3s; }
.social-card:nth-child(4) { animation-delay: 0.4s; }

.social-card:hover {
  transform: translateY(-10px);
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.2);
}

.social-icon {
  font-size: 3.5rem;
  animation: float 3s ease-in-out infinite;
}

.social-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.social-card p {
  font-size: 0.9rem;
  color: #94a3b8;
  flex: 1;
}

/* ===== News Section ===== */
.news-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, rgba(15, 22, 40, 0.8) 0%, rgba(26, 31, 58, 0.8) 100%);
}

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

.news-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(255, 107, 53, 0.03) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  animation: fadeInUp 0.8s ease backwards;
  backdrop-filter: blur(10px);
}

.news-card:nth-child(1) { animation-delay: 0.1s; }
.news-card:nth-child(2) { animation-delay: 0.2s; }
.news-card:nth-child(3) { animation-delay: 0.3s; }

.news-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.2);
}

.news-image {
  height: 200px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(255, 107, 53, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.news-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  animation: shimmer 3s infinite;
}

.news-body {
  padding: 1.5rem;
}

.news-date {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.news-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.news-card p {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.news-link {
  color: #3b82f6;
  font-weight: 700;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.news-link:hover {
  color: #ff6b35;
  gap: 0.8rem;
}

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #ff6b35 100%);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

.cta-inner {
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease;
}

.cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.cta-inner p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(180deg, #0a0e27 0%, #050810 100%);
  color: #94a3b8;
  padding: 4rem 0 0;
  border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand .logo {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-brand .logo img {
  height: 35px;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #64748b;
  max-width: 250px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.2rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col ul li,
.footer-col ul li a {
  font-size: 0.9rem;
  color: #64748b;
  transition: all 0.2s ease;
}

.footer-col ul li a:hover {
  color: #3b82f6;
  padding-right: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #475569;
}

/* ===== Page Hero ===== */
.page-hero {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(255, 107, 53, 0.05) 100%);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  padding: 5rem 0 4rem;
  text-align: center;
  animation: fadeInUp 0.8s ease;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: 1.05rem;
  color: #94a3b8;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== Subscriptions ===== */
.subscriptions-section {
  padding: 6rem 0;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.plan-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(255, 107, 53, 0.03) 100%);
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: scaleIn 0.6s ease backwards;
  backdrop-filter: blur(10px);
  position: relative;
}

.plan-card:nth-child(1) { animation-delay: 0.1s; }
.plan-card:nth-child(2) { animation-delay: 0.2s; }
.plan-card:nth-child(3) { animation-delay: 0.3s; }

.plan-card:hover {
  transform: translateY(-10px);
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.2);
}

.plan-card.featured {
  border-color: #3b82f6;
  transform: scale(1.05);
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.3);
}

.plan-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.plan-badge {
  position: absolute;
  top: -16px;
  right: 50%;
  transform: translateX(50%);
  background: linear-gradient(135deg, #3b82f6, #ff6b35);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.plan-price .amount {
  font-size: 2.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #3b82f6, #ff6b35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.plan-price .currency {
  font-size: 1rem;
  color: #94a3b8;
}

.plan-price .period {
  font-size: 0.95rem;
  color: #64748b;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.plan-features .check {
  color: #3b82f6;
}

/* ===== Consultation ===== */
.consultation-section {
  padding: 6rem 0;
}

.consultation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.consultation-info h2 {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease;
}

.consultation-info p {
  color: #94a3b8;
  margin-bottom: 2rem;
  line-height: 1.9;
  animation: fadeInUp 0.8s ease 0.1s backwards;
}

.consult-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.consult-feature {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  animation: slideInLeft 0.8s ease backwards;
}

.consult-feature:nth-child(1) { animation-delay: 0.2s; }
.consult-feature:nth-child(2) { animation-delay: 0.3s; }
.consult-feature:nth-child(3) { animation-delay: 0.4s; }
.consult-feature:nth-child(4) { animation-delay: 0.5s; }

.consult-feature-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(255, 107, 53, 0.1) 100%);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.consult-feature-text h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.3rem;
}

.consult-feature-text p {
  font-size: 0.9rem;
  color: #94a3b8;
  margin: 0;
}

/* Contact Form */
.contact-form-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(255, 107, 53, 0.03) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
  animation: slideInRight 0.8s ease;
}

.contact-form-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border: 1.5px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  color: #fff;
  background: rgba(15, 22, 40, 0.6);
  transition: all 0.3s ease;
  outline: none;
  direction: rtl;
  backdrop-filter: blur(10px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #64748b;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
  background: rgba(15, 22, 40, 0.8);
}

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

/* ===== Broker ===== */
.broker-section {
  padding: 6rem 0;
}

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

.broker-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(255, 107, 53, 0.03) 100%);
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: all 0.4s ease;
  animation: scaleIn 0.6s ease backwards;
  backdrop-filter: blur(10px);
}

.broker-card:nth-child(1) { animation-delay: 0.1s; }
.broker-card:nth-child(2) { animation-delay: 0.2s; }
.broker-card:nth-child(3) { animation-delay: 0.3s; }
.broker-card:nth-child(4) { animation-delay: 0.4s; }
.broker-card:nth-child(5) { animation-delay: 0.5s; }
.broker-card:nth-child(6) { animation-delay: 0.6s; }

.broker-card:hover {
  transform: translateY(-8px);
  border-color: #3b82f6;
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.2);
}

.broker-icon {
  font-size: 3rem;
  margin: 0 auto;
  animation: float 3s ease-in-out infinite;
}

.broker-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.broker-card p {
  font-size: 0.92rem;
  color: #94a3b8;
  flex: 1;
  line-height: 1.7;
}

.broker-bonus {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(255, 107, 53, 0.1) 100%);
  color: #3b82f6;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

/* ===== Login ===== */
.login-section {
  padding: 6rem 0;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(255, 107, 53, 0.05) 100%);
}

.login-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(255, 107, 53, 0.03) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 24px;
  padding: 3.5rem;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
  animation: scaleIn 0.6s ease;
}

.login-card h2 {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  text-align: center;
  margin-bottom: 0.5rem;
}

.login-card .subtitle {
  text-align: center;
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.login-divider {
  text-align: center;
  color: #64748b;
  font-size: 0.85rem;
  margin: 1.5rem 0;
  position: relative;
}

.login-divider::before,
.login-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: rgba(59, 130, 246, 0.2);
}

.login-divider::before { right: 0; }
.login-divider::after { left: 0; }

.login-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.login-footer a {
  color: #3b82f6;
  font-weight: 700;
  transition: all 0.2s ease;
}

.login-footer a:hover {
  color: #ff6b35;
}

/* ===== Content Pages ===== */
.content-section {
  padding: 5rem 0;
}

.content-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(255, 107, 53, 0.03) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  padding: 4rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  max-width: 900px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s ease;
}

.content-card h2 {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1.2rem;
  margin-top: 2.5rem;
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card p {
  color: #cbd5e1;
  line-height: 2;
  margin-bottom: 1.2rem;
}

.content-card ul {
  list-style: disc;
  padding-right: 1.5rem;
  color: #cbd5e1;
  margin-bottom: 1.2rem;
}

.content-card ul li {
  margin-bottom: 0.6rem;
  line-height: 1.9;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .services-grid,
  .courses-grid,
  .plans-grid,
  .broker-grid,
  .social-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .plan-card.featured {
    transform: none;
  }

  .plan-card.featured:hover {
    transform: translateY(-10px);
  }

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

@media (max-width: 768px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p {
    margin: 0 auto 2rem;
  }

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

  .services-grid,
  .courses-grid,
  .plans-grid,
  .broker-grid,
  .social-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3rem 0;
    min-height: auto;
  }

  .navbar-inner {
    height: 60px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  .login-card {
    padding: 2rem 1.5rem;
  }

  .contact-form-card {
    padding: 1.75rem 1.25rem;
  }

  .content-card {
    padding: 2rem 1.5rem;
  }
}
