@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    border: 0;
    position: relative;
}
    body {
        width: 100%;
        height: 100%;
        overflow-x: hidden;
    }

@media (max-width: 1700px) {
    .menu-bar h2 {
        display: none;
    }
}

button {
    font-family: "Almarai";
    font-weight: 800;
    font-size: large;
    background-color: #ffffff;
    color: #1399FF;
    cursor: pointer;
    transition: all 0.3s ease;
}

header {
    top: 0;
    left: 0;
    width: 100%;
    height: min-content;
}

.panorama {
    width: 100%;
    left: 0;
    top: 0;
}

.menu-bar {
    position: fixed;
    width: 85%;
    height: 120px;
    top: 50px;
    left: 50%;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translate(-50%, -1%);
    background-color: white;
    z-index: 10;
    border: 3px solid #e8f5ff;
}

.menu-bar h2 {
    font-family: 'Almarai';
    font-weight: 900;
    font-size:xx-large;
    color: #1399FF;
}

.logo {
    height: 70px;
    left: 25px;
}

.menu-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    right: 40px;
}

.cards {
    top: -10px;
    display: flex;
    width: 100%;
    height: 550px;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    background: rgb(222,241,255);
    background: radial-gradient(circle, rgba(222,241,255,1) 0%, rgba(255,255,255,1) 100%);
    position: relative;
}

.services-text {
    position: absolute !important;
    display: block !important;
    flex: none;
    top: 45px;
    font-family: 'Almarai';
    font-weight: 900;
    font-size: xx-large;
    color: #1399FF;
}

.card {
    font-family: 'Almarai';
    font-weight: 500;
    width: 260px;
    height: 300px;
    display: flex;
    justify-content: center;
    flex-flow: column;
    align-items: center;
    background-color: #ffffff;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.card img {
    width: 80%;
    object-fit: cover;
    padding-bottom: 20px;
}

.card p {
    color: #1399FF;
}

.stars {
    width: 51% !important;
}

.map {
    width: 72% !important;
}

.scroller {
    display: flex;
    top: -10px;
    overflow: hidden; /* Hide overflowing content */
    width: 100%; /* Full width of the container */
    height: 400px; /* Fixed height for the container */
    position: relative;
}

.scroller-content {
    display: flex;
    animation: scroll-left 20s linear infinite; /* Smooth scrolling animation */
}

.scroller img {
    height: 400px; /* Fixed height for the images */
    object-fit: cover; /* Maintain aspect ratio */
}

@keyframes scroll-left {
    from {
        transform: translateX(0); /* Start at the initial position */
    }
    to {
        transform: translateX(-40%); /* Move by half of the total width */
    }
}

.wrapper-info {
    display: flex;
    flex-direction: column; /* Stack divs vertically */
    align-items: center; /* Center divs horizontally */
    gap: 20px; /* Space between the divs */
    margin: 60px 0; /* Space above and below the wrapper */
}

.info-item {
    display: flex;
    width: 80vw; /* 80% of the viewport width */
    height: 400px; /* Fixed height */
    align-items: center; /* Center content vertically */
    justify-content: space-between; /* Space between img and p */
    gap: 10px; /* Small gap between img and p */
    background-color: #ffffff; /* Light background for the entire div */
    padding: 10px; /* Inner spacing */
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1); /* Optional: subtle shadow */
    border-radius: 8px; /* Optional: rounded corners */
}

.info-item img {
    width: 50%; /* Half the width of the parent div */
    height: 100%; /* Full height of the parent div */
    object-fit: cover; /* Maintain aspect ratio, crop excess */
    border-radius: 8px; /* Match the div's border radius */
}

.info-item p {
    font-family: "Almarai";
    font-weight: 300;
    width: 50%; /* Half the width of the parent div */
    height: 100%; /* Full height of the parent div */
    background-color: #ebf7ff; /* Background color for the paragraph */
    line-height: 1.8;
    align-content: center;
    text-align: left; /* Center multiline text */
    font-size: 1.5em; /* Adjust text size */
    border-radius: 8px; /* Match the div's border radius */
    padding-left: 30px;
    padding-right: 30px;
}

.info-item span {
    color: #1399FF;
    justify-self: center;
}

footer {
    background-color: #1399FF; /* Blue background */
    color: white; /* White text color */
    position: relative; /* For positioning legal images */
    font-family: "Almarai"; /* Match the font style */
    height: 600px;
}

footer .legal {
    position: absolute;
    right: 40px;
    bottom: 40px;
    display: flex;
    justify-content: space-between;
    width: 430px;
}

.legal img {
    height: 50px;
}

.company {
    position: absolute;
    left: 100px;
    top: 100px;
    width: fit-content;
}

.contact {
    position: absolute;
    left: 450px;
    top: 100px;
    width: 230px;
}

.contact img {
    height: 30px;
}
.contact div {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: space-between;
    left: 0px;
}
.contact p {
    font-weight: 400;
}

.copyright {
    position: absolute;
    color: white;
    font-weight: 500;
    font-family: 'Almarai';
    bottom: 10px;
    right: calc(50% - 230px);
}