@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap');

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        html, body {
            width: 100%;
            overflow-x: hidden;
        }

        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }

        /* Body settings */
        body {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family:'Tajawal', sans-serif;
            background-color: #eeeeee;
            overflow-x: hidden;
            direction: ltr; /* Left to right for English */
        }

        /* Main colors */
        :root {
            --mainColor: #000D31;
            --fontColor: #0E1E63;
        }

        ::selection {
            background-color: var(--mainColor);
            color: white;
        }

        header nav {
            width: 95%;
            max-width: 1400px;
            height: 80px;
            background-color: var(--mainColor);
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            border-radius: 50px;
            transition: all 0.6s ease-in-out;
            padding: 0 40px;
            box-sizing: border-box;
            margin: auto;
            margin-top: 20px;
        }

        header nav.blue-nav {
            background-color: var(--mainColor) !important;
            backdrop-filter: none !important;
        }

        header nav.transparent-nav {
            background-color: rgba(0, 13, 49, 0.4) !important;
            backdrop-filter: blur(12px) !important;
            -webkit-backdrop-filter: blur(12px) !important;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        header nav .logo {
            height: 115px;
            max-height: 80px;
            width: auto;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        header nav .options {
            display: flex;
            gap: 20px;
        }

        header nav .options li {
            list-style: none;
            padding-top: 0px;
        }

        /* header nav .options li a {
            color: white;
            padding: 0 20px 0;
            text-decoration: none;
            transition: 0.3s;
            border-bottom: 1px solid transparent;
            font-size: 18px;
        } */
        header nav .options li a {
            color: white;
            padding: 0 20px;
            text-decoration: none;
            transition: 0.3s;
            font-size: 18px;
            line-height: 1;
            align-items: center;
        }
        

        header nav .options li a:hover {
            font-size: 20px;
            color: #002fff99;
        }

        header nav .options .column a {
            font-size: 17px;
        }

        header nav .lang {
            list-style: none;
            display: flex;
            align-items: center;
        }

        header nav .lang .flag {
            width: 35px;
            margin-right: 20px;
            transition: 0.3s;
        }

        header nav .lang .flag:hover {
            width: 50px;
        }

        nav .dropdown {
            position: relative;
        }

        nav .dropdown .arrow {
            margin-left: 6px;
            font-size: 20px;
        }

        .dropdown:hover .mega-menu {
            display: flex;
        }

        /* Mega menu style */
        .mega-menu.clean-menu {
            display: none;
            position: absolute;
            left: 0;
            top: 100%;
            background: #c3c5c4;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
            padding: 20px;
            width: 210px;
            gap: 40px;
            direction: ltr;
            z-index: 100;
            color: var(--fontColor);
            max-height: 300px; 
            overflow-y: auto;
            scrollbar-width: thin;
            scrollbar-color: #919191 transparent;
        }

        header nav .options .column a:hover {
            font-size: 18px;
            color: var(--fontColor);
        }

        .mega-menu .column {
            display: flex;
            flex-direction: column;
        }

        .mega-menu .column a {
            display: block;
            padding: 8px 0;
            text-decoration: none;
            color: #002f6c;
            transition: 0.3s;
        }

        /* Burger icon */
        .burger-menu {
            display: none;
            flex-direction: column;
            justify-content: center;
            gap: 5px;
            cursor: pointer;
            width: 30px;
            height: 25px;
        }

        .burger-menu span {
            height: 3px;
            width: 100%;
            background-color: white;
            border-radius: 2px;
            transition: 0.3s;
        }
/* قائمة الموبايل الجانبية */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 13, 49, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: right 0.4s ease-in-out;
    z-index: 9998;
    text-align: center;
    padding: 40px 20px;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 12px 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid var(--mainCOlor);
    display: block;
    margin: -5px;
}

.mobile-menu ul li a:hover {
    background-color: var(--mainCOlor);
    color: #fff;
    transform: scale(1.05);
}

.mobile-extras {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 400px;
}

.home-btn {
    text-decoration: none;
    color: white;
    font-size: 16px;
    background-color: var(--mainCOlor);
    padding: 10px 20px;
    border-radius: 10px;
    transition: 0.3s ease;
    border: 1px solid white;
    width: 100%;
    text-align: center;
}

.home-btn:hover {
    background-color: white;
    color: var(--mainCOlor);
}

.language-options {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.language-options .flag {
    width: 35px;
    height: 25px;
    transition: 0.3s ease;
    border-radius: 5px;
    border: 2px solid white;
}

.language-options .flag:hover {
    transform: scale(1.2);
    border-color: var(--mainCOlor);
}

/* عند التمرير */
header.scrolled nav {
    background-color: rgba(0, 13, 49, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease-in-out;
    border-radius: 50px;
}

header.scrolled nav .options li a {
    color: white;
}

header.scrolled nav .options .clean-menu .column a {
    color: var(--mainCOlor);
}

header.scrolled nav .options li a:hover {
    color: #4DA3F2;
}
/* إظهار البيرجر وإخفاء القائمة الأصلية عند الشاشات الصغيرة */
@media (max-width: 768px) {
    header nav .options,
    header nav .lang {
        display: none;
    }

    .burger-menu {
        display: flex;
    }
}


        /* Content section */
        .sub .photo {
            width: 100%;
            height: 50vh;
            min-height: 300px;
            max-height: 620px;
            background-color: var(--fontColor);
            background-image: url(../images/rate\ s.png);
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            border-bottom: 10px solid var(--mainColor);
        }

        .sub p {
            font-size: 1.1rem;
            line-height: 2;
            width: 90%;
            max-width: 1200px;
            margin: auto;
            margin-top: 50px;
            font-weight: 400;
            position: relative;
            padding: 0 15px;
        }

        .sub .second {
            margin-top: 50px;
            margin-bottom: 50px;
        }

        .sub p::before {
            content: ' ';
            width: 10px;
            height: 10px;
            background: var(--mainColor);
            border: 1px solid var(--fontColor);
            position: absolute;
            top: 20px;
            left: -15px;
        }

        .sub h1 {
            margin: auto;
            width: auto;
            max-width: 450px;
            margin-top: 50px;
            font-size: 2.5rem;
            font-weight: 700;
            text-align: center;
            padding: 0 15px;
        }

        .list {
            font-size: 1.1rem;
            margin-left: 6%;
            margin-top: 1%;
            margin-bottom: 5%;
            padding: 0 15px;
        }

        .list li {
            padding: 10px;
        }

        footer {
            width: 100%;
            height: 50px;
            background-color: var(--mainColor);
        }

        /* Media Queries for medium screens (laptops and tablets) */
        @media (max-width: 1200px) {
            header nav {
                padding: 0 20px;
            }
            
            header nav .options li a {
                padding: 0 15px;
                font-size: 16px;
            }
            
            .sub h1 {
                font-size: 2.2rem;
            }
            
            .sub p, .list {
                font-size: 1rem;
            }
        }

        @media (max-width: 992px) {
            header nav .options {
                gap: 10px;
            }
            
            header nav .options li a {
                font-size: 14px;
                padding: 0 10px;
            }
            
            header nav .logo {
                height: 90px;
            }
            
            .sub .photo {
                height: 40vh;
            }
            
            .sub h1 {
                font-size: 2rem;
                margin-top: 30px;
            }
            
            .sub p {
                margin-top: 30px;
            }
        }

        /* Media Queries for small screens (phones and small tablets) */
        @media (max-width: 768px) {
            header nav {
                height: 70px;
                padding: 0 15px;
                margin-top: 10px;
            }
            
            header nav .options,
            header nav .lang {
                display: none;
            }

            .burger-menu {
                display: flex;
            }
            
            header nav .logo {
                height: 70px;
                max-height: 60px;
            }
            
            .sub .photo {
                height: 35vh;
                min-height: 250px;
            }
            
            .sub h1 {
                font-size: 1.8rem;
                margin-top: 20px;
            }
            
            .sub p {
                font-size: 0.95rem;
                margin-top: 20px;
                line-height: 1.8;
            }
            
            .sub p::before {
                left: -4px;
                top: 10px;
                width: 5px;
                height: 5px;
            }
            
            .list {
                font-size: 0.95rem;
                margin-left: 4%;
            }
        }

        @media (max-width: 576px) {
            header nav {
                width: 98%;
                border-radius: 30px;
            }
            
            .sub .photo {
                height: 30vh;
                min-height: 200px;
            }
            
            .sub h1 {
                font-size: 1.5rem;
            }
            
            .sub p {
                font-size: 0.9rem;
                width: 95%;
            }
            
            .list {
                font-size: 0.9rem;
                margin-left: 2%;
            }
            
            .mobile-menu ul {
                gap: 25px;
            }
            
            .mobile-menu ul li a {
                font-size: 18px;
                padding: 12px 20px;
            }
        }

        @media (max-width: 400px) {
            header nav {
                padding: 0 10px;
            }
            
            header nav .logo {
                height: 60px;
            }
            
            .sub .photo {
                height: 25vh;
                min-height: 180px;
                border-bottom-width: 5px;
            }
            
            .sub h1 {
                font-size: 1.3rem;
            }
            
            .sub p {
                font-size: 0.85rem;
            }
            
            .list {
                font-size: 0.85rem;
            }
        }