html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
/* تنسيقات عامة */
:root {
    --primary-color: #4e54c8;
    --secondary-color: #8f94fb;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: #f8f9fa;
    direction: rtl;
}

/* شريط التنقل */
.bg-galaxy {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* قسم البطل */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0;
    margin-top: -1px;
}

/* بطاقات الميزات */
.feature-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-5px);
    }

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

    .feature-icon i {
        font-size: 30px;
        color: white;
    }

/* خطوات العمل */
.step-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .step-icon .number {
        color: white;
        font-weight: bold;
        font-size: 1.2rem;
    }

/* بطاقة الإحصائيات */
.stats-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
}

.stat-label {
    font-size: 0.9rem;
}

/* تنسيقات المجرة */
#galaxy-container {
    position: relative;
    overflow: hidden;
}

.organization-label {
    color: white;
    font-size: 12px;
    background: rgba(0, 0, 0, 0.7);
    padding: 2px 5px;
    border-radius: 3px;
    white-space: nowrap;
}

/* التكيف مع الأجهزة المحمولة */
@media (max-width: 768px) {
    .hero-section .row {
        flex-direction: column-reverse;
    }

    .galaxy-preview {
        margin-bottom: 2rem;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .step-icon {
        margin: 0 auto 1rem auto;
    }
}

/* تخصيص عناصر Bootstrap للغة العربية */
.breadcrumb-item + .breadcrumb-item::before {
    float: right;
    padding-left: 0.5rem;
    padding-right: 0;
}

.dropdown-menu {
    text-align: right;
}

/* تحسين المظهر العام للبطاقات */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.card-header {
    border-radius: 12px 12px 0 0 !important;
}

/* تخصيص الأزرار */
.btn {
    border-radius: 8px;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
}

    .btn-primary:hover {
        background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }