/* ==========================================================================
   Modern Landing Page Stylesheet (2026 Edition)
   Ultra-modern, Responsive, RTL-First Design for Landing Pages
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #60a5fa;
  --primary-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --accent: #06b6d4;
  --accent-gradient: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
  --dark-bg: #0b1528;
  --dark-card: #132238;
  --dark-border: rgba(255, 255, 255, 0.08);
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --card-bg: #ffffff;
  --card-border: #e2e8f0;
  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --hover-shadow: 0 25px 35px -10px rgba(37, 99, 235, 0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-family: 'IRANSans', 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;
}

/* Base & Global Overrides */
html {
  scroll-behavior: smooth;
  direction: rtl;
}

body {
  font-family: var(--font-family) !important;
  color: var(--text-main);
  background-color: #f8fafc;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.8;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body * {
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family) !important;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin-top: 0;
}

p {
  margin-bottom: 1rem;
  line-height: 1.9;
}

a {
  text-decoration: none;
  transition: all 0.25s ease;
}

/* Hide legacy Cycle2 prev/next arrows if unused */
#slider .slider-prev,
#slider .slider-next {
  display: none !important;
}

/* ==========================================================================
   Modern Site Header & Navigation (Ultra-Reliable, Clean)
   ========================================================================== */
#wrapper {
  position: relative !important;
  width: 100% !important;
  overflow: visible !important;
  top: 0 !important;
}

#header.app-site-header,
.app-site-header,
#header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 60px !important;
  background: #082545 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
  z-index: 99999 !important;
  overflow: visible !important;
}

.app-header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.app-site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.app-site-logo img {
  max-height: 52px;
  width: auto;
  display: block;
  transition: transform 0.25s ease;
}

.app-site-logo:hover img {
  transform: scale(1.03);
}

/* Desktop Navigation */
.app-desktop-nav {
  display: flex;
  align-items: center;
}

.app-nav-menu {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.app-nav-item {
  margin: 0;
  padding: 0;
}

.app-nav-item a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  color: #e2e8f0;
  font-size: 14.5px;
  font-weight: 500;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: all 0.25s ease;
}

.app-nav-item a:hover {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.4);
  border-color: #3b82f6;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.35);
  transform: translateY(-2px);
}

.app-nav-item a i {
  color: #60a5fa;
  font-size: 14px;
}

/* Mobile Toggle Button */
.app-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.app-mobile-toggle:hover,
.app-mobile-toggle:active,
.app-mobile-toggle.is-active {
  background: rgba(37, 99, 235, 0.5);
  border-color: #3b82f6;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

/* Morphing Pure-CSS Animated Hamburger Icon */
.app-hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  pointer-events: none;
}

.app-hamburger-icon span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: #ffffff;
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.app-mobile-toggle.is-active .app-hamburger-icon span:nth-child(1) {
  transform: translateY(6.75px) rotate(45deg);
}

.app-mobile-toggle.is-active .app-hamburger-icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.app-mobile-toggle.is-active .app-hamburger-icon span:nth-child(3) {
  transform: translateY(-6.75px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.app-mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(8, 25, 55, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid #2563eb;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  padding: 18px 20px;
}

.app-mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-mobile-item {
  width: 100%;
}

.app-mobile-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 18px;
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.app-mobile-item a:hover,
.app-mobile-item a:active {
  background: rgba(37, 99, 235, 0.35);
  border-color: #3b82f6;
}

.app-mobile-item a i {
  color: #60a5fa;
  font-size: 16px;
}
#menu ul li.current-menu-item a {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(59, 130, 246, 0.4);
}

/* ==========================================================================
   Modern Container
   ========================================================================== */
.modern-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.modern-hero-section {
  position: relative;
  min-height: 600px;
  background-size: cover !important;
  background-position: center center !important;
  display: flex;
  align-items: center;
  padding: 80px 0 110px 0;
  overflow: hidden;
}

.modern-hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(8, 20, 44, 0.94) 0%, rgba(13, 27, 56, 0.88) 100%);
  z-index: 1;
}

.modern-hero-glow-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(37, 99, 235, 0) 70%);
  top: -100px;
  right: -100px;
  z-index: 2;
  pointer-events: none;
}

.modern-hero-glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, rgba(6, 182, 212, 0) 70%);
  bottom: -50px;
  left: 10%;
  z-index: 2;
  pointer-events: none;
}

.modern-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.modern-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 9999px;
  color: #93c5fd;
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 22px;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.2);
}

.hero-badge i {
  color: #38bdf8;
  font-size: 13px;
}

.hero-main-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-main-title span.highlight {
  background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.35rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 20px;
  line-height: 1.5;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 2;
  color: #94a3b8;
  margin-bottom: 34px;
  max-width: 620px;
}

.hero-action-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.modern-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 38px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff !important;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.5), 0 8px 10px -6px rgba(37, 99, 235, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.modern-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 30px -10px rgba(37, 99, 235, 0.6);
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.modern-btn-primary i {
  transition: transform 0.25s ease;
}

.modern-btn-primary:hover i {
  transform: translateX(-4px);
}

.hero-trust-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  color: #94a3b8;
  font-size: 13.5px;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust-item i {
  color: #10b981;
  font-size: 15px;
}

/* Hero Media Col */
.hero-media-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-media-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5), 0 0 40px rgba(37, 99, 235, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 480px;
  width: 100%;
  animation: floatingCard 6s ease-in-out infinite alternate;
}

.hero-media-card img {
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.35));
}

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

/* ==========================================================================
   Stats / Features Strip
   ========================================================================== */
.modern-stats-section {
  position: relative;
  z-index: 10;
  margin-top: -45px;
  margin-bottom: 50px;
}

.modern-stats-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(226, 232, 240, 0.8);
  padding: 30px 45px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: right;
}

.stat-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(6, 182, 212, 0.12) 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  font-family: var(--font-family);
}

.stat-label {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: #e2e8f0;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.modern-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 55px auto;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 14px;
}

.modern-section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
}

.section-header-line {
  width: 60px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 9999px;
  margin: 0 auto 16px auto;
}

.modern-section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
}

/* ==========================================================================
   "What You Will Learn" Grid
   ========================================================================== */
.modern-features-section {
  padding: 70px 0 90px 0;
  background: #f8fafc;
}

.modern-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.modern-feature-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.modern-feature-card:hover {
  transform: translateY(-7px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 20px 30px -10px rgba(37, 99, 235, 0.12), 0 10px 15px -3px rgba(0, 0, 0, 0.04);
}

.feature-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 22px;
  transition: transform 0.3s ease;
}

.modern-feature-card:hover .feature-icon-wrapper {
  transform: scale(1.1);
}

.icon-blue { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
.icon-emerald { background: rgba(16, 185, 129, 0.1); color: #059669; }
.icon-purple { background: rgba(139, 92, 246, 0.1); color: #7c3aed; }
.icon-amber { background: rgba(245, 158, 11, 0.1); color: #d97706; }
.icon-rose { background: rgba(244, 63, 94, 0.1); color: #e11d48; }
.icon-cyan { background: rgba(6, 182, 212, 0.1); color: #0891b2; }

.modern-feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
  line-height: 1.45;
}

.modern-feature-card p {
  color: #64748b;
  font-size: 0.98rem;
  line-height: 1.85;
  margin: 0;
  flex-grow: 1;
}

/* ==========================================================================
   Curriculum / Syllabus Section
   ========================================================================== */
.modern-curriculum-section {
  padding: 95px 0;
  background: linear-gradient(180deg, #0b1528 0%, #111f38 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.curriculum-header h2 {
  color: #ffffff;
}

.curriculum-header p {
  color: #94a3b8;
}

.curriculum-header .section-tag {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}

.modern-curriculum-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: start;
}

/* Selector Tabs */
.curriculum-tabs-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.curriculum-selector-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #93c5fd;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.curriculum-tab-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.curriculum-tab-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-4px);
}

.curriculum-tab-item.active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.35) 0%, rgba(59, 130, 246, 0.15) 100%);
  border-color: #3b82f6;
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.3);
}

.tab-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.tab-info span.entry {
  color: #94a3b8;
  font-size: 0.92rem;
  display: block;
}

.tab-arrow {
  color: #64748b;
  font-size: 16px;
  transition: all 0.3s ease;
}

.curriculum-tab-item.active .tab-arrow {
  color: #60a5fa;
  transform: translateX(-4px);
}

/* Content Showcase Card */
.curriculum-content-card {
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 38px 42px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  min-height: 420px;
}

.curriculum-panel {
  display: none;
  animation: fadeIn 0.4s ease-in-out forwards;
}

.curriculum-panel.active {
  display: block;
}

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

.curriculum-panel-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #60a5fa;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
}

.curriculum-panel-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 420px;
  overflow-y: auto;
  padding-left: 10px;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(59, 130, 246, 0.5) rgba(255, 255, 255, 0.05);
}

.curriculum-panel-body::-webkit-scrollbar {
  width: 6px;
}

.curriculum-panel-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 9999px;
}

.curriculum-panel-body::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.5);
  border-radius: 9999px;
}

.curriculum-panel-body::-webkit-scrollbar-thumb:hover {
  background: rgba(59, 130, 246, 0.8);
}

.curriculum-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.curriculum-item i {
  color: #10b981;
  font-size: 16px;
  margin-top: 5px;
  flex-shrink: 0;
}

.curriculum-item p {
  margin: 0;
  color: #e2e8f0;
  font-size: 1rem;
  line-height: 1.8;
}

/* ==========================================================================
   High-Converting CTA Banner
   ========================================================================== */
.modern-cta-section {
  padding: 75px 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #0284c7 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #ffffff;
}

.cta-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.3rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 28px;
  line-height: 1.35;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.modern-btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 46px;
  background: #ffffff;
  color: #1e40af !important;
  font-size: 1.2rem;
  font-weight: 800;
  border-radius: 9999px;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-btn-white:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 25px 45px -10px rgba(0, 0, 0, 0.4);
  background: #f8fafc;
}

/* ==========================================================================
   Testimonials & Video Section
   ========================================================================== */
.modern-testimonials-section {
  padding: 90px 0;
  background: #f8fafc;
}

.video-showcase-wrapper {
  max-width: 840px;
  margin: 0 auto 60px auto;
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08), 0 0 0 1px #e2e8f0;
  border: 1px solid #e2e8f0;
}

.video-header {
  padding: 24px 30px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  text-align: center;
}

.video-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.video-header p {
  color: #64748b;
  font-size: 0.98rem;
  margin: 0;
}

.video-player-container {
  background: #000000;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-player-container iframe,
.video-player-container video {
  width: 100% !important;
  max-width: 100% !important;
  display: block;
}

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

.modern-testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 34px;
  border: 1px solid var(--card-border);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.modern-testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.08);
  border-color: rgba(37, 99, 235, 0.3);
}

.testimonial-rating-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.stars-list {
  color: #f59e0b;
  font-size: 16px;
  display: flex;
  gap: 3px;
}

.quote-icon {
  color: #cbd5e1;
  font-size: 26px;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.95;
  color: #334155;
  margin-bottom: 26px;
  flex-grow: 1;
  font-style: italic;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid #f1f5f9;
  padding-top: 20px;
}

.user-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #3b82f6;
  background: #e2e8f0;
}

.user-avatar-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}

.user-details h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.user-details span {
  color: #10b981;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   Instructor / About Section
   ========================================================================== */
.modern-instructor-section {
  padding: 90px 0;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.instructor-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.instructor-photo-wrapper {
  text-align: center;
  position: relative;
}

.instructor-image-frame {
  position: relative;
  display: inline-block;
  border-radius: var(--radius-xl);
  padding: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.25);
}

.instructor-image-frame img {
  border-radius: calc(var(--radius-xl) - 10px);
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
}

.instructor-badge {
  position: absolute;
  bottom: -15px;
  right: 50%;
  transform: translateX(50%);
  background: #0f172a;
  color: #ffffff;
  padding: 8px 22px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.instructor-bio {
  text-align: right;
}

.instructor-bio .instructor-title-badge {
  color: var(--primary);
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 8px;
  display: block;
}

.instructor-bio h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 22px;
}

.instructor-bio p {
  color: #475569;
  font-size: 1.05rem;
  line-height: 2;
  margin-bottom: 18px;
}

/* ==========================================================================
   Contact / Footer Bar
   ========================================================================== */
.modern-contact-section {
  background: #0b1528;
  color: #ffffff;
  padding: 45px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-bar-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-bar-content h3 i {
  color: #38bdf8;
  font-size: 22px;
}

.modern-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.25s ease;
}

.modern-btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

/* Footer Copyright */
footer {
  background: #070e1c !important;
  color: #94a3b8;
  padding: 30px 0;
  font-size: 14px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer a {
  color: #94a3b8;
  margin: 0 8px;
}

footer a:hover {
  color: #ffffff;
}

/* Back to Top */
#back-top {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  transition: all 0.3s ease;
  z-index: 999;
}

#back-top:hover {
  transform: translateY(-5px);
  background: var(--primary-dark);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .modern-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-text-col {
    text-align: center;
  }
  .hero-description {
    margin: 0 auto 30px auto;
  }
  .hero-action-row {
    justify-content: center;
  }
  .hero-trust-strip {
    justify-content: center;
  }
  .modern-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modern-curriculum-grid {
    grid-template-columns: 1fr;
  }
  .instructor-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .instructor-bio {
    text-align: center;
  }
}

/* ==========================================================================
   Responsive Breakpoints & Mobile Optimization
   ========================================================================== */
@media (max-width: 1024px) {
  /* Ensure header adapts smoothly on all tablet and mobile screens */
  #header.app-site-header,
  .app-site-header,
  #header {
    height: auto !important;
    min-height: 60px !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
  }
  
  .app-header-container {
    padding: 10px 18px !important;
    min-height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  
  .app-site-logo img {
    max-height: 42px !important;
    width: auto !important;
  }
  
  /* HIDE Desktop Navigation */
  .app-desktop-nav {
    display: none !important;
  }
  
  /* SHOW Mobile Hamburger Button */
  .app-mobile-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  /* Mobile Navigation Drawer */
  .app-mobile-nav {
    display: none;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: calc(100vh - 65px) !important;
    overflow-y: auto !important;
    background: rgba(8, 25, 55, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 2px solid #2563eb !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5) !important;
    padding: 16px 14px !important;
    z-index: 99999 !important;
    box-sizing: border-box !important;
  }
  
  .app-mobile-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .app-mobile-item {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .app-mobile-item a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 12px 18px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #e2e8f0 !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    text-align: right !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
  }
  
  .app-mobile-item a:hover,
  .app-mobile-item a:active {
    background: rgba(37, 99, 235, 0.4) !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
  }

  .app-mobile-item a i {
    color: #60a5fa !important;
    font-size: 15px !important;
  }

  /* Legacy aliases hidden to prevent conflicts */
  #header .menu-btn { display: none !important; }
  #menu { display: none !important; }
}

@media (max-width: 768px) {
  /* Hero on mobile */
  .modern-hero-section {
    padding: 40px 0 55px 0 !important;
    min-height: auto !important;
  }
  .modern-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .hero-text-col {
    text-align: center !important;
    order: 1 !important;
  }
  .hero-media-col {
    order: 2 !important;
    margin-top: 10px !important;
  }
  .hero-badge {
    font-size: 12.5px !important;
    padding: 5px 14px !important;
    margin-bottom: 14px !important;
  }
  .hero-main-title {
    font-size: 1.9rem !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
  }
  .hero-subtitle {
    font-size: 1.1rem !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
  }
  .hero-description {
    font-size: 0.95rem !important;
    line-height: 1.8 !important;
    margin: 0 auto 22px auto !important;
  }
  .hero-action-row {
    justify-content: center !important;
    width: 100% !important;
  }
  .modern-btn-primary {
    width: 100% !important;
    padding: 14px 24px !important;
    font-size: 1.05rem !important;
  }
  .hero-trust-strip {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    font-size: 12px !important;
    margin-top: 18px !important;
  }
  .hero-media-card {
    max-width: 100% !important;
    padding: 16px !important;
    border-radius: 18px !important;
  }
  .hero-media-card img {
    max-height: 260px !important;
  }

  /* Stats / Counter on mobile */
  .modern-stats-section {
    margin-top: -25px !important;
    margin-bottom: 35px !important;
  }
  .modern-stats-box {
    flex-direction: column !important;
    padding: 20px 18px !important;
    border-radius: 16px !important;
    gap: 16px !important;
  }
  .stat-item {
    width: 100% !important;
    gap: 14px !important;
    justify-content: flex-start !important;
    text-align: right !important;
  }
  .stat-icon {
    width: 48px !important;
    height: 48px !important;
    font-size: 20px !important;
    border-radius: 12px !important;
    flex-shrink: 0 !important;
  }
  .stat-number {
    font-size: 1.7rem !important;
  }
  .stat-label {
    font-size: 13.5px !important;
  }
  .stat-divider {
    display: block !important;
    width: 100% !important;
    height: 1px !important;
    background: #f1f5f9 !important;
  }

  /* Features section on mobile */
  .modern-features-section {
    padding: 45px 0 55px 0 !important;
  }
  .modern-section-header {
    margin-bottom: 30px !important;
  }
  .modern-section-header h2 {
    font-size: 1.65rem !important;
  }
  .modern-section-header p {
    font-size: 0.94rem !important;
  }
  .modern-features-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .modern-feature-card {
    padding: 22px 18px !important;
    border-radius: 16px !important;
  }
  .feature-icon-wrapper {
    width: 48px !important;
    height: 48px !important;
    font-size: 20px !important;
    border-radius: 14px !important;
    margin-bottom: 14px !important;
  }
  .modern-feature-card h3 {
    font-size: 1.15rem !important;
  }
  .modern-feature-card p {
    font-size: 0.92rem !important;
    line-height: 1.8 !important;
  }

  /* Curriculum / About course on mobile */
  .modern-curriculum-section {
    padding: 50px 0 !important;
  }
  .modern-curriculum-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .curriculum-tabs-col {
    gap: 10px !important;
  }
  .curriculum-tab-item {
    padding: 14px 16px !important;
  }
  .tab-info h3 {
    font-size: 1.05rem !important;
  }
  .tab-info span.entry {
    font-size: 0.88rem !important;
  }
  .curriculum-content-card {
    padding: 22px 18px !important;
    border-radius: 18px !important;
    min-height: auto !important;
  }
  .curriculum-panel-title {
    font-size: 1.25rem !important;
    margin-bottom: 16px !important;
    padding-bottom: 10px !important;
  }
  .curriculum-item {
    padding: 10px 12px !important;
  }
  .curriculum-item p {
    font-size: 0.92rem !important;
    line-height: 1.75 !important;
  }
  .curriculum-panel-body {
    max-height: 320px !important;
    padding-left: 6px !important;
  }

  /* CTA on mobile */
  .modern-cta-section {
    padding: 45px 0 !important;
  }
  .cta-content h2 {
    font-size: 1.55rem !important;
    margin-bottom: 20px !important;
    line-height: 1.4 !important;
  }
  .modern-btn-white {
    width: 100% !important;
    padding: 14px 22px !important;
    font-size: 1.05rem !important;
  }

  /* Testimonials & Video on mobile */
  .modern-testimonials-section {
    padding: 50px 0 !important;
  }
  .video-showcase-wrapper {
    margin-bottom: 30px !important;
    border-radius: 16px !important;
  }
  .video-header {
    padding: 16px 14px !important;
  }
  .video-header h3 {
    font-size: 1.15rem !important;
  }
  .testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .modern-testimonial-card {
    padding: 22px 18px !important;
  }
  .testimonial-text {
    font-size: 0.95rem !important;
    line-height: 1.85 !important;
    margin-bottom: 16px !important;
  }

  /* Instructor on mobile */
  .modern-instructor-section {
    padding: 50px 0 !important;
  }
  .instructor-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
    text-align: center !important;
  }
  .instructor-image-frame img {
    max-width: 220px !important;
  }
  .instructor-bio {
    text-align: right !important;
  }
  .instructor-bio h2 {
    font-size: 1.65rem !important;
    margin-bottom: 14px !important;
    text-align: center !important;
  }
  .instructor-bio .instructor-title-badge {
    text-align: center !important;
  }
  .instructor-bio p {
    font-size: 0.95rem !important;
    line-height: 1.9 !important;
    text-align: justify !important;
  }

  /* Contact section on mobile */
  .modern-contact-section {
    padding: 32px 0 !important;
  }
  .contact-bar-content {
    flex-direction: column !important;
    text-align: center !important;
    gap: 16px !important;
  }
  .contact-bar-content h3 {
    font-size: 1.2rem !important;
    justify-content: center !important;
  }
  .modern-btn-outline {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Back to top on mobile */
  #back-top {
    bottom: 18px !important;
    left: 18px !important;
    width: 42px !important;
    height: 42px !important;
    font-size: 16px !important;
  }
}
