/* ============================================= */
/* ============== BASE STYLES ============== */
/* ============================================= */

:root {
  --primary-color: #4361ee;
  --primary-dark: #3a56d4;
  --primary-light: #ebf0ff;
  --secondary-color: #3f37c9;
  --accent-color: #4895ef;
  --success-color: #4cc9f0;
  --danger-color: #f72585;
  --warning-color: #f8961e;
  --info-color: #7209b7;
  
  --text-color: #2b2d42;
  --text-light: #8d99ae;
  --text-dark: #1a1a2e;
  --text-white: #ffffff;
  
  --bg-color: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a2e;
  --bg-darker: #16213e;
  
  --border-color: #e9ecef;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-radius-sm: 4px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  
  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;
  
  --font-primary: 'Tajawal', sans-serif;
  --font-secondary: 'Tajawal', sans-serif;
  
  --container-width: 1200px;
  --gutter: 15px;
}

/* Dark Theme Variables */
[data-theme="dark"] {
  --primary-color: #4361ee;
  --primary-dark: #3a56d4;
  --primary-light: #1a1a2e;
  
  --text-color: #e2e2e2;
  --text-light: #a8a8a8;
  --text-dark: #ffffff;
  
  --bg-color: #1a1a2e;
  --bg-light: #16213e;
  --bg-dark: #0d1117;
  
  --border-color: #2d3748;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.2);
}

/* ============================================= */
/* ============== GLOBAL STYLES ============== */
/* ============================================= */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  direction: rtl;
  text-align: right;
  transition: var(--transition);
  overflow-x: hidden;
}

body.preload * {
  transition: none !important;
}

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

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 5rem 0;
}

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

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
}

.section-subtitle {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  background-color: var(--primary-light);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

.section-footer {
  text-align: center;
  margin-top: 3rem;
}

.bg-light {
  background-color: var(--bg-light);
}

.bg-dark {
  background-color: var(--bg-dark);
  color: var(--text-white);
}

.bg-dark .section-title {
  color: var(--text-white);
}

.bg-dark .section-description {
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================= */
/* ============== TYPOGRAPHY ============== */
/* ============================================= */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

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

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

.text-left {
  text-align: left;
}

.text-primary {
  color: var(--primary-color);
}

.text-white {
  color: var(--text-white);
}

.text-muted {
  color: var(--text-light);
}

/* ============================================= */
/* ============== BUTTONS ============== */
/* ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.625rem 1.25rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.btn i {
  margin-right: 0.5rem;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-primary {
  color: var(--text-white);
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--text-white);
}

.btn-outline {
  color: var(--primary-color);
  background-color: transparent;
  border-color: var(--primary-color);
}

.btn-outline:hover {
  color: var(--text-white);
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-light {
  color: var(--text-white);
  background-color: transparent;
  border-color: var(--text-white);
}

.btn-outline-light:hover {
  color: var(--text-dark);
  background-color: var(--text-white);
  border-color: var(--text-white);
}

.btn-link {
  font-weight: 600;
  color: var(--primary-color);
  background-color: transparent;
  border: none;
  padding: 0;
}

.btn-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ============================================= */
/* ============== FORMS ============== */
/* ============================================= */

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

.form-control {
  display: block;
  width: 100%;
  padding: 0.625rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-color);
  background-color: var(--bg-color);
  background-clip: padding-box;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.form-control:focus {
  color: var(--text-color);
  background-color: var(--bg-color);
  border-color: var(--primary-color);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(67, 97, 238, 0.25);
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-check {
  position: relative;
  display: block;
  padding-right: 1.5rem;
}

.form-check-input {
  position: absolute;
  margin-top: 0.3rem;
  margin-right: -1.5rem;
}

.form-check-label {
  margin-bottom: 0;
}

/* ============================================= */
/* ============== CARDS ============== */
/* ============================================= */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: var(--bg-color);
  background-clip: border-box;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

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

.card-body {
  flex: 1 1 auto;
  padding: 1.5rem;
}

.card-title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.card-subtitle {
  margin-top: -0.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.card-text {
  margin-bottom: 1rem;
}

.card-link {
  font-weight: 600;
}

.card-link:hover {
  text-decoration: none;
}

.card-header {
  padding: 1rem 1.5rem;
  margin-bottom: 0;
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.card-footer {
  padding: 1rem 1.5rem;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

/* ============================================= */
/* ============== NAVIGATION ============== */
/* ============================================= */

.sticky-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
  background-color: var(--bg-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

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

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-dark);
}

.logo img {
  margin-left: 0.5rem;
  height: 40px;
}

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

.nav-menu li {
  position: relative;
  margin-right: 1.5rem;
}

.nav-menu li:last-child {
  margin-right: 0;
}

.nav-menu a {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--text-color);
  padding: 0.5rem 0;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.nav-menu a i {
  margin-left: 0.5rem;
  font-size: 1.1rem;
}

.nav-menu .active a {
  color: var(--primary-color);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1000;
  display: none;
  min-width: 200px;
  padding: 0.5rem 0;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-color);
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1.5rem;
  color: var(--text-color);
  transition: var(--transition-fast);
}

.dropdown-menu a:hover {
  color: var(--primary-color);
  background-color: var(--primary-light);
}

.dropdown-menu .divider {
  height: 1px;
  margin: 0.5rem 0;
  overflow: hidden;
  background-color: var(--border-color);
}

.nav-actions {
  display: flex;
  align-items: center;
}

.nav-actions .btn {
  margin-right: 0.75rem;
}

.nav-actions .btn:last-child {
  margin-right: 0;
}

#theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary-color);
  margin-right: 0.75rem;
  transition: var(--transition);
}

#theme-toggle:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.search-box {
  position: relative;
  margin-right: 0.75rem;
}

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary-color);
  transition: var(--transition);
}

.search-btn:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.search-container {
  position: absolute;
  top: 100%;
  right: 0;
  width: 300px;
  padding: 1rem;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1000;
}

.search-container.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-container form {
  display: flex;
}

.search-container input {
  flex: 1;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  border-left: none;
}

.search-container button {
  padding: 0 1rem;
  background-color: var(--primary-color);
  color: var(--text-white);
  border: none;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.user-dropdown {
  position: relative;
  margin-right: 0.75rem;
}

.user-avatar {
  display: flex;
  align-items: center;
}

.user-avatar img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-left: 0.5rem;
  object-fit: cover;
}

.user-avatar span {
  font-weight: 600;
}

.user-avatar i {
  margin-right: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.user-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 220px;
  padding: 0.5rem 0;
  margin: 0.5rem 0 0;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1000;
}

.user-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-menu li {
  margin: 0;
}

.user-menu a {
  display: flex;
  align-items: center;
  padding: 0.5rem 1.5rem;
  color: var(--text-color);
  transition: var(--transition-fast);
}

.user-menu a:hover {
  color: var(--primary-color);
  background-color: var(--primary-light);
}

.user-menu .divider {
  height: 1px;
  margin: 0.5rem 0;
  overflow: hidden;
  background-color: var(--border-color);
}

.user-menu .badge {
  margin-right: auto;
  margin-left: 0.5rem;
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  color: var(--text-color);
  background-color: transparent;
  border: none;
}

.mobile-toggle i.hidden {
  display: none;
}



/* ============================================= */
/* ============== PARTNERS SECTION ============== */
/* ============================================= */

.

/* ============================================= */
/* ============== FEATURES SECTION ============== */
/* ============================================= */

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

.feature-card {
  padding: 2rem;
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

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

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin-bottom: 1.5rem;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50%;
  font-size: 1.75rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--primary-color);
}

.feature-link i {
  margin-right: 0.5rem;
  transition: var(--transition);
}

.feature-link:hover i {
  transform: translateX(-5px);
}

/* ============================================= */
/* ============== COURSES SECTION ============== */
/* ============================================= */

.courses-tabs {
  margin-bottom: 2rem;
}

.tabs-header {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.tabs-header li {
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}

.tabs-header li:hover {
  color: var(--primary-color);
}

.tabs-header li.active {
  
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--primary-color), #8a2be2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  
  
  border-bottom-color: var(--primary-color);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.course-card {
  position: relative;
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.course-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-white);
  background-color: var(--danger-color);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

.course-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.course-category {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 1;
  font-size: 0.75rem;
  font-weight: 600;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--primary-color), #8a2be2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

.course-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(67, 97, 238, 0.8);
  color: var(--text-white);
  opacity: 0;
  transition: var(--transition);
}

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

.course-details {
  padding: 1.5rem;
}

.course-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.instructor {
  display: flex;
  align-items: center;
}

.instructor img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-left: 0.5rem;
  object-fit: cover;
}

.course-meta {
  display: flex;
  align-items: center;
}

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

.course-meta span i {
  margin-left: 0.25rem;
}

.course-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.course-title a {
  color: var(--text-dark);
}

.course-title a:hover {
  color: var(--primary-color);
}

.course-description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-price {
  font-weight: 700;
}

.course-price del {
  color: var(--text-light);
  margin-left: 0.5rem;
}

.course-actions {
  display: flex;
  align-items: center;
}

.course-actions .btn {
  padding: 0.5rem 1rem;
}

.wishlist-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-right: 0.5rem;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50%;
  transition: var(--transition);
}

.wishlist-btn:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.wishlist-btn.active {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.no-courses {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
}

.no-courses i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.no-courses p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

/* ============================================= */
/* ============== SERVICES SECTION ============== */
/* ============================================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 2rem;
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: var(--border-radius);
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.service-features {
  margin-bottom: 1.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.service-features li i {
  margin-left: 0.5rem;
  color: var(--primary-color);
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-starting {
  font-size: 0.875rem;
  color: var(--text-light);
}

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

/* ============================================= */
/* ============== HOW IT WORKS SECTION ============== */
/* ============================================= */

.steps-container {
  position: relative;
  padding: 3rem 0;
}

.step-line {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 2px;
  background-color: var(--border-color);
  z-index: 1;
}

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

.step-card {
  position: relative;
  padding: 2rem;
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.step-number {
  position: absolute;
  top: -20px;
  right: 50%;
  transform: translateX(50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-weight: 700;
  color: var(--text-white);
  background-color: var(--primary-color);
  border-radius: 50%;
  z-index: 3;
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin-bottom: 1.5rem;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50%;
  font-size: 1.75rem;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.step-card p {
  color: var(--text-light);
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  background-color: var(--primary-color);
  border-radius: var(--border-radius);
  color: var(--text-white);
}

.cta-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.cta-content p {
  opacity: 0.9;
}

.cta-actions .btn {
  margin-right: 1rem;
}

.cta-actions .btn:last-child {
  margin-right: 0;
}

.cta-actions .btn-outline {
  color: var(--text-white);
  border-color: var(--text-white);
}

.cta-actions .btn-outline:hover {
  background-color: var(--text-white);
  color: var(--primary-color);
}

/* ============================================= */
/* ============== STATS SECTION ============== */
/* ============================================= */

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

.stat-item {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-left: 1rem;
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  border-radius: 50%;
  font-size: 1.25rem;
}

.stat-info {
  flex: 1;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1;
}

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

/* ============================================= */
/* ============== INSTRUCTORS SECTION ============== */
/* ============================================= */

.instructors-slider {
  padding: 1rem 0 3rem;
}

.instructor-card {
  display: flex;
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

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



.social-links {
  position: absolute;
  bottom: 1rem;
  right: 0;
  left: 0;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.instructor-card:hover .social-links {
  opacity: 1;
  transform: translateY(0);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin: 0 0.25rem;
  background-color: var(--primary-color);
  color: var(--text-white);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-dark);
}

.instructor-info {
  flex: 1;
  padding: 1.5rem;
}

.instructor-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.instructor-info > span {
  display: block;
  font-size: 0.875rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.instructor-meta {
  display: flex;
  margin-bottom: 1rem;
}

.instructor-meta span {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-left: 1rem;
}

.instructor-meta span i {
  margin-left: 0.25rem;
}

.instructor-skills {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.skill-tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50px;
  margin: 0 0.5rem 0.5rem 0;
}

.no-instructors {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
}

.no-instructors i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.no-instructors p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

/* ============================================= */
/* ============== TESTIMONIALS SECTION ============== */
/* ============================================= */

.testimonials-slider {
  padding: 1rem 0 3rem;
}

.testimonial-card {
  padding: 2rem;
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

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

.testimonial-rating {
  margin-bottom: 1rem;
}

.testimonial-rating i {
  color: #ffc107;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
}

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

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-left: 1rem;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.author-info span {
  font-size: 0.875rem;
  color: var(--text-light);
}

.author-info small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.no-testimonials {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
}

.no-testimonials i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.no-testimonials p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

/* ============================================= */
/* ============== BLOG SECTION ============== */
/* ============================================= */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.blog-card {
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.blog-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.blog-category {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-white);
  background-color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

.blog-date {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.blog-date span:first-child {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.blog-date span:last-child {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.blog-meta span {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-left: 1rem;
}

.blog-meta span i {
  margin-left: 0.25rem;
}

.blog-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.blog-title a {
  color: var(--text-dark);
}

.blog-title a:hover {
  color: var(--primary-color);
}

.blog-excerpt {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-tags a {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-left: 0.5rem;
}

.blog-tags a:hover {
  color: var(--primary-color);
}

.no-blog-posts {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
}

.no-blog-posts i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.no-blog-posts p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

/* ============================================= */
/* ============== NEWSLETTER SECTION ============== */
/* ============================================= */

.newsletter-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.newsletter-text {
  flex: 0 0 50%;
  max-width: 50%;
  padding-right: 2rem;
}

.newsletter-text h3 {
  font-size: 1.75rem;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.newsletter-text p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.newsletter-features li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.newsletter-features li i {
  margin-left: 0.5rem;
  color: var(--success-color);
}

.newsletter-form {
  flex: 0 0 45%;
  max-width: 45%;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
}

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

.form-group:last-child {
  margin-bottom: 0;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: var(--text-white);
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-control:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(67, 97, 238, 0.25);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  background-size: 16px 12px;
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.form-check-input {
  margin-left: 0.5rem;
}

.form-check-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.btn-block {
  width: 100%;
}

/* ============================================= */
/* ============== FAQ SECTION ============== */
/* ============================================= */

.faq-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-image {
  flex: 0 0 45%;
  max-width: 45%;
}

.faq-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.faq-accordion {
  flex: 0 0 50%;
  max-width: 50%;
}

.accordion-item {
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.accordion-item:last-child {
  margin-bottom: 0;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.5rem;
  font-weight: 600;
  text-align: right;
  color: var(--text-dark);
  background-color: var(--bg-color);
  border: none;
  transition: var(--transition);
}

.accordion-header:hover {
  color: var(--primary-color);
}

.accordion-item.active .accordion-header {
  color: var(--primary-color);
  background-color: var(--primary-light);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item.active .accordion-content {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem;
}

.accordion-content p {
  color: var(--text-light);
}

/* ============================================= */
/* ============== FOOTER ============== */
/* ============================================= */

.main-footer {
  background-color: var(--bg-darker);
  color: var(--text-white);
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col {
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--text-white);
}

.footer-logo img {
  margin-left: 0.5rem;
  height: 40px;
}

.footer-about-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-left: 0.75rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  border-radius: 50%;
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.footer-title {
  font-size: 1.25rem;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li:last-child {
  margin-bottom: 0;
}

.footer-col ul li a {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primary-color);
  transform: translateX(-5px);
}

.footer-col ul li a i {
  margin-left: 0.5rem;
}

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

.contact-info li:last-child {
  margin-bottom: 0;
}

.contact-info li i {
  margin-left: 0.75rem;
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-top: 0.25rem;
}

.contact-info li span {
  flex: 1;
  color: rgba(255, 255, 255, 0.7);
}

.footer-apps h5 {
  font-size: 1rem;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.app-buttons {
  display: flex;
}

.app-buttons a {
  display: block;
  height: 40px;
  margin-left: 0.5rem;
}

.app-buttons a:first-child {
  margin-left: 0;
}

.app-buttons img {
  height: 100%;
  border-radius: var(--border-radius-sm);
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.footer-legal {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin: 0 0.75rem 0.5rem;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--primary-color);
}

.footer-payments {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.footer-payments img {
  height: 25px;
  margin: 0 0.5rem;
  filter: grayscale(100%) brightness(2);
  opacity: 0.7;
  transition: var(--transition);
}

.footer-payments img:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

/* ============================================= */
/* ============== FLOATING BUTTONS ============== */
/* ============================================= */

.floating-buttons {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 1000;
}

.floating-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-top: 0.75rem;
  background-color: var(--primary-color);
  color: var(--text-white);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.floating-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.floating-button.whatsapp {
  background-color: #25D366;
}

.floating-button.messenger {
  background-color: #006AFF;
}

.floating-button.help {
  background-color: var(--accent-color);
}

.floating-button.scroll-top {
  background-color: var(--bg-darker);
  color: var(--text-white);
  opacity: 0;
  visibility: hidden;
}

.floating-button.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

/* ============================================= */
/* ============== MODAL ============== */
/* ============================================= */

.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 1rem;
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: translateY(-20px);
  transition: var(--transition);
}

.modal.show .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-light);
  color: var(--text-color);
  border-radius: 50%;
  transition: var(--transition);
}

.modal-close:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.modal-content h3 {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.help-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1.5rem;
}

.help-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  color: var(--text-color);
  transition: var(--transition);
}

.help-option:hover {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

.help-option i {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

/* ============================================= */
/* ============== TOAST NOTIFICATION ============== */
/* ============================================= */

.toast-notification {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 0.75rem 1.5rem;
  background-color: var(--bg-darker);
  color: var(--text-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  transition: var(--transition);
  z-index: 1100;
}

.toast-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================= */
/* ============== ANNOUNCEMENT BAR ============== */
/* ============================================= */


/* ============================================= */
/* ============== LOADING OVERLAY ============== */
/* ============================================= */

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-spinner {
  text-align: center;
}

.spinner-border {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  vertical-align: text-bottom;
  border: 0.25em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-border 0.75s linear infinite;
  color: var(--primary-color);
}

@keyframes spinner-border {
  to { transform: rotate(360deg); }
}

.loading-spinner p {
  margin-top: 1rem;
  font-weight: 500;
}

/* ============================================= */
/* ============== CHAT WIDGET ============== */
/* ============================================= */

.chat-container {
  position: fixed;
  bottom: 6rem;
  left: 1.5rem;
  width: 350px;
  max-width: calc(100% - 3rem);
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
}

.chat-container.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background-color: var(--primary-color);
  color: var(--text-white);
}

.chat-title {
  display: flex;
  align-items: center;
  font-weight: 600;
}

.chat-title i {
  margin-left: 0.5rem;
}

.chat-close {
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.25rem;
  cursor: pointer;
}

.chat-body {
  height: 300px;
  padding: 1rem;
  overflow-y: auto;
}

.chat-message {
  margin-bottom: 1rem;
}

.chat-message.user {
  text-align: left;
}

.chat-message.bot {
  text-align: right;
}

.message-content {
  display: inline-block;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  max-width: 80%;
}

.user .message-content {
  background-color: var(--primary-light);
  color: var(--text-dark);
  border-bottom-right-radius: 0;
}

.bot .message-content {
  background-color: var(--primary-color);
  color: var(--text-white);
  border-bottom-left-radius: 0;
}

.message-time {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.chat-input {
  display: flex;
  padding: 1rem;
  border-top: 1px solid var(--border-color);
}

.chat-input input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  border-right: none;
}

.chat-input button {
  padding: 0 1rem;
  background-color: var(--primary-color);
  color: var(--text-white);
  border: none;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* ============================================= */
/* ============== UTILITY CLASSES ============== */
/* ============================================= */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================= */
/* ============== RESPONSIVE STYLES ============== */
/* ============================================= */

@media (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  .hero-content {
    flex-direction: column;
  }
  
  .hero-text,
  .hero-image {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
  }
  
  .hero-text {
    padding-right: 0;
    margin-bottom: 2rem;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .newsletter-container {
    flex-direction: column;
  }
  
  .newsletter-text,
  .newsletter-form {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .newsletter-text {
    padding-right: 0;
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .faq-container {
    flex-direction: column;
  }
  
  .faq-image,
  .faq-accordion {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .faq-image {
    margin-bottom: 2rem;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 70px);
    background-color: var(--bg-color);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    transition: var(--transition);
    overflow-y: auto;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu li {
    width: 100%;
    margin: 0 0 1rem 0;
  }
  
  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    border: none;
    padding: 0.5rem 0 0 1.5rem;
  }
  
  .dropdown:hover .dropdown-menu {
    display: none;
  }
  
  .dropdown.active .dropdown-menu {
    display: block;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .mobile-toggle.active i:first-child {
    display: none;
  }
  
  .mobile-toggle.active i.hidden {
    display: block;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section .lead {
    font-size: 1.1rem;
  }
  
  .cta-box {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-content {
    margin-bottom: 1.5rem;
  }
  
  .cta-actions .btn {
    margin: 0 0.5rem 0.5rem 0;
  }
}

@media (max-width: 575.98px) {
  .container {
    max-width: 100%;
    padding: 0 1rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 0.875rem;
  }
  
  .courses-grid,
  .services-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .step-line {
    top: 0;
    right: 50%;
    bottom: 0;
    width: 2px;
    height: 100%;
    transform: translateX(50%);
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-slider {
    height: 500px;
  }
  
  .hero-stats {
    margin-top: -30px;
  }
  
  .floating-buttons {
    left: 1rem;
    bottom: 1rem;
  }
  
  .floating-button {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
  
  .chat-container {
    width: calc(100% - 2rem);
    left: 1rem;
  }
}