:root {
            --primary-color: #2c5aa0;
            --secondary-color: #d4af37;
            --dark-color: #1a365d;
            --light-color: #f8f9fa;
            --text-color: #333;
            --border-color: #eaeaea;
            --shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Cairo', sans-serif;
            color: var(--text-color);
            background-color: #f9f9f9;
            line-height: 1.6;
        }
        
        a {
            text-decoration: none;
            color: var(--primary-color);
            transition: all 0.3s ease;
        }
        
        a:hover {
            color: var(--secondary-color);
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        /* Header Styles */
        .site-header {
            background-color: var(--dark-color);
            color: white;
            padding: 10px 0;
            box-shadow: var(--shadow);
        }
        
        .top-bar {
            background-color: rgba(0,0,0,0.2);
            padding: 8px 0;
            font-size: 0.9rem;
        }
        
        .top-bar .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .top-links a {
            color: white;
            margin-left: 15px;
        }
        
        .top-links a:hover {
            color: var(--secondary-color);
        }
        
        .social-icons a {
            color: white;
            margin-right: 10px;
            font-size: 1.1rem;
        }
        
        .main-header {
            padding: 15px 0;
        }
        
        .logo-section {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .logo {
            width: 80px;
            height: 80px;
            margin-left: 15px;
        }
        
        .site-title {
            font-size: 1.8rem;
            color: white;
            font-weight: 700;
        }
        
        .site-subtitle {
            font-size: 1rem;
            color: #ccc;
            margin-top: 5px;
        }
        
        /* Navigation */
        .main-nav {
            background-color: white;
            border-radius: 8px;
            box-shadow: var(--shadow);
        }
        
        .nav-list {
            display: flex;
            list-style: none;
            justify-content: center;
            flex-wrap: wrap;
        }
        
        .nav-list li {
            position: relative;
        }
        
        .nav-list a {
            display: block;
            padding: 15px 20px;
            color: var(--dark-color);
            font-weight: 600;
            border-bottom: 3px solid transparent;
        }
        
        .nav-list a:hover, .nav-list a.active {
            color: var(--primary-color);
            border-bottom-color: var(--secondary-color);
            background-color: #f8f9fa;
        }
        
        .dropdown-menu {
            position: absolute;
            background-color: white;
            min-width: 220px;
            box-shadow: var(--shadow);
            border-radius: 5px;
            z-index: 100;
            display: none;
            list-style: none;
        }
        
        .dropdown:hover .dropdown-menu {
            display: block;
        }
        
        .dropdown-menu li {
            width: 100%;
        }
        
        .dropdown-menu a {
            padding: 12px 20px;
            border-bottom: 1px solid var(--border-color);
        }
        
        .dropdown-menu a:hover {
            background-color: #f0f7ff;
        }
        
        /* Main Content */
        .main-content {
            padding: 30px 0;
        }
        
        .section-title {
            position: relative;
            padding-bottom: 10px;
            margin-bottom: 25px;
            color: var(--dark-color);
            font-size: 1.5rem;
            border-bottom: 2px solid var(--secondary-color);
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -2px;
            right: 0;
            width: 100px;
            height: 2px;
            background-color: var(--primary-color);
        }
        
        /* Hero Section */
        .hero-section {
            margin-bottom: 40px;
        }
        
        .hero-slider {
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: var(--shadow);
        }
        
        .slide {
            position: relative;
            height: 400px;
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: flex-end;
        }
        
        .slide-content {
            background: linear-gradient(transparent, rgba(0,0,0,0.8));
            color: white;
            padding: 20px;
            width: 100%;
        }
        
        .slide-title {
            font-size: 1.5rem;
            margin-bottom: 10px;
        }
        
        .slide-link {
            color: var(--secondary-color);
            font-weight: 600;
        }
        
        /* News Grid */
        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
            margin-bottom: 40px;
        }
        
        .news-card {
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: transform 0.3s ease;
        }
        
        .news-card:hover {
            transform: translateY(-5px);
        }
        
        .news-image {
            height: 200px;
            width: 100%;
            object-fit: cover;
        }
        
        .news-content {
            padding: 20px;
        }
        
        .news-title {
            font-size: 1.2rem;
            margin-bottom: 10px;
            color: var(--dark-color);
        }
        
        .news-meta {
            display: flex;
            justify-content: space-between;
            color: #777;
            font-size: 0.9rem;
            margin-top: 15px;
        }
        
        /* Martyrs Section */
        .martyrs-section {
            background-color: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: var(--shadow);
            margin-bottom: 40px;
        }

        .martyrs-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
        }
        
        .martyr-card {
            background-color: #f8f9fa; /* Slightly different bg to distinguish from section white bg */
            border-radius: 8px;
            overflow: hidden;
            border: 1px solid var(--border-color);
            text-align: center;
            padding: 20px;
            transition: transform 0.3s ease;
        }

        .martyr-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow);
        }
        
        .martyr-image {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 15px;
            border: 3px solid white;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
        }
        
        .martyr-name {
            font-size: 1.1rem;
            color: var(--dark-color);
            margin-bottom: 5px;
        }
        
        .martyr-date {
            color: #777;
            font-size: 0.9rem;
        }
        
        /* Family Tree Section */
        .family-tree-section {
            background-color: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: var(--shadow);
            margin-bottom: 40px;
        }
        
        .tree-links {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 20px;
        }
        
        .tree-link {
            background-color: #f0f7ff;
            padding: 8px 15px;
            border-radius: 5px;
            color: var(--primary-color);
            font-weight: 500;
            border: 1px solid #d1e3ff;
        }
        
        .tree-link:hover {
            background-color: var(--primary-color);
            color: white;
        }
        
        /* Login Form */
        .login-section {
            background-color: white;
            padding: 25px;
            border-radius: 10px;
            box-shadow: var(--shadow);
            margin-bottom: 40px;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-input {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid var(--border-color);
            border-radius: 5px;
            font-family: 'Cairo', sans-serif;
            font-size: 1rem;
        }
        
        .form-input:focus {
            outline: none;
            border-color: var(--primary-color);
        }
        
        .btn {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 5px;
            cursor: pointer;
            font-family: 'Cairo', sans-serif;
            font-weight: 600;
            transition: background-color 0.3s ease;
        }
        
        .btn:hover {
            background-color: var(--dark-color);
        }
        
        /* Footer */
        .site-footer {
            background-color: var(--dark-color);
            color: white;
            padding: 40px 0 20px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-bottom: 30px;
        }
        
        .footer-section h4 {
            color: var(--secondary-color);
            margin-bottom: 20px;
            font-size: 1.3rem;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-section h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 50px;
            height: 2px;
            background-color: var(--secondary-color);
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 10px;
        }
        
        .footer-links a {
            color: #ccc;
        }
        
        .footer-links a:hover {
            color: white;
            padding-right: 5px;
        }
        
        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: #aaa;
            font-size: 0.9rem;
        }
        
        /* Responsive */
        @media (max-width: 992px) {
            .nav-list {
                flex-direction: column;
            }
            
            .dropdown-menu {
                position: static;
                box-shadow: none;
                display: none;
                background-color: #f8f9fa;
            }
            
            .dropdown:hover .dropdown-menu {
                display: block;
            }
            
            .slide {
                height: 300px;
            }
        }
        
        @media (max-width: 768px) {
            .top-bar .container {
                flex-direction: column;
                gap: 10px;
            }
            
            .news-grid {
                grid-template-columns: 1fr;
            }
            
            .slide {
                height: 250px;
            }
        }
		.shaheed-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
    gap: 20px;
}

.shaheed-card{
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
    transition: .3s;
}

.shaheed-card:hover{
    transform: translateY(-5px);
}

.shaheed-card img{
    width: 100%;
    height: 260px;
    object-fit: cover;
    filter: grayscale(40%);
}

.shaheed-info{
    padding: 12px;
    text-align: center;
}

.shaheed-info h5{
    font-size: 15px;
    margin-bottom: 6px;
    color: #222;
}

.shaheed-info span{
    font-size: 13px;
    color: #888;
}
.shaheed-hero{
    background: linear-gradient(rgba(0,0,0,.6),rgba(0,0,0,.6)),
    url('/img/khan-younis-castle.jpg') center/cover;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 30px;
    border-radius: 12px;
}
/* FIX NAV FONT SIZE */
.main-nav .nav-list > li > a {
    font-size: 14px;
    padding: 12px 14px;
    line-height: 1.4;
}

.main-nav .nav-list i {
    font-size: 13px;
}

/* Pagination Support */
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 20px 0;
    gap: 5px;
}

.page-item {
    margin: 0;
}

.page-link {
    display: inline-block;
    padding: 8px 16px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.page-link:hover, .page-item.active .page-link {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-item.disabled .page-link {
    color: #999;
    pointer-events: none;
    background-color: #f1f1f1;
    border-color: #ddd;
}

/* Basic Grid Utilities for Video Page */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding-right: 15px;
    padding-left: 15px;
}

.sidebar-section {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1.5rem; }

.d-flex { display: flex; }
.justify-content-center { justify-content: center; }
.text-center { text-align: center; }
.text-decoration-none { text-decoration: none !important; }
.text-dark { color: var(--text-color) !important; }

@media (max-width: 768px) {
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
.shaheed-img {
    max-width: 100%;  /* الصورة لا تتعدى مساحة الحاوية */
    height: auto;     /* يحافظ على نسبة العرض للارتفاع */
    display: block;   /* يزيل أي فراغ أسفل الصورة */
}
.image-container {
    width: 100%;      /* أو يمكن تحديد px حسب الحاجة */
    max-width: 300px; /* أقصى عرض للصورة */
    margin: 0 auto;   /* لمركزة الصورة داخل البطاقة */
}
