@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal';
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
    scrollbar-width: none;
    transition: all 0.3s ease;

}

body {
    /* background-color: #f5f5f5; */
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

::-webkit-scrollbar {
    display: none;
}

a {
    color: inherit;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

nav {
    width: 90%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* border: 1px solid red; */
}

nav div {
    width: 100%;
    height: 100%;
    /* border: 1px solid blue; */
    display: flex;
    justify-content: space-around;
    align-items: center;
}

nav div a {
    margin: 0 5px;
    font-size: 24px;
    font-weight: 500;
    color: #333;

}

nav div a:hover {
    color: #007BFF;
    font-weight: 600;
}

nav div button {
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    background-color: #007BFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

nav div button:hover {
    background-color: #0056b3;
}



section {
    width: 100%;
    padding: 100px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home {
    min-height: 100vh;
    /* background-color: #e0f7fa; */
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.home .details {
    width: 40%;
    /* border: 1px solid red; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.home .details h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #007BFF;
}

.home .details p {
    font-size: 2rem;
    color: #333;
}

.home .details span {
    margin-top: 15px;
    font-size: 1.5rem;
    color: #555;
    font-weight: 800;
}

.home .media {
    width: 40%;
    /* border: 1px solid blue; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.home .media img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.about {
    /* background-color: #fff3e0; */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.about h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #0056b3;
}

.about p {
    /* border: 1px solid #ffcc80; */
    font-size: 2rem;
    font-weight: 400;
    word-spacing: 10px;
    color: #333;
    width: 60%;
    text-align: center;
}

.vision {
    /* background-color: #e3f2fd; */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.vision h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #0056b3;
}

.vision p {
    /* border: 1px solid #90caf9; */
    margin-top: 20px;
    font-size: 2rem;
    font-weight: 400;
    word-spacing: 10px;
    color: #333;
    width: 60%;
    text-align: center;
}

.mission {
    /* background-color: #f3e5f5; */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.mission h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #0056b3;
}

.mission p {
    /* border: 1px solid #ce93d8; */
    margin-top: 20px;
    font-size: 2rem;
    font-weight: 400;
    word-spacing: 10px;
    color: #333;
    width: 60%;
    text-align: center;
}

.services {
    /* background-color: #e8f5e9; */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.services h1 {
    font-size: 4rem;
    margin-bottom: 40px;
    color: #0056b3;
}

.services .services_cards {
    /* border: 1px solid red; */
    width: 80%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 10px;
}

.services .services_cards .card {
    /* background-color: #ffffff; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 30px;
    width: 25%;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    font-size: 1.5rem;
        color: #333;
        font-weight: 600;
}



.contact {
    /* background-color: #fffde7; */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.contact h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #0056b3;
}

.contact p {
    font-size: 2rem;
    color: #333;
    margin: 10px 0;
}

.contact a {
    color: #007BFF;
}

.contact a:hover {
    text-decoration: underline;
}

footer {
    width: 100%;
    height: 60px;
    background-color: #333;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer p {
    font-size: 1.5rem;
}

@media (max-width: 768px) {

    nav div a {
        margin: 0 5px;
        font-size: 14px;
        font-weight: 600;
        color: #333;

    }


    section {
        flex-direction: column;
    }

    .home {
        min-height: 100vh;
        /* background-color: #e0f7fa; */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .home .details {
        width: 80%;
        /* border: 1px solid red; */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 20px;
    }

    .home .details h1 {
        font-size: 3rem;
        margin-bottom: 20px;
        color: #007BFF;
    }

    .home .details p {
        font-size: 1rem;
    }

    .home .details span {
        margin-top: 15px;
        margin-bottom: 10px;
        font-size: 1.5rem;
        color: #555;
        font-weight: 800;
    }

    .home .media {
        width: 80%;
    }

    .about {
        /* border: 1px solid red; */
        width: 100%;
        /* background-color: #fff3e0; */
    }

    .about h1 {
        font-size: 3rem;
    }

    .about p {
        width: 90%;
        /* border: 1px solid #ffcc80; */
        font-size: 1.3rem;
    }

    .vision {
        width: 100%;
    }

    .vision h1 {
        font-size: 3rem;
    }

    .vision p {
        width: 90%;
        /* border: 1px solid #ffcc80; */
        font-size: 1.3rem;
    }

    .mission {
        width: 100%;
    }

    .mission h1 {
        font-size: 3rem;
    }

    .mission p {
        width: 90%;
        /* border: 1px solid #ffcc80; */
        font-size: 1.3rem;
    }

    .services {
        width: 100%;
    }

    .services h1 {
        font-size: 3rem;
    }

    .services .services_cards {
        /* border: 1px solid red; */
        width: 80%;
    }

    .services .services_cards .card {
        width: 95%;
        font-size: 1.2rem;
        color: #333;
        font-weight: 600;
    }

    .contact {
        width: 100%;
    }

    .contact h1 {
        font-size: 3rem;
    }

    .contact p {
        width: 90%;
        /* border: 1px solid #ffcc80; */
        font-size: 1.3rem;
    }

    .contact a {
        color: #007BFF;
    }

    .contact a:hover {
        text-decoration: underline;
    }

    footer {
        width: 100%;
        height: 60px;
        background-color: #333;
        color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    footer p {
        font-size: 1.5rem;
    }

}