body {
    font-family: 'Arial', sans-serif;
    background-color: #FCECDD; /* Light Gray */
    margin: 0;
    padding: 0;
    direction: rtl; /* النص من اليمين لليسار */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FF6701; /* Deep Orange */
    padding: 10px 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.logo img {
    height: 60px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    gap: 10px;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a img {
    height: 30px;
}

main {
    text-align: center;
    margin-top: 50px;
}

main h1 {
    font-size: 2.5em;
    color: #FF7043; /* Deep Orange */
}

main p {
    font-size: 1.2em;
    color: #FF7043; /* Deep Orange */
}

.course-list {
    margin: 40px 0;
    text-align: left;
    background-color: #FFC288; /* Light Orange */
    padding: 20px;
    border-radius: 10px;
}

.course-list h2 {
    color: #FF6701; /* Deep Orange */
    text-align: center;
}

.course-list table {
    width: 100%;
    border-collapse: collapse;
}

.course-list th, .course-list td {
    padding: 10px;
    text-align: right;
    border-bottom: 1px solid #ddd;
    width: 300px;
}

.course-list th {
    background-color: #FF6701; /* Deep Orange */
    color: #F5F5F5; /* Light Gray */
}

.course-list td {
    color: #2E2E2E; /* Dark Gray */
}

footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    background-color: #FF6701; /* Deep Orange */
    color: #2E2E2E; /* Dark Gray */
}

footer nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

footer nav ul li a {
    color: #2E2E2E;
    text-decoration: none;
}

footer .contact-info {
    margin-top: 20px;
}

footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

footer .social-icons a img {
    height: 30px;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        flex-direction: column;
        gap: 5px;
    }
    
    main h1 {
        font-size: 2em;
    }

    main p {
        font-size: 1em;
    }

    footer nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .course-list table {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 40px;
    }

    nav ul li a img {
        height: 20px;
    }

    main h1 {
        font-size: 1.5em;
    }

    main p {
        font-size: 0.9em;
    }

    footer .social-icons a img {
        height: 20px;
    }

    .course-list table {
        font-size: 0.8em;
    }
}
