/* =========================================
   ملف تنسيقات الصفحة الرئيسية
   Home Page CSS - Pure CSS
   File: assets/index-css.css
   ========================================= */

/* 1. متغيرات النظام */
:root {
    --oryx-green: var(--oryx-hex-004000);      /* الأخضر الغامق */
    --oryx-light: var(--oryx-hex-f0fdf4);      /* خلفية فاتحة جداً */
    --oryx-hover: var(--oryx-hex-003300);      /* لون الهوفر */
    --text-main: var(--oryx-hex-1f2937);       /* لون النص الرئيسي */
    --text-muted: var(--oryx-hex-4b5563);      /* لون النص الفرعي */
    --white: var(--oryx-hex-ffffff);
    --gray-bg: var(--oryx-hex-f9fafb);
    --border-color: var(--oryx-hex-e5e7eb);
}

/* تنسيق عام */
.home-wrapper {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    background-color: var(--white);
    overflow-x: hidden;
}

/* 2. قسم الهيرو (Hero Section) */
.home-hero {
    position: relative;
    padding: 60px 20px 100px 20px; /* مسافة سفلية كبيرة عشان شريط الإحصائيات */
    background-color: var(--white);
    overflow: hidden;
}

.home-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

.home-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 1024px) {
    .home-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

/* النصوص في الهيرو */
.hero-text-content {
    text-align: right;
    z-index: 10;
    order: 2;
}

@media (min-width: 1024px) { .hero-text-content { order: 1; } }

.hero-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 25px;
}

@media (min-width: 768px) { .hero-title { font-size: 56px; } }

.hero-highlight {
    display: block;
    color: var(--oryx-green);
    margin-top: 10px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 30px;
}

.hero-stat-badge {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--oryx-green);
}

.stat-text {
    font-size: 18px;
    color: var(--text-muted);
}

/* أزرار الهيرو */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.btn-primary, .btn-secondary {
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
}

@media (min-width: 640px) {
    .btn-primary, .btn-secondary { width: auto; }
}

.btn-primary {
    background-color: var(--oryx-green);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 64, 0, 0.2);
}

.btn-primary:hover {
    background-color: var(--oryx-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--oryx-green);
    color: var(--oryx-green);
}

/* صورة الهيرو */
.hero-image-wrapper {
    position: relative;
    order: 1;
}

@media (min-width: 1024px) { .hero-image-wrapper { order: 2; } }

.hero-blob {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 120%; height: 120%;
    background-color: rgba(0, 64, 0, 0.05);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

.hero-img-main {
    position: relative;
    z-index: 10;
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.5s ease;
}

.hero-img-main:hover { transform: scale(1.02); }

/* 3. شريط الإحصائيات العائم (Stats Strip) */
.home-stats-strip {
    position: relative;
    z-index: 20;
    margin-top: -60px; /* سحب للأعلى ليتداخل مع الهيرو */
    padding-bottom: 80px;
}

.stats-box {
    background-color: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 15px 40px -5px rgba(0, 64, 0, 0.1);
    border: 1px solid var(--oryx-hex-f0f0f0);
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .stats-box {
        grid-template-columns: 1fr 1fr;
        /* خطوط فاصلة وهمية */
        gap: 0;
    }
}
@media (min-width: 1024px) {
    .stats-box { grid-template-columns: repeat(4, 1fr); }
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
    border-bottom: 1px solid var(--oryx-hex-f3f4f6);
}

@media (min-width: 768px) {
    .stat-item {
        border-bottom: none;
        border-left: 1px solid var(--oryx-hex-f3f4f6); /* فاصل عمودي */
    }
    .stat-item:last-child { border-left: none; }
}

.stat-icon {
    width: 60px;
    height: 60px;
    background-color: var(--oryx-light);
    color: var(--oryx-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.stat-item:hover .stat-icon { transform: scale(1.1); }

.stat-val {
    font-size: 30px;
    font-weight: 800;
    color: var(--text-main);
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-muted);
    font-weight: 500;
}

/* 4. قسم الوجهات (Countries) */
.home-destinations {
    background-color: var(--gray-bg);
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    display: inline-block;
    padding-bottom: 10px;
    border-bottom: 4px solid var(--oryx-green);
}

.dest-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* للموبايل عمودين */
    gap: 20px;
}

@media (min-width: 768px) { .dest-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .dest-grid { grid-template-columns: repeat(6, 1fr); } }

.dest-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: block;
}

.dest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.dest-img-box {
    height: 110px;
    overflow: hidden;
}

.dest-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.dest-card:hover .dest-img { transform: scale(1.1); }

.dest-name {
    padding: 12px;
    text-align: center;
    font-weight: 700;
    color: var(--text-muted);
    transition: color 0.3s;
}

.dest-card:hover .dest-name { color: var(--oryx-green); }

/* 5. قسم المميزات (Why Choose Us) */
.home-features {
    padding: 80px 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
    padding: 30px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 15px 30px rgba(0, 64, 0, 0.1);
    border-color: var(--oryx-hex-d1fae5);
}

.feature-icon {
    color: var(--oryx-green);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-main);
}

.feature-desc {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-link {
    color: var(--oryx-green);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.feature-card:hover .feature-link { gap: 8px; }

/* 6. شريط الطلاب (Reviews) */
.home-reviews {
    padding: 50px 0;
    background-color: var(--white);
    border-top: 1px solid rgba(0, 64, 0, 0.1);
    border-bottom: 1px solid rgba(0, 64, 0, 0.1);
}

.reviews-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 15px;
    text-align: center;
}

@media (min-width: 768px) {
    .reviews-header {
        flex-direction: row;
        text-align: right;
    }
}

.reviews-title h2 { font-size: 24px; font-weight: 800; color: var(--text-main); }
.reviews-title p { font-size: 14px; color: var(--text-muted); }

.btn-all-reviews {
    font-size: 14px;
    font-weight: 700;
    color: var(--oryx-green);
    padding: 8px 16px;
    border-radius: 50px;
    text-decoration: none;
    background: var(--oryx-light);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-all-reviews:hover { background: var(--oryx-hex-dcfce7); }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: repeat(5, 1fr); } }

.review-card {
    text-align: center;
    padding: 10px;
    transition: transform 0.3s;
}

.review-card:hover { transform: translateY(-3px); }

.student-img-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px auto;
    border-radius: 50%;
    padding: 3px;
    border: 1px solid var(--border-color);
    background: var(--white);
    transition: border-color 0.3s;
}

.review-card:hover .student-img-box { border-color: var(--oryx-green); }

.student-img {
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.student-name { font-weight: 700; font-size: 14px; color: var(--text-main); margin-bottom: 2px; }
.student-uni { font-size: 11px; font-weight: 700; color: var(--oryx-green); margin-bottom: 8px; }
.student-text { font-size: 12px; color: var(--oryx-hex-9ca3af); font-style: italic; line-height: 1.4; }