:root {
    --dream-orange: #F4A938;
    --dream-blue: #0B3C8C;
    --dream-red: #E53935;
    --dream-yellow: #FFD23F;
    --dream-dark: #1f2937;
}

/* الخط العام */
body {
    font-family: "Tajawal", "Cairo", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =========================
   HEADER
========================= */
.dream-header {
    height: 100px;
    background: linear-gradient(135deg, #E08B1A 0%, #462a07 100%);
    display: flex;
    align-items: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: all .25s ease;
}

.dream-header.is-scrolled {
    height: 65px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .22);
}

.dream-logo {
    height: 65px;
    object-fit: contain;
    transition: all .25s ease;
}

.dream-header.is-scrolled .dream-logo {
    height: 42px;
}

.dream-title .name {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    transition: all .25s ease;
}

.dream-title .tagline {
    color: rgba(255, 255, 255, .9);
    font-size: 14px;
    transition: all .25s ease;
}

.dream-header.is-scrolled .dream-title .name {
    font-size: 18px;
}

.dream-header.is-scrolled .dream-title .tagline {
    font-size: 12px;
    opacity: .9;
}
/* زر الرجوع للرئيسية (أيقونة هوم) */
.home-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all .2s ease;
}

.home-link i {
    font-size: 20px;
    line-height: 1;
}

.home-link:hover {
    opacity: .85;
    transform: translateY(-1px);
}
/* =========================
   HERO / CAROUSEL
========================= */
.hero {
    min-height: 260px;
    display: flex;
    align-items: center;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .28);
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
    backdrop-filter: blur(6px);
}

.hero-badge i {
    font-size: 16px;
}

/* ✅ سلايد 1: خلفية الشعار + مزج الطبقات */
.hero-1 {
    background:
        url("../images/logo-bg.png") left 18% center / 48% no-repeat,
        linear-gradient(135deg, rgb(6, 45, 238), rgba(245, 125, 5, 0.6)),
        linear-gradient(135deg, rgba(244, 169, 56, .60) 0%, rgba(194, 105, 3, 0.811) 100%);
    background-blend-mode: screen, multiply, normal;
}

/* سلايد 2 */
.hero-2 {
    background: 
    url("../images/hand-phone.png") left 16% center / 20% no-repeat,
    
    
    /* تغميق خفيف عشان النص */
        linear-gradient(135deg,
            rgba(216, 161, 8, 0.45),
            rgba(0, 0, 0, .25)),
    
        /* لون البنر */
        linear-gradient(135deg,
            #072be2,
            #0c00e6);
}

/* سلايد 3 */
.hero-3 {
    background:
        /* أيقونة الإعلان */
        url("../images/megaphone1.png") left 16% center / 20% no-repeat,

        /* تغميق خفيف عشان النص */
        linear-gradient(135deg,
            rgba(216, 161, 8, 0.45),
            rgba(0, 0, 0, .25)),

        /* لون البنر */
        linear-gradient(135deg,
            #F4A938,
            #cb0000);
            
}

/* محتوى البانر */
.hero-content {
    max-width: 720px;
    padding: 18px 0;
    position: relative;
    z-index: 2;

    /* ✅ أهم حل: إبعاد النص عن الأسهم يمين ويسار */
    padding-inline: 84px;
    /* يبعد النص عن كنترول الكاروسيل */
}

.hero-title {
    font-weight: 900;
    letter-spacing: .2px;
    font-size: 42px;
}

.hero-tagline {
    font-weight: 700;
    font-size: 18px;
    opacity: .95;
}

.hero-sub {
    font-size: 15px;
    opacity: .92;
    line-height: 1.9;
}

.hero-btn {
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 800;
}
/* تخصيص أزرار السلايد الأول */
.hero-1 .btn {
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 800;
}

.hero-1 .btn-light {
    background: #fff;
    border: 0;
}

.hero-1 .btn-outline-light {
    border-width: 2px;
}

/* =========================
   CAROUSEL CONTROLS FIX
   ✅ تصغير مساحة الأسهم + عدم تغطية الكلام
========================= */
.carousel-control-prev,
.carousel-control-next {
    width: 56px;
    /* كان كبير ويغطي */
    opacity: .85;
    z-index: 3;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35));
}

/* يدعم RTL: خلي الأسهم فعلاً على الأطراف */
[dir="rtl"] .carousel-control-prev {
    left: auto;
    right: 0;
}

[dir="rtl"] .carousel-control-next {
    right: auto;
    left: 0;
}

/* حركة الكاروسيل */
.carousel-item {
    transition: transform .6s ease-in-out;
}

/* =========================
   QUICK LINKS
========================= */
/*
.quick-card {
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 18px;
    padding: 18px;
    text-decoration: none;
    color: #111;
    display: block;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .06);
    transition: .2s ease;
}

.quick-card:hover {
    transform: translateY(-4px);
    border-color: var(--dream-orange);
}

.quick-card i {
    font-size: 30px;
    margin-bottom: 10px;
    display: block;
    color: var(--dream-orange);
}

.quick-card small {
    color: #6b7280;
}
    */

        /* =========================
       QUICK LINKS
    ========================= */
        .quick-card {
            background: #fff;
            border: 1px solid #f1f1f1;
            border-radius: 18px;
            padding: 18px;
            text-decoration: none;
            color: #111;
            display: block;
            text-align: center;
            box-shadow: 0 10px 25px rgba(0, 0, 0, .06);
            transition: .2s ease;
        }
    
        .quick-card:hover {
            transform: translateY(-4px);
            border-color: var(--dream-orange);
        }
    
        .quick-card i {
            font-size: 30px;
            margin-bottom: 10px;
            display: block;
            color: var(--dream-orange);
        }
    
        .quick-card small {
            color: #6b7280;
        }
                /* HOVER واضح للكروت */
                .quick-card {
                    transition: all .2s ease;
                }
        
                .quick-card:hover {
                    background-color: rgba(244, 169, 56, 0.18);
                    /* 👈 برتقالي واضح */
                    border-color: #F4A938;
                    transform: translateY(-4px);
                }
        
                /* الأيقونة */
                .quick-card:hover i {
                    color: #E08B1A;
                }

/* =========================
   BUTTONS
========================= */
.btn-primary {
    background: var(--dream-blue);
    border-color: var(--dream-blue);
}

.btn-primary:hover {
    background: #092f6c;
}

.btn-outline-primary {
    color: var(--dream-blue);
    border-color: var(--dream-blue);
}

.btn-outline-primary:hover {
    background: var(--dream-blue);
    color: #fff;
}

/* شارات الأخبار */
.badge {
    border-radius: 10px;
}




/* الفوتر */
footer {
    background: #ffffff;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 576px) {
    .hero {
        min-height: 230px;
    }

    .hero-content {
        padding-inline: 64px;
        /* أقل بالجوال */
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-tagline {
        font-size: 15px;
    }

    .hero-sub {
        font-size: 14px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 46px;
    }
}
/* NEWS: override Bootstrap bg-white (it uses !important) */
#newsCarousel .carousel-inner .carousel-item>div.p-4 {
    background-color: rgba(244, 169, 56, 0.12) !important;
    /* برتقالي خفيف */
    border-color: rgba(244, 169, 56, 0.35) !important;
}