@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    background: #ffffff; 
}


header {
    background-color: #ffffff;
    width: 100%;
    position:fixed;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 5px 5px ; */
}


.navigation a{
    color: #3a6cf4;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 500;
    padding-left: 30px;
}

.logo1 img {
    max-height: 60px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.logo2 img {
    max-height: 60px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.navigation a:hover{
    color: #601cfc;
}



.context img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding-top: 50px;
}

.projects {
    background-color: #ffffff;
}

.title {
    display: flex;
    justify-content: center;
    color:#0f5132;
    padding: 70px;
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 30px;
    padding-bottom: 1px;
    direction: rtl;
    background: linear-gradient(135deg, #f4f7f6, #e7efeb);
}

.content {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.projects .content{
    margin-top: 30px;
}

.project-card {
    background-color: #fff;
    border: 1px solid #fff;
    min-height: 14em;
    width: 21em;
    overflow: hidden;
    flex-direction:initial;
    justify-content: center;
    border-radius: 10px;
    margin: 10px;
    transition: 0.7s ease;
}

.project-card:hover {
transform: scale(1.1);
}

.project-card:hover .project-image {
    opacity: 0.8;
}

.project-image img{
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 1px solid #140101;
}

.project-info {
    padding: 1em;
}

.project-category {
    font-size: 1em;
    font-weight: 600;
    justify-content: center;
    color: #000;
}

.project-title {
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    font-weight: 800;
    margin-top: 10px;
    }

.more-details {
    text-decoration: none;
    color: #3a6cf4;
        
}

.more-details:hover {
    color: #601cfc;
}

/* =====================================
المتون العلمية
===================================== */

.mutoon-section {
    width: 100%;
    padding: 70px 20px;
    background: linear-gradient(135deg, #f4f7f6, #e7efeb);
    direction: rtl;
}

.mutoon-container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
}


/* عنوان القسم */

.mutoon-header {
    text-align: center;
    margin-bottom: 45px;
}

.mutoon-header h2 {
    font-size: 36px;
    color: #0f5132;
    margin-bottom: 12px;
}

.mutoon-header p {
    font-size: 17px;
    color: #555;
}


/* شبكة البطاقات */

.mutoon-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}


/* البطاقة */

.mutoon-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px;
    border-top: 5px solid #198754;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);

    transition: all 0.3s ease;
}

.mutoon-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.15);
}


/* الأيقونة */

.mutoon-icon {
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e7f5ed;
    color: #198754;

    border-radius: 50%;

    font-size: 30px;

    margin-bottom: 18px;
}


/* عنوان البطاقة */

.mutoon-card h3 {
    color: #0f5132;
    font-size: 23px;
    margin-bottom: 20px;
}


/* قائمة المتون */

.mutoon-card ul {
    list-style: none;
    text-decoration: none;
    padding: 0;
    margin: 0;
}

.mutoon-card li a {
    display: block;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mutoon-card li {
    background: #f5f7f6;

    margin-bottom: 10px;

    padding: 12px 15px;

    border-radius: 8px;

    border-right: 4px solid #198754;

    font-size: 15px;

    transition: all 0.3s ease;
}

.contact-section {
    direction: rtl;
    padding: 80px 20px;
    background: #f5f7fb;
    font-family: Arial, sans-serif;
}

.contact-container {
    max-width: 1000px;
    margin: auto;
}

/* Header */

.contact-header {
    text-align: center;
    margin-bottom: 45px;
}

.contact-header h2 {
    font-size: 36px;
    margin-bottom: 12px;
    color: #0f5132;
}

.contact-header p {
    font-size: 17px;
    color: #000000;
}


/* Contact Cards */

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-card {
    background: white;
    width: 330px;
    padding: 25px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.13);
}


/* Contact Icon */

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-info h3 {
    margin: 0 0 8px;
    color: #333;
    font-size: 19px;
}

.contact-info a {
    color: #569272;
    text-decoration: none;
    font-size: 15px;
    direction: ltr;
    display: inline-block;
}

.contact-info a:hover {
    color: #4f46e5;
}


/* Social */

.social-section {
    text-align: center;
    margin-top: 50px;
}

.social-section h3 {
    color: #000000;
    margin-bottom: 22px;
    font-size: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.05);
    background: #4f46e5;
    /* color: white; */
}


/* Responsive */

@media (max-width: 600px) {

 header {
    background-color: #ffffff;
    width: 100%;
    position:fixed;
    z-index: 999;
    display:flex;
    justify-content:space-between;
    /* align-items: center; */
    /* padding: 5px 5px ; */
}   
    .navigation a{
    color: #3a6cf4;
    text-decoration: none;
    font-size: 0.6em;
    font-weight: 1000;
    /* padding-left: 30px; */
}
.logo1 img {
    max-height: 30px;
    max-width: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.logo2 img {
    max-height: 30px;
    max-width: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
}

    .contact-section {
        padding: 60px 15px;
    }

    .contact-header h2 {
        font-size: 30px;
    }

    .contact-card {
        width: 100%;
        max-width: 380px;
    }


}


/* =====================================
Responsive
===================================== */

@media (max-width: 900px) {

    .mutoon-cards {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .mutoon-section {
        padding: 45px 15px;
    }

    .mutoon-container {
        width: 95%;
    }

    .mutoon-header h2 {
        font-size: 28px;
    }

    .mutoon-header p {
        font-size: 15px;
    }

    .mutoon-cards {
        grid-template-columns: 1fr;
        
    }

    .mutoon-card {
        padding: 22px;
    }


}
