/* General Setup and Typography (Blue/Gold Theme) */
body {
    font-family: 'Cairo', sans-serif;
    margin: 0;
    padding: 0;
    direction: rtl;
    text-align: right;
    background-color: #f4f7f9; 
    color: #333;
    line-height: 1.7;
    transition: background-color 0.3s ease;
     overflow-x: hidden; 
         padding-top: 0 !important; /* التأكيد على إزالة أي بادينغ علوي */

    
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
/* ------------------------------------------- */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

h1, h2, h3, h4 {
   color: #003F80;; 
    margin-bottom: 25px;
    font-weight: 700;
}
h1 { font-size: 3.2em; text-align: center; }
h2 { font-size: 2.6em; text-align: center; margin-bottom: 60px; }
h3 { font-size: 2em; }
p { margin-bottom: 20px; }
.section-description {
    text-align: center;
    max-width: 800px;
    margin: -35px auto 60px auto;
    font-size: 1.2em;
    color: #555;
    line-height: 1.8;
}
a {
    color: #FFC300; 
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease, background-color 0.3s ease;
}
a:hover {
    text-decoration: underline;
}
main {
    padding-top: 90px; /* قم بتعديل القيمة حسب ارتفاع الهيدر (تقريباً 90 بكسل) */
}


/* Header & Navigation */
header {
    background-color: #003366; 
    color: white;
    padding: 15px 0;
     position: fixed; 
    width: 100%; /* يجب تحديد العرض الكامل مع Fixed */
    left: 0;
    right: 0;
    top: 0; 
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.3));
    max-width: 150px;
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none; 
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

/* Animations for Hamburger Icon when active */
.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}
.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Main Navigation Wrapper - Desktop */
.main-nav-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: auto;
    position: static; 
    margin-right: auto;
    margin-left: 0; 
}

nav {
    flex-grow: 1; 
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end; 
    gap: 10px; 
}

nav ul li::after {
    content: none !important; 
}
nav ul li {
    position: relative;
}

nav ul li a {
    color: white;
    padding: 12px 15px; 
    display: block;
    border-radius: 8px;
    font-weight: 600;
    white-space: nowrap; 
}
nav ul li a:hover, nav ul li.active a {
    background-color: #FFC300; 
    color: #003366; 
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    text-decoration: none;
}
.contact-header {
    flex-shrink: 0; 
    margin-right: 20px; 
}
.contact-header .phone-number {
    background-color: #FFC300;
    color: #003366;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
    white-space: nowrap;
}
.contact-header .phone-number:hover {
    background-color: #e0ac00;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.4);
}

/* Sections General */
.page-section {
    padding: 100px 0;
}
.light-bg {
    background-color: #f9fbff;
}

/* Buttons */
.btn, .btn-secondary, .btn-large, .btn-submit {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 1.1em;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.btn {
    background-color: #FFC300; 
    color: #003366;
}
.btn:hover {
    background-color: #e0ac00;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}
.btn-secondary {
    background-color: #003366; 
    color: white;
}
.btn-secondary:hover {
    background-color: #002244;
}

/* Hero Section */
#hero {
    background-image: linear-gradient(rgba(111, 175, 239, 0.35), rgba(0,63,128,0.35)), url('images/OIP.webp'); 
    background-size: cover;
    background-position: center;
    color: white;
    text-shadow: 0 3px 6px rgba(0,0,0,0.7);
    /* padding: 120px 0; */

}
/* #hero .container {
    padding: 20px 25px;
} */


#hero .btn {
    margin-bottom: 70px;
}
#hero h1 {
    color: #FFC300; 
    font-size: 4em;
    margin-bottom: 30px;
}
#hero p {
    font-size: 1.4em;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

/* Features Section */
#features .feature-item .icon {
    font-size: 3.5em;
    color: #FFC300; 
    margin-bottom: 20px;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    text-align: center;
}
.feature-item {
    background-color: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Services Section */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 35px;
    margin-top: 50px;
}

.service-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    padding: 10px;
}

.service-card-image {
    max-width: 100%; 
    width: 100%; 
    height: 250px; 
    object-fit: cover; 
    border-bottom: 1px solid #eee; 
    display: block; 
}

.service-card-content h3 {
    color: #003366;
}
.service-card-content ul li i {
    color: #FFC300;
}

/* About Section Styles */
#about .about-content {
    display: flex;
    flex-direction: row-reverse; 
    align-items: flex-start;
    margin-bottom: 60px;
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
#about .about-image {
    width: 45%; 
    max-width: 500px;
    height: 350px; 
    object-fit: cover;
    border-radius: 10px;
    margin-right: 40px; 
    order: 1; 
    flex-shrink: 0;
}
#about .about-content div {
    flex: 1;
    order: 2;
}
#about .about-content h3 {
    color: #003F80;
    margin-top: 0;
}

/* Locations Section */
#locations .province-item h3 i {
    color: #FFC300;
}

/* Packing Materials Section */
#packing-materials .materials-grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 40px; 
    margin-top: 50px;
}
#packing-materials .material-item {
    background-color: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    text-align: right; 
    
   
    display: flex; 
    flex-direction: row-reverse; 
    align-items: flex-start;
    gap: 30px;
}
#packing-materials .material-item img {
    width: 40%; 
    max-width: 350px;
    height: 300px;
    object-fit: cover; 
    margin-bottom: 0; 
    flex-shrink: 0; 
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.material-content-wrapper {
    order: 2; 
    flex-grow: 1;
}

#packing-materials .material-item h3 {
    font-size: 1.8em;
    color: #003F80;
    margin-top: 0;
    margin-bottom: 15px;
}
.material-content-wrapper ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    text-align: right;
}

.material-content-wrapper ul li {
    display: block; 
    text-align: right;
    margin-bottom: 10px;
    font-size: 1em;
    color: #444;
    padding-right: 25px; 
    position: relative;
    line-height: 1.4;
}

.material-content-wrapper ul li i {
    color: #FFC300;
    position: absolute;
    right: 0; 
    top: 5px; 
    font-size: 1.1em;
}

/* FAQ Section */
.faq-accordion {
    max-width: 900px; 
    margin: 50px auto;
}
.faq-item {
    background-color: white;
    border: 1px solid #e0e0e0; 
    border-radius: 10px;
    margin-bottom: 18px; 
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06); 
}
.faq-question {
    padding: 22px; 
    background-color: #f5f5f5; 
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25em; 
    font-weight: 700;
    margin: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.faq-question:hover {
    background-color: #ebebeb;
    color: #003366; 
}
.faq-question i {
    margin-left: 18px;
    color: #003366; 
    font-size: 1.3em;
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: #FFC300; 
}
.faq-answer {
    max-height: 0; 
    overflow: hidden;
    padding: 0 22px;
    background-color: #fff;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}
.faq-item.active .faq-answer {
    padding-top: 20px;
    padding-bottom: 20px;
}
.faq-answer p {
    margin-bottom: 0;
    color: #555;
    font-size: 1.1em;
}

/* Contact Section */
#contact .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; 
    gap: 60px; 
    margin-top: 50px;
}
/*           (Contact Info)              */
#contact .contact-info {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    text-align: right; 
}
#contact .contact-info h3 {
    font-size: 2em;
    margin-bottom: 30px;
    color: #003366; 
    text-align: right; 
}
#contact .contact-info p {
    margin-bottom: 18px;
    font-size: 1.1em;
    color: #555;
    display: flex; 
    align-items: center; 
}
#contact .contact-info p i {
    margin-left: 12px;
    color: #FFC300; 
    font-size: 1.2em;
    flex-shrink: 0; 
}

#contact .contact-info p a {
    color: #003366; 
    text-decoration: none;
    font-weight: 600;
}
#contact .contact-info p a:hover {
    color: #FFC300; 
    text-decoration: underline;
}

#contact .social-links-contact {
    margin-top: 30px;
    display: flex;
    gap: 20px; 
}
#contact .social-links-contact a {
    font-size: 2em; 
    color: #003366;
    transition: color 0.3s ease, transform 0.2s ease;
}
#contact .social-links-contact a:hover {
    color: #FFC300;
    text-decoration: none;
    transform: translateY(-5px);
}

/*            (Contact Form)              */
#contact .contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    text-align: right;
}
#contact .contact-form h3 {
    font-size: 2em;
    margin-bottom: 30px;
    color: #003366;
    text-align: center;
}

#contact .contact-form form {
    display: flex;
    flex-direction: column; 
}

.form-group {
    display: flex; 
    flex-direction: row; 
    align-items: center; 
    margin-bottom: 25px; 
    gap: 10px; 
}

.form-group label {
    flex-shrink: 0; 
    width: 100px; 
    text-align: right;
    text-align: left; 
    padding-left: 10px; 
    font-weight: bold;
    color: #333;
    font-size: 1.05em;
}

.form-group input, .form-group textarea {
    flex-grow: 1; 
    width: auto; 
    padding: 14px; 
    border: 1px solid #ccc; 
    border-radius: 8px; 
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #FFC300;
    box-shadow: 0 0 0 3px rgba(255,195,0,0.25);
    outline: none;
}

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

.btn-submit {
    margin-top: 10px;
    background-color: #003366;
    color: white;
    width: fit-content;
    margin-right: auto; 
    margin-left: 0;
    padding: 14px 30px;
}
.btn-submit:hover {
    background-color: #002244;
}

/* Footer */
footer {
    background-color: #003366; 
    color: white;
    padding: 60px 0 25px 0;
    text-align: right;
}
footer h3 {
    color: white;
}
footer a {
    color: #FFC300; 
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 40px; 
    margin-bottom: 40px;
    text-align: right; 
}
.footer-col .social-links {
    margin-top: 15px;
    display: flex;
    gap: 18px; 
    padding-top: 10px; 
}

.footer-col .social-links a {
    font-size: 2.2em; 
    color: white;
    transition: color 0.3s ease, transform 0.2s ease;
}

.footer-col .social-links a:hover {
    color: #FFC300;
    transform: translateY(-4px);
}
.footer-col ul {
    list-style: none; 
    padding: 0;
}
.footer-col ul li {
    margin-bottom: 12px;
    padding-right: 15px; 
    position: relative;
}

.footer-col ul li::before {
    content: "\2022"; 
    color: #FFC300; 
    font-size: 1.2em;
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 0;
}
.footer-note {
    text-align: center;
    font-size: 0.9em;
    color: #c9d0d6;
    margin-top: 15px;
}


/* Fixed Contact Buttons */
.fixed-contact-buttons {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.floating-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    font-size: 1.8em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.floating-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.whatsapp-btn {
    background-color: #25d366; 
}
.whatsapp-btn:hover {
    background-color: #128c7e;
}
.phone-btn {
    background-color: #FFC300; 
    color: #003366;
}
.phone-btn:hover {
    background-color: #e0ac00;
}


/* Responsive Design (Media Queries) */
@media (max-width: 992px) {
    body {
         padding-top: 0 !important; 
}
    .hamburger-menu {
        display: flex;
        order: 3; 
    }
    .logo {
        order: 1;
    }
    .contact-header {
        order: 2;
        margin-right: 15px; 
    }

    .logo a {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 5px !important;
    }
    .logo img {
        height: 40px; 
    }
    .logo span {
        font-size: 1.5em !important; 
        white-space: nowrap;
    }

    .main-nav-wrapper {
        flex-direction: column; 
        width: 100%;
        position: absolute; 
        top: 95px; 
        right: 0; 
        background-color: #003366; 
        box-shadow: 0 8px 15px rgba(0,0,0,0.2);
        max-height: 0; 
        overflow: hidden;
        transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
        z-index: 999;
        padding-bottom: 0; 
        border-radius: 0 0 10px 10px;
        margin-right: 0; 
    }
    
    .main-nav-wrapper.active {
        max-height: 500px; 
        padding-bottom: 20px;
    }

    nav ul {
        justify-content: center; 
        flex-direction: column; 
        align-items: center;
    }
    nav ul li a {
        white-space: normal; 
        text-align: center;
    }

    .contact-header {
        display: flex;
    }
    
    .contact-header .phone-number {
        padding: 8px 15px;
        font-size: 0.95em;
    }

    /* --- Hero Section  --- */
    #hero {
        background-size: cover;
        background-position: 80% center;
    }

    #hero h1 {
        font-size: 3em;
    }
    #hero p {
        font-size: 1.2em;
        margin-bottom: 30px;
    }
    #hero .btn {
        margin-bottom: 50px; 
    }
    .main-nav-wrapper {
        flex-direction: column; 
        width: 100%; 
        position: absolute; 
        top: 95px; 
        right: 0; 
        
        background-color: #003366; 
        box-shadow: 0 8px 15px rgba(0,0,0,0.2);
        max-height: 0; 
        overflow: hidden;
        transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
        z-index: 999;
        padding-bottom: 0; 
        border-radius: 0 0 10px 10px;
        margin-right: 0; 
    }
    
    .main-nav-wrapper.active {
        max-height: 500px; 
        padding-bottom: 20px;
    }
}
@media (max-width: 768px) {
    h1 { font-size: 2.5em; }
    h2 { font-size: 2em; }
    
    .contact-header {
        margin-right: 10px;
    }
    /* --- About Section--- */
    #about .about-content {
        flex-direction: column; 
        align-items: center; 
        padding: 30px; 
    }
    #about .about-image {
        width: 100%; 
        height: 250px; 
        margin-right: 0; 
        margin-bottom: 20px; 
        order: 1; 
    }
    #about .about-content div {
        order: 2; 
        width: 100%;
        text-align: right;
        padding-bottom: 10px;
    }
    /* --- Packing Materials  --- */
    #packing-materials .material-item {
        flex-direction: column; 
        align-items: center; 
        text-align: center;
        padding: 20px; 
    }
    #packing-materials .material-item img {
        width: calc(100% + 40px); 
        max-width: none; 
        height: 250px; 
        object-fit: cover; 
        order: 1; 
        margin-bottom: 20px;
        margin-left: -20px; 
        margin-right: -20px;
    }
    .material-content-wrapper {
        order: 2; 
        padding: 0; 
    }
    .material-content-wrapper ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    text-align: right;
}

.material-content-wrapper ul li {
    display: block; 
    text-align: right;
    margin-bottom: 10px;
    font-size: 1em;
    color: #444;
    padding-right: 25px; 
    position: relative;
    line-height: 1.4;
}

.material-content-wrapper ul li i {
    color: #FFC300;
    position: absolute;
    right: 0; 
    top: 5px; 
    font-size: 1.1em;
}
}
@media (max-width: 576px) {
    /* --- Hero Section  --- */
    .container {
        padding: 0 15px;
    }
    h1 { 
        font-size: 2.2em;
        line-height: 1.2;
    }
    .fixed-contact-buttons {
        bottom: 15px;
        left: 15px;
    }
    #hero p {
        font-size: 1.1em;
        line-height: 1.5;
        margin-bottom: 25px;
    }
    .btn {
        padding: 12px 20px;
        font-size: 1em;
    }
    
    .logo a {
        flex-direction: row !important; 
        align-items: center !important;
        gap: 5px !important;
    }
    .logo span {
        font-size: 1.3em !important;
    }
    
    .contact-header {
        margin-right: 5px;
    }
    .contact-header .phone-number {
        padding: 7px 12px;
        font-size: 0.85em;
    }
     #contact .contact-grid {
        grid-template-columns: 1fr; 
        gap: 30px;
    }
    .form-group {
        flex-direction: column; 
        align-items: flex-end; 
        gap: 5px; 
    }
    
    .form-group label {
        width: 100%; 
        text-align: right; 
        padding-left: 0;
    }
    
    .btn-submit {
        width: 100%; 
        margin-right: 0;
        margin-left: 0;
    }
    
    .form-group input, .form-group textarea {
        width: 100%;
    }

   
        
        
    footer {
        padding: 40px 0 20px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr; 
        gap: 30px;
        text-align: center; 
    }

    .footer-col {
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
    }
    .footer-col:last-child {
        border-bottom: none; 
    }
    
    .footer-col h3 {
        text-align: center;
        margin-bottom: 15px;
        font-size: 1.6em;
    }

    .footer-col ul {
        width: fit-content; 
        margin: 0 auto;
        list-style-type: none;
        padding-right: 0;
    }
    
    .footer-col .social-links {
        justify-content: center; 
    }
    
    .copyright {
        text-align: center;
        margin-top: 25px;
    }
    }

    /* Blog Page Specific Styles (NEW) */
#blog-header {
    background-color: #f9fbff; /* لون الخلفية الفاتح جداً */
    padding: 80px 0 40px 0; 
}
#blog-header h1 {
    color: #003F80;
    font-size: 3em;
    margin-bottom: 15px;
    
}
#blog-posts {
    padding: 80px 0;
}
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}
.post-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}
.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}
.post-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.post-content {
    padding: 25px;
}
.post-content h3 {
    font-size: 1.6em;
    color: #003F80;
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: right;
}
.post-content p {
    color: #555;
    font-size: 1em;
    margin-bottom: 20px;
}
.post-date {
    display: block;
    color: #FFC300; /* ذهبي لتاريخ النشر */
    font-size: 0.9em;
    font-weight: 600;
}
.post-date i {
    margin-left: 8px;
}
.read-more-btn {
    display: inline-block;
    color: #003F80; /* أزرق داكن لزر المزيد */
    font-weight: 700;
    font-size: 1em;
    transition: color 0.3s ease;
}
.read-more-btn:hover {
    color: #FFC300; /* ذهبي عند التمرير */
    text-decoration: none;
}
.read-more-btn i {
    margin-right: 5px;
    transition: margin-right 0.3s ease;
}

/* Pagination Styles */
.pagination {
    text-align: center;
    margin-top: 60px;
}
.pagination a {
    display: inline-block;
    padding: 10px 18px;
    margin: 0 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.pagination a:hover {
    background-color: #f0f0f0;
    border-color: #FFC300;
}
.pagination .active {
    background-color: #FFC300;
    color: #003F80;
    border-color: #FFC300;
}

/* Article Page Styles */
.article-meta {
    text-align: center;
    margin-bottom: 40px; 
    padding: 30px 20px; /* زيادة البادينغ */
    background-color: white; 
    border-radius: 12px;
    border-bottom: 4px solid #FFC300; /* خط ذهبي أسفل الهيدر */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
}
.article-meta h1 {
    font-size: 2.5em; /* تصغير حجم العنوان في صفحة المقالة */
    margin-bottom: 15px;
    color: #003F80;
}
.article-meta span {
    display: inline-block;
    margin: 0 15px;
    font-size: 1em;
    color: #555;
}
.article-meta i {
    color: #FFC300; /* ذهبي للأيقونات */
    margin-left: 8px;
}
.article-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0; 
    text-align: right;
}
.article-content h3 {
    font-size: 1.8em;
    color: #003F80;
    margin-top: 40px;
}
.article-content p {
    font-size: 1.15em;
    line-height: 1.8;
}
.article-content img {
    max-width: 100%;
    height: auto;
    max-height: 450px; /* لتصغير حجم الصورة في المقال */
    object-fit: cover;
    border-radius: 10px;
    margin: 25px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.article-list {
    list-style: none;
    padding: 0;
}
.article-list li {
    font-size: 1.15em;
    color: #333;
    margin-bottom: 15px;
    padding-right: 30px;
    position: relative;
    line-height: 1.8;
}
.article-list li::before {
    content: "\f058"; 
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #FFC300; /* ذهبي لعلامة الصح */
    position: absolute;
    right: 0;
    font-size: 1.2em;
}

/* تعديلات الموبايل لصفحة المقالة */
@media (max-width: 576px) {
     #blog-header {
        padding: 50px 0 20px 0; /* تقليل التباعد في الأعلى والأسفل */
    }
    #blog-header h1 {
        font-size: 2.2em; /* تصغير عنوان المدونة */
        margin-bottom: 16px;
        /* background-color: #a6c90b; */
    }
    #blog-header p{
        margin-top: 20px;
    }
    .section-description {
        font-size: 1em; /* تصغير وصف المدونة */
    }

    .posts-grid {
        grid-template-columns: 1fr; /* عمود واحد */
        gap: 25px;
    }
    
    .post-card {
        padding: 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    
    .post-image {
        height: 180px; /* تصغير ارتفاع الصورة */
    }
    
    .post-content {
        padding: 15px; /* تباعد داخلي أقل للمحتوى */
    }
    .article-meta h1 {
        font-size: 1.8em;
    }
    .article-meta span {
        display: block;
        margin: 5px 0;
    }
    .article-content p, .article-list li {
        font-size: 1em;
    }
    .article-content img {
        height: 200px;
    }
}