@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    direction: rtl;
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}


.container {
    direction: ltr;

}


main h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #444;
    text-align: center;
}


.about-section p {
    text-align: justify;
    margin-bottom: 15px;
    color: #555;
}


.services-section .service {
    margin-bottom: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.services-section .service h3 {
    color: #444;
    margin-bottom: 10px;
}

.services-section .service p {
    color: #555;
}


.contact-section {
    text-align: center;
    margin-top: 30px;
}

.contact-section p {
    color: #555;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #333;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-icon img {
    width: 24px;
    height: 24px;
}

.social-icon:hover {
    background-color: #555;
}


footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 30px;
}

footer p {
    margin: 0;
}


@media (max-width: 768px) {

    header .container {
        flex-direction: column;
        text-align: center;
    }


    header nav {
        flex-direction: row;

        justify-content: space-between;
    }

    header .nav-links {
        flex-direction: row;

        gap: 3px;
        justify-content: space-between;
    }

    main h2 {
        font-size: 24px;
    }

    .social-icons {
        gap: 15px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    header .logo h1 {
        font-size: 20px;
    }

    header .nav-links li a {
        padding: 8px 15px;

    }

    main h2 {
        font-size: 20px;
    }

    .social-icons {
        gap: 10px;
    }

    .social-icon {
        width: 35px;
        height: 35px;
    }
}