@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap');

:root {
    --primary-color: #b11d43; 
    --secondary-color: #fbc02d;
    --dark-bg: #11151d;
    --ticker-bg: #000000;
    --text-color: #333;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: #fcfcfc;
    color: var(--text-color);
    overflow-x: hidden;
}

/* --- Navbar --- */
.navbar {
    background-color: var(--dark-bg) !important;
    padding: 10px 0;
}
.navbar-brand {
    font-weight: 800;
    font-size: 26px;
    color: #fff !important;
}
.navbar-nav .nav-link {
    color: #d0d0d0 !important;
    font-size: 15px;
    margin: 0 8px;
    transition: 0.3s;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: #fff !important;
}
.btn-control {
    background: var(--secondary-color);
    color: #000;
    border-radius: 50px;
    padding: 6px 20px;
    font-weight: bold;
    text-decoration: none;
    font-size: 13px;
}

/* --- Ticker --- */
.ticker-wrap {
    background: var(--ticker-bg);
    color: #fff;
    height: 40px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #222;
}
.ticker-label {
    background: var(--primary-color);
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-weight: bold;
    font-size: 13px;
    position: relative;
    gap: 8px;
}
.ticker-label::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    border-width: 20px 10px 20px 0;
    border-style: solid;
    border-color: var(--primary-color) transparent var(--primary-color) transparent;
}
.ticker-content {
    flex-grow: 1;
    overflow: hidden;
    padding-top: 3px;
}
.ticker-item {
    color: #f1f1f1;
    text-decoration: none;
    margin: 0 30px;
    font-size: 13px;
}

/* --- Hero Slider (تم تصغير الارتفاع هنا) --- */
.hero-container {
    margin-top: 25px;
    padding: 0 15px;
}
.hero-wrapper {
    border-radius: 15px; 
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #000;
}
/* *** التعديل الأساسي هنا *** */
/* ابحث عن الجزء ده في ملف الـ CSS */
.hero-slider .carousel-item {
    height: 300px; /* كان 400، خليناه 300 عشان يصغر */
}
.hero-slider img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 0.9;
}
.hero-caption {
    position: absolute;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    max-width: 550px;
    color: #fff;
    text-align: right;
    z-index: 10;
}
.hero-title {
    font-size: 2rem; /* كان 2.5rem، صغرناه شوية */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}
.btn-hero-primary {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 14px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-left: 10px;
}
.btn-hero-white {
    background: #fff;
    color: #000;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 14px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

/* --- Cards --- */
.section-title {
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}
.card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 8px;
}
.card-title a { color: var(--text-color); text-decoration: none; }
.card-body { padding: 15px; }

/* --- Horizontal Cards --- */
.horizontal-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 15px;
    display: flex;
    overflow: hidden;
    height: 100px;
    align-items: center;
    transition: 0.3s;
}
.horizontal-card:hover { transform: translateX(-5px); border-color: #ddd; }
.horizontal-card img {
    width: 130px;
    height: 100%;
    object-fit: cover;
}
.horizontal-content {
    padding: 10px 15px;
    flex: 1;
}
.horizontal-meta {
    font-size: 11px;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 5px;
}
.horizontal-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}
.horizontal-title a { color: #333; text-decoration: none; }