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

body {
  font-family: 'Cairo', sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== Header Styles ===== */
.main-header {
  background: linear-gradient(135deg, #0a2538 0%, #0f2f44 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 1rem;
    height: 70px;
  }
}

.logo-section {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  font-family: 'Playfair Display', serif;
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.2rem;
  }
  .logo i {
    font-size: 1.3rem;
  }
}

.logo i {
  color: #ffd966;
  font-size: 1.8rem;
}

.logo-subtitle {
  color: #ffd966;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255,217,102,0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}

.main-nav {
  display: flex;
  gap: 2rem;
}

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

.nav-link {
  text-decoration: none;
  color: #e2e8f0;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link i {
  margin-left: 0.5rem;
}

.nav-link:hover, .nav-link.active {
  color: #ffd966;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: #ffd966;
  border-radius: 3px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
}

/* Mobile Sidebar */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: #0f2f44;
  z-index: 2000;
  transition: right 0.3s ease;
  box-shadow: -5px 0 25px rgba(0,0,0,0.3);
}

.mobile-sidebar.open {
  right: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,217,102,0.3);
}

.sidebar-header h3 {
  color: #ffd966;
  font-size: 1.3rem;
}

.close-sidebar {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 1.5rem;
}

.sidebar-nav a {
  text-decoration: none;
  color: #e2e8f0;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.5rem 0;
  transition: color 0.3s;
}

.sidebar-nav a i {
  margin-left: 0.8rem;
  width: 1.5rem;
}

.sidebar-nav a:hover {
  color: #ffd966;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  display: none;
}

.sidebar-overlay.active {
  display: block;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4rem 2rem 6rem;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f4f8 0%, #e6edf4 100%);
}

@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 1rem 4rem;
  }
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.05"><path fill="none" stroke="%230a2538" stroke-width="1" d="M10,10 L90,10 M10,20 L90,20 M10,30 L90,30 M10,40 L90,40 M10,50 L90,50 M10,60 L90,60 M10,70 L90,70 M10,80 L90,80 M10,90 L90,90 M20,10 L20,90 M30,10 L30,90 M40,10 L40,90 M50,10 L50,90 M60,10 L60,90 M70,10 L70,90 M80,10 L80,90 M90,10 L90,90"/></svg>');
  background-size: 30px;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(10,37,56,0.05) 0%, rgba(255,217,102,0.05) 100%);
}

.hero-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}

.hero-image {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hero-image {
    max-width: 280px;
  }
}

.image-frame {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 25px 40px rgba(0,0,0,0.2);
}

.teacher-photo {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.teacher-photo:hover {
  transform: scale(1.02);
}

.image-decoration {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border: 3px solid #ffd966;
  border-radius: 50%;
  z-index: -1;
}

@media (max-width: 768px) {
  .image-decoration {
    width: 70px;
    height: 70px;
    top: -15px;
    right: -15px;
  }
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #0a2538;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .experience-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    padding: 0.4rem 1rem;
  }
}

.badge-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffd966;
}

.badge-text {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-content {
  text-align: right;
}

@media (max-width: 992px) {
  .hero-content {
    text-align: center;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(10,37,56,0.1);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-badge i {
  color: #ffd966;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
}

.highlight {
  color: #0a2538;
  background: linear-gradient(120deg, #ffd966 0%, #ffd966 40%, transparent 40%);
  padding: 0 0.2rem;
}

.hero-subtitle {
  font-size: 1.6rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .hero-subtitle {
    font-size: 1.3rem;
  }
}

.hero-description {
  font-size: 1.1rem;
  color: #475569;
  margin-bottom: 2rem;
  padding-right: 1rem;
  border-right: 4px solid #ffd966;
}

@media (max-width: 992px) {
  .hero-description {
    text-align: center;
    border-right: none;
    padding-right: 0;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #0a2538;
  color: white;
}

.btn-primary:hover {
  background: #143d58;
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid #0a2538;
  color: #0a2538;
}

.btn-outline:hover {
  background: #0a2538;
  color: white;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 992px) {
  .hero-actions {
    justify-content: center;
  }
}

.hero-wave svg {
  width: 100%;
  display: block;
}

/* Features Section */
.features-section {
  padding: 5rem 2rem;
  background: white;
}

@media (max-width: 768px) {
  .features-section {
    padding: 3rem 1rem;
  }
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

.section-title {
  font-size: 2.5rem;
  color: #0a2538;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
  }
}

.section-subtitle {
  color: #64748b;
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

@media (max-width: 768px) {
  .features-grid {
    gap: 1rem;
  }
}

.feature-card {
  text-align: center;
  padding: 2rem;
  background: #f8fafc;
  border-radius: 20px;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ffd966, #ffc107);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon i {
  font-size: 2rem;
  color: #0a2538;
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: #0a2538;
}

/* Main Choices Section */
.main-content {
  padding: 3rem 2rem 5rem;
  background: #f1f5f9;
}

@media (max-width: 768px) {
  .main-content {
    padding: 2rem 1rem 3rem;
  }
}

.choices-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 500px;
  margin: 0 auto;
}

.choice-card {
  text-decoration: none;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  cursor: pointer;
}

.choice-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px rgba(0,0,0,0.15);
}

.card-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
}

@media (max-width: 480px) {
  .card-image-wrapper {
    height: 180px;
  }
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.choice-card:hover .card-image {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10,37,56,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.choice-card:hover .card-overlay {
  opacity: 1;
}

.card-overlay i {
  font-size: 3rem;
  color: #ffd966;
}

.card-content {
  padding: 1.5rem;
  text-align: center;
}

.card-content h2 {
  color: #0a2538;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.card-content p {
  color: #64748b;
}

.card-tag {
  display: inline-block;
  margin-top: 0.8rem;
  background: #ffd966;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  color: #0a2538;
}

/* Page Sections */
.page-section {
  padding: 4rem 2rem;
  min-height: 60vh;
}

@media (max-width: 768px) {
  .page-section {
    padding: 2rem 1rem;
  }
}

.page-container {
  max-width: 1300px;
  margin: 0 auto;
}

.page-header {
  margin-bottom: 3rem;
}

.back-button {
  background: #e2e8f0;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s;
}

.back-button:hover {
  background: #cbd5e1;
}

.page-title {
  font-size: 2.5rem;
  color: #0a2538;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .page-title {
    font-size: 1.8rem;
  }
}

.page-description {
  color: #64748b;
}

.stage-selector {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.stage-btn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: white;
  padding: 1rem 2rem;
  border-radius: 20px;
  color: #0a2538;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  cursor: pointer;
  border: none;
}

@media (max-width: 768px) {
  .stage-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}

.stage-btn i {
  font-size: 1.5rem;
  color: #ffd966;
}

.stage-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.stage-btn.active-stage {
  background: #0a2538;
  color: #ffd966;
}

.stage-btn.active-stage i {
  color: #ffd966;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.video-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.video-card:hover {
  transform: translateY(-5px);
}

.video-thumbnail {
  position: relative;
  background: #0a2538;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-icon-overlay {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.play-icon-overlay i {
  font-size: 2rem;
  color: #ffd966;
}

.video-thumbnail:hover .play-icon-overlay {
  transform: scale(1.1);
  background: rgba(0,0,0,0.8);
}

.video-info {
  padding: 1.5rem;
}

.video-info h3 {
  margin-bottom: 0.5rem;
  color: #0a2538;
  font-size: 1.2rem;
}

.video-info p {
  color: #64748b;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.watch-btn {
  display: inline-block;
  background: #0a2538;
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.watch-btn:hover {
  background: #143d58;
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 3000;
  justify-content: center;
  align-items: center;
}

.video-modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
}

.modal-content iframe {
  width: 100%;
  height: 500px;
  border: none;
}

@media (max-width: 768px) {
  .modal-content iframe {
    height: 250px;
  }
}

.close-modal {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 3001;
}

/* Footer */
.main-footer {
  background: #0a2538;
  color: white;
  padding: 3rem 2rem 1rem;
}

@media (max-width: 768px) {
  .main-footer {
    padding: 2rem 1rem 1rem;
  }
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-logo i {
  color: #ffd966;
}

.footer-description {
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-social a {
  color: white;
  background: rgba(255,255,255,0.1);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
  text-decoration: none;
}

.footer-social a:hover {
  background: #ffd966;
  color: #0a2538;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.scroll-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: #0a2538;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: all 0.3s;
  z-index: 1000;
}

.scroll-top.show {
  display: flex;
}

.scroll-top:hover {
  background: #143d58;
  transform: translateY(-3px);
}

/* Utility Classes */
[hidden] {
  display: none !important;
  }
