    @import url("https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&family=Tajawal:wght@300;400;500;700;800;900&family=Cairo:wght@300;400;500;600;700;800;900&display=swap");
    @import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&display=swap');

    :root {
      --primary-color: #3b82f6;
      --primary-dark: #2563eb;
      --secondary-color: #f43f5e;
      --secondary-dark: #e11d48;
      --accent-color: #22d3ee;
      --accent-dark: #0891b2;
      --text-light: #f8fafc;
      --text-dark: #1e293b;
      --bg-light: #ffffff;
      --bg-dark: #0f172a;
      --bg-gradient: linear-gradient(135deg, #3b82f6, #a855f7);
      --trans-dur: 0.6s;
      --trans-timing: cubic-bezier(0.65, 0, 0.35, 1);
      --primary-hover: #4863db;
      --success-color: #2dce89;
      --warning-color: #fb6340;
      --danger-color: #f5365c;
      --text-light: #ffffff;
      --body-bg: #f8f9fe;
      --card-bg: #ffffff;
      --border-color: #e9ecef;
      --navbar-height: 70px;
      --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
      --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.1);
      --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.15);
      --transition: all 0.3s ease;
      --border-radius: 6px;
      --primary-color: #5e72e4;
      --primary-hover: #4863db;
      --secondary-color: #11cdef;
      --success-color: #2dce89;
      --warning-color: #fb6340;
      --danger-color: #f5365c;
      --text-dark: #32325d;
      --text-light: #ffffff;
      --body-bg: #f8f9fe;
      --card-bg: #ffffff;
      --border-color: #e9ecef;
      --navbar-height: 70px;
      --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
      --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.1);
      --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.15);
      --transition: all 0.3s ease;
      --border-radius: 6px;
      --toggle-size: 22px;
      --toggle-padding: 3px;
      --toggle-width: calc(var(--toggle-size) * 2 + var(--toggle-padding) * 2);
      --toggle-height: calc(var(--toggle-size) + var(--toggle-padding) * 2);
      --primary-color: #3498db;
      --primary-dark: #2980b9;
      --secondary-color: #e74c3c;
      --accent-color: #f39c12;
      --dark-bg: #151823;
      --dark-secondary: #1e293b;
      --text-light: #ecf0f1;
      --text-dark: #2c3e50;
      --shadow-primary: 0 4px 20px rgba(52, 152, 219, 0.3);
      --shadow-dark: 0 4px 20px rgba(0, 0, 0, 0.3);
      --transition-normal: all 0.3s ease;
      --transition-slow: all 0.5s ease;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: "Tajawal", "Almarai", sans-serif;
    }

    body {
      --theme-background: var(--bg-light);
      --theme-color: var(--text-dark);
      --theme-secondary-background: #f1f5f9;
      background-color: var(--body-bg);
      transition: var(--transition);
      overflow-x: hidden;
      font-family: "Tajawal", "Almarai", sans-serif;
      direction: rtl;
      text-align: right;
      color: var(--text-dark);
    }



    [data-theme="dark"] {
  --primary-color: #1787be;
  --primary-dark: #1785bd;
  --secondary-color: #80cbc4;
  --secondary-dark: #4db6ac;
  --accent-color: #ffab40;
  --accent-dark: #ff9100;
  --text-light: #d33232;
  --text-dark: #424242;
  --bg-light: #121212;
  --bg-dark: #1e1e1e;
  --bg-gradient: linear-gradient(135deg, #324953, #3f5f6e);
  --trans-dur: 0.6s;
  --trans-timing: cubic-bezier(0.65, 0, 0.35, 1);
  --primary-hover: #78909c;
  --success-color: #66bb6a;
  --warning-color: #ffa726;
  --danger-color: #ef5350;
  --body-bg: #121212;
  --card-bg: #1e1e1e;
  --border-color: #424242;
  --navbar-height: 70px;
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.3);
  --transition: all 0.3s ease;
  --border-radius: 6px;
  --toggle-size: 22px;
  --toggle-padding: 3px;
  --toggle-width: calc(var(--toggle-size) * 2 + var(--toggle-padding) * 2);
  --toggle-height: calc(var(--toggle-size) + var(--toggle-padding) * 2);
  --dark-bg: #121212;
  --dark-secondary: #1e1e1e;
  --shadow-primary: 0 4px 20px rgba(106, 126, 136, 0.3);
  --shadow-dark: 0 4px 20px rgba(0, 0, 0, 0.5);
  --transition-normal: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  --primary: #3c4549;
  --primary-light: #8b9194;
  --secondary: #80cbc4;
  --success: #66bb6a;
  --background: #121212;
  --surface: #1e1e1e;
  --text: #360606;
  --border: #424242;
}

    .notification-overlay {
      position: fixed;
      width: 100%;
      top: 5rem;
      left: 0;
      padding: 0.5rem 1rem;
      z-index: 50;
      pointer-events: auto;
    }
    .notification-box {
      position: relative;
      border-radius: 0.375rem;
      background-color: #134074;
      color: #fff;
      padding: 1.25rem;
      text-align: center;
    }
    .notification-box .close-btn {
      position: absolute;
      left: 0.5rem;
      top: 0.5rem;
      background-color: #0f5b7a;
      border: none;
      color: #fff;
      font-size: 1.25rem;
      line-height: 1;
      padding: 0 0.5rem;
      border-radius: 0.25rem;
      cursor: pointer;
    }

    a {
      text-decoration: none;
    }

    p {
      margin-bottom: 0;
    }

    input:focus {
      border: none;
      outline: none;
      box-shadow: none;
    }

    .main_content {
      margin-top: 96px;
    }


    .navbar {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 1000;
      box-shadow: var(--shadow-md);
      padding: 0;
      height: var(--navbar-height);
      transition: var(--transition);
    }

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

    .navbar-brand {
      font-family: "Cairo", sans-serif;
      font-weight: 800;
      font-size: 2rem;
      color: var(--primary-color);
      margin-left: 1rem;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      transition: var(--transition);
    }

    .navbar-brand:hover {
      transform: scale(1.05);
      color: var(--primary-hover);
    }

    .right-nav-items {
      display: flex;
      align-items: center;
      height: var(--navbar-height);
    }

    .notification-wrapper {
      position: relative;
      margin: 0 12px;
      display: flex;
      align-items: center;
      height: 100%;
    }

    .notification-btn {
      background: transparent;
      border: none;
      color: var(--text-dark);
      font-size: 1.2rem;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      cursor: pointer;
      transition: var(--transition);
      border-radius: 50%;
    }

    .notification-btn:hover {
      color: var(--primary-color);
      background-color: rgba(94, 114, 228, 0.1);
    }

    .notification-badge {
      position: absolute;
      top: 0;
      right: 0;
      background-color: var(--danger-color);
      color: white;
      font-size: 0.7rem;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .theme-toggle-wrapper {
      margin: 0 12px;
      display: flex;
      align-items: center;
      height: 100%;
    }

    .theme-switch {
      position: relative;
      display: inline-block;
      width: var(--toggle-width);
      height: var(--toggle-height);
      margin: 0;
    }

    .theme-switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }

    .slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #ccc;
      transition: var(--transition);
      box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    }

    .slider:before {
      position: absolute;
      content: "";
      height: var(--toggle-size);
      width: var(--toggle-size);
      left: var(--toggle-padding);
      bottom: var(--toggle-padding);
      background-color: white;
      transition: var(--transition);
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
      z-index: 2;
    }

    input:checked+.slider {
      background-color: #6e7bb8;
    }

    input:checked+.slider:before {
      transform: translateX(var(--toggle-size));
    }

    .slider.round {
      border-radius: 34px;
    }

    .slider.round:before {
      border-radius: 50%;
    }

    .sun-icon,
    .moon-icon {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 12px;
      transition: var(--transition);
      z-index: 1;
    }

    .sun-icon {
      color: #fb6340;
      right: calc(var(--toggle-padding) + 3px);
      opacity: 1;
    }

    .moon-icon {
      color: #a3a3ff;
      left: calc(var(--toggle-padding) + 3px);
      opacity: 0;
    }

    input:checked+.slider .sun-icon {
      opacity: 0;
    }

    input:checked+.slider .moon-icon {
      opacity: 1;
    }

    .user-profile-wrapper {
      margin-right: 12px;
      display: flex;
      align-items: center;
      height: 100%;
    }

    .user-profile-btn {
      display: flex;
      align-items: center;
      background: transparent;
      border: none;
      padding: 5px;
      cursor: pointer;
      transition: var(--transition);
      border-radius: var(--border-radius);
    }

    .user-profile-btn:hover {
      background: rgba(94, 114, 228, 0.1);
    }

    .user-img {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid var(--primary-color);
      transition: var(--transition);
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .user-name {
      margin-right: 10px;
      font-weight: 600;
      color: var(--text-dark);
    }

    .user-dropdown {
      width: 280px;
      padding: 0;
      border: none;
      border-radius: var(--border-radius);
      box-shadow: var(--shadow-lg);
      overflow: hidden;
      background-color: var(--card-bg);
      border: 1px solid var(--border-color);
      margin-top: 10px !important;
    }

    .dropdown-header {
      padding: 1rem;
      background-color: var(--primary-color);
    }

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

    .dropdown-user-img {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid white;
    }

    .user-details {
      margin-right: 15px;
      color: white;
    }

    .user-details h6 {
      margin: 0;
      font-size: 1.1rem;
      font-weight: 700;
    }

    .user-details p {
      margin: 0;
      font-size: 0.85rem;
      opacity: 0.9;
    }

    .dropdown-divider {
      margin: 0.5rem 0;
      border-color: var(--border-color);
    }

    .dropdown-item {
      padding: 0.75rem 1.5rem;
      font-weight: 600;
      color: var(--text-dark);
      transition: var(--transition);
    }

    .dropdown-item i {
      margin-left: 10px;
      width: 20px;
      text-align: center;
      color: var(--primary-color);
    }

    .dropdown-item:hover,
    .dropdown-item:focus {
      background-color: rgba(94, 114, 228, 0.1);
      color: var(--primary-color);
    }

    .logout-item {
      color: var(--danger-color);
    }

    .logout-item i {
      color: var(--danger-color);
    }

    .logout-item:hover {
      background-color: rgba(245, 54, 92, 0.1);
      color: var(--danger-color);
    }

    button {
      position: relative;
      overflow: hidden;
    }

    .ripple {
      position: absolute;
      background: rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      transform: scale(0);
      animation: ripple 0.6s linear;
      pointer-events: none;
    }

    @keyframes ripple {
      to {
        transform: scale(4);
        opacity: 0;
      }
    }

    .clicked {
      animation: click-effect 0.3s ease;
    }

    @keyframes click-effect {
      0% {
        transform: scale(1);
      }

      50% {
        transform: scale(0.97);
      }

      100% {
        transform: scale(1);
      }
    }

    .navbar-scrolled {
      padding: 5px 0;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    @media (max-width: 992px) {
      .navbar-brand {
        font-size: 1.6rem;
      }

      .navbar-collapse {
        background-color: var(--card-bg);
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-lg);
        padding: 1rem;
        position: absolute;
        top: var(--navbar-height);
        right: 1rem;
        left: 1rem;
        z-index: 1000;
      }

      .right-nav-items {
        height: auto;
        justify-content: center;
      }

      .notification-wrapper,
      .theme-toggle-wrapper,
      .user-profile-wrapper {
        margin: 0 8px;
        height: auto;
      }

      .user-name {
        display: none;
      }
    }

    @media (max-width: 576px) {
      .navbar-brand {
        font-size: 1.4rem;
      }

      .navbar-collapse {
        right: 0.5rem;
        left: 0.5rem;
      }

      .user-dropdown {
        width: 250px;
      }
    }

    .wave-divider {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      overflow: hidden;
      line-height: 0;
      z-index: 1;
    }

    .wave-divider svg {
      position: relative;
      display: block;
      width: calc(100% + 1.3px);
      height: 85px;
    }

    .wave-divider .shape-fill {
      fill: var(--theme-background);
    }

    @keyframes float {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-20px);
      }
    }

    @keyframes pulse {

      0%,
      100% {
        transform: scale(1);
      }

      50% {
        transform: scale(1.1);
      }
    }

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

      to {
        transform: rotate(360deg);
      }
    }

    .main-header {
      width: 100%;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      background-image: var(--bg-gradient);
      position: relative;
      overflow: hidden;
      padding: 100px 0 150px;
    }

    .main-header::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url('https://i.imgur.com/WYnq0gj.png') repeat;
      opacity: 0.05;
      z-index: 1;
    }

    .main-header main {
      position: relative;
      z-index: 5;
    }

    .main-header .animated-circle {
      position: absolute;
      border-radius: 50%;
      z-index: 0;
    }

    .circle-1 {
      width: 300px;
      height: 300px;
      background: rgba(59, 130, 246, 0.1);
      top: -100px;
      right: -100px;
      animation: pulse 6s infinite;
    }

    .circle-2 {
      width: 200px;
      height: 200px;
      background: rgba(244, 63, 94, 0.1);
      bottom: -50px;
      left: 10%;
      animation: pulse 8s infinite;
    }

    .circle-3 {
      width: 150px;
      height: 150px;
      background: rgba(34, 211, 238, 0.1);
      top: 20%;
      left: 5%;
      animation: pulse 7s infinite;
    }

    .particles {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      z-index: 1;
    }

    .particle {
      position: absolute;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.2);
    }

    .main-header .main-image {
      position: relative;
      padding: 30px;
    }

    .main-header .main-image img {
      width: 100%;
      max-width: 500px;
      filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
      animation: float 5s ease-in-out infinite;
      position: relative;
      z-index: 5;
    }

    .main-header .main-image::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
      animation: rotating 15s linear infinite;
      z-index: 2;
    }

    .main-header .main-content {
      text-align: center;
      padding: 30px;
    }

    .main-header .main-content h2 {
      font-size: 2.5rem;
      color: var(--accent-color);
      font-weight: 900;
      font-family: "Cairo", sans-serif;
      margin-bottom: 0;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
      animation: fadeInDown 1.5s;
    }

    .main-header .main-content h1 {
      font-size: 5rem;
      color: white;
      font-weight: 800;
      font-family: "Cairo", sans-serif;
      margin: 0;
      position: relative;
      display: inline-block;
      animation: fadeInUp 1.5s;
      text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
    }

    .main-header .main-content h1::after {
      content: "";
      display: block;
      position: absolute;
      bottom: 5px;
      left: 0;
      width: 100%;
      height: 15px;
      background-color: var(--secondary-color);
      z-index: -1;
      transform: skew(-10deg);
      opacity: 0.7;
    }

    .main-header .main-content p {
      font-size: 1.5rem;
      color: white;
      font-weight: 500;
      margin: 15px 0;
      animation: fadeIn 2s;
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    }

    .main-header .main-content .buttons {
      margin-top: 30px;
      animation: fadeInUp 2.5s;
    }

    .btn {
      position: relative;
      overflow: hidden;
      font-weight: 600;
      font-size: 1rem;
      padding: 12px 30px;
      border-radius: 50px;
      transition: all 0.4s ease;
      margin: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      border: none;
      z-index: 1;
    }

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

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

    .btn:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

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

    .btn-secondary {
      background: var(--secondary-color);
      color: white;
    }

    .features {
      padding: 100px 0;
      background: var(--theme-background);
      position: relative;
    }

    .features .section-title {
      font-size: 3rem;
      font-weight: 800;
      color: var(--primary-color);
      text-align: center;
      margin-bottom: 50px;
      position: relative;
      font-family: "Cairo", sans-serif;
    }

    .features .section-title::after {
      content: "";
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 100px;
      height: 4px;
      background: var(--primary-color);
      border-radius: 2px;
    }

    .feature-card {
      background: var(--theme-secondary-background);
      border-radius: 20px;
      padding: 30px;
      margin-bottom: 30px;
      text-align: center;
      transition: all 0.4s ease;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      position: relative;
      overflow: hidden;
      height: 100%;
      z-index: 1;
    }

    .feature-card::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 0%;
      background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
      transition: all 0.4s ease;
      opacity: 0.9;
      z-index: -1;
    }

    .feature-card:hover::before {
      height: 100%;
    }

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

    .feature-card:hover .feature-icon,
    .feature-card:hover h3,
    .feature-card:hover p {
      color: white;
    }

    .feature-icon {
      font-size: 3rem;
      margin-bottom: 20px;
      color: var(--primary-color);
      transition: all 0.4s ease;
    }

    .feature-card h3 {
      font-size: 1.5rem;
      margin-bottom: 15px;
      transition: all 0.4s ease;
      font-weight: 700;
    }

    .feature-card p {
      font-size: 1rem;
      line-height: 1.6;
      transition: all 0.4s ease;
    }

    .courses {
      padding: 100px 0;
      background: var(--theme-secondary-background);
      position: relative;
    }

    .courses-wave-top {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      overflow: hidden;
      line-height: 0;
    }

    .courses-wave-top svg {
      position: relative;
      display: block;
      width: calc(100% + 1.3px);
      height: 85px;
      transform: rotateY(180deg);
    }

    .courses-wave-top .shape-fill {
      fill: var(--theme-background);
    }

    .courses-wave-bottom {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      overflow: hidden;
      line-height: 0;
    }

    .courses-wave-bottom svg {
      position: relative;
      display: block;
      width: calc(100% + 1.3px);
      height: 85px;
    }

    .courses-wave-bottom .shape-fill {
      fill: var(--theme-background);
    }

    .courses .section-title {
      font-size: 3rem;
      font-weight: 800;
      color: var(--primary-color);
      text-align: center;
      margin-bottom: 50px;
      position: relative;
      font-family: "Cairo", sans-serif;
    }

    .courses .section-title::after {
      content: "";
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 100px;
      height: 4px;
      background: var(--primary-color);
      border-radius: 2px;
    }

    .courses .classroom-card {
      background: var(--theme-background);
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
      transition: all 0.4s ease;
      margin-bottom: 30px;
      position: relative;
    }

    .courses .classroom-card:hover {
      transform: translateY(-15px) scale(1.02);
      box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
    }

    .courses .classroom-card .card-image {
      position: relative;
      overflow: hidden;
      height: 250px;
    }

    .courses .classroom-card img {
      width: 100%;
      height: 60%;
      object-fit: cover;
      transition: all 0.8s ease;
    }

    .courses .classroom-card:hover img {
      transform: scale(1.1);
    }

    .courses .classroom-card .grade-badge {
      position: absolute;
      top: 20px;
      right: 20px;
      background: var(--primary-color);
      color: white;
      padding: 8px 15px;
      border-radius: 50px;
      font-weight: 600;
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
      z-index: 1;
    }

    .courses .classroom-card .card-body {
      padding: 25px;
      text-align: center;
    }

    .courses .classroom-card h4 {
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--primary-color);
      margin-bottom: 15px;
      font-family: "Cairo", sans-serif;
    }

    .courses .classroom-card p {
      font-size: 1.1rem;
      line-height: 1.6;
      margin-bottom: 20px;
      color: var(--theme-color);
    }

    .courses .classroom-card .stats {
      display: flex;
      justify-content: space-between;
      margin-bottom: 20px;
    }

    .courses .classroom-card .stat-item {
      text-align: center;
      padding: 5px 10px;
    }

    .courses .classroom-card .stat-value {
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--primary-color);
    }

    .courses .classroom-card .stat-label {
      font-size: 0.9rem;
      color: var(--theme-color);
      opacity: 0.8;
    }

    .courses .classroom-card .btn {
      width: 100%;
      display: block;
      background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
      color: white;
      text-align: center;
      padding: 12px;
      margin: 0;
    }

    .testimonials {
      padding: 100px 0;
      background: var(--theme-background);
      position: relative;
    }

    .testimonials .section-title {
      font-size: 3rem;
      font-weight: 800;
      color: var(--primary-color);
      text-align: center;
      margin-bottom: 50px;
      position: relative;
      font-family: "Cairo", sans-serif;
    }

    .testimonials .section-title::after {
      content: "";
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 100px;
      height: 4px;
      background: var(--primary-color);
      border-radius: 2px;
    }

    .testimonial-swiper {
      padding: 30px 0;
    }

    .testimonial-card {
      background: var(--theme-secondary-background);
      border-radius: 20px;
      padding: 30px;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
      position: relative;
      transition: all 0.3s ease;
      text-align: center;
      height: 50%;
      display: flex;
      flex-direction: column;
    }

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

    .testimonial-card .quote-icon {
      font-size: 2rem;
      color: var(--primary-color);
      opacity: 0.3;
      margin-bottom: 15px;
    }

    .testimonial-card .content {
      font-size: 1.1rem;
      line-height: 1.7;
      margin-bottom: 20px;
      flex-grow: 1;
    }

    .testimonial-card .avatar {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      object-fit: cover;
      margin: 0 auto 15px;
      border: 3px solid var(--primary-color);
    }

    .testimonial-card .name {
      font-size: 1.2rem;
      font-weight: 700;
      margin-bottom: 5px;
      color: var(--primary-color);
    }

    .testimonial-card .title {
      font-size: 0.9rem;
      color: var(--theme-color);
      opacity: 0.8;
    }

    .testimonial-card .rating {
      margin-top: 10px;
    }

    .testimonial-card .star {
      color: #ffc107;
      font-size: 1.2rem;
      margin: 0 2px;
    }

    .swiper-pagination-bullet {
      width: 12px;
      height: 12px;
      background-color: var(--primary-color);
      opacity: 0.5;
    }

    .swiper-pagination-bullet-active {
      opacity: 1;
      background-color: var(--primary-color);
    }

    .swiper-button-next,
    .swiper-button-prev {
      color: var(--primary-color);
    }

    .stats {
      padding: 100px 0;
      background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
      position: relative;
      color: white;
    }

    .stats-wave-top {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      overflow: hidden;
      line-height: 0;
    }

    .stats-wave-top svg {
      position: relative;
      display: block;
      width: calc(100% + 1.3px);
      height: 85px;
    }

    .stats-wave-top .shape-fill {
      fill: var(--theme-background);
    }

    .stats-wave-bottom {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      overflow: hidden;
      line-height: 0;
    }

    .stats-wave-bottom svg {
      position: relative;
      display: block;
      width: calc(100% + 1.3px);
      height: 85px;
    }

    .stats-wave-bottom .shape-fill {
      fill: var(--theme-background);
    }

    .stats .section-title {
      font-size: 3rem;
      font-weight: 800;
      color: white;
      text-align: center;
      margin-bottom: 50px;
      position: relative;
      font-family: "Cairo", sans-serif;
    }

    .stats .section-title::after {
      content: "";
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 100px;
      height: 4px;
      background: white;
      border-radius: 2px;
    }

    .stats .counter-box {
      text-align: center;
      padding: 30px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 20px;
      backdrop-filter: blur(5px);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
      height: 100%;
    }

    .stats .counter-box:hover {
      transform: translateY(-10px);
      background: rgba(255, 255, 255, 0.2);
    }

    .stats .counter-icon {
      font-size: 3rem;
      margin-bottom: 20px;
    }

    .stats .counter-number {
      font-size: 3rem;
      font-weight: 800;
      margin-bottom: 10px;
      font-family: "Cairo", sans-serif;
    }

    .stats .counter-label {
      font-size: 1.5rem;
      font-weight: 400;
    }

    .cta-section {
      padding: 100px 0;
      background: var(--theme-background);
      text-align: center;
    }

    .cta-content {
      max-width: 800px;
      margin: 0 auto;
    }

    .cta-content h2 {
      font-size: 3rem;
      font-weight: 800;
      color: var(--primary-color);
      margin-bottom: 20px;
      font-family: "Cairo", sans-serif;
    }

    .cta-content p {
      font-size: 1.3rem;
      margin-bottom: 30px;
      line-height: 1.7;
    }

    .premium-footer {
      position: relative;
      background-color: var(--dark-bg);
      color: var(--text-light);
      overflow: hidden;
      padding-top: 100px;
    }

    .footer-wave-container {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100px;
      overflow: hidden;
    }

    .wave {
      position: absolute;
      top: 0;
      left: 0;
      width: 200%;
      height: 100px;
      background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%23151823" opacity=".25"/></svg>');
      background-size: 1200px 100px;
      animation: wave-animation 25s linear infinite;
      z-index: 1;
    }

    .wave1 {
      animation-delay: 0s;
      animation-duration: 25s;
      opacity: 0.3;
    }

    .wave2 {
      animation-delay: -5s;
      animation-duration: 20s;
      opacity: 0.2;
      background-position: -400px 0;
    }

    .wave3 {
      animation-delay: -2s;
      animation-duration: 15s;
      opacity: 0.1;
      background-position: -200px 0;
    }

    @keyframes wave-animation {
      0% {
        transform: translateX(0);
      }

      100% {
        transform: translateX(-50%);
      }
    }

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

    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 40px;
    }


    margin-bottom: {
      30px;
    }

    .brand-section {
      grid-column: 1 / span 1;
    }

    .newsletter-section {
      grid-column: auto / span 1;
    }

    .footer-logo-container {
      position: relative;
      display: inline-block;
      margin-bottom: 20px;
    }

    .footer-logo {
      font-size: 2.5rem;
      font-weight: 800;
      background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      position: relative;
      z-index: 2;
    }

    .logo-glow {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      background: var(--primary-color);
      filter: blur(20px);
      opacity: 0.3;
      z-index: 1;
      border-radius: 10px;
      animation: glow-pulse 3s ease-in-out infinite;
    }

    @keyframes glow-pulse {

      0%,
      100% {
        opacity: 0.2;
        transform: scale(0.8);
      }

      50% {
        opacity: 0.4;
        transform: scale(1.1);
      }
    }

    .footer-desc {
      font-size: 1rem;
      line-height: 1.7;
      margin-bottom: 25px;
      max-width: 90%;
      opacity: 0.8;
    }

    .footer-title {
      font-size: 1.4rem;
      margin-bottom: 15px;
      font-weight: 700;
      color: var(--primary-color);
      position: relative;
      display: inline-block;
    }

    .animated-underline {
      width: 50px;
      height: 3px;
      background: linear-gradient(to right, var(--primary-color), var(--accent-color));
      margin-bottom: 20px;
      position: relative;
      overflow: hidden;
      border-radius: 3px;
    }

    .animated-underline::after {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: rgba(255, 255, 255, 0.3);
      animation: underline-shine 3s infinite;
    }

    @keyframes underline-shine {
      0% {
        left: -100%;
      }

      50%,
      100% {
        left: 100%;
      }
    }

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

    .footer-links li {
      margin-bottom: 12px;
    }

    .footer-links a {
      color: var(--text-light);
      font-size: 1rem;
      text-decoration: none;
      transition: var(--transition-normal);
      display: inline-block;
      opacity: 0.8;
      position: relative;
      padding-right: 20px;
    }

    .footer-links i {
      margin-left: 8px;
      font-size: 0.75rem;
      transition: var(--transition-normal);
    }

    .hover-effect {
      position: relative;
      overflow: hidden;
    }

    .hover-effect::after {
      content: '';
      position: absolute;
      bottom: 0;
      right: 0;
      width: 0;
      height: 2px;
      background: var(--primary-color);
      transition: var(--transition-normal);
    }

    .hover-effect:hover {
      color: var(--primary-color);
      opacity: 1;
      transform: translateX(-5px);
    }

    .hover-effect:hover::after {
      width: 100%;
    }

    .hover-effect:hover i {
      transform: translateX(-5px);
      color: var(--primary-color);
    }

    .contact-info {
      margin-top: 20px;
    }

    .contact-item {
      display: flex;
      align-items: flex-start;
      margin-bottom: 15px;
    }

    .contact-icon {
      background: rgba(52, 152, 219, 0.1);
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-left: 15px;
      color: var(--primary-color);
      font-size: 1rem;
      position: relative;
      overflow: hidden;
      transition: var(--transition-normal);
      flex-shrink: 0;
    }

    .contact-icon::after {
      content: '';
      position: absolute;
      top: -10px;
      left: -10px;
      right: -10px;
      bottom: -10px;
      background: var(--primary-color);
      border-radius: 50%;
      z-index: -1;
      transform: scale(0);
      transition: var(--transition-slow);
    }

    .contact-item:hover .contact-icon {
      color: white;
      box-shadow: var(--shadow-primary);
      transform: translateY(-3px);
    }

    .contact-item:hover .contact-icon::after {
      transform: scale(1);
    }

    .contact-item p {
      font-size: 0.95rem;
      opacity: 0.8;
      transition: var(--transition-normal);
    }

    .contact-item:hover p {
      opacity: 1;
      transform: translateX(-3px);
    }

    .footer-social {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 20px;
    }

    .social-btn {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.05);
      color: var(--text-light);
      font-size: 1rem;
      text-decoration: none;
      transition: var(--transition-normal);
      overflow: hidden;
    }

    .social-btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--primary-color);
      transform: scale(0);
      transition: var(--transition-normal);
      border-radius: 50%;
      z-index: -1;
    }

    .social-btn:hover {
      color: white;
      transform: translateY(-5px);
      box-shadow: var(--shadow-primary);
    }

    .social-btn:hover::before {
      transform: scale(1);
    }

    .social-tooltip {
      position: absolute;
      top: -40px;
      left: 50%;
      transform: translateX(-50%) scale(0);
      background: var(--dark-secondary);
      color: white;
      padding: 5px 10px;
      border-radius: 5px;
      font-size: 0.7rem;
      opacity: 0;
      transition: var(--transition-normal);
      pointer-events: none;
      white-space: nowrap;
    }

    .social-tooltip::after {
      content: '';
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      border-width: 5px;
      border-style: solid;
      border-color: var(--dark-secondary) transparent transparent transparent;
    }

    .social-btn:hover .social-tooltip {
      opacity: 1;
      transform: translateX(-50%) scale(1);
    }

    .newsletter-form {
      margin: 20px 0;
    }

    .form-group {
      position: relative;
      display: flex;
      max-width: 100%;
      margin-bottom: 15px;
      overflow: hidden;
      border-radius: 5px;
      box-shadow: var(--shadow-dark);
    }

    .form-group input {
      width: 100%;
      padding: 15px;
      border: none;
      background: rgba(255, 255, 255, 0.05);
      color: white;
      font-size: 0.9rem;
      font-family: 'Cairo', sans-serif;
      outline: none;
      transition: var(--transition-normal);
    }

    .form-group input::placeholder {
      color: rgba(255, 255, 255, 0.5);
    }

    .form-group input:focus {
      background: rgba(255, 255, 255, 0.1);
    }

    .submit-btn {
      position: absolute;
      left: 0;
      top: 0;
      height: 100%;
      padding: 0 15px;
      border: none;
      background: var(--primary-color);
      color: white;
      cursor: pointer;
      transition: var(--transition-normal);
      font-size: 1rem;
    }

    .submit-btn:hover {
      background: var(--primary-dark);
      transform: translateX(-3px);
    }

    .app-download {
      margin-top: 20px;
    }

    .app-download p {
      font-size: 0.9rem;
      margin-bottom: 10px;
      opacity: 0.8;
    }

    .app-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .app-btn {
      display: flex;
      align-items: center;
      padding: 8px 15px;
      background: rgba(255, 255, 255, 0.05);
      border-radius: 5px;
      color: white;
      text-decoration: none;
      transition: var(--transition-normal);
    }

    .app-btn i {
      font-size: 1.2rem;
      margin-left: 8px;
    }

    .app-btn span {
      font-size: 0.8rem;
    }

    .app-btn:hover {
      background: var(--primary-color);
      transform: translateY(-3px);
      box-shadow: var(--shadow-primary);
    }

    .footer-bottom {
      background: var(--dark-secondary);
      padding: 20px 0;
      margin-top: 40px;
      position: relative;
      z-index: 2;
    }

    .footer-bottom .footer-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px;
    }

    .copyright {
      font-size: 0.9rem;
      opacity: 0.7;
    }

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

    .copyright a:hover {
      text-decoration: underline;
    }

    .fa-heart {
      color: var(--secondary-color);
      margin: 0 5px;
    }

    .pulse {
      animation: heart-pulse 1.5s ease infinite;
    }

    @keyframes heart-pulse {
      0% {
        transform: scale(1);
      }

      50% {
        transform: scale(1.3);
      }

      100% {
        transform: scale(1);
      }
    }

    .footer-bottom-links {
      display: flex;
      gap: 20px;
    }

    .footer-bottom-links a {
      color: var(--text-light);
      opacity: 0.7;
      text-decoration: none;
      font-size: 0.9rem;
      transition: var(--transition-normal);
    }

    .footer-bottom-links a:hover {
      color: var(--primary-color);
      opacity: 1;
    }

    #back-to-top {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: var(--primary-color);
      color: white;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      box-shadow: var(--shadow-primary);
      opacity: 0;
      visibility: hidden;
      transform: translateY(20px);
      transition: var(--transition-normal);
      z-index: 999;
    }

    #back-to-top.visible {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

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

    #current-year {
      display: inline;
    }

    @media screen and (max-width: 991px) {
      .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
      }

      .brand-section,
      .newsletter-section {
        grid-column: auto / span 1;
      }
    }

    @media screen and (max-width: 768px) {
      .premium-footer {
        padding-top: 80px;
      }

      .footer-wave-container {
        height: 80px;
      }

      .wave {
        height: 80px;
      }

      .footer-logo {
        font-size: 2.2rem;
      }

      .footer-title {
        font-size: 1.3rem;
      }

      .footer-bottom .footer-container {
        flex-direction: column;
        text-align: center;
      }

      .footer-bottom-links {
        justify-content: center;
      }
    }

    @media screen and (max-width: 576px) {
      .premium-footer {
        padding-top: 60px;
      }

      .footer-wave-container {
        height: 60px;
      }

      .wave {
        height: 60px;
      }

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

      .footer-section {
        margin-bottom: 25px;
      }

      .footer-logo {
        font-size: 2rem;
      }

      .footer-title {
        font-size: 1.2rem;
      }

      .contact-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
      }

      #back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
      }
    }

    .scroll-top {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 50px;
      height: 50px;
      background: var(--primary-color);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      cursor: pointer;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      transition: opacity 0.3s, visibility 0.3s;
    }

    .scroll-top.hidden {
      opacity: 0;
      visibility: hidden;
    }

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