﻿ 

.header {
    background: linear-gradient(135deg, #001f3f, #003366);
    color: #fff;
    padding: 15px 20px;
    text-align: center;
}

/* ================= GLOBAL SAFETY RESET ================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent; /* iOS click fix */
}

/* ================= NAVBAR ================= */
/* ================= NAVBAR ================= */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(245,245,220,0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 22px rgba(0,0,0,0.12);
    z-index: 9999;
    will-change: transform;
}

/* INNER */
.nav-inner {
    max-width: 1300px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
}

/* LOGO */
.logo img {
    height: 56px;
}

/* ================= DESKTOP MENUS ================= */
.nav-menu-left,
.nav-menu-right {
    display: flex;
    list-style: none;
    gap: 10px;
    margin: 0;
    padding: 0;
}

    /* LINK STYLE */
    .nav-menu-left li a,
    .nav-menu-right li a {
        position: relative;
        padding: 10px 18px;
        color: #000080;
        font-weight: 600;
        text-decoration: none;
        border-radius: 40px;
        transition: background 0.3s ease, box-shadow 0.3s ease;
        -webkit-tap-highlight-color: transparent;
    }

/* HOVER (Desktop only) */
@media (hover: hover) {
    .nav-menu-left li a:hover,
    .nav-menu-right li a:hover {
        background: linear-gradient(135deg,#ffcc00,#ffd966);
        color: #000;
        box-shadow: 0 6px 18px rgba(255,204,0,0.4);
    }
}

/* ACTIVE */
.nav-menu-left li a.active,
.nav-menu-right li a.active {
    background: #ffcc00;
    color: #000;
}

/* ================= HAMBURGER ================= */
.hamburger {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: #000080;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .hamburger {
        display: block;
    }

    .nav-menu-left,
    .nav-menu-right {
        position: fixed;
        left: 0;
        width: 100%;
        background: rgba(245,245,220,0.97);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        overflow: hidden;
        /* SAFARI SAFE ANIMATION */
        height: 0;
        opacity: 0;
        transition: height 0.4s ease, opacity 0.3s ease;
    }

    .nav-menu-right {
        top: 76px;
    }

    .nav-menu-left {
        top: 280px;
    }

        .nav-menu-left.open,
        .nav-menu-right.open {
            height: auto;
            opacity: 1;
            padding-bottom: 20px;
        }

        .nav-menu-left li,
        .nav-menu-right li {
            width: 100%;
            text-align: center;
        }

            .nav-menu-left li a,
            .nav-menu-right li a {
                width: 100%;
                margin: 8px auto;
                padding: 10px;
                font-size: 17px;
                background: #fff;
                border-radius: 30px;
                box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            }

                /* Touch feedback */
                .nav-menu-left li a:active,
                .nav-menu-right li a:active {
                    background: #ffcc00;
                    color: #000;
                }
}
.bodyy {
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url("../Images/45.jpg");
    background-attachment: fixed;
    min-height: 100vh;
}