/* تخصيصات عربي / RTL + قسم البرامج + شريط تنقل بسيط + قسم تواصل */

body {
    font-family: 'Cairo', 'Montserrat', sans-serif;
    font-weight: 300;
}

.header .brand,
.header h1,
.section-header h2,
.about .content-col h3,
.f-item h3 {
    font-family: 'Cairo', 'Montserrat', sans-serif;
}

/* شريط تنقل علوي بسيط يظهر بكل الصفحات */
.top-bar {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 5;
    padding: 22px 0;
}
.top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.top-bar .top-brand {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}
.top-bar .top-brand:hover { color: #FF69B4; }
.top-bar nav a {
    color: #fff;
    margin-inline-start: 25px;
    font-size: 15px;
    font-weight: 400;
}
.top-bar nav a:hover { color: #FF69B4; }

/* نسخة الشريط العلوي للصفحات الداخلية (بدون خلفية الهيرو) */
.top-bar.static {
    position: relative;
    background: #222222;
}
.top-bar.static .top-brand,
.top-bar.static nav a { color: #fff; }

/* ============ قسم البرامج (Products) ============ */
.products {
    position: relative;
    padding: 45px 0 60px 0;
    background: #dfdbcf;
}

.product-card {
    position: relative;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.06);
    padding: 35px 25px;
    margin-bottom: 30px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card .product-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    display: inline-block;
    margin: 0 auto 18px auto;
    border-radius: 80px;
    box-shadow: 0 0 5px #999999;
    font-size: 34px;
    color: #FF69B4;
    background: #fff;
}

.product-card .product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 80px;
}

.product-card h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 15px;
    color: #555;
    flex-grow: 1;
}

.product-card .meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
    direction: ltr;
}

.badge-status {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.badge-ready { background: #e6f6ee; color: #1f8a53; }
.badge-soon { background: #fdf1e2; color: #b4791f; }

.btn-download {
    display: inline-block;
    background-color: #FF69B4;
    color: #ffffff !important;
    font-weight: 500;
    padding: 10px 26px;
    border-radius: 6px;
    margin-top: auto;
}
.btn-download:hover { background-color: #222222; color: #FF69B4 !important; }

.btn-download.disabled {
    background-color: #e2e2e2;
    color: #999 !important;
    pointer-events: none;
}

/* ============ قسم التواصل (بديل النشرة البريدية) ============ */
.contact-section {
    position: relative;
    text-align: center;
    padding: 80px 0;
    min-height: 550px;

    background-image: url(../img/subscribe-bg.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
}
.contact-section:after {
    content: '';
    position: absolute;
    background: rgba(0, 0, 0, 0.85);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}
.contact-section .container { position: relative; z-index: 1; }
.contact-section .section-header h2 { color: #ffffff; }
.contact-section .section-header::before { background: #ffffff; }
.contact-section p, .contact-section a { color: #ffffff; font-size: 17px; }
.contact-section a:hover { color: #FF69B4; }

@media (max-width: 767.98px) {
    .top-bar { position: relative; background: rgba(0,0,0,0.25); }
    .header { height: auto; padding-top: 170px; }
}

/* ============ Hero مقسّم (صورة + نص) ============ */
.hero-split {
    position: relative;
    padding: 160px 0 80px 0;
    background: #fff;
}

.hero-text h1 {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #222;
}

.hero-text .lead-text {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    line-height: 1.8;
}

.hero-text p {
    font-size: 15px;
    line-height: 1.9;
    color: #555;
}

.hero-img-col { margin-top: 30px; }
.hero-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}
.hero-img img {
    width: 100%;
    display: block;
}

@media (max-width: 767.98px) {
    .hero-split { padding: 140px 0 40px 0; text-align: center; }
    .hero-text h1 { font-size: 28px; }
}

/* ============ بطاقة برنامج محدثة (صورة + وصفين) ============ */
.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.product-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f0f0f0;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #ccc;
}

.product-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.product-short {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.product-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}
