/* تخصيصات عربي / 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);
    margin-bottom: 30px;
    text-align: center;
    height: 100%;
    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;
}

.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: #e8f9e0; color: #4a9e2a; }
.badge-soon { background: #fdf1e2; color: #b4791f; }

.btn-download {
    display: inline-block;
    background-color: #6FD943;
    color: #0d0d10 !important;
    font-weight: 500;
    padding: 10px 26px;
    border-radius: 6px;
    margin-top: auto;
}
.btn-download:hover { background-color: #0d0d10; color: #6FD943 !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; }

/* ============ 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;
}

/* ============ الفوتر (الوضع الحالي) ============ */
.footer-section ul { margin: 0; padding: 0; }
.footer-section {
  background: #0d0d10;
  position: relative;
}
.footer-cta { border-bottom: 1px solid #2a2a2d; }
.single-cta i {
  color: #6FD943;
  font-size: 26px;
  float: right;
  margin-top: 6px;
}
.cta-text { padding-right: 15px; display: inline-block; text-align: right; }
.cta-text h4 { color: #fff; font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.cta-text span, .cta-text span a { color: #9a9a9a; font-size: 14px; text-decoration: none; }
.cta-text span a:hover { color: #6FD943; }

.footer-content { position: relative; z-index: 2; }
.footer-logo { margin-bottom: 20px; }
.footer-logo img { max-width: 160px; }
.footer-text p { margin-bottom: 14px; font-size: 14px; color: #9a9a9a; line-height: 1.9; }

.footer-social-icon span {
  color: #fff; display: block; font-size: 16px; font-weight: 700; margin-bottom: 14px;
}
.footer-social-icon a { margin-left: 10px; }
.footer-social-icon i {
  color: #fff; height: 38px; width: 38px; text-align: center; line-height: 38px;
  border-radius: 50%; font-size: 15px;
}
.facebook-bg { background: #3B5998; }
.linkedin-bg { background: #0077B5; }
.instagram-bg { background: linear-gradient(45deg,#f9ce34,#ee2a7b,#6228d7); }
.whatsapp-bg { background: #25D366; }

.footer-widget-heading h3 {
  color: #fff; font-size: 18px; font-weight: 600; margin-bottom: 30px; position: relative;
}
.footer-widget-heading h3::before {
  content: ""; position: absolute; right: 0; bottom: -12px; height: 2px; width: 44px; background: #6FD943;
}
.footer-widget ul li { display: block; margin-bottom: 10px; text-align: right; }
.footer-widget ul li a { color: #9a9a9a; text-decoration: none; }
.footer-widget ul li a:hover { color: #6FD943; }

.copyright-area { background: #151517; padding: 20px 0; }
.copyright-text p { margin: 0; font-size: 13px; color: #878787; }
.footer-menu li { display: inline-block; margin-right: 18px; }
.footer-menu li a { font-size: 13px; color: #878787; text-decoration: none; }
.footer-menu li:hover a { color: #6FD943; }

/* ============ Responsive ============ */
@media (max-width: 767.98px) {
    .top-bar { position: relative; background: rgba(0,0,0,0.25); }
    .header { height: auto; padding-top: 170px; }
    .hero-split { padding: 140px 0 40px 0; text-align: center; }
    .hero-text h1 { font-size: 28px; }
    .single-cta { text-align: center; margin-bottom: 10px; }
    .single-cta i { float: none; display:block; margin: 0 auto 8px; }
    .cta-text { padding-right: 0; }
}
