/* ===== Reset ===== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: Arial, sans-serif;
background: #f5f8fa;
direction: ltr;
line-height: 1.6;
color: #333;
scroll-behavior: smooth;
}

/* ===== Header ===== */
header {
background-color: #3f813f;
padding: 15px 20px;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
position: sticky;
top: 0;
z-index: 100;
text-align: center;
}

header h1 {
color: #ffd700;
margin-bottom: 10px;
font-size: 1.8em;
}

nav ul {
list-style: none;
display: flex;
gap: 15px;
flex-wrap: wrap;
justify-content: center;
}

nav ul li a {
color: #fff;
text-decoration: none;
font-weight: bold;
padding: 5px 10px;
border-radius: 5px;
transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
color: #3f813f;
background-color: #ffd700;
transform: scale(1.05);
}

/* ===== Hero Section ===== */
.hero {
background: url('images/hero.jpg') center/cover no-repeat;
padding: 120px 20px;
text-align: center;
position: relative;
}

.hero-overlay {
background: rgba(0,0,0,0.4);
color: #fff;
padding: 60px 20px;
border-radius: 15px;
display: inline-block;

background-position: inherit;
background-size: cover;
color: #fff;
}
.hero-overlay {
background: rgba(0, 0, 0, 0.4);
color: #fff;
padding: 60px 20px;
border-radius: 15px;
display: inline-block;
background-position: inherit;
background-image: url(images/bg_courses_page.jpg) !important;
background-size: cover;
color: #fff;
width: 100%;
height: 400px;
}

.hero h2 {
font-size: 2.8em;
margin-bottom: 15px;
}

.hero p {
font-size: 1.3em;
margin-bottom: 25px;
color: #fff;
font-size: 25px;
font-family: fangsong;
}

.btn-primary {
padding: 14px 30px;
background-color: #ffd700;
color: #3f813f;
border: none;
border-radius: 8px;
cursor: pointer;
font-size: 1.1em;
text-decoration: none;
transition: all 0.3s ease;
}
/* .btn_ViewAllTeachers{

} */
.btn-primary:hover {
background-color: #ffea00;
transform: scale(1.1);
}

/* ===== Sections ===== */
section {
padding: 50px 20px;
max-width: 1200px;
margin: 0 auto;
}

section h2 {
text-align: center;
font-size: 2.5em;
color: #3f813f;
margin-bottom: 15px;
}

section p {
text-align: center;
font-size: 1.1em;
margin-bottom: 30px;
color: #045d5d;
}





/* ===== تنسيقات واجهة الموقع (Hero Section) ===== */

.hero-advanced {
position: relative;
padding: 160px 20px 100px;
background: linear-gradient(135deg, #ffffff 0%, #f4fcf4 100%);
overflow: hidden;
font-family: 'Poppins', sans-serif;
}

/* الأشكال الهندسية في الخلفية */
.bg-shape {
position: absolute;
border-radius: 50%;
z-index: 0;
opacity: 0.1;
background: #3f813f; /* لون الأكاديمية */
}
.shape-light-1 { width: 600px; height: 600px; top: -150px; right: -200px; }
.shape-light-2 { width: 300px; height: 300px; bottom: -100px; left: -100px; }

.hero-wrapper {
display: flex;
align-items: center;
gap: 60px;
max-width: 1200px;
margin: 0 auto;
position: relative;
z-index: 1;
}

/* محتوى النصوص */
.hero-content { flex: 1.3; }

.welcome-tag {
display: inline-flex;
align-items: center;
gap: 10px;
background: rgba(63, 129, 63, 0.1);
color: #3f813f;
padding: 10px 22px;
border-radius: 50px;
font-weight: 600;
font-size:  27px;
margin-bottom: 25px;
text-transform: uppercase;
}

.hero-content h1 {
font-size: 3.8rem;
color: #222;
line-height: 1.2;
margin-bottom: 25px;
font-weight: 800;
}

/* أنيميشن الكتابة (Typing Animation) */
.animated-text {
color: #3f813f;
border-right: 3px solid #ffd700;
white-space: nowrap;
overflow: hidden;
display: inline-block;
animation: typing 4s steps(20, end) infinite, blink 0.75s step-end infinite;
}

@keyframes typing {
0%, 10% { width: 0; }
50%, 90% { width: 100%; }
100% { width: 0; }
}
@keyframes blink {
50% { border-color: transparent; }
}

.hero-content p {
font-size: 1.2rem;
color: #555;
line-height: 1.8;
margin-bottom: 40px;
max-width: 600px;
}

/* الأزرار */
.hero-btns { display: flex; gap: 20px; margin-bottom: 40px; }

.btn-main-hero {
background: #3f813f;
color: #fff;
padding: 16px 35px;
border-radius: 50px;
text-decoration: none;
font-weight: bold;
display: flex;
align-items: center;
gap: 10px;
box-shadow: 0 10px 25px rgba(63, 129, 63, 0.2);
transition: 0.4s;
}

.btn-outline-hero {
border: 2px solid #3f813f;
color: #3f813f;
padding: 16px 35px;
border-radius: 50px;
text-decoration: none;
font-weight: bold;
transition: 0.4s;
}

.btn-main-hero:hover { transform: translateY(-5px); background: #2d5a2d; }
.btn-outline-hero:hover { background: #3f813f; color: #fff; transform: translateY(-5px); }

/* إحصائيات الميتا */
.hero-meta { display: flex; gap: 30px; }
.meta-item { display: flex; align-items: center; gap: 10px; color: #777; font-weight: 600; }
.meta-item i { color: #ffd700; }

/* صورة الواجهة والأنيميشن الخاص بها */
.hero-image { flex: 0.7; position: relative; }
.img-wrapper { position: relative; }

.img-wrapper img {
width: 100%;
border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
box-shadow: 0 30px 60px rgba(0,0,0,0.1);
animation: morphing 8s ease-in-out infinite;
position: relative;
z-index: 2;
}

@keyframes morphing {
0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
50% { border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; -webkit-border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; -moz-border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; -ms-border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; -o-border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; }
}

/* الكروت العايمة */
.floating-badge {
position: absolute;
background: #fff;
padding: 12px 20px;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
display: flex;
align-items: center;
gap: 12px;
font-weight: 700;
z-index: 5;
animation: floating 4s ease-in-out infinite;
}
.badge-1 { top: 10%; left: -40px; }
.badge-2 { bottom: 15%; right: -20px; animation-delay: 2s; }

@keyframes floating {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-20px); }
}

/* التجاوب (Responsive) */
@media (max-width: 992px) {
.hero-wrapper { flex-direction: column; text-align: center; }
.hero-content h1 { font-size: 2.8rem; }
.hero-btns { justify-content: center; }
.hero-meta { justify-content: center; }
.badge-1, .badge-2 { position: static; margin: 10px auto; display: inline-flex; }
}
















/* ===== Courses Section ===== */
.btn_green{
background: #3f813f;
padding: 10px;
border-radius: 10px;
color: #fff;
text-decoration: none;
}
.course-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 25px;
justify-items: center;
}

.course-item {
background: #fff3e0;
border-radius: 15px;
padding: 15px;
text-align: center;
width: 260px;
/* height: 440px; */
display: flex;
flex-direction: column;
justify-content: space-between;
box-shadow: 0 6px 20px rgba(0,0,0,0.15);
transition: transform 0.5s, box-shadow 0.5s;
}

.course-item img {
width: 100%;
height: 200px;
object-fit: cover;
border-radius: 12px;
margin-bottom: 10px;
transition: transform 0.5s;
}

.course-item h3 {
font-size: 1.3em;
margin: 10px 0 5px;
color: #3f813f;
}

.course-item p {
font-size: 1em;
flex-grow: 1;
color: #045d5d;
}

.course-item button {
background-color: #3f813f;
color: #ffd700;
border: none;
border-radius: 8px;
padding: 10px 20px;
cursor: pointer;
transition: all 0.3s ease;
}

.course-item:hover {
transform: translateY(-10px);
box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.course-item:hover img,
.course-item button:hover {
transform: scale(1.05);
}

/* ===== Teachers Section ===== */





.fa-star {
font-weight: 900;
color: #ffcc00;
}

.footer-logo {

border-radius: 10px;
}





/* ===== Teachers Section ===== */
.teacher-list {
display: grid;
/* التعديل هنا: نستخدم repeat(3) للشاشات الكبيرة */
grid-template-columns: repeat(3, 1fr); 
gap: 20px;
justify-items: center;
margin-bottom: 50px;
max-width: 1000px; /* تحديد عرض القائمة لضمان شكل متناسق */
margin-left: auto;
margin-right: auto;
}

.teacher-item {
background-color: #ffdd85;
border-radius: 12px;
padding: 15px;
text-align: center;
width: 280px; /* زودت العرض قليلاً ليملأ المساحة بشكل أجمل */
height: 400px; /* زودت الطول قليلاً ليتناسب مع العرض */
display: flex;
flex-direction: column;
justify-content: space-between;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
transition: transform 0.3s, box-shadow 0.3s;
}

/* لجعل التصميم ريسبونسف (متجاوب) */
@media screen and (max-width: 992px) {
.teacher-list {
grid-template-columns: repeat(2, 1fr); /* 2 في الصف في الشاشات المتوسطة */
}
}

@media screen and (max-width: 600px) {
.teacher-list {
grid-template-columns: 1fr; /* 1 فقط في الصف في الموبايل */
}
}

/* باقي الكود كما هو */
.teacher-item img {
width: 100%;
height: 200px;
object-fit: cover;
border-radius: 10px;
margin-bottom: 10px;
}

.teacher-item h3 {
font-size: 1.2em;
margin: 10px 0 5px;
color: #3f813f;
}

.teacher-item p {
font-size: 1em;
flex-grow: 1;
color: #333;
}

.teacher-item:hover {
transform: translateY(-10px);
box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}























/* ===== About Section Styles ===== */
.about-section {
padding: 100px 0;
background-color: #fff;
overflow: hidden;
}

.about-container {
display: flex;
align-items: center;
gap: 60px; /* مسافة بين الصورة والكلام */
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

/* تظبيط الصورة */
.about-image {
flex: 1;
position: relative;
}

.about-image img {
width: 100%;
border-radius: 20px;
box-shadow: 0 15px 35px rgba(0,0,0,0.15);
z-index: 2;
position: relative;
}

/* شكل الديكور اللي ورا الصورة */
.image-decoration {
position: absolute;
width: 100%;
height: 100%;
background: #ffd700;
top: -20px;
left: -20px;
border-radius: 20px;
z-index: 1;
}

/* تظبيط الكلام */
.about-text {
flex: 1;
}

.about-text .top-title {
color: #3f813f;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 2px;
display: block;
margin-bottom: 10px;
}

.about-text h2 {
font-size: 2.8rem;
color: #333;
margin-bottom: 20px;
}

.about-text p {
color: #666;
margin-bottom: 20px;
font-size: 1.1rem;
line-height: 1.8;
}

/* قائمة المميزات */
.about-features {
list-style: none;
margin-bottom: 30px;
}

.about-features li {
margin-bottom: 10px;
font-weight: 600;
color: #3f813f;
display: flex;
align-items: center;
gap: 10px;
}

.about-features li i {
color: #ffd700;
font-size: 1.2rem;
}

/* ===== التجاوب (Responsive) ===== */
@media screen and (max-width: 992px) {
.about-container {
flex-direction: column; /* الصورة والكلام تحت بعض في الشاشات الصغيرة */
text-align: center;
gap: 40px;
}

.about-text h2 {
font-size: 2.2rem;
}

.about-features li {
justify-content: center;
}
}

@media screen and (max-width: 480px) {
.about-section {
padding: 60px 0;
}
.about-image {
width: 90%; /* صغر الصورة شوية في الموبايل */
}
}

/* ===== تنسيقات حاوية الصورة (about-image) ===== */
.about-image {
position: relative; /* ضروري عشان الديكور اللي وراه يظبط */

/* ===== السر الأول: إطار الحماية ===== */
overflow: hidden; /* أي حاجة تكبر وتخرج بره الإطار ده تختفي */
border-radius: 20px; /* حواف ناعمة للإطار */
box-shadow: 0 15px 35px rgba(0,0,0,0.15); /* ظل ناعم للصورة */

/* لضمان تنسيق مرن في الـ Flexbox */
flex: 1; 
width: 100%;
}

/* ===== تنسيق الصورة نفسها (img) ===== */
.about-image img {
width: 100%;
display: block;
height: auto;

/* ===== السر الثاني: خاصية الحركة الناعمة ===== */
/* بنخلي وقت الحركة 0.8 ثانية عشان تكون ناعمة ومريحة للعين رغم إنها قوية */
transition: transform 0.8s ease-in-out, filter 0.6s ease-in-out;

/* الفلتر اللي إنت طلبته قبل كده (اختياري) */
filter: brightness(0.8); /* غمقان بسيط في الأول */
}

/* ===== تنسيق الديكور الذهبي (image-decoration) ===== */
.image-decoration {
position: absolute;
width: 100%;
height: 100%;
background: #ffd700; /* ذهبي */
top: -20px; /* متشفت فوق وعالشمال */
left: -20px;
border-radius: 20px;
z-index: 1; /* ورا الصورة */

/* حركة ناعمة للديكور أيضاً */
transition: all 0.6s ease-in-out; 
}

/* =========================================
===== الأفكت عند الوقوف (Hover) =====
========================================= */

/* ===== 1. أفكت الـ Zoom In القوي للصورة ===== */
.about-image:hover img {
/* الصورة تكبر بنسبة 20% (1.2) */
/* تقدر تزودها لـ 1.3 لو عايزها أقوى، بس 1.2 مناسبة جداً */
transform: scale(1.2); 

/* الفلتر ينور لما تكبر */
filter: brightness(1.1);
}

/* ===== 2. أفكت حركة الديكور الذهبي (اختياري بس بيدي عمق) ===== */
.about-image:hover .image-decoration {
/* الديكور بيتحرك في الاتجاه المعاكس للصورة (يعطي عمق Parallax) */
top: 15px;
left: 15px;
}

































/* ===== Why Choose Us Section ===== */
.why-choose-us {
padding: 80px 20px;
/*background-color: #ffffff; /* خلفية بيضاء سادة عشان تبرز الكروت */
text-align: center;
}

.why-choose-us .container {
max-width: 1200px;
margin: 0 auto;
}

.why-choose-us h2 {
color: #3f813f;
font-size: 2.5em;
margin-bottom: 10px;
}

.why-choose-us .subtitle {
color: #666;
margin-bottom: 50px;
font-size: 1.1em;
}

/* توزيع الكروت */
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
}

/* تصميم الكارت الواحد */
.feature-item {
background: #fdfdfd;
padding: 40px 25px;
border-radius: 15px;
box-shadow: 0 5px 20px rgba(0,0,0,0.05); /* ظل خفيف جداً شيك */
border: 1px solid #f0f0f0;
transition: all 0.3s ease;
}

.feature-item:hover {
transform: translateY(-10px);
background: #3f813f; /* بيقلب أخضر عند الوقوف عليه */
}

/* تصميم الأيقونة */
.icon-box {
width: 70px;
height: 70px;
background: #ffd700;
color: #3f813f;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 20px;
font-size: 30px;
transition: 0.3s;
}

/* تغيير الألوان عند الـ Hover */
.feature-item:hover h3, 
.feature-item:hover p {
color: #fff;
}

.feature-item:hover .icon-box {
background: #fff;
color: #3f813f;
}

.feature-item h3 {
margin-bottom: 15px;
color: #3f813f;
font-size: 1.4em;
}

.feature-item p {
color: #777;
font-size: 0.95em;
line-height: 1.6;
}

/* Responsive التوافق مع الموبايل */
@media (max-width: 768px) {
.why-choose-us {
padding: 50px 15px;
}
.why-choose-us h2 {
font-size: 2em;
}
}











/* ===== Why Choose Us CSS Styling ===== */

.features-section {
padding: 100px 20px;
background-color: #f9fff9; /* أخضر باهت جداً مريح للعين */
font-family: 'Poppins', sans-serif;
}

/* تنسيق العنوان */
.section-title-box {
text-align: center;
max-width: 800px;
margin: 0 auto 60px;
}

.badge-title {
color: #3f813f;
background: rgba(63, 129, 63, 0.1);
padding: 6px 15px;
border-radius: 5px;
display: inline-block;
font-size: 0.85rem;
font-weight: 700;
margin-bottom: 15px;
}

.section-title-box h2 {
font-size: 2.5rem;
color: #333;
margin-bottom: 20px;
}

.section-title-box h2 span {
color: #3f813f;
}

/* شبكة الكروت */
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 30px;
max-width: 1200px;
margin: 0 auto;
}

.feature-card {
background: #ffffff;
padding: 40px 30px;
border-radius: 20px;
text-align: center;
box-shadow: 0 10px 30px rgba(0,0,0,0.03);
transition: all 0.4s ease;
border: 1px solid #f0f0f0;
position: relative;
overflow: hidden;
}

/* حركات الكارت عند الوقوف عليه */
.feature-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 40px rgba(63, 129, 63, 0.1);
border-color: #3f813f;
}

.icon-box {
width: 70px;
height: 70px;
background: #f4fcf4;
color: #3f813f;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.8rem;
margin: 0 auto 25px;
transition: 0.5s;
}

.feature-card:hover .icon-box {
background: #3f813f;
color: #ffd700;
transform: rotateY(360deg);
}

.feature-card h3 {
font-size: 1.4rem;
color: #222;
margin-bottom: 15px;
}

.feature-card p {
color: #666;
font-size: 0.95rem;
line-height: 1.6;
}

/* خط الجمالي تحت الكارت */
.card-line {
width: 40px;
height: 4px;
background: #ffd700;
margin: 20px auto 0;
border-radius: 10px;
transition: 0.4s;
}

.feature-card:hover .card-line {
width: 100px;
background: #3f813f;
}

/* التجاوب */
@media (max-width: 768px) {
.section-title-box h2 { font-size: 2rem; }
.features-grid { grid-template-columns: 1fr; }
}








































/* ===== Stats Section Style ===== */
.stats-section {
padding: 80px 0;
background: linear-gradient(rgba(63, 129, 63, 0.9), rgba(63, 129, 63, 0.9)), 
url('images/AboutUs.jpg'); /* استخدمنا نفس صورتك كخلفية */
background-size: cover;
background-position: center;
background-attachment: fixed; /* تأثير التثبيت الشيك */
color: #fff;
}

.stats-container {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-around;
align-items: center;
flex-wrap: wrap; /* عشان ينزلوا تحت بعض في الموبايل */
gap: 30px;
}

.stat-item {
text-align: center;
flex: 1;
min-width: 200px;
transition: transform 0.3s ease;
}

.stat-item:hover {
transform: translateY(-10px); /* حركة خفيفة لما تقف عليه */
}

.stat-item i {
font-size: 3rem;
color: #ffd700; /* الأيقونات باللون الذهبي */
margin-bottom: 15px;
display: block;
}

.stat-item h3 {
font-size: 2.5rem;
font-weight: bold;
margin-bottom: 5px;
color: #fff;
}

.stat-item p {
font-size: 1.1rem;
color: #ffd700; /* الكلام بالذهبي الهادي */
font-weight: 500;
}

/* التجاوب مع الموبايل */
@media screen and (max-width: 768px) {
.stats-section {
padding: 50px 20px;
background-attachment: scroll; /* نلغي التثبيت في الموبايل عشان الأداء */
}

.stat-item {
flex: 1 1 45%; /* يظهر كل اتنين جنب بعض في الموبايل */
}

.stat-item h3 {
font-size: 2rem;
}
}

@media screen and (max-width: 480px) {
.stat-item {
flex: 1 1 100%; /* يظهر واحد بس في الصف في الشاشات الصغيرة جداً */
}
}


















/* ===== Stats Section Style ===== */
.stats-section {
padding: 80px 0;
background: linear-gradient(rgba(63, 129, 63, 0.9), rgba(63, 129, 63, 0.9)), 
url('images/AboutUs.jpg'); /* استخدمنا نفس صورتك كخلفية */
background-size: cover;
background-position: center;
background-attachment: fixed; /* تأثير التثبيت الشيك */
color: #fff;
}

.stats-container {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-around;
align-items: center;
flex-wrap: wrap; /* عشان ينزلوا تحت بعض في الموبايل */
gap: 30px;
}

.stat-item {
text-align: center;
flex: 1;
min-width: 200px;
transition: transform 0.3s ease;
}

.stat-item:hover {
transform: translateY(-10px); /* حركة خفيفة لما تقف عليه */
}

.stat-item i {
font-size: 3rem;
color: #ffd700; /* الأيقونات باللون الذهبي */
margin-bottom: 15px;
display: block;
}

.stat-item h3 {
font-size: 2.5rem;
font-weight: bold;
margin-bottom: 5px;
color: #fff;
}

.stat-item p {
font-size: 1.1rem;
color: #ffd700; /* الكلام بالذهبي الهادي */
font-weight: 500;
}

/* التجاوب مع الموبايل */
@media screen and (max-width: 768px) {
.stats-section {
padding: 50px 20px;
background-attachment: scroll; /* نلغي التثبيت في الموبايل عشان الأداء */
}

.stat-item {
flex: 1 1 45%; /* يظهر كل اتنين جنب بعض في الموبايل */
}

.stat-item h3 {
font-size: 2rem;
}
}

@media screen and (max-width: 480px) {
.stat-item {
flex: 1 1 100%; /* يظهر واحد بس في الصف في الشاشات الصغيرة جداً */
}
}

































/* ===== Testimonials Styling ===== */
.testimonials-section {
padding: 100px 20px;
background-color: #f4fcf4; /* أخضر فاتح جداً مريح للعين */
text-align: center;
}

.testimonials-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
margin-top: 50px;
max-width: 1200px;
margin-left: auto;
margin-right: auto;
}

.testimonial-card {
background: #ffffff;
padding: 40px 30px;
border-radius: 20px;
box-shadow: 0 10px 30px rgba(0,0,0,0.05);
position: relative;
transition: 0.3s;
border-bottom: 5px solid #3f813f; /* خط أخضر تحت الكارت */
}

.testimonial-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.quote-icon {
font-size: 2rem;
color: #ffd700; /* أيقونة الاقتباس بالذهبي */
margin-bottom: 20px;
opacity: 0.5;
}

.student-comment {
font-style: italic;
color: #555;
line-height: 1.8;
margin-bottom: 25px;
font-size: 1.1rem;
}

.student-info {
display: flex;
align-items: center;
justify-content: center;
gap: 15px;
text-align: left;
}

.student-info img {
width: 60px;
height: 60px;
border-radius: 50%;
object-fit: cover;
border: 2px solid #3f813f;
}

.student-info h4 {
color: #3f813f;
margin: 0;
font-size: 1.1rem;
}

.student-info span {
color: #888;
font-size: 0.9rem;
}

@media (max-width: 768px) {
.testimonials-section { padding: 60px 15px; }
.testimonial-card { padding: 30px 20px; }
}





















/* ===== How It Works Styling ===== */
.how-it-works {
padding: 100px 20px;
background-color: #ffffff;
text-align: center;
position: relative;
}

.steps-grid {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 40px;
margin-top: 60px;
max-width: 1200px;
margin-left: auto;
margin-right: auto;
position: relative;
}

/* الكارت الواحد */
.step-card {
flex: 1;
background: #fdfdfd;
padding: 40px 20px;
border-radius: 20px;
position: relative;
border: 1px dashed #3f813f; /* إطار منقط شيك */
transition: 0.3s;
}

.step-card:hover {
background: #3f813f;
color: #fff;
transform: translateY(-10px);
}

/* رقم الخطوة */
.step-number {
position: absolute;
top: -25px;
left: 50%;
transform: translateX(-50%);
background: #ffd700;
color: #3f813f;
width: 50px;
height: 50px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 1.2rem;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.step-icon {
font-size: 3rem;
color: #3f813f;
margin-bottom: 20px;
transition: 0.3s;
}

.step-card:hover .step-icon,
.step-card:hover h3,
.step-card:hover p {
color: #fff;
}

.step-card h3 {
margin-bottom: 15px;
font-size: 1.4rem;
}

.step-card p {
color: #666;
font-size: 1rem;
line-height: 1.6;
}

/* الموبايل */
@media (max-width: 992px) {
.steps-grid {
flex-direction: column;
align-items: center;
}
.step-card {
width: 100%;
max-width: 400px;
margin-bottom: 40px;
}
}



























/* ===== FAQ Section Styling ===== */
.faq-section {
padding: 100px 20px;
background-color: #f9f9f9;
}

.faq-grid {
max-width: 800px; /* خليه كنزه شوية عشان يبقى مريح للعين */
margin: 50px auto 0;
}

.faq-item {
background: #fff;
border-radius: 12px;
margin-bottom: 20px;
box-shadow: 0 5px 15px rgba(0,0,0,0.03);
overflow: hidden;
border: 1px solid #eee;
transition: 0.3s;
}

.faq-question {
padding: 20px 25px;
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
background: #fff;
transition: 0.3s;
}

.faq-question h3 {
font-size: 1.1rem;
color: #333;
margin: 0;
font-weight: 600;
}

.faq-icon {
color: #3f813f;
transition: transform 0.3s ease;
}

.faq-answer {
max-height: 0; /* مخفي في البداية */
overflow: hidden;
transition: max-height 0.4s ease;
background: #fff;
padding: 0 25px; /* البادينج صفر عشان ميبانش وهو مقفول */
}

.faq-answer p {
padding-bottom: 20px;
color: #666;
line-height: 1.7;
margin: 0;
}

/* ===== تأثير عند الوقوف والفتح ===== */
.faq-item:hover {
border-color: #3f813f;
}

/* الكود ده هيشتغل بالـ CSS بس لما نضغط (بإضافة كلاس بسيط بالـ JS أو بالـ hover) */
/* ملاحظة: عشان يفتح بالضغط، هنحتاج سطرين JavaScript، هكتبهملك تحت */
.faq-item.active .faq-answer {
max-height: 200px; /* يفتح السيكشن */
padding-top: 10px;
}

.faq-item.active .faq-icon {
transform: rotate(45deg); /* علامة الزائد تتحول لـ x */
color: #ffd700;
}

.faq-item.active .faq-question h3 {
color: #3f813f;
}



















/* ===== Experience Section Styling ===== */
.experience-section {
padding: 100px 20px;
background: #ffffff;
}

.experience-wrapper {
display: flex;
align-items: center;
gap: 50px;
max-width: 1200px;
margin: 0 auto;
}

.experience-content {
flex: 1;
}

.experience-content h2 {
color: #3f813f;
font-size: 2.5rem;
margin-bottom: 20px;
}

/* العدادات الصغيرة */
.stats-mini-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
margin-top: 40px;
}

.stat-mini-item h3 {
color: #ffd700;
font-size: 1.8rem;
margin-bottom: 5px;
}

.stat-mini-item p {
color: #666;
font-size: 0.9rem;
font-weight: bold;
}

/* صندوق الفيديو */
.video-preview-box {
flex: 1;
}

.video-thumb {
position: relative;
border-radius: 30px;
overflow: hidden;
box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.video-thumb img {
width: 100%;
display: block;
transition: 0.5s;
}

.play-btn {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 80px;
height: 80px;
background: #3f813f;
color: #fff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
text-decoration: none;
box-shadow: 0 0 0 0 rgba(63, 129, 63, 0.5);
animation: pulse-green 2s infinite;
}

.video-label {
position: absolute;
bottom: 20px;
left: 20px;
background: rgba(0,0,0,0.6);
color: #fff;
padding: 8px 15px;
border-radius: 10px;
font-size: 0.8rem;
}

/* أنيميشن نبض زر التشغيل */
@keyframes pulse-green {
0% { transform: translate(-50%, -50%) scale(0.95); box-shadow: 0 0 0 0 rgba(63, 129, 63, 0.7); }
70% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 20px rgba(63, 129, 63, 0); }
100% { transform: translate(-50%, -50%) scale(0.95); box-shadow: 0 0 0 0 rgba(63, 129, 63, 0); }
}

/* التجاوب */
@media (max-width: 992px) {
.experience-wrapper { flex-direction: column; text-align: center; }
.stats-mini-grid { justify-content: center; }
}






















































/* =========================----- */

/* ===== Footer Styling ===== */
.main-footer {
background: #1a1a1a;
color: #fff;
padding: 80px 20px 20px;
}

.footer-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 40px;
max-width: 1200px;
margin: 0 auto;
}

.footer-logo { max-width: 180px; margin-bottom: 20px; }
.footer-col p { color: #bbb; line-height: 1.7; font-size: 0.9rem; }

.footer-col h3 {
color: #ffd700;
margin-bottom: 25px;
font-size: 1.3rem;
position: relative;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 12px; }

.footer-col ul li a {
color: #bbb;
text-decoration: none;
transition: 0.3s;
}

.footer-col ul li a:hover { color: #3f813f; padding-left: 5px; }

.footer-socials { display: flex; gap: 15px; margin-top: 20px; }
.footer-socials a {
width: 35px; height: 35px; background: #333; color: #fff;
display: flex; align-items: center; justify-content: center;
border-radius: 50%; transition: 0.3s;
}
.footer-socials a:hover { background: #3f813f; transform: translateY(-3px); }

.payment-methods { font-size: 2rem; color: #555; display: flex; gap: 10px; margin-top: 15px; }
.payment-methods i:hover { color: #ffd700; }

.footer-bottom {
text-align: center;
border-top: 1px solid #333;
padding-top: 20px;
color: #777;
font-size: 0.8rem;
}
/* -------------------------------------------------------------- */

/* ===== Footer ===== */
footer {
background-color: #3f813f;
color: #fff;
text-align: center;
padding: 20px;
}




/* ===== Pricing Section Styling ===== */
.pricing-section {
padding: 100px 20px;
background-color: #fff;
text-align: center;
}

.pricing-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
max-width: 1200px;
margin: 60px auto 0;
}

.pricing-card {
background: #fff;
border-radius: 20px;
padding: 40px 30px;
box-shadow: 0 10px 30px rgba(0,0,0,0.05);
border: 1px solid #eee;
transition: 0.4s;
position: relative;
}

/* تمييز الخطة الوسطى */
.pricing-card.featured {
border: 2px solid #3f813f;
transform: scale(1.05);
box-shadow: 0 20px 40px rgba(63, 129, 63, 0.1);
}

.popular-tag {
position: absolute;
top: -15px;
left: 50%;
transform: translateX(-50%);
background: #ffd700;
color: #3f813f;
padding: 5px 20px;
border-radius: 20px;
font-size: 0.8rem;
font-weight: bold;
text-transform: uppercase;
}

.pricing-header h3 {
font-size: 1.5rem;
color: #333;
margin-bottom: 20px;
}

.price {
font-size: 3rem;
font-weight: bold;
color: #3f813f;
margin-bottom: 30px;
}

.price span {
font-size: 1.5rem;
vertical-align: top;
margin-right: 2px;
}

.price small {
font-size: 1rem;
color: #888;
}

.pricing-features {
list-style: none;
padding: 0;
margin-bottom: 35px;
text-align: left;
}

.pricing-features li {
margin-bottom: 15px;
color: #555;
display: flex;
align-items: center;
gap: 10px;
}

.pricing-features li i {
color: #3f813f;
}

.pricing-features li.not-included {
color: #ccc;
text-decoration: line-through;
}

.pricing-features li.not-included i {
color: #ccc;
}

.btn-pricing {
display: block;
padding: 12px;
border: 2px solid #3f813f;
border-radius: 50px;
color: #3f813f;
text-decoration: none;
font-weight: bold;
transition: 0.3s;
}

.btn-pricing:hover {
background: #3f813f;
color: #fff;
}

.featured-btn {
background: #3f813f;
color: #fff;
}

.featured-btn:hover {
background: #2d5a2d;
}

@media (max-width: 992px) {
.pricing-card.featured {
transform: scale(1);
}
}



































/* ===== Responsive ===== */
@media screen and (max-width: 992px) {
.course-list, .teacher-list { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 768px) {
.course-list, .teacher-list { grid-template-columns: 1fr; }
}

/* ---------------------- */



.pricing {
text-align: center;
padding: 60px 20px;
background: #f9fafb;
}

.pricing h2 {
font-size: 32px;
margin-bottom: 10px;
}

.pricing p {
color: #666;
margin-bottom: 30px;
}

.pricing-list {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 25px;
}

/* الكارد */
.card {
background: #fff;
padding: 25px;
border-radius: 15px;
box-shadow: 0 5px 20px rgba(0,0,0,0.08);
transition: 0.3s;
position: relative;
}

/* Hover Effect 🔥 */
.card:hover {
transform: translateY(-10px) scale(1.03);
box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* العنوان */
.card h3 {
margin-bottom: 10px;
}

/* الليست */
.card ul {
list-style: none;
padding: 0;
margin: 15px 0;
}

.card ul li {
margin: 8px 0;
}

/* السعر */
.price {
font-size: 22px;
font-weight: bold;
margin: 15px 0;
}

/* الزرار */
.card button {
background: #3f813f;
color: white;
border: none;
padding: 10px 20px;
border-radius: 8px;
cursor: pointer;
transition: 0.3s;
}


.card button:hover {
background: #ffd700;
color: #fdfdfd;
font-size: 20px;
}








/* البادج */
.badge {
position: absolute;
top: 15px;
right: 15px;
background: #ff9800;
color: white;
padding: 5px 10px;
font-size: 12px;
border-radius: 20px;
}









/* Responsive 📱 */
@media (max-width: 992px) {
.pricing-list {
grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 600px) {
.pricing-list {
grid-template-columns: 1fr;
}
}
.card_1{
background: #ffc8f5;
}

.card_2 {
background: #3f813f;
color: #e3e3e3;
}
.card_2   p {
color: #bcbf46 !important;
margin-bottom: 30px !important;
}

.card_2  ul li {color:#fff}

.card_3{
background: #ffc8f5
}

.card_4{
background: #ffc8f5
}

.card_5{
background: #ffc8f5
}

.card_6{
background:#ffc8f5
}




















/* ===== Contact Section Styling ===== */
.contact-section {
padding: 100px 20px;
background-color: #fff;
}

.contact-wrapper {
display: flex;
max-width: 1100px;
margin: 50px auto 0;
background: #fff;
border-radius: 20px;
box-shadow: 0 20px 50px rgba(0,0,0,0.1);
overflow: hidden; /* عشان الحواف المنحنية تظبط */
}

/* صندوق المعلومات (الأخضر) */
.contact-info-box {
flex: 1;
background: #3f813f;
color: #fff;
padding: 50px;
display: flex;
flex-direction: column;
justify-content: space-between;
}

.contact-info-box h3 {
font-size: 2rem;
margin-bottom: 20px;
color: #ffd700;
}

.info-details {
margin: 40px 0;
}

.info-item {
display: flex;
align-items: flex-start;
gap: 20px;
margin-bottom: 25px;
}

.info-item i {
background: rgba(255, 255, 255, 0.1);
width: 45px;
height: 45px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 10px;
color: #ffd700;
font-size: 1.2rem;
}

.info-item h4 {
margin: 0;
font-size: 1.1rem;
}

.info-item p {
margin: 5px 0 0;
opacity: 0.8;
}

.contact-social {
display: flex;
gap: 15px;
}

.contact-social a {
color: #fff;
background: rgba(255, 255, 255, 0.1);
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: 0.3s;
}

.contact-social a:hover {
background: #ffd700;
color: #3f813f;
transform: translateY(-5px);
}

/* صندوق الفورم (الأبيض) */
.contact-form-box {
flex: 1.5;
padding: 50px;
}

.form-group {
margin-bottom: 20px;
text-align: left;
}

.form-group label {
display: block;
margin-bottom: 8px;
font-weight: bold;
color: #333;
}

.form-group input, 
.form-group select, 
.form-group textarea {
width: 100%;
padding: 12px 15px;
border: 1px solid #ddd;
border-radius: 8px;
font-size: 1rem;
outline: none;
transition: 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
border-color: #3f813f;
box-shadow: 0 0 8px rgba(63, 129, 63, 0.1);
}

.submit-btn {
background: #3f813f;
color: #fff;
padding: 15px 30px;
border: none;
border-radius: 8px;
font-size: 1.1rem;
font-weight: bold;
cursor: pointer;
width: 100%;
transition: 0.3s;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}

.submit-btn:hover {
background: #2d5a2d;
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* التجاوب مع الموبايل */
@media (max-width: 992px) {
.contact-wrapper {
flex-direction: column;
}
.contact-info-box, .contact-form-box {
padding: 30px;
}
}










/* header التنسيق الأساسي (الكمبيوتر) */
header {
/* background-color: #f8f9fa; لون هادئ */
padding: 20px;
text-align: center;
border-bottom: 2px solid #eee;
}

h1 {
margin-bottom: 15px;
color: #333;
}

.nav-links {
list-style: none;
padding: 0;
display: flex;
justify-content: center;
gap: 20px;
}

.nav-links a {
text-decoration: none;
color: #fff !important;
font-weight: bold;
}

.nav-links a.active {
color: #007bff; /* لون أزرق مثل بوتستراب */
}

/* زر الموبايل (مخفي في الكمبيوتر) */
.menu-toggle {
display: none;
cursor: pointer;
flex-direction: column;
gap: 5px;
width: 30px;
margin: 0 auto;
}

.menu-toggle span {
display: block;
width: 100%;
height: 3px;
background-color: #333;
transition: 0.3s;
}

/* إعدادات الموبايل */
@media (max-width: 768px) {
.menu-toggle {
display: flex; /* إظهار الزر */
}

.nav-links {
display: none; /* إخفاء الروابط في البداية */
flex-direction: column;
width: 100%;
padding-top: 20px;
}

.nav-links.show {
display: flex; /* تظهر عند الضغط على الزر */
}

/* حركة بسيطة للزر عند الفتح */
.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.open span:nth-child(2) { opacity: 0; }
.open span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }
}




























/* التنسيق الأساسي (الكمبيوتر) */
header {
/* background-color: #f8f9fa; لون هادئ */
padding: 20px;
text-align: center;
border-bottom: 2px solid #eee;
}

h1 {
margin-bottom: 15px;
color: #333;
}

.nav-links {
list-style: none;
padding: 0;
display: flex;
justify-content: center;
gap: 20px;
}

.nav-links a {
text-decoration: none;
color: #555;
font-weight: bold;
}

.nav-links a.active {
color: #007bff; /* لون أزرق مثل بوتستراب */
}

/* زر الموبايل (مخفي في الكمبيوتر) */
.menu-toggle {
display: none;
cursor: pointer;
flex-direction: column;
gap: 5px;
width: 30px;
margin: 0 auto;
}

.menu-toggle span {
display: block;
width: 100%;
height: 3px;
background-color: #333;
transition: 0.3s;
}

/* إعدادات الموبايل */
@media (max-width: 768px) {
.menu-toggle {
display: flex; /* إظهار الزر */
}

.nav-links {
display: none; /* إخفاء الروابط في البداية */
flex-direction: column;
width: 100%;
padding-top: 20px;
}

.nav-links.show {
display: flex; /* تظهر عند الضغط على الزر */
}

/* حركة بسيطة للزر عند الفتح */
.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.open span:nth-child(2) { opacity: 0; }
.open span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }
}
