/* 
   ملف التنسيقات الرئيسي للموقع
   حركة عصائب أهل الحق
   تاريخ الإنشاء: 7 مايو 2025
*/

/* ===== التنسيقات العامة ===== */
:root {
    --primary-color: #e41e2f;
    --dark-color: #3a4e26;
    --gray-color: #f1f1f1;
    --light-gray: #e9e9e9;
    --white-color: #ffffff;
    --text-color: #333333;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', 'Tahoma', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f9f9f9;
    direction: rtl;
}

.ltr {
    direction: ltr;
}


.ltr .search-container button {
    left: auto;
    right: 10px;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

.hide{
    display: none !important;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    /* text-align: center; */
    margin-bottom: 30px;
    position: relative;
}

.section-title h2 {
    display: inline-block;
    font-size: 24px;
    font-weight: 700;
    padding-bottom: 10px;
    color: var(--dark-color);
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 3px;

    /* background color linear from #3d5426 to #729d40 */
    /* background: linear-gradient(90deg, #729d40, #3d5426); */
    background-color: var(--primary-color);
}

section {
    padding: 60px 0;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.primary-btn:hover {
    background-color: #c41b29;
    color: var(--white-color);
}

.secondary-btn {
    background-color: var(--dark-color);
    color: var(--white-color);
}

.secondary-btn:hover {
    background-color: #1a1b29;
    color: var(--white-color);
}

.read-more-link {
    display: inline-block;
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
    padding-left: 15px;
}

.read-more-link::after {
    content: '\f060';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 12px;
    transition: var(--transition);
}

.read-more-link:hover {
    color: var(--dark-color);
}

.read-more-link:hover::after {
    left: -5px;
}

.view-all-btn {
    text-align: center;
    margin-top: 30px;
}

/* ===== الرأس وشريط التنقل ===== */
.main-header {
    background-color: var(--white-color);
    box-shadow: var(--shadow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 998;
}

.main-header .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 60px;
    margin-left: 15px;
}

.site-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-color);
}

.search-lang {
    display: flex;
    align-items: center;
}

.language-selector {
    margin-left: 20px;
    width: max-content;
}

.language-selector a {
    display: inline-block;
    margin: 0 5px;
    padding: 3px 8px;
    font-size: 14px;
    color: var(--text-color);
    border-radius: 3px;
}

.language-selector a:hover {
    background-color: var(--light-gray);
    color: var(--dark-color);
}

.language-selector a.active {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.search-container {
    position: relative;
}

.search-container input {
    width: 200px;
    padding: 8px 35px 8px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 20px;
    outline: none;
}

.search-container button {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
}

.main-nav {
    flex-basis: 100%;
    margin-top: 15px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--dark-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: space-between;
    /* scroll bar color  linear gradiant */
    /* overflow-x: auto; */
    scrollbar-width: thin;
    scrollbar-color: #688c3b #f1f1f1;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 10px 15px;
    color: var(--dark-color);
    font-weight: 600;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-color);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    background-color: var(--white-color);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 0;
    display: none;
    z-index: 9999;
}

.dropdown-menu li a {
    padding: 10px 15px;
    font-weight: normal;
    border-bottom: 1px solid var(--light-gray);
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown:hover .dropdown-menu {
    display: block !important;
}

/* ===== سلايدر الأخبار الرئيسية ===== */
.main-slider {
    /* margin-bottom: 30px; */
    padding: 0 !important;
}

.slider-item {
    position: relative;
    height: 450px;
}

.slider-item img {
    width: auto;
    height: 100%;
    object-fit: cover;
}

.slider-content {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(to top, rgb(53 70 39), transparent);
    padding: 30px;
    color: var(--white-color);
}

.slider-content h2 {
    font-size: 21px;
    margin-bottom: 10px;
}

.slider-content p {
    font-size: 16px;
    margin-bottom: 15px;
}

.slider-content .read-more {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.slider-content .read-more:hover {
    background-color: #c41b29;
}

.owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.7) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--dark-color) !important;
    font-size: 18px !important;
}

.owl-nav button.owl-prev {
    right: 20px;
}

.owl-nav button.owl-next {
    left: 20px;
}

.owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.owl-dot {
    width: 12px !important;
    height: 12px !important;
    margin: 0 5px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
}

.owl-dot.active {
    background-color: var(--primary-color) !important;
}

.oddBlock {
        background-color: #f2f2f2;
}
/* ===== قسم الأمين العام ===== */
.secretary-general-intro {
    background-color: #f2f2f2;
    padding: 50px 0;
}

.secretary-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.secretary-image {
    /* flex: 0 0 35%; */
    padding: 0 15px;
}

.secretary-image img {
    width: 150px;
    border-radius: 5px;
    box-shadow: var(--shadow);
}

.secretary-bio {
    flex: 0 0 65%;
    padding: 0 15px;
}

.secretary-bio h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.secretary-bio p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ===== شبكة الأخبار والمقالات ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background-color: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 200px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-date {
    display: block;
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.news-content p {
    color: #666;
    margin-bottom: 15px;
}

/* ===== قسم مؤسسات الحركة ===== */
.institutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.institution-card {
    background-color: var(--white-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.institution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.institution-logo {
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden;
}

.institution-logo img {
    height: auto;
    width: 100%;
}

.institution-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.institution-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* ===== قسم مقالات المكاتب ===== */
.tabs-container {
    margin-top: 30px;
}

.tabs-nav {
    display: flex;
    background-color: var(--white-color);
    border-radius: 5px 5px 0 0;
    overflow: hidden;
    border-bottom: 2px solid var(--primary-color);
}

.tab-btn {
    flex: 1;
    padding: 15px;
    text-align: center;
    background-color: var(--white-color);
    color: var(--dark-color);
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: 'Cairo', 'Tahoma', sans-serif;
    font-size: 16px;
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.tab-content {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 0 0 5px 5px;
    display: none;
}

.tab-content.active {
    display: block;
}

.articles-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.article-item {
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 20px;
}

.article-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.article-date {
    display: block;
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}

.article-item p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

/* ===== قسم السياسات العامة ===== */
.policies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.policy-item {
    background-color: rgba(255,255,255,.9);
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.policy-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.policy-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--gray-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.policy-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.policy-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.policy-item p {
    font-size: 14px;
    color: #666;
}

/* ===== قسم البرنامج السياسي ===== */
.political-program {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 80px 0;
    text-align: center;
}

.political-program .section-title h2 {
    color: var(--white-color);
}

.program-content {
    max-width: 800px;
    margin: 0 auto;
}

.program-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* ===== قسم أحدث المقالات الإخبارية ===== */
.news-slider-container {
    position: relative;
    margin-top: 30px;
}



.news-slide {
    background-color: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.news-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-slide-content {
    padding: 20px;
}

.news-slide-content .news-date {
    margin-bottom: 10px;
}

.news-slide-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.news-slide-content p {
    color: #666;
    font-size: 14px;
}

/* ===== قسم البيانات الرسمية ===== */
.statements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.statement-card {
    background-color: var(--white-color);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.statement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.statement-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.statement-date {
    font-size: 14px;
    color: #888;
}

.statement-type {
    display: inline-block;
    font-size: 12px;
    padding: 3px 10px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 20px;
}

.statement-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.statement-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

/* ===== شريط الأخبار المتحرك ===== */
.news-ticker {
    background-color: var(--dark-color);
    padding: 10px 0;
    color: var(--white-color);
    overflow: hidden;
    position: relative;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
}

.ticker-visible-control {
    position: relative;
    z-index: 1;
}

.news-ticker .container {
    display: flex;
    align-items: center;
}

.ticker-title {
    background-color: var(--primary-color);
    padding: 5px 15px;
    margin-left: 20px;
    font-weight: 600;
    border-radius: 3px;
    white-space: nowrap;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.ticker-items {
    display: flex;
    position: relative;
    right: 0;
    white-space: nowrap;
}

.ticker-item {
    margin-left: 50px;
    position: relative;
}

.ticker-item::before {
    content: '';
    width: 7px;
    height: 7px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
}

.ticker-item a {
    color: var(--white-color);
}

.ticker-item a:hover {
    color: var(--light-gray);
}

/* ===== تذييل الصفحة ===== */
.main-footer {

    /* background : linear-gradient(90deg, #729d40, #3d5426); */
     background: linear-gradient(180deg, #3d5426 60%, #729d40 );
    color: var(--white-color);
    padding: 60px 0 0;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.footer-column {
    flex: 0 0 25%;
    padding: 0 15px;
    margin-bottom: 30px;
}

.footer-column h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    padding-right: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
}

.contact-info li i {
    margin-left: 10px;
    margin-top: 5px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    margin-left: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    margin-left: 10px;
}

.footer-logo h3 {
    font-size: 16px;
    border: none;
    margin: 0;
    padding: 0;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
}

/* ==================== صفحة تفاصيل الخبر ==================== */
.news-details {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.news-title {
    margin-bottom: 20px;
}

.news-title h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.news-meta {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: #888;
}

.news-meta > div {
    margin-left: 20px;
    display: flex;
    align-items: center;
}

.news-meta i {
    margin-left: 5px;
}

.news-image-full {
    margin-bottom: 30px;
}

.news-image-full img {
    width: 100%;
    border-radius: 8px;
}

.news-content-full {
    line-height: 1.8;
    margin-bottom: 30px;
}

.news-content-full p {
    margin-bottom: 20px;
}

.news-content-full h2, 
.news-content-full h3 {
    margin: 30px 0 15px;
}

.news-content-full ul, 
.news-content-full ol {
    margin-bottom: 20px;
    padding-right: 20px;
}

.news-content-full li {
    margin-bottom: 10px;
}

.news-content-full blockquote {
    border-right: 3px solid var(--primary-color);
    padding: 15px;
    background-color: var(--gray-color);
    margin: 20px 0;
    font-style: italic;
}

.social-share {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

.social-share h3 {
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
}

.share-buttons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 10px;
    color: var(--white-color);
    transition: var(--transition);
}

.share-buttons a:hover {
    transform: translateY(-3px);
}

.share-facebook {
    background-color: #3b5998;
}

.share-twitter {
    background-color: #1da1f2;
}

.share-whatsapp {
    background-color: #25d366;
}

.share-telegram {
    background-color: #0088cc;
}

.related-news {
    margin-top: 50px;
}

.related-news h2 {
    margin-bottom: 30px;
}

/* ==================== صفحة من نحن ==================== */
.about-section {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.about-heading {
    margin-bottom: 30px;
    text-align: center;
}

.about-heading h1 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.about-text {
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 20px;
}

.about-features {
    margin-top: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--gray-color);
    border-radius: 8px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 30px;
    box-shadow: var(--shadow);
}

.feature-item h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.history-timeline {
    margin-top: 50px;
}

.timeline-container {
    position: relative;
    padding: 50px 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 3px;
    background-color: var(--light-gray);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-content {
    width: 45%;
    border-radius: 8px;
    background-color: var(--white-color);
    box-shadow: var(--shadow);
    padding: 20px;
    position: relative;
}

.timeline-date {
    position: absolute;
    top: 10px;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.timeline-content.left {
    margin-left: 55%;
}

.timeline-content.left .timeline-date {
    right: 20px;
}

.timeline-content.right {
    margin-right: 55%;
}

.timeline-content.right .timeline-date {
    left: 20px;
}

.timeline-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.team-section {
    margin-top: 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-member {
    background-color: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
}

.team-photo {
    height: 200px;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 20px;
}

.team-info h3 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.team-info span {
    display: block;
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
}

.team-social a {
    width: 30px;
    height: 30px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    color: var(--dark-color);
    transition: var(--transition);
}

.team-social a:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* ==================== صفحة اتصل بنا ==================== */
.contact-section {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-heading {
    margin-bottom: 30px;
    text-align: center;
}

.contact-heading h1 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.contact-info-column {
    flex: 0 0 40%;
    padding: 0 15px;
}

.contact-form-column {
    flex: 0 0 60%;
    padding: 0 15px;
}

.contact-info-box {
    background-color: var(--gray-color);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.contact-info-title {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-list li {
    display: flex;
    margin-bottom: 20px;
}

.contact-info-list li i {
    width: 40px;
    height: 40px;
    background-color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-info-list li div {
    flex: 1;
}

.contact-info-list li h4 {
    margin-bottom: 5px;
}

.contact-social {
    display: flex;
    margin-top: 20px;
}

.contact-social a {
    width: 40px;
    height: 40px;
    background-color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-left: 10px;
    transition: var(--transition);
}

.contact-social a:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-3px);
}

.contact-form {
    background-color: var(--gray-color);
    padding: 30px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-row {
    display: flex;
    margin: 0 -10px;
}

.form-col {
    flex: 0 0 50%;
    padding: 0 10px;
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: #c41b29;
}

.map-container {
    height: 400px;
    margin-top: 50px;
    border-radius: 8px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==================== Media Queries ==================== */
@media screen and (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media screen and (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .institutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .policies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-column {
        flex: 0 0 50%;
    }
    
    .contact-info-column,
    .contact-form-column {
        flex: 0 0 100%;
    }
}

@media screen and (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .main-header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .search-lang {
        width: 100%;
        justify-content: space-between;
        margin-top: 15px;
    }
    
    .menu-toggle {
        display: block;
        margin-top: 15px;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }
    
    .nav-menu.active {
        display: flex;

    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        display: none;
        box-shadow: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .secretary-image,
    .secretary-bio {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
    
    .articles-list {
        grid-template-columns: 1fr;
    }
    
    .statements-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-container::before {
        right: 20px;
        transform: none;
    }
    
    .timeline-content {
        width: 85%;
        margin-right: 40px !important;
        margin-left: auto !important;
    }
    
    .timeline-date {
        right: 20px !important;
        left: auto !important;
    }
}

@media screen and (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .institutions-grid {
        grid-template-columns: 1fr;
    }
    
    .policies-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-column {
        flex: 0 0 100%;
    }
    
    .form-row {
        flex-wrap: wrap;
    }
    
    .form-col {
        flex: 0 0 100%;
        margin-bottom: 15px;
    }
}

/* تخصيص سلايدر المؤسسات */
.institutions-slider .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.institutions-slider .owl-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: #e0e0e0;
    transition: all 0.3s ease;
}

.institutions-slider .owl-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.institutions-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
}

.institutions-slider .owl-nav button {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8) !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex !important;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.institutions-slider .owl-nav button.owl-prev {
    right: -20px;
}

.institutions-slider .owl-nav button.owl-next {
    left: -20px;
}

.institutions-slider .owl-item {
    padding: 5px;
}

.institutions-section {
    background-color: #F5F5F5;
}

.general-policies {
    position: relative;
    background-color: #F5F5F5;
    background-image: url(../images/back1.png);
    background-size: cover;
    background-position: left;
    z-index: 0;
}

.general-policies::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(245, 245, 245, 0.7); /* or use black/white with opacity */
    z-index: -1; /* ensure it sits behind content */
}

/* تنسيقات قسم المقالات */
.offices-articles {
    padding: 60px 0;
    background-color: #f9f9f9;
}

/* تنسيقات علامات التبويب */
.tabs-container {
    margin-top: 30px;
}

.tabs-nav {
    display: flex;
    background-color: var(--white-color);
    border-radius: 5px 5px 0 0;
    overflow: hidden;
    border-bottom: 2px solid var(--primary-color);
}

.tab-btn {
    flex: 1;
    padding: 15px;
    text-align: center;
    background-color: var(--white-color);
    color: var(--dark-color);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.tab-content {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 0 0 5px 5px;
    display: none;
}

.tab-content.active {
    display: block;
}

/* تنسيق بطاقات المقالات الجديدة */
.article-card {
    background-color: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin: 5px;
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article-image {
    height: 200px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 20px;
}

.article-date {
    display: block;
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}

.article-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.article-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more-link {
    display: inline-block;
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
    padding-left: 15px;
}

.read-more-link::after {
    content: '\f060';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 12px;
    transition: var(--transition);
}

.read-more-link:hover {
    color: var(--dark-color);
}

.read-more-link:hover::after {
    left: -5px;
}

/* تنسيقات مخصصة للسلايدر في قسم المقالات */
.tab-articles-slider .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.tab-articles-slider .owl-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: #e0e0e0;
    transition: all 0.3s ease;
}

.tab-articles-slider .owl-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.tab-articles-slider .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    pointer-events: none;
}

.tab-articles-slider .owl-nav button {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8) !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex !important;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.tab-articles-slider .owl-nav button.owl-prev {
    right: -20px;
}

.tab-articles-slider .owl-nav button.owl-next {
    left: -20px;
}

/* تعديلات للشاشات المتوسطة والصغيرة */
@media screen and (max-width: 992px) {
    .tab-articles-slider .owl-nav button.owl-prev {
        right: -10px;
    }
    
    .tab-articles-slider .owl-nav button.owl-next {
        left: -10px;
    }
}

@media screen and (max-width: 768px) {
    .tabs-nav {
        flex-direction: column;
    }
    
    .tab-content {
        padding: 20px 15px;
    }
    
    .article-image {
        height: 180px;
    }
}

@media screen and (max-width: 576px) {
    .tab-articles-slider .owl-nav {
        display: none;
    }
    
    .article-content h4 {
        font-size: 16px;
    }
    
    .article-image {
        height: 160px;
    }
}

/* إضافة سهم للعناصر التي تحتوي على قوائم منسدلة */
.nav-menu .dropdown > a::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 5px;
    display: inline-block;
    transition: var(--transition);
    position: absolute;
    top: 12px;
}

/* تغيير اتجاه السهم عند تحريك الماوس فوق العنصر */
.nav-menu .dropdown:hover > a::after {
    transform: rotate(180deg);
    top: 10px;
}

/* لتحسين المظهر على الأجهزة المحمولة */
@media screen and (max-width: 768px) {
    .nav-menu .dropdown > a::after {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-menu .dropdown.active > a::after {
        transform: translateY(-50%) rotate(180deg);
    }
}

/* تعديلات الهيدر المتجاوب */
@media screen and (min-width: 1200px) {
    /* الوضع الطبيعي - لا تغييرات */
    .menu-toggle {
        display: none;
    }
}

@media screen and (max-width: 1199px) {
    .main-nav {
        position: absolute;
    }

    /* تعديلات للشاشات أقل من 1200 بكسل */
    .main-header .container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        position: relative;
    }
    
    /* إظهار زر البرجر منيو */
    .menu-toggle {
        display: block;
        order: 1;
        margin-left: 15px;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: var(--dark-color);
        margin-top: 5px;
    }
    
    /* تعديل موضع اللوجو */
    .logo-container {
        order: 2;
        flex: 1;
        margin-right: 30px;
        margin-bottom: 0 !important;
        margin-top: 10px;
    }
    
    /* إخفاء عنوان الموقع بجانب اللوجو */
    .site-title {
        /* display: none; */
    }
    
    /* تعديل موضع البحث واللغة */
    .search-lang {
        order: 3;
        display: flex;
        align-items: center;
    }
    
    /* إخفاء القائمة الرئيسية حتى يتم النقر على البرجر */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background-color: var(--white-color);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        width: max-content;
        flex-direction: column;
    }
    
    /* عرض القائمة عند تنشيطها */
    .nav-menu.active {
        display: flex;
        overflow: auto;
        height: 500px;
        max-height: 100vh;
        width: 220px;
    }
    
    /* تعديل نمط عناصر القائمة */
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .nav-menu li a {
        padding: 12px 15px;
    }
    
    /* تعديل القوائم المنسدلة */
    .dropdown-menu {
        position: static;
        width: 100%;
        display: none;
        box-shadow: none;
        background-color: #f8f8f8;
        padding-right: 15px;
    }
    
    /* عرض القائمة المنسدلة عند تنشيطها */
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    /* إضافة سهم للقوائم المنسدلة */
    .nav-menu .dropdown > a::after {
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        position: absolute;
        left: 15px;
        top: 28px;
        transform: translateY(-50%);
    }
    
    /* تغيير شكل السهم عند فتح القائمة المنسدلة */
    .nav-menu .dropdown.active > a::after {
        transform: translateY(-50%) rotate(180deg);
    }
}

@media screen and (max-width: 767px) {
    /* تعديلات للهواتف */
    .main-header .container {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    /* ترتيب العناصر */
    .menu-toggle {
        order: 1;
    }
    
    .logo-container {
        order: 2;
        flex: 1;
    }
    
    .search-lang {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        margin-top: 10px;
    }
    
    /* تصغير حجم اللوجو */
    .logo-container img {
        height: 40px;
    }
    
    /* تعديل حجم حقل البحث */
    .search-container input {
        width: 150px;
    }
}

/* ==== Loader Box (not blocking clicks) ==== */
.loader-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none; /* <<< this makes loader NOT block clicking */
  z-index: 9999;
}

/* Loader animation (spinner) */
.loader {
  border: 4px solid #ffffff33;
  border-top: 4px solid #f23939;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  animation: spin 0.8s linear infinite;
}

/* animation keyframes */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
