/* ===========================================
   Custom CSS - منصة النقل والتخزين
   =========================================== */

/* ---------- CSS Variables ---------- */
:root {
    --primary-color: #667eea;
    --primary-dark: #5a67d8;
    --secondary-color: #764ba2;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --dark-color: #2d3748;
    --light-color: #f7fafc;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-success: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --gradient-warning: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

/* ---------- Base Styles ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: #f5f7fa;
    color: var(--dark-color);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* ---------- Navbar Styles ---------- */
.main-navbar {
    background: var(--gradient-primary);
    padding: 15px 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-navbar.scrolled {
    padding: 10px 0;
    background: rgba(102, 126, 234, 0.98);
    backdrop-filter: blur(10px);
}

.main-navbar .navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff !important;
}

.main-navbar .navbar-brand i {
    margin-left: 8px;
}

.main-navbar .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    margin: 0 3px;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,0.15);
}

.main-navbar .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 10px;
    margin-top: 10px;
}

.main-navbar .dropdown-item {
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.main-navbar .dropdown-item:hover {
    background: var(--light-color);
}

.main-navbar .dropdown-item i {
    margin-left: 8px;
    width: 20px;
}

/* ---------- Page Header ---------- */
.page-header {
    background: var(--gradient-primary);
    color: white;
    padding: 60px 0 80px;
    margin-bottom: -40px;
    text-align: center;
}

.page-header.compact {
    padding: 30px 0 50px;
    margin-bottom: -30px;
}

.page-header h1 {
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header h1 i {
    margin-left: 10px;
}

.page-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* ---------- Dashboard Header ---------- */
.dashboard-header {
    background: var(--gradient-primary);
    color: white;
    padding: 30px 0;
}

.dashboard-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.dashboard-header h1 i {
    margin-left: 10px;
}

/* ---------- Stat Cards ---------- */
.stat-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-card.bg-primary { background: var(--gradient-primary) !important; color: white; }
.stat-card.bg-success { background: var(--gradient-success) !important; color: white; }
.stat-card.bg-warning { background: linear-gradient(135deg, #f6d365 0%, #fda085 100%) !important; color: #333; }
.stat-card.bg-info { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important; color: white; }

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ---------- Dashboard Tabs ---------- */
.dashboard-tabs {
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 0;
    background: white;
    padding: 10px 15px 0;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.dashboard-tabs .nav-link {
    border: none;
    color: #666;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    margin-left: 5px;
}

.dashboard-tabs .nav-link.active {
    background: var(--primary-color);
    color: white;
}

.dashboard-tabs .nav-link .badge {
    margin-right: 8px;
}

.tab-content {
    background: white;
    padding: 25px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* ---------- Request Cards ---------- */
.request-card {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: var(--transition);
}

.request-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.request-header {
    background: #f8fafc;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
}

.request-id {
    font-weight: 700;
    color: var(--primary-color);
}

.request-date {
    font-size: 0.85rem;
    color: #666;
}

.request-body {
    padding: 20px;
}

.route-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.route-point {
    text-align: center;
}

.route-point i {
    font-size: 1.3rem;
    display: block;
    margin-bottom: 5px;
}

.route-point span {
    font-weight: 600;
    font-size: 0.95rem;
}

.route-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #28a745, #dc3545);
    margin: 0 15px;
    position: relative;
}

.route-line::before {
    content: '→';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 0 10px;
    color: #666;
}

.request-details {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.request-details i {
    margin-left: 5px;
    color: var(--primary-color);
}

.delivery-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.delivery-badge.standard { background: #e2e8f0; color: #666; }
.delivery-badge.express { background: #fef3c7; color: #d97706; }
.delivery-badge.same_day { background: #fee2e2; color: #dc2626; }

.request-footer {
    padding: 15px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 10px;
}

.request-footer .btn {
    flex: 1;
}

/* ---------- Status Badges ---------- */
.status-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-badge.large {
    padding: 8px 20px;
    font-size: 1rem;
}

.status-badge.status-pending { background: #fef3c7; color: #d97706; }
.status-badge.status-accepted { background: #dbeafe; color: #2563eb; }
.status-badge.status-picked_up { background: #e0e7ff; color: #4f46e5; }
.status-badge.status-in_transit { background: #cffafe; color: #0891b2; }
.status-badge.status-delivered { background: #d1fae5; color: #059669; }
.status-badge.status-cancelled { background: #fee2e2; color: #dc2626; }

/* ---------- Detail Cards ---------- */
.detail-card {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.detail-header {
    background: #f8fafc;
    padding: 15px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-header h5 {
    margin: 0;
    font-weight: 700;
    font-size: 1rem;
}

.detail-header h5 i {
    margin-left: 8px;
}

.detail-body {
    padding: 20px;
}

.detail-body p {
    margin-bottom: 10px;
}

.detail-body p:last-child {
    margin-bottom: 0;
}

/* ---------- Status Timeline ---------- */
.status-timeline {
    display: flex;
    justify-content: space-between;
    padding: 30px 20px;
    position: relative;
}

.status-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #e2e8f0;
    transform: translateY(-50%);
    z-index: 0;
}

.timeline-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.timeline-step .step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto 10px;
    transition: var(--transition);
}

.timeline-step.active .step-icon {
    background: var(--success-color);
    color: white;
}

.timeline-step.current .step-icon {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 5px rgba(102, 126, 234, 0.3);
    animation: pulse 2s infinite;
}

.step-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
}

.timeline-step.active .step-label,
.timeline-step.current .step-label {
    color: var(--dark-color);
}

/* ---------- Tracking Timeline ---------- */
.tracking-timeline {
    padding: 20px 0;
}

.timeline-item {
    display: flex;
    padding: 20px 0;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    right: 25px;
    top: 60px;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-item .timeline-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-left: 20px;
    flex-shrink: 0;
}

.timeline-item.completed .timeline-icon {
    background: var(--success-color);
    color: white;
}

.timeline-item.current .timeline-icon {
    background: var(--primary-color);
    color: white;
    animation: pulse 2s infinite;
}

.timeline-item .timeline-content h6 {
    font-weight: 700;
    margin-bottom: 5px;
    color: #999;
}

.timeline-item.completed .timeline-content h6,
.timeline-item.current .timeline-content h6 {
    color: var(--dark-color);
}

.timeline-item .timeline-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* ---------- Tracking Result ---------- */
.tracking-result {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.tracking-header {
    background: #f8fafc;
    padding: 20px 25px;
    border-bottom: 1px solid #e2e8f0;
}

.tracking-route {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--gradient-primary);
    color: white;
}

.route-from, .route-to {
    text-align: center;
}

.route-from i, .route-to i {
    font-size: 2rem;
}

.route-from h5, .route-to h5 {
    font-weight: 700;
    margin: 10px 0 0;
}

.route-from small, .route-to small {
    opacity: 0.8;
}

.route-icon {
    margin: 0 40px;
    font-size: 2rem;
}

.route-icon .animate-truck {
    animation: moveTruck 2s infinite;
}

/* ---------- Info Box ---------- */
.info-box {
    display: flex;
    align-items: center;
    background: #f8fafc;
    padding: 20px;
    border-radius: var(--radius-md);
}

.info-box i {
    font-size: 2rem;
    margin-left: 15px;
}

.info-box small {
    display: block;
    color: #666;
    font-size: 0.85rem;
}

.info-box strong {
    font-size: 1.1rem;
}

/* ---------- Carrier Info Box ---------- */
.carrier-info-box {
    background: #f8fafc;
    padding: 20px;
    border-radius: var(--radius-md);
}

.carrier-info-box h5 {
    margin-bottom: 15px;
    font-weight: 700;
}

.carrier-info-box h5 i {
    margin-left: 8px;
    color: var(--primary-color);
}

.carrier-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-left: 15px;
}

/* ---------- Offers List ---------- */
.offers-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.offer-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8fafc;
    border-radius: var(--radius-md);
    gap: 15px;
}

.offer-carrier {
    display: flex;
    align-items: center;
    flex: 1;
}

.offer-carrier .carrier-avatar {
    width: 45px;
    height: 45px;
    font-size: 1rem;
}

.offer-carrier .carrier-info h6 {
    margin: 0;
    font-weight: 600;
}

.offer-carrier .rating i {
    font-size: 0.8rem;
}

.offer-details {
    text-align: center;
}

.offer-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
}

.offer-time {
    font-size: 0.85rem;
    color: #666;
}

/* ---------- Route Visual ---------- */
.route-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.route-start, .route-end {
    display: flex;
    align-items: center;
    gap: 10px;
}

.route-start i, .route-end i {
    font-size: 1.5rem;
}

.route-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ccc;
    padding: 15px 0;
}

.route-connector i:nth-child(2) {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 10px 0;
}

/* ---------- Form Styles ---------- */
.request-form {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.form-section {
    background: #f8fafc;
    border-radius: var(--radius-md);
    padding: 25px;
    margin-bottom: 20px;
}

.form-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.form-section h4 i {
    margin-left: 8px;
}

.form-control, .form-select {
    border-radius: var(--radius-sm);
    border: 1px solid #e2e8f0;
    padding: 12px 15px;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
}

/* ---------- Success Card ---------- */
.success-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 50px;
    text-align: center;
    box-shadow: var(--shadow-md);
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-success);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 25px;
}

.success-card h2 {
    color: var(--success-color);
    margin-bottom: 15px;
}

.tracking-code-box {
    display: inline-flex;
    align-items: center;
    background: #f8fafc;
    padding: 15px 25px;
    border-radius: var(--radius-md);
    margin: 15px 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.tracking-code-box button {
    margin-right: 15px;
}

/* ---------- Empty State ---------- */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h4 {
    margin-bottom: 10px;
    color: #666;
}

/* ---------- Tracking Search Form ---------- */
.tracking-search-form .input-group {
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.tracking-search-form .input-group-text {
    background: white;
    border: none;
    padding: 15px 20px;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.tracking-search-form .form-control {
    border: none;
    padding: 15px 20px;
    font-size: 1.1rem;
}

.tracking-search-form .btn {
    padding: 15px 30px;
}

/* ---------- Buttons ---------- */
.btn {
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-success {
    background: var(--gradient-success);
    border: none;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
}

/* ---------- Tables ---------- */
.table {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.table thead th {
    background: #f8fafc;
    font-weight: 700;
    border: none;
    padding: 15px;
}

.table tbody td {
    padding: 15px;
    vertical-align: middle;
}

/* ---------- Footer ---------- */
.main-footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 0;
    margin-top: auto;
}

.footer-section h5, .footer-section h6 {
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section h5 i {
    margin-left: 8px;
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
    color: white;
    padding-right: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.7);
}

.footer-contact i {
    margin-left: 12px;
    color: var(--primary-color);
    width: 20px;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom p, .footer-bottom a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-bottom a:hover {
    color: white;
}

/* ---------- Animations ---------- */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(102, 126, 234, 0); }
    100% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0); }
}

@keyframes moveTruck {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-10px); }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .page-header {
        padding: 40px 0 60px;
    }
    
    .status-timeline {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .status-timeline::before {
        display: none;
    }
    
    .timeline-step {
        width: calc(33.33% - 15px);
    }
    
    .tracking-route {
        flex-direction: column;
        gap: 20px;
    }
    
    .route-icon {
        margin: 0;
        transform: rotate(90deg);
    }
}

@media (max-width: 767px) {
    .dashboard-header h1 {
        font-size: 1.4rem;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .request-form {
        padding: 20px;
    }
    
    .form-section {
        padding: 15px;
    }
    
    .timeline-step {
        width: calc(50% - 10px);
    }
    
    .offer-item {
        flex-wrap: wrap;
    }
    
    .offer-carrier {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .success-card {
        padding: 30px 20px;
    }
    
    .tracking-code-box {
        font-size: 1.1rem;
        flex-direction: column;
        gap: 10px;
    }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* ---------- Print Styles ---------- */
@media print {
    .main-navbar, .main-footer, .btn {
        display: none !important;
    }
    
    .page-header, .dashboard-header {
        background: #333 !important;
        -webkit-print-color-adjust: exact;
    }
}



body {
    font-family: 'Cairo', sans-serif;
    background: #f5f5f5;
}

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-section .lead {
    opacity: 0.95;
}

.services-wrapper {
    margin-top: -50px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #667eea;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-desc {
    color: #666;
    margin-bottom: 25px;
}

.feature-box i {
    margin-bottom: 15px;
}

footer {
    margin-top: 60px;
}

.from-commune,
.to-commune,
.from-commune option,
.to-commune option,
.from-wilaya,
.to-wilaya,
.from-wilaya option,
.to-wilaya option {
    color: #212529 !important;
    background-color: #fff !important;
}

/* ==================== Footer ==================== */
.main-footer {
    margin-top: 60px;
}

.footer-top {
    background: #1a1a2e;
    color: #ccc;
    padding: 50px 0 30px;
}

.footer-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-desc {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
    padding-right: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
}

.footer-contact li i {
    margin-top: 3px;
    color: #667eea;
    width: 16px;
}

.footer-contact a {
    color: #aaa;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-social a:hover {
    background: #667eea;
    transform: translateY(-3px);
}

.footer-bottom {
    background: #12122a;
    color: #777;
    padding: 15px 0;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #777;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: #fff;
}

/* ==================== إخفاء الفوتر على الجوال ==================== */
/* d-none d-md-block في HTML يكفي، لكن إذا أردت تعديل إضافي: */
@media (max-width: 767.98px) {
    .main-footer {
        display: none !important;
    }
}