﻿@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700&display=swap');

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    font-family: 'Almarai', sans-serif;
    overflow-x: hidden;
}

/* Floating Navbar */
.navbar {
    position: fixed;
    top: 10px;
    left: 0;
    width: calc(100% - 45px);
    margin: 0 20px;
    background-color: #245d55;
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 15px 0px 15px 0px;
    border: 1px solid #333;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 15px;
    margin-top: 20px;
}

    .nav-links a {
        color: #e0e0e0;
        text-decoration: none;
        font-weight: 500;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        position: relative;
    }

        .nav-links a:hover,
        .nav-links a.active {
            color: #ffffff;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 50%;
            background: #ffffff;
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .nav-links a:hover::after,
        .nav-links a.active::after {
            width: 100%;
        }

/* ---------- Submenu styles ---------- */
.has-submenu {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #245d55;
    margin: 8px 0 0 0;
    padding: 8px 0;
    list-style: none;
    border-radius: 10px;
    min-width: 160px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    z-index: 2000;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    text-align: left
}

    .submenu li {
        padding: 6px 18px;
        white-space: nowrap;
    }

    .submenu a {
        color: #e0e0e0;
        text-decoration: none;
        display: block;
        font-size: 0.95rem;
        transition: background 0.18s ease;
    }

        .submenu a:hover {
            background: rgba(255,255,255,0.08);
            color: #fff;
        }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
    margin-left: 10px;
}

/* show submenu on hover (desktop) */
@media (min-width: 901px) {
    .has-submenu:hover > .submenu {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

    .menu-toggle {
        display: none;
    }
}



/* ---------- Mobile styles ---------- */
@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 77px;
        left: 0;
        right: 0;
        background: rgba(0,0,0,0.9);
        backdrop-filter: blur(6px);
        flex-direction: column;
        gap: 0;
        padding: 12px;
        display: none;
    }

        .nav-links.show {
            display: flex;
        }

        .nav-links li {
            padding: 4px 12px;
        }

    .menu-toggle {
        display: none;
    }

    .submenu {
        position: static;
        opacity: 1;
        transform: none;
        background: rgba(255,255,255,0.05);
        border-radius: 6px;
        box-shadow: none;
        margin: 6px 0;
        padding-left: 12px;
        display: none;
    }

        .submenu.open {
            display: block;
        }

    .submenu-toggle::after {
        content: "▾";
        margin-left: 8px;
        font-size: 0.8rem;
    }
}

.auth-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.auth-btn {
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.login-btn {
    background: #ffffff;
    color: #000000;
    margin-top: -8px;
}

    .login-btn:hover {
        background: #f0f0f0;
        text-decoration: none;
    }

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
}

@media (max-width: 480px) {
    .menu-toggle {
        display: block;
    }
}

.logo {
    font-weight: normal;
    color: #ffffff;
    text-decoration: none;
    margin-right: 30px;
}

    .logo img {
        height: 35px;
    }


footer {
    background: #245d55;
    direction:rtl;
}

.footer-section-top-column-one .column-title {
    font-family: 'Almarai', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
}

.footer-section-top-column-one {
    font-family: 'Almarai', sans-serif;
    font-weight: 600;
}

    .footer-section-top-column-one a {
        font-size: 0.875rem;
        text-decoration: none;
        color: #7abed0;
        position: relative;
    }

        .footer-section-top-column-one a::after {
            content: "";
            width: 0;
            height: 0.125rem;
            left: 0;
            bottom: 0;
            transition: width .4s ease;
            background: #7abed0;
            position: absolute;
        }

        .footer-section-top-column-one a:hover::after {
            width: 100%;
        }

        .footer-section-top-column-one a:focus {
            color: #4e54bf;
        }

.footer-section-top-column-two .column-title {
    font-family: 'Almarai', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
}

.footer-section-top-column-two {
    font-family: 'Almarai', sans-serif;
    font-weight: 600;
}

    .footer-section-top-column-two a {
        font-size: 0.875rem;
        text-decoration: none;
        color: #7abed0;
        position: relative;
    }

        .footer-section-top-column-two a::after {
            content: "";
            width: 0;
            height: 0.125rem;
            left: 0;
            bottom: 0;
            transition: width .4s ease;
            background: #7abed0;
            position: absolute;
        }

        .footer-section-top-column-two a:hover::after {
            width: 100%;
        }

        .footer-section-top-column-two a:focus {
            color: #4e54bf;
        }

.footer-section-top-column-three .column-title {
    font-family: 'Almarai', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
}

.footer-section-top-column-three {
    font-family: 'Almarai', sans-serif;
    font-weight: 600;
}

    .footer-section-top-column-three a {
        font-size: 0.875rem;
        text-decoration: none;
        color: #7abed0;
        position: relative;
    }

        .footer-section-top-column-three a::after {
            content: "";
            width: 0;
            height: 0.125rem;
            left: 0;
            bottom: 0;
            transition: width .4s ease;
            background: #7abed0;
            position: absolute;
        }

        .footer-section-top-column-three a:hover::after {
            width: 100%;
        }

        .footer-section-top-column-three a:focus {
            color: #4e54bf;
        }

.footer-section-top-column-four .column-title {
    font-family: 'Almarai', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
}

.footer-section-top-column-four {
    font-family: 'Almarai', sans-serif;
    font-weight: 600;
}

    .footer-section-top-column-four a {
        font-size: 0.875rem;
        text-decoration: none;
        color: #7abed0;
        position: relative;
    }

        .footer-section-top-column-four a::after {
            content: "";
            width: 0;
            height: 0.125rem;
            left: 0;
            bottom: 0;
            transition: width .4s ease;
            background: #7abed0;
            position: absolute;
        }

        .footer-section-top-column-four a:hover::after {
            width: 100%;
        }

        .footer-section-top-column-four a:focus {
            color: #4e54bf;
        }

.footer-section-middle-start-line {
    width: 100%;
    height: 0.063rem;
    margin-top: 1.75rem;
    margin-right: 1.75rem;
    opacity: 0.8;
    background: #ffffff;
}

.footer-section-middle-brandLogo {
    opacity: 0.8;
    fill: #ffffff;
}

.footer-section-middle-end-line {
    width: 100%;
    height: 0.063rem;
    margin-top: 1.75rem;
    margin-left: 1.75rem;
    opacity: 0.8;
    background: #ffffff;
}

.footer-section-bottom {
    font-family: 'Almarai', sans-serif;
    font-size: 0.8rem;
    font-weight: normal;
    text-align: center;
    margin: 0 auto;
    margin-top: -50px;
}

.footer-section-brandName {
    background: #245d55;
    font-family: 'Almarai', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ebf2f0;
}

    .footer-section-brandName .arrow-icon {
        color: #ffffff;
    }

    .footer-section-brandName .arrow-icon2 {
        color: #ffffff;
        font-size: 0.8rem;
        font-size: 1.2rem;
    }

    .footer-section-brandName .footer-section-social .ms-3 a {
        text-decoration: none;
    }

.footer-section-brandSlogan {
    font-family: 'Almarai', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #ebf2f0;
}

.copyright {
    color: #ffffff;
}

    .copyright a {
        text-decoration: none;
        color: #7abed0;
        position: relative;
    }

        .copyright a::after {
            content: "";
            width: 0;
            height: 0.125rem;
            left: 0;
            bottom: 0;
            transition: width .4s ease;
            background: #7abed0;
            position: absolute;
        }

        .copyright a:hover::after {
            width: 100%;
        }

        .copyright a:focus {
            color: #4e54bf;
        }
