/* الأنماط الرئيسية لموقع The Easy Crypto */

/* القواعد العامة */
body {
    font-family: "Cairo", "Tajawal", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* الألوان الرئيسية */
:root {
    --primary-color: #4d6de3;
    --secondary-color: #2e9c8e;
    --dark-color: #343a40;
    --light-color: #f4f4f4;
    --danger-color: #dc3545;
    --success-color: #28a745;
    --gradient-start: #ff5e62;
    --gradient-end: #ff9966;
}

/* تنسيق الهيدر */
.navbar-dark .navbar-brand {
    font-weight: bold;
    color: #fff;
}

/* صفحة الرئيسية */
.jumbotron {
    background-color: var(--dark-color);
    background-size: cover;
    background-position: center;
    border-radius: 0.5rem;
}

/* بطاقات الكورسات */
.card {
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* بدائل الصور والشعارات */
.navbar-logo-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    margin-left: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.footer-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    font-weight: bold;
    font-size: 1.8rem;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.course-image-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    border-radius: 0.375rem 0.375rem 0 0;
}

.header-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: -1;
    overflow: hidden;
}

/* تنسيق الفوتر */
footer {
    margin-top: 3rem;
}

footer a {
    color: inherit;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* أيقونات وسائل التواصل الاجتماعي في الفوتر */
.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    text-decoration: none !important;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    color: #fff;
}

/* تنسيق الصور المخصصة لأيقونات وسائل التواصل الاجتماعي */
.social-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* أنماط روابط التواصل الاجتماعي في قسم تواصل معنا */
.social-links-footer {
    margin-top: 10px;
}

.social-links-footer .contact-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.social-links-footer .contact-info i {
    font-size: 1rem;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-left: 10px;
}

.social-icon-img-footer {
    width: 16px;
    height: 16px;
    object-fit: contain;
    margin-left: 10px;
}

.social-links-footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.social-links-footer a:hover {
    color: var(--primary-yellow);
    text-decoration: none;
}

/* المحتوى الخاص بالمحاضرات */
.lecture-text-content {
    background-color: #fff;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* تنسيق التعليقات */
.comment {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

/* لوحة المعلومات */
.sidebar {
    position: sticky;
    top: 2rem;
}

/* تنسيق النماذج */
.form-signin {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* زر الاشتراك في الكورس */
.btn-enroll {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

/* شارة السعر */
.price {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* تنسيق الأقسام */
section {
    padding: 2rem 0;
}

/* عدادات الإحصائيات في لوحة التحكم */
.stats-card {
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.stats-card i {
    font-size: 2rem;
    opacity: 0.7;
}