@import url('https://fonts.googleapis.com/css2?family=Lalezar&display=swap');

:root {
    --primary-color: #03c4ff;
    --accent-color: #ff6b35;
    --bg-color: #f8f9fa;
    --text-color: #333;
    --header-bg: #ffffff;
    --card-bg: #ffffff;
    --border-color: #e9ecef;
}

/* Dark Theme Variables */
.dark-theme {
    --primary-color: #03c4ff;
    --accent-color: #ff6b35;
    --bg-color: #03c4ff;
    --text-color: #ffffff;
    --header-bg: #2d2d2d;
    --card-bg: #333333;
    --border-color: #444444;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'amin, Arial, sans-serif;';
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    background-color: #03c4ff;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-height: 100vh;
}

/* Dark Theme Container */
.dark-theme .container {
    background-color: var(--bg-color);
}

header {    
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    color: var(--text-color);
    padding: 0;
    background: var(--header-bg);
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 10px;
    z-index: 1000;
    width: 95%;
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* Dark Theme Header */
.dark-theme header {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 0;
}

/* Progress Bar Styles */
.progress-container {
    width: 100%;
    height: 4px;
    background-color: rgba(3, 196, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #03c4ff 0%, #0099d4 100%);
    width: 0%;
    transition: width 0.1s ease-out;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 2px 4px rgba(3, 196, 255, 0.3);
}

/* تخطيط الشاشات الكبيرة - التصميم الأصلي */
.logo-toggle {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 20px;
    gap: 30px;
}

.theme-switch-wrapper {
  padding: 0;
}

.logo {
  padding: 0;
  cursor: pointer;
}

.logo img {
    width: 150px;
    height: auto;
}

.buttons{
  padding: 10px 20px;
  display: flex;
  gap: 30px;
  font-family: "Lalezar", sans-serif;
}

.buttons .as{
 background: #03c4ff;
 color: #ffffff;
  font-family: "Lalezar", sans-serif;
}

.as:hover{
  background: white;
  color: #03c4ff;
}

.asas{
  background: #ffffff;
  color: #03c4ff;
  font-family: "Lalezar", sans-serif;
}

.asas:hover{
  background: #03c4ff;
  color: #ffffff;
}

.asasas{
 padding: 5px 30px;
  text-decoration-line: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  border: 2px solid #03c4ff;
 transition: all .3s ease-in-out;
}


.theme-switch {
  --toggle-size: 15px;
  /* the size is adjusted using font-size,
     this is not transform scale,
     so you can choose any size */
  --container-width: 5.625em;
  --container-height: 2.5em;
  --container-radius: 6.25em;
  /* radius 0 - minecraft mode :) */
  --container-light-bg: #3D7EAE;
  --container-night-bg: #1D1F2C;
  --circle-container-diameter: 3.375em;
  --sun-moon-diameter: 2.125em;
  --sun-bg: #ECCA2F;
  --moon-bg: #C4C9D1;
  --spot-color: #959DB1;
  --circle-container-offset: calc((var(--circle-container-diameter) - var(--container-height)) / 2 * -1);
  --stars-color: #fff;
  --clouds-color: #F3FDFF;
  --back-clouds-color: #AACADF;
  --transition: .5s cubic-bezier(0, -0.02, 0.4, 1.25);
  --circle-transition: .3s cubic-bezier(0, -0.02, 0.35, 1.17);
}

.theme-switch, .theme-switch *, .theme-switch *::before, .theme-switch *::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: var(--toggle-size);
}

.theme-switch__container {
  width: var(--container-width);
  height: var(--container-height);
  background-color: var(--container-light-bg);
  border-radius: var(--container-radius);
  overflow: hidden;
  cursor: pointer;
  -webkit-box-shadow: 0em -0.062em 0.062em rgba(0, 0, 0, 0.25), 0em 0.062em 0.125em rgba(255, 255, 255, 0.94);
  box-shadow: 0em -0.062em 0.062em rgba(0, 0, 0, 0.25), 0em 0.062em 0.125em rgba(255, 255, 255, 0.94);
  -webkit-transition: var(--transition);
  -o-transition: var(--transition);
  transition: var(--transition);
  position: relative;
}

.theme-switch__container::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  -webkit-box-shadow: 0em 0.05em 0.187em rgba(0, 0, 0, 0.25) inset, 0em 0.05em 0.187em rgba(0, 0, 0, 0.25) inset;
  box-shadow: 0em 0.05em 0.187em rgba(0, 0, 0, 0.25) inset, 0em 0.05em 0.187em rgba(0, 0, 0, 0.25) inset;
  border-radius: var(--container-radius)
}

.theme-switch__checkbox {
  display: none;
}

.theme-switch__circle-container {
  width: var(--circle-container-diameter);
  height: var(--circle-container-diameter);
  background-color: rgba(255, 255, 255, 0.1);
  position: absolute;
  left: var(--circle-container-offset);
  top: var(--circle-container-offset);
  border-radius: var(--container-radius);
  -webkit-box-shadow: inset 0 0 0 3.375em rgba(255, 255, 255, 0.1), inset 0 0 0 3.375em rgba(255, 255, 255, 0.1), 0 0 0 0.625em rgba(255, 255, 255, 0.1), 0 0 0 1.25em rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 3.375em rgba(255, 255, 255, 0.1), inset 0 0 0 3.375em rgba(255, 255, 255, 0.1), 0 0 0 0.625em rgba(255, 255, 255, 0.1), 0 0 0 1.25em rgba(255, 255, 255, 0.1);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-transition: var(--circle-transition);
  -o-transition: var(--circle-transition);
  transition: var(--circle-transition);
  pointer-events: none;
}

.theme-switch__sun-moon-container {
  pointer-events: auto;
  position: relative;
  z-index: 2;
  width: var(--sun-moon-diameter);
  height: var(--sun-moon-diameter);
  margin: auto;
  border-radius: var(--container-radius);
  background-color: var(--sun-bg);
  -webkit-box-shadow: 0.062em 0.062em 0.062em 0em rgba(254, 255, 239, 0.61) inset, 0em -0.062em 0.062em 0em #a1872a inset;
  box-shadow: 0.062em 0.062em 0.062em 0em rgba(254, 255, 239, 0.61) inset, 0em -0.062em 0.062em 0em #a1872a inset;
  -webkit-filter: drop-shadow(0.062em 0.125em 0.125em rgba(0, 0, 0, 0.25)) drop-shadow(0em 0.062em 0.125em rgba(0, 0, 0, 0.25));
  filter: drop-shadow(0.062em 0.125em 0.125em rgba(0, 0, 0, 0.25)) drop-shadow(0em 0.062em 0.125em rgba(0, 0, 0, 0.25));
  overflow: hidden;
  -webkit-transition: var(--transition);
  -o-transition: var(--transition);
  transition: var(--transition);
}

.theme-switch__moon {
  -webkit-transform: translateX(100%);
  -ms-transform: translateX(100%);
  transform: translateX(100%);
  width: 100%;
  height: 100%;
  background-color: var(--moon-bg);
  border-radius: inherit;
  -webkit-box-shadow: 0.062em 0.062em 0.062em 0em rgba(254, 255, 239, 0.61) inset, 0em -0.062em 0.062em 0em #969696 inset;
  box-shadow: 0.062em 0.062em 0.062em 0em rgba(254, 255, 239, 0.61) inset, 0em -0.062em 0.062em 0em #969696 inset;
  -webkit-transition: var(--transition);
  -o-transition: var(--transition);
  transition: var(--transition);
  position: relative;
}

.theme-switch__spot {
  position: absolute;
  top: 0.75em;
  left: 0.312em;
  width: 0.75em;
  height: 0.75em;
  border-radius: var(--container-radius);
  background-color: var(--spot-color);
  -webkit-box-shadow: 0em 0.0312em 0.062em rgba(0, 0, 0, 0.25) inset;
  box-shadow: 0em 0.0312em 0.062em rgba(0, 0, 0, 0.25) inset;
}

.theme-switch__spot:nth-of-type(2) {
  width: 0.375em;
  height: 0.375em;
  top: 0.937em;
  left: 1.375em;
}

.theme-switch__spot:nth-last-of-type(3) {
  width: 0.25em;
  height: 0.25em;
  top: 0.312em;
  left: 0.812em;
}

.theme-switch__clouds {
  width: 1.25em;
  height: 1.25em;
  background-color: var(--clouds-color);
  border-radius: var(--container-radius);
  position: absolute;
  bottom: -0.625em;
  left: 0.312em;
  -webkit-box-shadow: 0.937em 0.312em var(--clouds-color), -0.312em -0.312em var(--back-clouds-color), 1.437em 0.375em var(--clouds-color), 0.5em -0.125em var(--back-clouds-color), 2.187em 0 var(--clouds-color), 1.25em -0.062em var(--back-clouds-color), 2.937em 0.312em var(--clouds-color), 2em -0.312em var(--back-clouds-color), 3.625em -0.062em var(--clouds-color), 2.625em 0em var(--back-clouds-color), 4.5em -0.312em var(--clouds-color), 3.375em -0.437em var(--back-clouds-color), 4.625em -1.75em 0 0.437em var(--clouds-color), 4em -0.625em var(--back-clouds-color), 4.125em -2.125em 0 0.437em var(--back-clouds-color);
  box-shadow: 0.937em 0.312em var(--clouds-color), -0.312em -0.312em var(--back-clouds-color), 1.437em 0.375em var(--clouds-color), 0.5em -0.125em var(--back-clouds-color), 2.187em 0 var(--clouds-color), 1.25em -0.062em var(--back-clouds-color), 2.937em 0.312em var(--clouds-color), 2em -0.312em var(--back-clouds-color), 3.625em -0.062em var(--clouds-color), 2.625em 0em var(--back-clouds-color), 4.5em -0.312em var(--clouds-color), 3.375em -0.437em var(--back-clouds-color), 4.625em -1.75em 0 0.437em var(--clouds-color), 4em -0.625em var(--back-clouds-color), 4.125em -2.125em 0 0.437em var(--back-clouds-color);
  -webkit-transition: 0.5s cubic-bezier(0, -0.02, 0.4, 1.25);
  -o-transition: 0.5s cubic-bezier(0, -0.02, 0.4, 1.25);
  transition: 0.5s cubic-bezier(0, -0.02, 0.4, 1.25);
}

.theme-switch__stars-container {
  position: absolute;
  color: var(--stars-color);
  top: -100%;
  left: 0.312em;
  width: 2.75em;
  height: auto;
  -webkit-transition: var(--transition);
  -o-transition: var(--transition);
  transition: var(--transition);
}

/* actions */

.theme-switch__checkbox:checked + .theme-switch__container {
  background-color: var(--container-night-bg);
}

.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__circle-container {
  left: calc(100% - var(--circle-container-offset) - var(--circle-container-diameter));
}

.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__circle-container:hover {
  left: calc(100% - var(--circle-container-offset) - var(--circle-container-diameter) - 0.187em)
}

.theme-switch__circle-container:hover {
  left: calc(var(--circle-container-offset) + 0.187em);
}

.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__moon {
  -webkit-transform: translate(0);
  -ms-transform: translate(0);
  transform: translate(0);
}

.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__clouds {
  bottom: -4.062em;
}

.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__stars-container {
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
/* زر المنيو الجديد */
.hamburger {
  cursor: pointer;
  display: none;
  z-index: 1001;
  padding: 10px;
  background: transparent;
  border: none;
  position: relative;
}

.hamburger input {
  display: none;
}

.hamburger svg {
  /* The size of the SVG defines the overall size */
  height: 3em;
  /* Define the transition for transforming the SVG */
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line {
  fill: none;
  stroke: black;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  /* Define the transition for transforming the Stroke */
  transition:
    stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line-top-bottom {
  stroke-dasharray: 12 63;
}

.hamburger input:checked + svg {
  transform: rotate(-45deg);
}

.hamburger input:checked + svg .line-top-bottom {
  stroke-dasharray: 20 300;
  stroke-dashoffset: -32.42;
}

/* النافذة المنبثقة */
.popup {
  position: fixed;
  top: 150px; /* تحت الهيدر مباشرة */
  right: 10px;
  background-color: #69afd8;
  padding: 25px 30px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
  z-index: 99999;
  width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

/* عند ظهور النافذة */
.popup.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* تعديل الـ overlay */


.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* أزرار النافذة */
.popup-btn {
  text-align: center;
  padding: 10px;
  background-color: #299bdd;
  color: white;
  text-decoration: none;
  border-radius: 15px;
  font-weight: bold;
  transition: all 0.3s ease;
  transform: translateY(20px);
  opacity: 0;

}

.popup.show .popup-btn {
  transform: translateY(0);
  opacity: 1;
}

.popup.show .popup-btn:nth-child(1) {
  transition-delay: 0.1s;
}

.popup.show .popup-btn:nth-child(2) {
  transition-delay: 0.2s;
}

.popup-btn:hover {
  background-color: #4d99c5;
  transform: translateY(-2px);
}

/* إخفاء النافذة */
.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translate(-50%, -50%) scale(0.8) !important;
}

/* Overlay خلف النافذة المنبثقة */


.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* إظهار الزر فقط على الشاشات الصغيرة */
.menu-container{
  display: none;
  position: static;
}

/* إخفاء header الهاتف على الشاشات الكبيرة */
.mobile-header {
  display: none;
}





@media (max-width: 768px) {
  /* إخفاء header الشاشات الكبيرة على الهاتف */
  .desktop-header {
    display: none;
  }

  /* إظهار header الهاتف */
  .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
  }

  .mobile-header .theme-switch-wrapper {
    order: 1; /* في الجانب الأيسر */
    padding: 10px;
  }

  .mobile-header .logo {
    order: 2; /* في المنتصف */
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 10px;
  }

  .mobile-header .logo img {
    width: 120px; /* حجم أصغر للشاشات الصغيرة */
  }

  .mobile-header .menu-container {
    order: 3; /* في الجانب الأيمن */
    display: block;
    padding: 10px;
  }

  .buttons {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .popup {
    width: 100%;
  }

  /* جعل الزر في المنتصف على الهاتف */
  .action-button {
    justify-content: center;
    margin-top: 25px;
  }

  .asasasas {
    padding: 15px 40px;
    font-size: 16px;
  }
}

/* قسم الصفحة الرئيسية */
.home {
    max-width: 1200px;
    width: 100%;
    margin: 40px auto;
    padding: 60px 20px;
    background: line;
    position: relative;
    overflow: hidden;
}


.home-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 100px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.home-text {
    grid-column: 1;
    grid-row: 1;
    margin-top: 50px;
}

.hero-image {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20px;
}

.main-title {
    font-family: 'Lalezar', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 40px;
    text-shadow: 
        2px 2px 4px rgba(0,0,0,0.3),
        0 0 20px rgba(255,255,255,0.1);
    direction: rtl;
}

.main-title .highlight {
    font-family: 'Lalezar', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 40px;

    direction: rtl;
}



.welcome-section {
    margin-top: 20px;
}

.welcome-title {
    font-family: 'Lalezar', sans-serif;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    direction: rtl;
}

.description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    direction: rtl;
    text-align: right;
    font-weight: 900;
}

.teacher-name {
    color: #ffffff;
    font-weight: 700;
}



.tech-image {
    width: 600px;
    max-width: 1200px;
    height: auto;
    border-radius: 20px;
}



/* الزر الخارجي - التصميم للشاشات الكبيرة */
.asasasas {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 80px;
    cursor: pointer;
}

/* حاوي الزر تحت الكلام - للشاشات الكبيرة على اليمين */
.action-button {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
    width: 100%;
}

.asasasas:hover{
  border: 4px solid white;
}

/* الحدود الداخلية */
.button-inner {
    width: 100%;
    padding: 15px 35px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 46px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* النص داخل الزر */
.button-text {
    color: #333;
    font-family: 'Lalezar', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
    white-space: nowrap;
}

/* تأثيرات الحركة للحدود الخارجية والداخلية */
.start-button::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        #FFD700, #FFA500, #FFD700, #FFA500, 
        #FFD700, #FFA500, #FFD700, #FFA500);
    background-size: 300% 300%;
    border-radius: 50px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: gradientMove 3s ease-in-out infinite;
}

.start-button:hover::before {
    opacity: 1;
}

.start-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 0 0 4px rgba(255, 215, 0, 0.5),
        0 15px 35px rgba(255, 215, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.6);
}

.start-button:hover .button-inner {
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, #FFE55C 0%, #FFB347 100%);
    transform: scale(0.98);
}

.start-button:hover .button-text {
    color: #1a1a1a;
    text-shadow: 1px 1px 3px rgba(255,255,255,0.3);
}

.start-button:active {
    transform: translateY(-1px) scale(1.02);
}

.button-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.start-button:hover .button-inner::after {
    left: 100%;
}

/* حركة الخلفية المتدرجة */
@keyframes gradientMove {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .home-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        text-align: center;
        gap: 30px;
    }
    
    .hero-image {
        grid-column: 1;
        grid-row: 1;
        justify-content: center;
        margin: 20px 0;
    }
    
    .home-text {
        grid-column: 1;
        grid-row: 2;
    }
    
    .start-button {
        grid-column: 1;
        grid-row: 3;
        justify-self: center;
        margin-top: 20px;
        max-width: 300px;
    }
    
    .main-title {
        font-size: 3rem;
        text-align: center;
    }
    
    .welcome-title {
        text-align: center;
    }
    
    .description {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .home {
        margin: 20px auto;
        padding: 40px 15px;
        border-radius: 20px;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .welcome-title {
        font-size: 1.5rem;
    }
    
    .description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .tech-image {
        max-width: 300px;
    }
    
    .start-button {
        min-width: 200px;
    }
    
    .button-inner {
        padding: 12px 25px;
    }
    
    .button-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .home {
        margin: 10px;
        padding: 30px 15px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .welcome-title {
        font-size: 1.3rem;
    }
    
    .features-list {
        gap: 10px;
    }
    
    .feature-item {
        padding: 12px 15px;
        flex-direction: row-reverse;
        text-align: right;
    }
    
    .tech-image {
        max-width: 250px;
    }

    /* تصميم الزر للشاشات الصغيرة جداً */
    .action-button {
        margin-top: 20px;
    }

    .asasasas {
        padding: 12px 30px;
        font-size: 14px;
    }
}


.features {
    background-color: #ffffff;
    padding: 80px 10px;
    width: 100%;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-family: 'Lalezar', sans-serif;
    color: #333;
    margin-bottom: 60px;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 95%;
    margin: 0;
    margin: 0 auto;
}

.feature-card {
    background: #03c4ff;
    border-radius: 10px;
    padding: 40px 25px;
    text-align: right;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 15px;
    background-color: #ff0000;
    transition: all 0.3s ease;
}


.feature-icon {
    margin: 0 0 25px auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #ffffff;
    font-size: 30px;
}

.feature-title {
    font-size: 2rem;
    font-family: 'Lalezar', sans-serif;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 700;
    direction: rtl;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    text-align: right;
}

.feature-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design للـ Features */
@media (max-width: 1024px) {
    .features-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .feature-icon .icon {
        font-size: 2rem;
    }
    
    .feature-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) and (min-width: 481px) {
    .features {
        padding: 60px 10px;
    }
    
    .features-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .feature-icon .icon {
        font-size: 1.8rem;
    }
    
    .feature-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .features {
        padding: 40px 5px;
    }
    
    .features-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    /* إخفاء 4 مميزات على الشاشات الصغيرة جداً */
    .feature-card:nth-child(5),
    .feature-card:nth-child(6),
    .feature-card:nth-child(7),
    .feature-card:nth-child(8) {
        display: none;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }
    
    .feature-icon .icon {
        font-size: 1.5rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .feature-description {
        font-size: 0.85rem;
    }
}

/* قسم التعريف بالمستر محمد عبدالله */
.teacher-intro {
    background-color: #ffffff;
    padding: 80px 20px;
    width: 100%;
    overflow: hidden;
}

.teacher-intro-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 60px;
    align-items: start;
}

.teacher-image-section {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.teacher-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.teacher-photo {
    width: 600px;

}



.teacher-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(45deg, #03c4ff, #0099d4);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(3, 196, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
}

.teacher-text-section {
    padding: 20px 0;
}

.teacher-header {
    margin-bottom: 30px;
}

.teacher-name {
    font-size: 2.5rem;
    font-family: 'Lalezar', sans-serif;
    color: #ffffff;
    margin: 0 0 10px 0;
    text-align: right;
}

.teacher-title {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
    text-align: right;
    line-height: 1.6;
}

.teacher-description {
    margin-bottom: 40px;
}

.teacher-description > p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    text-align: right;
}

.teacher-achievements {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f4ff 100%);
    border-radius: 15px;
    border: 2px solid rgba(3, 196, 255, 0.1);
}

.achievement-item {
    text-align: center;
    padding: 15px;
}

.achievement-number {
    font-size: 2rem;
    font-weight: bold;
    color: #03c4ff;
    font-family: 'Lalezar', sans-serif;
    margin-bottom: 5px;
}

.achievement-text {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

.teacher-specialties {
    margin: 30px 0;
}

.teacher-specialties h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 20px;
    text-align: right;
    font-family: 'Lalezar', sans-serif;
}

.specialties-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.specialties-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: rgba(3, 196, 255, 0.05);
    border-radius: 8px;
    border-right: 4px solid #03c4ff;
    font-size: 1rem;
    color: #555;
    direction: rtl;
    text-align: right;
}

.specialties-list li i {
    color: #03c4ff;
    font-size: 0.9rem;
}

.teacher-quote {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #03c4ff 0%, #0099d4 100%);
    border-radius: 20px;
    color: white;
    position: relative;
    text-align: center;
}

.quote-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.quote-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0 0 20px 0;
    font-style: italic;
}

.quote-author {
    font-size: 1rem;
    font-weight: bold;
    opacity: 0.9;
}

/* Responsive Design للقسم التعريفي */
@media (max-width: 1024px) {
    .teacher-intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .teacher-photo {
        width: 400px;
    }
    
    .teacher-name {
        font-size: 2.2rem;
        text-align: center;
    }
    
    .teacher-title {
        text-align: center;
    }
    
    .teacher-description > p {
        text-align: center;
    }
    
    .teacher-specialties h3 {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .teacher-intro {
        padding: 60px 15px;
    }
    
    .teacher-photo {
        width: 200px;
    }
    
    .teacher-name {
        font-size: 2rem;
    }
    
    .teacher-title {
        font-size: 1.1rem;
    }
    
    .teacher-achievements {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .specialties-list {
        grid-template-columns: 1fr;
    }
    
    .teacher-quote {
        padding: 25px 20px;
    }
    
    .quote-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .teacher-intro {
        padding: 40px 10px;
    }
    
    .teacher-photo {
        width: 180px;
    }
    
    .teacher-name {
        font-size: 1.8rem;
    }
    
    .teacher-badge {
        bottom: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .achievement-number {
        font-size: 1.5rem;
    }
    
    .achievement-text {
        font-size: 0.8rem;
    }
    
    .teacher-quote {
        padding: 20px 15px;
    }
}

/* ========================
   LOADING SCREEN STYLES
   ======================== */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #03c4ff 0%, #0099d4 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 1;
    visibility: visible;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-container {
    text-align: center;
    color: white;
    z-index: 10001;
    position: relative;
}

/* Logo Animation */
.loading-logo {
    margin-bottom: 30px;
}

.logo-animation {
    width: 120px;
    height: auto;
    animation: logoFloat 2s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.loading-text {
    font-family: "Lalezar", sans-serif;
    font-size: 28px;
    font-weight: bold;
    margin-top: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: textGlow 2s ease-in-out infinite alternate;
}

/* Spinner Animation */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 30px 0;
}

.spinner-circle {
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
    animation: spinnerBounce 1.2s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.spinner-circle:nth-child(1) { animation-delay: -0.32s; }
.spinner-circle:nth-child(2) { animation-delay: -0.16s; }
.spinner-circle:nth-child(3) { animation-delay: 0s; }
.spinner-circle:nth-child(4) { animation-delay: 0.16s; }

/* Progress Bar */
.loading-progress {
    margin: 40px 0;
}

.progress-container-loading {
    width: 300px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin: 0 auto 15px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.progress-bar-loading {
    height: 100%;
    background: linear-gradient(90deg, #ffffff 0%, #f0f8ff 50%, #ffffff 100%);
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 2s linear infinite;
}

.loading-percentage {
    font-size: 14px;
    font-weight: bold;
    opacity: 0.9;
    font-family: 'Arial', sans-serif;
}

/* Loading Message */
.loading-message {
    font-size: 18px;
    margin: 20px 0;
    opacity: 0.8;
    animation: messageFloat 3s ease-in-out infinite;
}

/* Teacher Introduction */
.teacher-intro-loading {
    margin-top: 40px;
    animation: teacherIntro 1s ease-out 1.5s both;
}

.teacher-avatar {
    margin-bottom: 15px;
}

.teacher-loading-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    animation: avatarPulse 2s ease-in-out infinite;
    object-fit: cover;
}

.welcome-message {
    font-size: 16px;
    margin: 8px 0;
    opacity: 0.9;
}

.teacher-message {
    font-size: 14px;
    opacity: 0.7;
    font-style: italic;
}

/* Background Animation */
.loading-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 10000;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatShapes 15s linear infinite;
}

.shape-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 40px;
    height: 40px;
    top: 60%;
    left: 80%;
    animation-delay: -2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 70%;
    animation-delay: -4s;
}

.shape-4 {
    width: 30px;
    height: 30px;
    top: 70%;
    left: 20%;
    animation-delay: -6s;
}

.shape-5 {
    width: 50px;
    height: 50px;
    top: 30%;
    left: 50%;
    animation-delay: -8s;
}

.shape-6 {
    width: 35px;
    height: 35px;
    top: 80%;
    left: 60%;
    animation-delay: -10s;
}

/* Keyframe Animations */
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes textGlow {
    0% {
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
    100% {
        text-shadow: 0 2px 20px rgba(255, 255, 255, 0.5), 0 0 30px rgba(255, 255, 255, 0.2);
    }
}

@keyframes spinnerBounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes progressShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes messageFloat {
    0%, 100% {
        transform: translateY(0px);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

@keyframes teacherIntro {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}

@keyframes avatarPulse {
    0%, 100% {
        transform: scale(1);
        border-color: rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        border-color: rgba(255, 255, 255, 0.6);
    }
}

@keyframes floatShapes {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .loading-container {
        padding: 20px;
    }
    
    .logo-animation {
        width: 100px;
    }
    
    .loading-text {
        font-size: 24px;
    }
    
    .progress-container-loading {
        width: 250px;
    }
    
    .teacher-loading-image {
        width: 60px;
        height: 60px;
    }
    
    .welcome-message {
        font-size: 14px;
    }
    
    .teacher-message {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .progress-container-loading {
        width: 200px;
    }
    
    .loading-text {
        font-size: 20px;
    }
    
    .loading-message {
        font-size: 16px;
    }
}

/* High Performance Mode */
@media (prefers-reduced-motion: reduce) {
    .loading-screen * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
    
    .logo-animation {
        animation: none;
    }
    
    .spinner-circle {
        animation: none;
    }
    
    .shape {
        animation: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .loading-screen {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    }
}


/* قسم الكورسات */
.courses-section {
    background-color: #ffffff;
    padding: 60px 0;
    width: 100%;
    min-height: 100vh;
}

.courses-header {
    text-align: center;
    margin-bottom: 60px;
}

.courses-header h2 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.courses-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #299bdd, #03c4ff);
    border-radius: 2px;
}

.courses-header p {
    font-size: 1.3rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.course-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    transform: translateY(0);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.course-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    transform: rotate(10deg);
    z-index: 2;
}

.course-content {
    padding: 25px;
}

.course-title {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.4;
    height: 60px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.course-subject {
    display: inline-block;
    background: linear-gradient(135deg, #03c4ff, #299bdd);
    color: white;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.course-description {
    color: #7f8c8d;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    height: 75px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.course-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.price-current {
    font-size: 1.8rem;
    font-weight: 800;
    color: #27ae60;
}

.price-original {
    font-size: 1.2rem;
    color: #95a5a6;
    text-decoration: line-through;
    margin-right: 10px;
}

.course-action {
    text-align: center;
}

.course-btn {
    display: inline-block;
    background: linear-gradient(135deg, #299bdd, #03c4ff);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.course-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(41, 155, 221, 0.4);
}

.course-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.course-btn:hover::before {
    left: 100%;
}

.view-all-section {
    text-align: center;
    margin-top: 40px;
}

.view-all-btn {
    display: inline-block;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.4);
}

.view-all-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.view-all-btn:hover::before {
    left: 100%;
}

/* الشاشات المتوسطة */
@media (max-width: 992px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .courses-header h2 {
        font-size: 2.5rem;
    }
    
    .courses-section {
        padding: 60px 0;
    }
}

/* الشاشات الصغيرة */
@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .courses-header h2 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .courses-header p {
        font-size: 1.1rem;
    }
    
    .course-image {
        height: 200px;
    }
    
    .course-content {
        padding: 20px;
    }
    
    .course-title {
        font-size: 1.3rem;
        height: 50px;
        -webkit-line-clamp: 2;
    }
    
    .course-description {
        height: 60px;
        -webkit-line-clamp: 2;
    }
    
    .courses-section {
        padding: 40px 0;
    }
}

/* الشاشات الصغيرة جداً */
@media (max-width: 480px) {
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* الشاشات الصغيرة جداً */
@media (max-width: 480px) {
    .courses-header h2 {
        font-size: 2rem;
    }

    .course-card {
        margin-bottom: 20px;
    }
}

/* ===== قسم آراء الطلاب ===== */
.testimonials-section {
    background: white;
    padding: 80px 0;
    color: #333;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    display: none;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100px); }
}

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.testimonials-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    font-family: "Lalezar", sans-serif;
  font-family: "Lalezar", sans-serif;
}

.testimonials-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
    border-radius: 2px;
}

.testimonials-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.testimonials-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.testimonial-slider {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    color: #333;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 20px;
    overflow: hidden;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-content {
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    color: #03c4ff;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #444;
    margin: 20px 0 30px;
    font-weight: 500;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.student-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.student-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #03c4ff;
    box-shadow: 0 4px 15px rgba(3, 196, 255, 0.3);
}

.student-details h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 5px;
    font-weight: 600;
}

.student-grade {
    color: #666;
    font-size: 0.95rem;
}

.rating {
    display: flex;
    gap: 5px;
}

.rating i {
    color: #FFD700;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.slider-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 30px;
}

.nav-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    color: #333;
    padding: 12px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-btn:hover {
    background: #03c4ff;
    border-color: #03c4ff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(3, 196, 255, 0.3);
}

.nav-btn:active {
    transform: translateY(0);
}

.slider-dots {
    display: flex;
    gap: 12px;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e9ecef;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active,
.dot:hover {
    background: #03c4ff;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(3, 196, 255, 0.5);
}

/* تأثيرات متقدمة */
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #03c4ff 0%, #0099d4 50%, #FFD700 100%);
}

/* استجابة الهاتف المحمول */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonials-header h2 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .testimonials-header p {
        font-size: 1.1rem;
        padding: 0 10px;
    }
    
    .testimonial-slider {
        height: 450px;
    }
    
    .testimonial-content {
        padding: 25px 20px;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .quote-icon {
        font-size: 2rem;
        top: 15px;
        right: 15px;
    }
    
    .testimonial-footer {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .student-info {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .student-avatar {
        width: 50px;
        height: 50px;
    }
    
    .slider-navigation {
        gap: 20px;
        margin-top: 30px;
    }
    
    .nav-btn {
        padding: 10px 12px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .testimonials-header h2 {
        font-size: 2rem;
    }
    
    .testimonial-slider {
        height: 400px;
    }
    
    .testimonial-content {
        padding: 20px 15px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    .course-image {
        height: 180px;
    }
    
    .course-content {
        padding: 15px;
    }
    
    .course-title {
        font-size: 1.2rem;
        height: 45px;
    }
    
    .price-current {
        font-size: 1.6rem;
    }
    
    .course-btn, .view-all-btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
}



.courses-section .asasasasas {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background: white;
}

.asasasasas {
    background: white;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =============== قسم آراء الطلاب - تصميم كامل الشاشة =============== */
#testimonials {
    background: #ffffff;
    min-height: 100vh;
    padding: 80px 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

#testimonials .asasasasas {
    max-width: 1400px;
    width: 100%;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 80px;
}

.testimonials-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 24px;
    font-family: "Lalezar", sans-serif;
    position: relative;
}



.testimonials-header p {
    font-size: 1.4rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 400;
}

/* تصميم البطاقات */
.testimonial-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    display: none;
    background: #ffffff;
    border-radius: 24px;
    padding: 60px 50px;
    margin: 0 auto;
    box-shadow: 
        0 20px 60px rgba(102, 126, 234, 0.1),
        0 10px 30px rgba(102, 126, 234, 0.05),
        0 0 0 1px rgba(102, 126, 234, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s ease;
}

.testimonial-card.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.quote-icon {
    text-align: center;
    margin-bottom: 30px;
}

.quote-icon i {
    font-size: 4rem;
    opacity: 0.8;
}

.testimonial-text {
    font-size: 1.6rem;
    line-height: 2;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 400;
    font-style: italic;
    position: relative;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 2px solid rgba(102, 126, 234, 0.1);
}

.student-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.student-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.student-details h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.student-grade {
    font-size: 1.1rem;
    color: #7f8c8d;
    font-weight: 500;
}

.rating {
    display: flex;
    gap: 8px;
}

.rating i {
    font-size: 1.8rem;
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.4);
}

/* أزرار التنقل */
.slider-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
}

.nav-btn {
    background: #fd0c0c;
    border: 2px solid #e41b00;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.nav-btn:hover {
    background: #fc3504;
    border-color: #ff0000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(118, 75, 162, 0.4);
}

.nav-btn i {
    font-size: 1.5rem;
    color: white;
}

.slider-dots {
    display: flex;
    gap: 15px;
}

.dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: #000000;
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.6);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

/* استجابة للشاشات المتوسطة */
@media (max-width: 1024px) {
    #testimonials {
        padding: 60px 0;
    }
    
    #testimonials .asasasasas {
        padding: 0 30px;
    }
    
    .testimonials-header h2 {
        font-size: 3rem;
    }
    
    .testimonials-header p {
        font-size: 1.2rem;
    }
    
    .testimonial-card {
        padding: 50px 40px;
    }
    
    .testimonial-text {
        font-size: 1.4rem;
    }
}

/* استجابة للهواتف */
@media (max-width: 768px) {
    #testimonials {
        padding: 40px 0;
        min-height: auto;
    }
    
    #testimonials .asasasasas {
        padding: 0 20px;
    }
    
    .testimonials-header {
        margin-bottom: 50px;
    }
    
    .testimonials-header h2 {
        font-size: 2.2rem;
    }
    
    .testimonials-header p {
        font-size: 1.1rem;
    }
    
    .testimonial-card {
        padding: 40px 30px;
    }
    
    .testimonial-text {
        font-size: 1.2rem;
        line-height: 1.8;
    }
    
    .testimonial-footer {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .student-avatar {
        width: 70px;
        height: 70px;
    }
    
    .nav-btn {
        width: 50px;
        height: 50px;
    }
    
    .nav-btn i {
        font-size: 1.2rem;
    }
    
    .slider-navigation {
        gap: 30px;
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .testimonials-header h2 {
        font-size: 1.8rem;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .quote-icon i {
        font-size: 3rem;
    }
}

/* ===== قسم تواصل معنا - Contact Section ===== */
.contact-section {
    background: #ffffff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.contact-section .asasasasas {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* .contact-section::before removed for clean white background */

.contact-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.contact-header h2 {
    font-size: 3.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      font-family: "Lalezar", sans-serif;

}

.contact-header p {
    font-size: 1.3rem;
    color: #555555;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

/* معلومات التواصل */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    background: linear-gradient(135deg, #03c4ff 0%, #0099d4 100%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.8rem;
    color: #ffffff;
}

.contact-details h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-details p {
    font-size: 1.2rem;
    color: #03c4ff;
    margin-bottom: 5px;
    font-weight: 500;
}

.contact-details span {
    font-size: 1rem;
    color: #666;
}

/* نموذج التواصل */
.contact-form-container {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1.1rem;
    background: #ffffff;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #03c4ff;
    box-shadow: 0 0 0 3px rgba(3, 196, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #03c4ff 0%, #0099d4 100%);
    color: #ffffff;
    padding: 18px 40px;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(3, 196, 255, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* روابط التواصل الاجتماعي */
.social-media {
    text-align: center;
    position: relative;
    z-index: 2;
}

.social-media h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 600;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link.facebook {
    background: #3b5998;
}

.social-link.youtube {
    background: #ff0000;
}

.social-link.telegram {
    background: #0088cc;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background-size: 100% 100%;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* الاستجابة للشاشات المتوسطة */
@media (max-width: 1024px) {
    .contact-section {
        padding: 80px 0;
    }
    
    .contact-section .asasasasas {
        padding: 0 40px;
    }
    
    .contact-header h2 {
        font-size: 3rem;
    }
    
    .contact-content {
        gap: 60px;
        margin-bottom: 60px;
    }
    
    .contact-form-container {
        padding: 35px;
    }
}

/* الاستجابة للهواتف */
@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-section .asasasasas {
        padding: 0 20px;
    }
    
    .contact-header h2 {
        font-size: 2.5rem;
    }
    
    .contact-header p {
        font-size: 1.2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
        margin-bottom: 50px;
    }
    
    .contact-item {
        padding: 25px;
        gap: 20px;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-icon i {
        font-size: 1.5rem;
    }
    
    .contact-form-container {
        padding: 30px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 15px 18px;
        font-size: 1rem;
    }
    
    .submit-btn {
        padding: 16px 35px;
        font-size: 1.1rem;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-link {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .contact-header h2 {
        font-size: 2rem;
    }
    
    .contact-header p {
        font-size: 1.1rem;
    }
    
    .contact-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-details h3 {
        font-size: 1.2rem;
    }
    
    .contact-details p {
        font-size: 1.1rem;
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    .social-media h3 {
        font-size: 1.6rem;
    }
    
    .social-links {
        gap: 12px;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* ===== Loading Animation ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.95) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: scale(1);
}

.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.page-loader.fade-out {
    opacity: 0;
    transform: scale(1.05);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth content reveal styles */
body.loading {
    overflow: hidden;
}

body.loading .container > *:not(.page-loader) {
    opacity: 0;
    transform: translateY(30px);
    transition: none;
}

/* Enhanced smooth animations for content */
.smooth-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.smooth-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Course cards smooth animation */
.course-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.course-card .course-image {
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.course-card .course-image img {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Enhanced loading screen animations */
@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Remove auto animations since we're handling them with JS */
.header.desktop-header,
.hero-section,
.courses-section,
.footer,
.stats-section,
.testimonials-section,
.about-section {
    /* Let JavaScript handle animations for better control */
}

/* Enhanced smooth reveal effects */
.smooth-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.smooth-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Special effects for interactive elements */
.course-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.course-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.course-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.course-btn:hover::before {
    left: 100%;
}

.loader {
    position: relative;
    animation: speeder 0.4s linear infinite;
}

.loader > span {
    height: 5px;
    width: 35px;
    background: var(--primary-color);
    position: absolute;
    top: -19px;
    left: 60px;
    border-radius: 2px 10px 1px 0;
}

.base span {
    position: absolute;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-right: 100px solid var(--primary-color);
    border-bottom: 6px solid transparent;
}

.base span:before {
    content: "";
    height: 22px;
    width: 22px;
    border-radius: 50%;
    background: var(--primary-color);
    position: absolute;
    right: -110px;
    top: -16px;
}

.base span:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 0 solid transparent;
    border-right: 55px solid var(--primary-color);
    border-bottom: 16px solid transparent;
    top: -16px;
    right: -98px;
}

.face {
    position: absolute;
    height: 12px;
    width: 20px;
    background: var(--primary-color);
    border-radius: 20px 20px 0 0;
    transform: rotate(-40deg);
    right: -125px;
    top: -15px;
}

.face:after {
    content: "";
    height: 12px;
    width: 12px;
    background: var(--primary-color);
    right: 4px;
    top: 7px;
    position: absolute;
    transform: rotate(40deg);
    transform-origin: 50% 50%;
    border-radius: 0 0 0 2px;
}

.loader > span > span:nth-child(1),
.loader > span > span:nth-child(2),
.loader > span > span:nth-child(3),
.loader > span > span:nth-child(4) {
    width: 30px;
    height: 1px;
    background: var(--accent-color);
    position: absolute;
    animation: fazer1 0.2s linear infinite;
}

.loader > span > span:nth-child(2) {
    top: 3px;
    animation: fazer2 0.4s linear infinite;
}

.loader > span > span:nth-child(3) {
    top: 1px;
    animation: fazer3 0.4s linear infinite;
    animation-delay: -1s;
}

.loader > span > span:nth-child(4) {
    top: 4px;
    animation: fazer4 1s linear infinite;
    animation-delay: -1s;
}

@keyframes fazer1 {
    0% {
        left: 0;
    }
    100% {
        left: -80px;
        opacity: 0;
    }
}

@keyframes fazer2 {
    0% {
        left: 0;
    }
    100% {
        left: -100px;
        opacity: 0;
    }
}

@keyframes fazer3 {
    0% {
        left: 0;
    }
    100% {
        left: -50px;
        opacity: 0;
    }
}

@keyframes fazer4 {
    0% {
        left: 0;
    }
    100% {
        left: -150px;
        opacity: 0;
    }
}

@keyframes speeder {
    0% {
        transform: translate(2px, 1px) rotate(0deg);
    }
    10% {
        transform: translate(-1px, -3px) rotate(-1deg);
    }
    20% {
        transform: translate(-2px, 0px) rotate(1deg);
    }
    30% {
        transform: translate(1px, 2px) rotate(0deg);
    }
    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }
    50% {
        transform: translate(-1px, 3px) rotate(-1deg);
    }
    60% {
        transform: translate(-1px, 1px) rotate(0deg);
    }
    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }
    80% {
        transform: translate(-2px, -1px) rotate(1deg);
    }
    90% {
        transform: translate(2px, 1px) rotate(0deg);
    }
    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}

.longfazers {
    position: absolute;
    width: 100%;
    height: 100%;
}

.longfazers span {
    position: absolute;
    height: 2px;
    width: 20%;
    background: var(--accent-color);
}

.longfazers span:nth-child(1) {
    top: 20%;
    animation: lf 0.6s linear infinite;
    animation-delay: -5s;
}

.longfazers span:nth-child(2) {
    top: 40%;
    animation: lf2 0.8s linear infinite;
    animation-delay: -1s;
}

.longfazers span:nth-child(3) {
    top: 60%;
    animation: lf3 0.6s linear infinite;
}

.longfazers span:nth-child(4) {
    top: 80%;
    animation: lf4 0.5s linear infinite;
    animation-delay: -3s;
}

@keyframes lf {
    0% {
        left: 200%;
    }
    100% {
        left: -200%;
        opacity: 0;
    }
}

@keyframes lf2 {
    0% {
        left: 200%;
    }
    100% {
        left: -200%;
        opacity: 0;
    }
}

@keyframes lf3 {
    0% {
        left: 200%;
    }
    100% {
        left: -100%;
        opacity: 0;
    }
}

@keyframes lf4 {
    0% {
        left: 200%;
    }
    100% {
        left: -100%;
        opacity: 0;
    }
}

/* ==================== DARK THEME STYLES ==================== */

/* Main sections dark theme */
.dark-theme .home {
    background: #03c4ff;
    color: var(--text-color);
}





/* Features section dark theme */
.dark-theme .features {
    background: #000000;
    color: var(--text-color);
}

.dark-theme .section-title {
    color: var(--text-color);
}

.dark-theme .feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.dark-theme .feature-card:hover {
    background: #404040;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Course cards dark theme */
.dark-theme .course-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.dark-theme .course-card:hover {
    background: #404040;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.dark-theme .course-title {
    color: var(--text-color);
}

.dark-theme .course-description {
    color: #cccccc;
}

/* Buttons dark theme */
.dark-theme .asas {
    background: var(--card-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.dark-theme .asas:hover {
    background: var(--primary-color);
    color: var(--card-bg);
}

.dark-theme .as {
    background: var(--primary-color);
    color: var(--card-bg);
}

.dark-theme .as:hover {
    background: var(--card-bg);
    color: var(--primary-color);
}

/* Popup dark theme */
.dark-theme .popup {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.dark-theme .popup-btn {
    background: var(--primary-color);
    color: var(--card-bg);
}

.dark-theme .popup-btn:hover {
    background: #0288cc;
}

/* Form elements dark theme */
.dark-theme input,
.dark-theme textarea,
.dark-theme select {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.dark-theme input:focus,
.dark-theme textarea:focus,
.dark-theme select:focus {
    border-color: var(--primary-color);
}

/* Footer dark theme */
.dark-theme .footer {
    background: #1a1a1a;
    color: var(--text-color);
}

.dark-theme .footer-content {
    border-top: 1px solid var(--border-color);
}

/* Links dark theme */
.dark-theme a {
    color: var(--primary-color);
}

.dark-theme a:hover {
    color: #0288cc;
}

/* Hamburger menu dark theme */
.dark-theme .hamburger svg .line {
    stroke: var(--text-color);
}

/* Theme toggle enhanced styling */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.theme-switch-wrapper:hover {
    transform: scale(1.1);
}

/* Smooth transitions for all elements */
.dark-theme * {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.dark-theme .teacher-intro-content{
        color: #ffffff;
        background: #000000;
}

.dark-theme .teacher-intro{
        color: #ffffff;
        background: #000000;    
}

.dark-theme .teacher-text-section p,.dark-theme .teacher-achievements,.dark-theme .teacher-achievements div, .dark-theme .teacher-specialties h3, .dark-theme .teacher-specialties ul li, .dark-theme .teacher-quote, .dark-theme .courses-section, .dark-theme .courses-section .asasasasas, .dark-theme .courses-header h2, .dark-theme .courses-header p, .dark-theme #testimonials .asasasasas, .dark-theme #testimonials, .dark-theme .testimonial-card , .dark-theme .testimonial-card p , .dark-theme .student-details h4, .dark-theme .student-grade, .dark-theme .contact-section, .dark-theme .contact-section .asasasasas, .dark-theme .contact-header h2, .dark-theme .contact-header p, .dark-theme .contact-item, .dark-theme .contact-icon, .dark-theme .contact-details h3, .dark-theme .contact-details p, .dark-theme .contact-details span, .dark-theme .contact-form-container, .dark-theme .form-group input, .dark-theme .form-group select, .dark-theme .form-group textarea, .dark-theme .submit-btn, .dark-theme .social-media h3, .dark-theme .social-link, .dark-theme .testimonials-header h2, .dark-theme .testimonials-header p, .dark-theme .testimonial-text, .dark-theme .testimonial-footer, .dark-theme .rating i, .dark-theme .nav-btn, .dark-theme .dot{
        color: #ffffff;
        background: #000000;    
}