/* استدعاء خط Almarai من Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@400;700&display=swap');

/* تنسيقات أساسية للصفحة */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth; /* عشان الانتقال بين الأقسام يكون سلس */
}

body {
  font-family: 'Almarai', sans-serif;
  direction: rtl;
  background-color: #121212;
  color: #E0E0E0;
  line-height: 1.6;
  overflow-x: hidden; /* لمنع ظهور شريط التمرير الأفقي */
}

/* تنسيق الروابط العامة */
a {
  text-decoration: none;
  color: #00D2FF;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}

a:hover {
  color: #FF5733;
}

/* شريط التنقل */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
  background-color: transparent;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  backdrop-filter: blur(8px); /* شوية Blur للخلفية */
}

/* حالة الـ navbar بعد التمرير */
nav.scrolled {
  background-color: rgba(18, 18, 18, 0.9);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.8rem;
  color: #E0E0E0;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease;
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 10px #00D2FF;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.logo:hover {
  color: #00D2FF;
}

.logo:hover img {
  box-shadow: 0 0 25px #00D2FF;
  transform: rotate(5deg) scale(1.05);
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  color: #E0E0E0;
  font-weight: 400;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

nav ul li a:hover {
  border-bottom: 2px solid #00D2FF;
  color: #00D2FF;
}

/* أيقونة الموبايل */
.menu-icon {
  display: none;
  cursor: pointer;
}

.menu-icon .bar {
  width: 28px;
  height: 3px;
  background-color: #E0E0E0;
  margin: 5px 0;
  border-radius: 3px;
  transition: 0.4s;
}

/* القائمة الجانبية */
.sidebar {
  position: fixed;
  top: 0;
  left: -260px;
  width: 250px;
  height: 100%;
  background-color: #121212;
  padding-top: 60px;
  transition: left 0.4s ease;
  z-index: 999;
  box-shadow: 4px 0 20px rgba(0,0,0,0.3);
}

.sidebar.open {
  left: 0;
}

.sidebar ul {
  display: flex;
  flex-direction: column;
  padding-left: 20px;
  list-style: none;   
  margin: 0;         
  padding: 0;
}

.sidebar ul li {
  margin: 15px 0;
}

.sidebar ul li a {
  color: #E0E0E0;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.sidebar ul li a:hover {
  color: #00D2FF;
}

/* موبايل */
@media (max-width: 768px) {
  nav ul {
    display: none;
  }
  .menu-icon {
    display: block;
  }
}


/* تنسيق الأقسام العامة */
section {
  padding: 100px 5%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}



/* ==================================================== */
/* قسم التعريف بالفنان (Artist Intro Section) - تصميم واو واحترافي */
/* ==================================================== */
.artist-intro-section {
    min-height: 90vh; /* ارتفاع مريح */
    padding: 150px 5% 50px 5%; /* تباعد علوي كافٍ بعد الـ Navbar */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 80px; /* مسافة واضحة بين الصورة والنص */
    background: #191919; /* خلفية داكنة متناسقة */
    max-width: 1400px;
    margin: 0 auto;
}

/* حاوية الصورة (ترتيب دائري فاخر) */
.artist-image-container {
    position: relative;
    width: 400px; /* حجم كبير وواضح للبروفايل */
    height: 400px; 
    padding: 10px; 
    
    /* إطار نيون أزرق مركز */
    border-radius: 50%;
    border: 5px solid #00D2FF; 
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.7); /* وهج قوي ومركز */
    transition: all 0.5s ease-in-out;
}

.artist-image-container:hover {
    transform: scale(1.05); /* تأثير جذب عند التمرير */
    box-shadow: 0 0 40px rgba(255, 87, 51, 0.8), inset 0 0 20px rgba(255, 87, 51, 0.5); /* تحول الوهج إلى برتقالي */
    border-color: #FF5733;
}

.artist-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* الأهم: لضمان احتواء الصورة داخل الدائرة دون تشوه */
    border-radius: 50%;
    display: block;
}

/* جزء السيرة الذاتية والنص */
.artist-bio {
    flex: 1;
    min-width: 300px;
    max-width: 600px; /* عرض ممتاز لسهولة القراءة */
    text-align: right;
    padding: 20px 0;
}

.artist-bio h2 {
    font-size: 3.2rem; /* عنوان قوي ومميز */
    color: #FF5733; /* اللون البرتقالي الجذاب */
    margin-bottom: 5px;
    text-align: right;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 87, 51, 0.5);
}

.artist-bio .tagline {
    font-size: 1.5rem; /* حجم كبير للرسالة الأساسية */
    color: #00D2FF; /* اللون النيوني للفت الانتباه */
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px dashed #333;
    font-weight: 500; 
}

.bio-details p {
    font-size: 1.15rem; /* خط مريح للقراءة */
    color: #D0D0D0; 
    line-height: 1.8;
    margin-bottom: 20px;
}

.bio-details ul {
    list-style: none;
}

.bio-details ul li {
    font-size: 1.1rem;
    color: #E0E0E0; 
    line-height: 2.2;
    padding-right: 30px;
    position: relative;
}

.bio-details ul li::before {
    content: attr(data-icon); /* يمكن استخدام أيقونات مخصصة */
    content: '⭐'; /* نجمة ذهبية للتميز */
    color: #00D2FF; 
    font-weight: 700;
    font-size: 1.3rem;
    position: absolute;
    right: 0;
    top: 0;
}

/* تنسيق زر العمل (CTA Button) لهذا القسم */
.intro-cta-button {
    /* سنستخدم نفس تصميم زر الـ Hero لكن بلون أساسي مختلف قليلاً للتميز */
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px; 
    border-radius: 40px;
    background: linear-gradient(135deg, #00C4CC, #1A4D6B);
    color: #E0E0E0 !important; 
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(0, 196, 204, 0.4);
    margin-top: 30px;
}

.intro-cta-button:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 196, 204, 0.6);
}

.intro-cta-button svg {
    width: 20px;
    height: 20px;
    stroke: #E0E0E0;
}

/* التجاوب على الموبايل (التركيز على الترتيب الرأسي) */
@media (max-width: 992px) {
    .artist-intro-section {
        flex-direction: column; /* ترتيب رأسي على الموبايل */
        text-align: center;
        gap: 40px;
        padding-top: 100px; /* تقليل التباعد العلوي قليلاً */
    }
    
    .artist-image-container {
        width: 300px; 
        height: 300px;
        margin-bottom: 10px;
    }

    .artist-bio {
        text-align: center;
        max-width: 90%;
    }

    .artist-bio h2 {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .artist-bio .tagline {
        font-size: 1.3rem;
    }

    .bio-details p {
        font-size: 1rem;
    }

    /* توسيط قائمة النقاط على الموبايل */
    .bio-details ul {
        padding: 0;
        text-align: center;
    }
    
    .bio-details ul li {
        text-align: center;
        padding-right: 0;
    }
    
    .bio-details ul li::before {
        content: ''; /* إخفاء الأيقونة المزعجة على الموبايل */
    }
    
    .intro-cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
}





/* ==================================================== */
/* القسم التعريفي بالفيديو (Hero Video Section) */
/* ==================================================== */
.hero-video-section {
    min-height: 90vh; /* أقل ارتفاع لضمان ظهوره بالكامل */
    padding-top: 150px; /* لترك مساحة كافية للـ Navbar الثابت */
    display: flex;
    flex-wrap: wrap; /* للسماح بالتجاوب */
    justify-content: center;
    align-items: center;
    gap: 50px; /* مسافة بين النص والفيديو */
    background: #121212; /* خلفية متناسقة */
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    text-align: right;
    padding: 0 5%;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: #00D2FF;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.5); /* إضافة وهج فاخر */
    font-weight: 700;
}

.hero-content .tagline {
    font-size: 1.3rem;
    color: #C0C0C0;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-cta-button {
    /* تصميم زر احترافي متناسق مع الأزرار الأخرى */
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 45px; 
    border-radius: 40px;
    background: linear-gradient(135deg, #FF5733, #FF7B00); /* استخدام اللون البرتقالي للتباين */
    color: #E0E0E0 !important; 
    font-size: 1.15rem;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(255, 87, 51, 0.4);
    text-decoration: none;
}

.hero-cta-button:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 35px rgba(255, 87, 51, 0.6);
}

.hero-cta-button svg {
    width: 20px;
    height: 20px;
    stroke: #E0E0E0;
    transition: transform 0.4s ease;
}

.hero-cta-button:hover svg {
    transform: rotate(90deg);
}

/* تنسيق حاوية الفيديو */
.video-wrapper {
    flex: 1;
    min-width: 350px;
    max-width: 600px;
    position: relative;
    padding: 15px; /* لإعطاء مساحة للظل */
    background-color: #1A1A1A;
    border-radius: 20px;
    /* ظل فاخر ومميز يحيط بالفيديو */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7), 
                0 0 40px rgba(0, 210, 255, 0.3);
}

.video-wrapper iframe {
    width: 100%;
    /* النسبة الذهبية للفيديو (16:9) */
    height: 350px; 
    display: block;
    border-radius: 10px;
    border: 3px solid #333;
}

/* التجاوب على الموبايل */
@media (max-width: 992px) {
    .hero-video-section {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-content {
        order: 2; /* جعل النص يظهر تحت الفيديو على الموبايل */
    }

    .video-wrapper {
        order: 1;
        max-width: 90%;
        min-width: auto;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
}








h2 {
  font-size: 3rem;
  color: #00D2FF;
  margin-bottom: 3rem;
  position: relative;
  text-align: center;
  text-transform: uppercase;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  right: 50%;
  transform: translateX(50%);
  width: 80px;
  height: 3px;
  background-color: #FF5733;
}

/* معرض الصور */
.gallery-section {
  padding-top: 150px;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  width: 100%;
  max-width: 1400px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item img:hover {
  transform: scale(1.1);
}

/* من نحن */
/* ==================================================== */
/* قسم من نحن - تصميم احترافي ومقسم */
/* ==================================================== */
.about-section {
    background: linear-gradient(to bottom, #121212, #1f1f1f); /* تدرج أعمق */
    padding: 100px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-content-wrapper {
    display: flex;
    flex-wrap: wrap; /* للسماح بالتجاوب على الأجهزة الصغيرة */
    gap: 50px;
    align-items: center;
    max-width: 1100px;
    margin-top: 30px;
    padding: 30px;
    background-color: #1e1e1e; /* خلفية البطاقة */
    border-radius: 20px;
    border-left: 5px solid #00D2FF; /* شريط جانبي فاخر */
    /* ظل خفيف مع وهج نيون ناعم */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 210, 255, 0.15);
}

.about-image {
    flex: 1; /* يأخذ مساحة مرنة */
    min-width: 300px; /* للتحكم في الحجم الأدنى */
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
    /* إضافة إطار ناعم للصورة */
    border: 3px solid #333;
    box-shadow: 0 0 15px rgba(255, 87, 51, 0.4); /* ظل بلون برتقالي ناعم */
}

.about-text {
    flex: 2; /* يأخذ مساحة أكبر للنص */
    text-align: right; /* محاذاة النص لليمين */
}

.about-text h3 {
    color: #FF5733; /* لون العنوان الفرعي بلون مميز */
    font-size: 1.8rem;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #333;
}

.about-text p {
    font-size: 1.15rem;
    color: #C0C0C0; /* لون مريح للعين */
    line-height: 1.8;
    margin-bottom: 25px;
}

.about-text ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.about-text ul li {
    font-size: 1.1rem;
    color: #E0E0E0;
    line-height: 2;
    padding-right: 25px;
    position: relative;
}

/* تصميم علامة مخصصة لقائمة الـ ul */
.about-text ul li::before {
    content: '⭐'; /* يمكنك استخدام أي رمز */
    color: #00D2FF;
    font-size: 1.1rem;
    position: absolute;
    right: 0;
    top: 0;
}

/* التجاوب على الموبايل (لتنسيق "من نحن") */
@media (max-width: 768px) {
    .about-content-wrapper {
        flex-direction: column; /* جعل الصورة والنص فوق بعض */
        gap: 30px;
        padding: 20px;
    }
    
    .about-image img {
        max-width: 80%;
    }
    
    .about-text {
        text-align: center; /* محاذاة النص للوسط على الموبايل */
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .about-text ul li {
        text-align: right;
        padding-right: 20px;
    }
    .about-text ul li::before {
        right: 0;
    }
}

/* لماذا تختار منصتنا */
.why-section {
  background: #191919;
}

.why-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}


.why-card {
  background-color: #1E1E1E;
  padding: 40px;
  text-align: center;
  border-radius: 10px;
  border-left: 5px solid #00D2FF;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  max-width: 350px;
  transition: transform 0.4s ease, border-left 0.4s ease;
}

.why-card:hover {
  transform: translateY(-15px);
  border-left: 5px solid #FF5733;
}

.why-card img {
  height: 70px;
  margin-bottom: 25px;
  filter: drop-shadow(0 0 5px rgba(0, 210, 255, 0.5));
}

.why-card h3 {
  color: #00D2FF;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

/* الكورسات */
.courses-section {
  background: linear-gradient(to top, #121212, #242424);
  padding: 60px 20px;
  text-align: center;
}

.courses-section h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 40px;
}

.courses-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}


.course-card {
    /* (تنسيقات سابقة أخرى هنا) */
    background-color: #1A1A1A; /* خلفية أغمق قليلاً */
    border-radius: 15px;
    overflow: hidden;
    max-width: 300px;
    border: none; 
    /* إضافة عمق داخلي/خارجي فاخر */
    box-shadow: inset 5px 5px 15px rgba(0, 0, 0, 0.7), /* ظل داخلي للعمق */
                5px 5px 15px rgba(0, 0, 0, 0.9), /* ظل خارجي عميق */
                -5px -5px 15px rgba(35, 35, 35, 0.2); /* إضاءة علوية ناعمة */
    transition: all 0.4s ease-in-out;
}

.course-card:hover {
    transform: translateY(-5px); /* رفع بسيط عند التفاعل */
    box-shadow: inset 3px 3px 10px rgba(0, 0, 0, 0.8), /* تعميق الظل الداخلي */
                0 15px 30px rgba(0, 210, 255, 0.4); /* تركيز الوهج الأزرق عند التفاعل */
    border: 1px solid #00D2FF; /* إطار نيون عند التفاعل */
}

.course-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.course-card h3 {
  color: #E0E0E0;
  font-size: 1.3rem;
  margin: 15px 0;
}

.course-card button {
    /* تغيير التنسيق السابق ليتناسب مع تصميم الأزرار الفاخر */
    background: linear-gradient(135deg, #00C4CC, #1A4D6B);
    color: #E0E0E0;
    font-weight: 700;
    padding: 12px 25px;
    margin-bottom: 20px;
    border: none;
    border-radius: 30px; /* حواف دائرية مثل زر المعرض */
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.course-card button:hover {
    background: linear-gradient(135deg, #1A4D6B, #00C4CC); 
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 196, 204, 0.6);
}


/* النسخة التجريبية - مودرن */
.trial-section {
  text-align: center;
  background: linear-gradient(135deg, #121212, #1c1c1c);
  padding: 80px 20px;
}

.trial-section h2 {
  font-size: 2.5rem;
  color: #00D2FF;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.trial-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 50%;
  transform: translateX(50%);
  width: 90px;
  height: 3px;
  background: linear-gradient(90deg, #00D2FF, #FF5733);
  border-radius: 2px;
}

/* زرار عرض النسخة التجريبية */
.trial-section button {
  padding: 15px 40px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(135deg, #00D2FF, #FF5733);
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 40px;
  transition: all 0.4s ease;
}

.trial-section button:hover {
  background: linear-gradient(135deg, #FF5733, #00D2FF);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0,210,255,0.6);
}

/* الكروت */
.trial-videos {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  width: 100%;
  max-width: 1200px;
}

.trial-card {
  background: #1E1E1E;
  border-radius: 15px;
  padding: 18px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  transition: all 0.4s ease;
  overflow: hidden;
  position: relative;
}

.trial-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 180deg, #00D2FF, #FF5733, #00D2FF);
  animation: rotateGlow 6s linear infinite;
  opacity: 0.07;
}

@keyframes rotateGlow {
  100% {
    transform: rotate(360deg);
  }
}

.trial-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 35px rgba(0,210,255,0.4);
}

.trial-card video {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.trial-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 180deg, #00D2FF, #FF5733, #00D2FF);
  animation: rotateGlow 6s linear infinite;
  opacity: 0.07;
  pointer-events: none; /* علشان ما يمنعش الضغط */
}

.trial-card iframe {
  width: 100%;
  height: 180px;
  border: none;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  position: relative;
  z-index: 1; /* علشان يظهر فوق الخلفية */
}

.trial-card h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-top: 8px;
  font-weight: 600;
  letter-spacing: 1px;
}


/* موبايل */
@media (max-width: 768px) {
  .trial-section h2 {
    font-size: 1.8rem;
  }

  .trial-section button {
    padding: 12px 25px;
    font-size: 0.9rem;
  }

  .trial-card h3 {
    font-size: 1rem;
  }
}


/* تواصل معنا */
.contact-section {
  background-color: #121212;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
  max-width: 700px;
}

.contact-form input,
.contact-form textarea {
  padding: 18px;
  border: 1px solid #333;
  border-radius: 8px;
  font-family: 'Almarai', sans-serif;
  background-color: #1E1E1E;
  color: #E0E0E0;
  outline: none;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #00D2FF;
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

.contact-form button,
.course-card button,
.trial-section button {
  padding: 18px 40px;
  border: none;
  border-radius: 8px;
  background-color: #00D2FF;
  color: #121212;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Almarai', sans-serif;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-form button:hover,
.course-card button:hover,
.trial-section button:hover {
  background-color: #FF5733;
  transform: translateY(-5px);
}



/* ==================================================== */
/* الفوتر - تصميم بسيط واحترافي (Minimal Professional) */
/* ==================================================== */

/* العنصر الرئيسي للفوتر */
.footer-minimal-pro {
    background-color: #1a1a1a; /* لون داكن احترافي */
    color: #cccccc; /* لون نص فاتح وهادئ */
    padding: 50px 5%; 
    border-top: 5px solid #00D2FF; /* خط أزرق فني مميز */
}

/* حاوية الأعمدة الداخلية */
.footer-container-min {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* محاذاة العناصر للأعلى */
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    text-align: right;
}

/* تنسيق الأعمدة */
.footer-col-min {
    min-width: 250px;
    margin-bottom: 30px;
    flex: 1; /* للسماح بالتوزيع المتساوي */
}

/* العمود الخاص بالعلامة التجارية - ليأخذ مساحة أكبر قليلاً */
.brand-col-min {
    flex: 1.2; 
    padding-left: 30px; /* تباعد بسيط عن عمود الاتصال */
}

/* تنسيق اللوجو في الفوتر */
.footer-logo-min {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo-min img {
    width: 40px;
    height: 40px;
    margin-left: 10px; /* مسافة بين الصورة والنص */
}

.footer-logo-min span {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: bold;
}

/* الشعار المميز للعلامة التجارية */
.brand-tagline-min {
    font-size: 1rem;
    color: #aaaaaa;
    line-height: 1.6;
    margin-top: 10px;
}

/* حقوق النشر */
.copyright-text-min {
    margin-top: 25px;
    font-size: 0.85rem;
    color: #666666;
}

/* عنوان عمود التواصل */
.footer-col-min h3 {
    color: #00D2FF; /* اللون الفني المميز */
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* معلومات الاتصال (البريد) */
.contact-info-min p {
    margin-bottom: 10px;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
}

.contact-info-min a {
    color: #cccccc;
    transition: color 0.3s ease;
    text-decoration: none;
    font-weight: normal;
}

.contact-info-min a:hover {
    color: #FF5733; /* لون التفاعل */
}

.contact-label {
    font-weight: bold;
    color: #888888;
    font-size: 0.9rem;
}


/* أيقونات التواصل الاجتماعي */
.social-icons-min {
    margin: 20px 0;
    display: flex;
    gap: 15px; /* مسافة بين الأيقونات */
}

.social-icons-min a img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transition: transform 0.4s ease, opacity 0.4s;
}

.social-icons-min a:hover img {
    transform: scale(1.1);
    opacity: 0.8;
}

/* زر أو رابط الواتساب لتشجيع التفاعل */
.whatsapp-cta-min {
    display: inline-block;
    background-color: #25D366; /* لون الواتساب الأخضر */
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: background-color 0.3s ease, transform 0.3s;
    font-size: 1rem;
}

.whatsapp-cta-min:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

/* التجاوب (Responsive) على الموبايل */
@media (max-width: 768px) {
    .footer-container-min {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-col-min {
        min-width: 100%;
        margin-bottom: 30px;
    }

    .brand-col-min {
        padding-left: 0;
        border-bottom: 1px solid #333; /* خط فاصل بين الأقسام في الموبايل */
        padding-bottom: 30px;
    }

    .footer-col-min h3, .brand-tagline-min, .copyright-text-min {
        text-align: center;
    }
    
    .footer-logo-min {
        justify-content: center;
    }

    .contact-info-min {
        /* لجعل محتوى البريد الإلكتروني في المنتصف */
        text-align: center;
    }
    .contact-info-min p {
        align-items: center;
    }
    
    .social-icons-min {
        justify-content: center;
    }
}



/* أكواد التجاوب (Media Queries) */
@media (max-width: 768px) {
  /* تعديل الـ navbar */
  nav ul {
    display: none; /* إخفاء القائمة الأساسية */
  }

  .menu-icon {
    display: block; /* إظهار أيقونة القائمة */
  }
  
  /* إظهار القائمة الجانبية لما تكون مفتوحة */
  .sidebar.active {
    left: 0;
  }

  /* تنسيق الأقسام */
  section {
    padding: 80px 5%;
  }

  h2 {
    font-size: 2rem;
  }

  /* تعديل تنسيق المعرض */
  .gallery-container {
    grid-template-columns: 1fr;
  }
  
  /* تعديل بطاقات "لماذا تختار" */
  .why-container {
    flex-direction: column;
    align-items: center;
  }
  
  /* تعديل بطاقات الكورسات */
  .courses-container {
    flex-direction: column;
    align-items: center;
  }
  
  .trial-videos {
    flex-direction: column;
  }
}





/* خلفية مظللة */
#courseModal {
    display: none; /* يبان لما نضغط دخول الكورس */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

/* محتوى الـ Modal */
.modal-content {
    background-color: #1E1E1E;
    padding: 30px 25px;
    border-radius: 15px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    animation: slideDown 0.4s ease-out;
    position: relative;
    color: #E0E0E0;
    font-family: 'Almarai', sans-serif;
}

/* عنوان الـ Modal */
.modal-content h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #00D2FF;
    text-transform: uppercase;
}

/* المدخلات */
.modal-content input {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0;
    border: 1px solid #333;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #121212;
    color: #E0E0E0;
    outline: none;
    transition: 0.3s all;
}

.modal-content input:focus {
    border-color: #00D2FF;
    box-shadow: 0 0 10px rgba(0,210,255,0.5);
}

/* زر الدخول */
.modal-content button {
    background: linear-gradient(135deg, #00D2FF, #FF5733);
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.modal-content button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,210,255,0.5);
}

/* رسالة الخطأ */
#modalError {
    color: #FF5733;
    margin-top: 10px;
    font-weight: bold;
    min-height: 20px;
}

/* زر اغلاق */
.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #E0E0E0;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #FF5733;
}

/* تأثيرات الانيميشن */
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes slideDown {
    from {transform: translateY(-30px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}






/* ==================================================== */
/* تنسيق زر معرض الأعمال - تصميم احترافي وفاخر ومريح للعين */
/* ==================================================== */

.trial-section-button-style {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 50px; /* زيادة التباعد لجعله أكثر بروزاً */
    border: none;
    border-radius: 40px; /* حواف أكثر دائرية */
    
    /* تدرج لوني أعمق وأكثر هدوءاً */
    background: linear-gradient(135deg, #00C4CC, #1A4D6B);
    color: #E0E0E0 !important; /* لون النص فاتح وهادئ */
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 40px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* انتقال سلس جداً */
    text-align: center;
    text-decoration: none;
    
    /* ظل عميق وهادئ (لإحساس الأبعاد) */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), /* ظل أسود عميق */
                0 0 15px rgba(0, 196, 204, 0.3); /* وهج أزرق خفيف جداً */
    
    letter-spacing: 1px;
    text-transform: uppercase;
}

.trial-section-button-style:hover {
    /* تأثير الـ Hover - زيادة طفيفة في الرفع والوهج */
    transform: translateY(-8px) scale(1.02);
    /* عكس خفيف للتدرج مع تركيز الوهج */
    background: linear-gradient(135deg, #1A4D6B, #00C4CC); 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 
                0 0 25px rgba(0, 196, 204, 0.5); /* وهج أكثر وضوحاً عند التفاعل */
}

/* تنسيق الأيقونة داخل الزر */
.trial-section-button-style svg {
    width: 22px;
    height: 22px;
    stroke: #E0E0E0; /* لون الأيقونة */
}

/* تعديل الاستجابة على الموبايل */
@media (max-width: 768px) {
    .trial-section-button-style {
        padding: 14px 30px;
        font-size: 1rem;
        transform: translateY(0); /* إلغاء الرفع على الموبايل لسهولة اللمس */
    }
    .trial-section-button-style:hover {
        transform: scale(1.02); 
    }
}







/* ======================================= */
/* تخصيص شريط التمرير (مخصص لـ Chrome, Edge, Safari) */
/* ======================================= */
body::-webkit-scrollbar {
    width: 10px; /* عرض الشريط */
}

body::-webkit-scrollbar-track {
    background: #121212; /* نفس لون خلفية الجسم */
}

body::-webkit-scrollbar-thumb {
    background-color: #00D2FF; /* لون النيون الأزرق */
    border-radius: 10px;
    border: 2px solid #121212; 
}

body::-webkit-scrollbar-thumb:hover {
    background-color: #FF5733; /* لون التفاعل البرتقالي */
}




