* {
    padding: 0px;
    margin: 0px;
    border: none;
    outline: none;
    box-sizing: border-box;
    text-decoration: none;
    list-style-type: none;
}

body {
    width: 100vsw;
    height: 100vsh;
}

p {
    color: rgb(64, 62, 62);
}

:root {
    --first--color: black;
    --second--color: rgb(77, 73, 73);
    --third--color: white;
    --background--color: blue;
}

.top-header {
    display: flex;
    background-color: var(--third--color);
    justify-content: space-between;
    height: 4rem;
}

.menu-toggle {
    display: none;
}

.top-header button {
    background-color: var(--background--color);
    width: 70px;
    height: 40px;
    margin-left: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.top-header button a {
    text-decoration: none;
    color: var(--third--color);
}

nav ul {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

nav ul li a {
    text-decoration: none;
    color: rgb(49, 48, 48);
}

.top-header h2 {
    margin-right: 20px;
    margin-top: 20px;
}

.top-header h2 i {
    color: var(--background--color);
}

#home {
    background-image: url('/imgs/reception.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.8);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.overlay p {
    color: rgb(161, 158, 158);
}

.overlay button {
    width: 9rem;
    height: 50px;
    background-color: var(--background--color);
    border-radius: 5px;
}

.overlay button a {
    text-decoration: none;
    color: var(--third--color);
}

#service {
    justify-items: center;
    margin-top: 15px;
}

.service-container img {
    width: 100%;
    height: 170px;
    border-radius: 10px;

}

.service-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.one,
.two,
.three {
    width: 100%;
    height: 110%;
    background-color: rgba(206, 192, 192, 0.158);
    border-radius: 10px;
}

.service-container div h3,
p {
    text-align: center;

}

.service-container button {
    margin-left: 80px;
    width: 10rem;
    height: 40px;
    background-color: rgba(206, 192, 192, 0.158);
    border: 1px solid var(--background--color);
    border-radius: 4px;
    margin-top: 20px;
}

.service-container div button a {
    text-decoration: none;
    color: var(--background--color);
}

.one:hover {
    transform: scale(1.1);
    transition-duration: 1s;
}

.two:hover {
    transform: scale(1.1);
    transition-duration: 1s;
}

.three:hover {
    transform: scale(1.1);
    transition-duration: 1s;
}

#contact {
    justify-items: center;
    margin-top: 15px;
    padding-bottom: 2rem;
}

.contact {
    background-color: #f8fafc;
    direction: rtl;
    font-family: 'Cairo', sans-serif;
    margin-bottom: 5rem;
}

.footer {
    background-color: #152548;
    padding-top: 2rem;
    padding-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer a:hover {
    color: #0d6efd !important;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 2rem;
    gap: 2rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 90%;
    margin: auto;
}

.contact-form {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
}

.contact-form button {
    background-color: var(--background--color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem;
    cursor: pointer;
    font-weight: bold;
}

.contact-form button:hover {
    background-color: #0044cc;
}

.contact-info {
    flex: 1 1 45%;
    background-color: #f1f5f9;
    padding: 2rem;
    border-radius: 8px;
    font-size: 1rem;
}

.contact-info h4 {
    margin-bottom: 1rem;
}

.contact-info p {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .top-header .btn {
        display: none !important;
    }

    .menu-toggle {
        display: block;
    }

    nav ul {
        position: absolute;
        top: 60px;
        right: 0;
        left: 0;
        background-color: var(--third--color);
        flex-direction: column;
        gap: 0;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transition: max-height 0.5s ease, opacity 0.5s ease;
        z-index: 1000;
    }

    nav ul.active {
        max-height: 500px;
        opacity: 1;
    }

    nav ul li {
        padding: 15px;
        border-top: 1px solid #ccc;
        text-align: center;
    }

    .menu-toggle {
        display: block;
        font-size: 24px;
        cursor: pointer;
        margin: 10px 20px;
    }

    .service-container {
        grid-template-columns: 1fr;
    }

    .one,
    .two,
    .three {
        width: 100%;
    }

    .service-container button {
        margin: 10px auto;
    }

    .contact-container {
        flex-direction: column;
    }

    .contact-form,
    .contact-info {
        flex: 1 1 100%;
    }
}