/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    --primary: #F8931F;       /* New Primary Orange */
    --primary-dark: #c97412;  /* Darker Orange for Hover */
    --accent: #F8931F;        /* Gold/Yellow (Matches well with Orange) */
    --accent-hover: #e0b11c;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --dark-footer: #0B1120;
    --border-radius: 12px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 12px 30px rgba(248, 147, 31, 0.1); /* Updated shadow color to match orange */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', 'Cairo', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Utility Classes */
.text-primary-custom { color: var(--primary) !important; }
.bg-primary-custom { background-color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.fw-extra-bold { font-weight: 800; }
.section-padding { padding: 100px 0; }
.ls-1 { letter-spacing: 1px; }

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary);
    border: 2px solid var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-primary-custom:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline-custom {
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    background: transparent;
    transition: var(--transition);
}
.btn-outline-custom:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--text-dark);
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
}
.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(251, 202, 47, 0.4);
}
.text-white-75 { color: rgba(255,255,255,0.75) !important; }

/* =========================================
   Vertical Detail Page Enhancements
   ========================================= */
.vertical-hero {
    position: relative;
    padding: 140px 0 120px;
    background-size: cover;
    background-position: center;
    color: #fff;
}
.vertical-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(6, 11, 40, 0.9), rgba(6, 11, 40, 0.5));
}
.vertical-hero .container {
    position: relative;
    z-index: 2;
}
.vertical-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.4);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
}
.vertical-kpi-card {
    padding: 0.85rem 1.2rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    min-width: 140px;
}
.vertical-kpi-card small {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
}
.vertical-hero-card {
    background: rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}
.hero-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.hero-gallery .hero-image {
    border-radius: 14px;
    height: 90px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255,255,255,0.2);
}
.hero-gallery .hero-image.muted {
    background-image: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
}

.vertical-overview-card {
    background: #fff;
    border-radius: 28px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid #f1f5f9;
}
.vertical-icon.gradient {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
}
.vertical-icon.gradient i {
    color: inherit;
}

.vertical-location-card {
    background: #fff;
    border-radius: 22px;
    padding: 28px;
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}
.vertical-location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(15,23,42,0.08);
}

.vertical-feature-card {
    padding: 18px 20px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-sm);
}

.vertical-cta {
    padding: 70px 0 110px;
    background: linear-gradient(135deg, #0b1120, #1d2236);
}
.vertical-cta-card {
    background: #fff;
    border-radius: 30px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}
@media (min-width: 768px) {
    .vertical-cta-card {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* =========================================
   2. HEADER & NAVIGATION & LOGO
   ========================================= */
.top-bar {
    background-color: #0B1120; 
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    padding: 8px 0;
    position: relative;
    z-index: 1031;
}
.top-bar a { color: rgba(255,255,255,0.7); text-decoration: none; transition: 0.2s; }
.top-bar a:hover { color: var(--accent); }

.navbar {
    transition: 0.4s ease;
    padding: 2px 0;
    position: fixed;
    width: 100%;
    top: 15px;
    z-index: 1030;
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar.scrolled {
    background: rgb(208 205 205 / 98%);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    top: 0;
    box-shadow: 0 5px 20px rgb(215 52 52 / 5%);
    border-bottom: none;
}

/* Logo Styles */
.logo-img {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
    display: block;
}
.navbar.scrolled .logo-img { height: 45px; }
@media (max-width: 991px) {
    .logo-img { height: 40px; }
}

.nav-link {
    font-weight: 500;
    color: rgba(255,255,255,0.9) !important;
    margin: 0 10px;
    font-size: 0.95rem;
}
.navbar.scrolled .nav-link { color: var(--text-dark) !important; }
.nav-link:hover { color: var(--accent) !important; }
.navbar.scrolled .nav-link:hover { color: var(--primary) !important; }

/* Nav Button */
.btn-nav-light {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}
.btn-nav-light:hover { background: white; color: var(--primary); }
.navbar.scrolled .btn-nav-light {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.navbar.scrolled .btn-nav-light:hover { background: transparent; color: var(--primary); }

/* =========================================
   3. CINEMATIC HERO SLIDER (Ken Burns)
   ========================================= */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    margin-top: -40px;
}
.carousel-item { height: 100vh; min-height: 700px; }

.hero-img-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    transform: scale(1);
    transition: transform 8s ease;
}
.carousel-item.active .hero-img-bg { transform: scale(1.1); }

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative; z-index: 2; height: 100%;
    display: flex; align-items: center; padding-top: 80px;
    padding-left: 60px;
}

.hero-glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 50px;
    border-radius: 20px;
    max-width: 700px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    color: white;
    animation: fadeInUp 1s ease forwards 0.5s;
    opacity: 0; transform: translateY(30px);
}

.hero-badge {
    background: var(--accent); color: var(--text-dark);
    padding: 5px 15px; border-radius: 4px;
    font-weight: 700; font-size: 0.8rem; text-transform: uppercase;
    letter-spacing: 1px; display: inline-block; margin-bottom: 20px;
}

.hero-title { font-size: 3.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero-desc { font-size: 1.15rem; opacity: 0.9; margin-bottom: 30px; font-weight: 300; line-height: 1.7; }

/* =========================================
   4. OVERVIEW & VERTICALS
   ========================================= */
.overview-card { background: var(--light-bg); padding: 30px; border-radius: var(--border-radius); border-left: 4px solid var(--primary); height: 100%; transition: var(--transition); }
.overview-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }

.vertical-card {
    background: white; border-radius: 16px; padding: 40px 30px;
    height: 100%; box-shadow: var(--shadow-sm); border: 1px solid #eee;
    transition: var(--transition); display: flex; flex-direction: column;
}
.vertical-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.vertical-icon { font-size: 3.5rem; color: var(--primary); margin-bottom: 25px; }

/* =========================================
   5. STATS PARALLAX
   ========================================= */
.stats-parallax {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=1600');
    background-attachment: fixed; background-position: center; background-size: cover;
    padding: 120px 0; color: white;
}
.stats-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    /* Update blend color to match orange slightly if needed, or keep purple for contrast */
    background: rgba(11, 17, 32, 0.85); /* Dark neutral overlay works best with Orange */
    mix-blend-mode: multiply;
}
.stats-content { position: relative; z-index: 2; }
.stat-card {
    text-align: center; padding: 30px;
    background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 16px;
    transition: var(--transition);
}
.stat-card:hover { transform: translateY(-10px); background: rgba(255, 255, 255, 0.15); }
.stat-number { font-size: 3.5rem; font-weight: 800; line-height: 1; margin-bottom: 10px; }

/* =========================================
   6. BUSINESS MODEL (SMART STEPS)
   ========================================= */
.model-step-card {
    background: white; padding: 40px 30px; border-radius: 16px;
    position: relative; border: 1px solid #f0f0f0; transition: var(--transition);
    overflow: hidden; height: 100%; z-index: 1;
}
.model-step-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 0;
    background: rgba(248, 147, 31, 0.05); /* Very light orange */
    transition: var(--transition); z-index: -1;
}
.model-step-card:hover { transform: translateY(-10px); border-color: var(--primary); box-shadow: var(--shadow-md); }
.model-step-card:hover::before { height: 100%; }
.step-number { font-size: 4rem; font-weight: 900; color: #f1f5f9; position: absolute; top: 10px; right: 20px; line-height: 1; transition: var(--transition); }
.model-step-card:hover .step-number { color: rgba(248, 147, 31, 0.1); }
.model-icon {
    width: 60px; height: 60px; background: var(--primary); color: white;
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 20px; box-shadow: 0 10px 20px rgba(248, 147, 31, 0.3);
}

/* =========================================
   7. STRATEGY (HARMONIZED GRID)
   ========================================= */
.strategy-harmonized-section {
    background-color: #f8f9fa;
    padding: 100px 0;
}
.strat-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}
.strat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(248, 147, 31, 0.1);
    border-color: rgba(248, 147, 31, 0.2);
}
.strat-icon-box {
    width: 55px; height: 55px;
    background: rgba(248, 147, 31, 0.08);
    color: var(--primary);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    transition: 0.3s;
}
.strat-card:hover .strat-icon-box { background: var(--primary); color: white; }
.strat-title { font-weight: 700; font-size: 1.15rem; margin-bottom: 10px; color: var(--text-dark); }
.strat-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 0; }
.strategy-info { padding-right: 30px; }
.iso-box {
    background: white; padding: 20px; border-radius: 12px;
    border-left: 4px solid var(--accent);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); margin-top: 30px;
    display: inline-flex; align-items: center; gap: 15px;
}

/* =========================================
   8. INFINITE PARTNERS MARQUEE
   ========================================= */
.marquee-section { background: white; padding: 60px 0; border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; overflow: hidden; }
.marquee-container { display: flex; width: 100%; overflow: hidden; white-space: nowrap; position: relative; }
.marquee-container::before, .marquee-container::after {
    content: ""; position: absolute; top: 0; width: 150px; height: 100%; z-index: 2;
}
.marquee-container::before { left: 0; background: linear-gradient(to right, white, transparent); }
.marquee-container::after { right: 0; background: linear-gradient(to left, white, transparent); }

.marquee-track { display: flex; align-items: center; animation: scroll 40s linear infinite; }
.partner-logo-item {
    margin: 0 50px; opacity: 0.5; transition: var(--transition); filter: grayscale(100%);
    display: flex; flex-direction: column; align-items: center;
}
.partner-logo-item:hover { opacity: 1; filter: grayscale(0%); transform: scale(1.1); }
.partner-logo-item i { font-size: 3rem; color: var(--text-dark); }
.partner-logo-item span { font-weight: 700; font-size: 1.1rem; color: var(--text-dark); margin-top: 10px; }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =========================================
   9. NEWS (MAGAZINE STYLE)
   ========================================= */
.news-hero-card { position: relative; border-radius: 16px; overflow: hidden; height: 100%; min-height: 450px; }
.news-hero-img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.news-hero-card:hover .news-hero-img { transform: scale(1.05); }
.news-hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.9) 10%, rgba(0,0,0,0.2) 60%, transparent 100%); }
.news-hero-content { position: absolute; bottom: 0; left: 0; padding: 40px; color: white; width: 100%; z-index: 2; }

.news-list-item { display: flex; gap: 20px; margin-bottom: 25px; padding-bottom: 25px; border-bottom: 1px solid #f0f0f0; transition: var(--transition); }
.news-list-item:hover { transform: translateX(5px); }
.news-thumb { width: 100px; height: 80px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.news-list-item:hover .news-thumb img { transform: scale(1.1); }
.news-date { font-size: 0.8rem; color: var(--primary); font-weight: 700; text-transform: uppercase; margin-bottom: 5px; display: block; }

/* =========================================
   10. CONTACT (SPLIT CARD)
   ========================================= */
.contact-wrapper { background-color: #f8f9fa; padding: 100px 0; }
.contact-card {
    background: white; border-radius: 20px; overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08); display: flex; flex-wrap: wrap;
}
.contact-form-side { flex: 1; padding: 50px; min-width: 300px; }
.form-control-custom {
    background-color: #f8f9fa; border: 1px solid #e2e8f0; padding: 15px;
    border-radius: 8px; margin-bottom: 20px; transition: var(--transition);
}
.form-control-custom:focus {
    background-color: white; border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(248, 147, 31, 0.2); outline: none;
}
.contact-info-side {
    flex: 1; min-width: 300px;
    background-image: url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&q=80&w=1000');
    background-size: cover; background-position: center;
    position: relative; color: white; padding: 50px;
    display: flex; flex-direction: column; justify-content: center;
}
.contact-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    /* Gradient adapted to Orange/Dark Blue */
    background: linear-gradient(135deg, rgba(248, 147, 31, 0.9), rgba(11, 17, 32, 0.95)); z-index: 1;
}
.contact-content-inner { position: relative; z-index: 2; }
.info-item { display: flex; align-items: flex-start; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.info-item:last-child { border-bottom: none; margin-bottom: 0; }
.info-icon {
    width: 50px; height: 50px; background: rgba(255,255,255,0.1);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: var(--accent); margin-right: 20px; flex-shrink: 0;
}

/* =========================================
   11. MEGA FOOTER & UTILS
   ========================================= */
footer { background-color: var(--dark-footer); color: #94a3b8; padding-top: 80px; font-size: 0.95rem; }
.footer-brand { font-size: 1.8rem; font-weight: 800; color: white; margin-bottom: 20px; display: block; text-decoration: none; }
.footer-heading { color: white; font-weight: 600; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer-heading::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background: var(--accent); }
.footer-link { display: block; color: #94a3b8; text-decoration: none; margin-bottom: 12px; transition: var(--transition); }
.footer-link:hover { color: var(--accent); padding-left: 5px; }
.footer-bottom { background: rgba(0,0,0,0.2); padding: 30px 0; margin-top: 60px; border-top: 1px solid rgba(255,255,255,0.05); }

/* Animations */
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* Back to Top */
#backToTop {
    position: fixed; bottom: 30px; right: 30px; display: none; z-index: 99;
    background: var(--primary); color: white; border: none; border-radius: 50%;
    width: 50px; height: 50px; box-shadow: 0 4px 15px rgba(248, 147, 31, 0.4);
    transition: var(--transition);
}
#backToTop:hover { transform: translateY(-5px); background: var(--primary-dark); }

/* Mobile Fixes */
@media (max-width: 991px) {
    .navbar { background: #fff; padding: 10px 0; top: 0; }
    .navbar-brand { color: var(--primary); }
    .nav-link { color: var(--text-dark) !important; }
    .navbar-toggler { border: none; color: var(--text-dark); }
    .btn-nav-light { background: var(--primary); color: white; }
    .hero-title { font-size: 2.5rem; }
    .hero-glass-card { padding: 30px; margin: 0 15px; }
    .contact-card { flex-direction: column-reverse; }
}

/* =========================================
   ABOUT PAGE ADDITIONAL STYLES
   ========================================= */

/* 1. About Hero */
.about-hero {
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&q=80&w=2000'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    height: 60vh;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -40px; 
}
.about-hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(11, 17, 32, 0.8), rgba(11, 17, 32, 0.9));
}

/* 2. Chairman Message */
.chairman-img-wrapper {
    position: relative;
    padding-bottom: 20px;
    padding-right: 20px;
}
.chairman-img {
    border-radius: 12px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.chairman-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 60%; height: 60%;
    background: var(--accent);
    z-index: -1;
    border-radius: 12px;
    opacity: 0.2;
}
.quote-icon {
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.1;
    line-height: 1;
}

/* 3. Values Cards */
.value-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    transition: var(--transition);
}
.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.value-icon {
    width: 70px; height: 70px;
    background: var(--light-bg);
    color: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    transition: var(--transition);
}
.value-card:hover .value-icon {
    background: var(--primary);
    color: white;
}

/* 4. Modern Timeline */
.timeline-section { position: relative; }
.timeline-line {
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 2px;
    background: #e2e8f0;
    transform: translateX(-50%);
}
.timeline-item {
    margin-bottom: 60px;
    position: relative;
}
.timeline-dot {
    width: 20px; height: 20px;
    background: var(--accent);
    border: 4px solid white;
    border-radius: 50%;
    position: absolute;
    left: 50%; top: 0;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(251, 202, 47, 0.2);
}
.timeline-content {
    width: 45%;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
}
.timeline-item:nth-child(odd) .timeline-content { margin-left: auto; } /* Right */
.timeline-item:nth-child(even) .timeline-content { margin-right: auto; text-align: right; border-left: none; border-right: 4px solid var(--primary); }

@media (max-width: 768px) {
    .timeline-line { left: 20px; }
    .timeline-dot { left: 20px; }
    .timeline-content { width: 85%; margin-left: 50px !important; text-align: left !important; border-right: none !important; border-left: 4px solid var(--primary) !important; }
}

/* 5. Team Cards */
.team-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-img {
    height: 300px;
    width: 100%;
    object-fit: cover;
    object-position: top;
    filter: grayscale(100%);
    transition: 0.4s;
}
.team-card:hover .team-img { filter: grayscale(0%); }
.team-social a {
    width: 35px; height: 35px;
    border-radius: 50%;
    background: #f8f9fa;
    color: var(--text-muted);
    display: inline-flex; align-items: center; justify-content: center;
    margin: 0 5px;
    transition: 0.3s;
    text-decoration: none;
}
.team-social a:hover { background: var(--primary); color: white; }




/* =========================================
   NEWS DETAILS PAGE STYLES
   ========================================= */

/* 1. Article Hero */
.article-hero {
    background-image: url('https://images.unsplash.com/photo-1524178232363-1fb2b075b955?auto=format&fit=crop&q=80&w=2000'); /* صورة تعبيرية للخبر */
    background-size: cover;
    background-position: center;
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    margin-top: -40px;
    padding-bottom: 60px;
}
.article-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(11,17,32,0.3) 0%, rgba(11,17,32,0.95) 100%);
}

/* 2. Article Content */
.article-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: flex; gap: 15px; align-items: center;
}
.article-meta i { color: var(--primary); margin-right: 5px; }

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}
.article-body p { margin-bottom: 25px; }
.article-body h3 { font-weight: 700; margin-top: 40px; margin-bottom: 20px; }

/* اقتباس داخل المقال */
.article-blockquote {
    border-left: 4px solid var(--primary);
    background: #f8f9fa;
    padding: 30px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin: 40px 0;
    border-radius: 0 12px 12px 0;
}

/* 3. Sidebar Widgets */
.sidebar-widget {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 30px;
}
.widget-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}
.widget-title::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 50px; height: 2px; background: var(--primary);
}

/* Categories List */
.cat-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #e2e8f0;
    display: flex; justify-content: space-between;
}
.cat-list li a { text-decoration: none; color: var(--text-dark); transition: 0.3s; font-weight: 500; }
.cat-list li a:hover { color: var(--primary); padding-left: 5px; }
.cat-count { background: #f0f0f0; padding: 2px 8px; border-radius: 4px; font-size: 0.8rem; color: #666; }

/* Recent Posts Widget */
.widget-post-item {
    display: flex; gap: 15px; margin-bottom: 20px;
}
.widget-post-img {
    width: 80px; height: 80px; border-radius: 8px; object-fit: cover; flex-shrink: 0;
}
.widget-post-content h6 { font-size: 0.95rem; font-weight: 700; line-height: 1.4; margin-bottom: 5px; }
.widget-post-content h6 a { text-decoration: none; color: var(--text-dark); transition: 0.2s; }
.widget-post-content h6 a:hover { color: var(--primary); }

/* Tags */
.tag-cloud a {
    display: inline-block;
    background: #f8f9fa;
    color: #666;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-right: 5px; margin-bottom: 8px;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid #eee;
}
.tag-cloud a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Share Buttons */
.share-buttons a {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: white; margin-right: 10px; text-decoration: none;
    transition: 0.3s;
}
.share-buttons a:hover { transform: translateY(-3px); }
.bg-facebook { background: #3b5998; }
.bg-twitter { background: #1da1f2; }
.bg-linkedin { background: #0077b5; }
.bg-whatsapp { background: #25d366; }



/* =========================================
   NEWS CATEGORY PAGE STYLES
   ========================================= */

/* 1. Category Header */
.category-header {
    background-color: #f8f9fa;
    padding: 80px 0 40px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    margin-top: 40px; /* Offset for fixed navbar */
}

/* 2. Featured Category Post (Big Card) */
.featured-cat-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    color: white;
    min-height: 450px;
    display: flex;
    align-items: flex-end;
    transition: transform 0.3s ease;
}
.featured-cat-card:hover { transform: translateY(-5px); }
.featured-cat-img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
}
.featured-cat-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
}
.featured-cat-content { position: relative; z-index: 2; padding: 40px; width: 100%; }

/* 3. Standard News Card */
.news-card {
    border: none;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(248, 147, 31, 0.15); /* Orange shadow */
}
.news-card-img-top {
    height: 220px;
    object-fit: cover;
    transition: 0.5s;
}
.news-card:hover .news-card-img-top { transform: scale(1.05); }
.news-card-body { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.news-cat-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}
.news-card-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.4;
}
.news-card-title a { text-decoration: none; color: var(--text-dark); transition: 0.2s; }
.news-card-title a:hover { color: var(--primary); }
.news-card-meta {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex; justify-content: space-between;
}

/* 4. Pagination */
.pagination .page-link {
    color: var(--text-dark);
    border: 1px solid #e2e8f0;
    margin: 0 5px;
    border-radius: 8px;
    padding: 10px 18px;
    font-weight: 600;
    transition: 0.3s;
}
.pagination .page-link:hover {
    background-color: #f8f9fa;
    color: var(--primary);
    border-color: var(--primary);
}
.pagination .active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}
