/*



!* Reset & Base *!
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

!* ===== Header ===== *!
.site-header {
    background: linear-gradient(90deg, #4f5bd5, #00bcd4);
    padding: 10px 16px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

!* Flex container for logo, nav, and toggle *!
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

!* Prevent logo from shrinking *!
.logo {
    flex-shrink: 0;
}

!* Logo link styling *!
.logo a {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    user-select: none;
    transition: color 0.3s ease;
}

.logo a:hover,
.logo a:focus {
    color: #d0e8ff;
    outline: none;
}

!* ===== Navigation - Desktop ===== *!
.nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    transition: max-height 0.3s ease;
}

.nav a {
    color: #1a1a1a;
    background: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    user-select: none;
}

.nav a:hover,
.nav a:focus {
    background: #e6f7ff;
    outline: none;
}

!* ===== Hamburger Toggle Button ===== *!
.menu-toggle {
    display: none;
    font-size: 28px;
    color: #fff;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s ease;
}

.menu-toggle:hover,
.menu-toggle:focus {
    background: rgba(0, 0, 0, 0.35);
    outline: none;
}

!* ===== Responsive Styles ===== *!
@media (max-width: 768px) {
    !* Header inner: keep logo and toggle on same line *!
    .header-inner {
        !*flex-wrap: nowrap;*!
        justify-content: space-between;
        align-items: center;
    }

    !* Show hamburger *!
    .menu-toggle {
        display: block;
    }

    !* Navigation menu: hidden by default *!
    .nav {
        position: absolute;
        top: 60px; !* height of header + some space *!
        left: 0;
        right: 0;
        background: #1e88e5;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        transition: max-height 0.35s ease;
        z-index: 999;
    }

    !* Show nav when active *!
    .nav.active {
        max-height: 600px; !* enough height for all items *!
    }

    !* Mobile nav links *!
    .nav a {
        color: #fff;
        background: transparent;
        padding: 14px 24px;
        font-size: 16px;
        font-weight: 600;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        text-align: center;
        display: block;
        transition: background 0.3s ease, color 0.3s ease;
        user-select: none;
    }

    !* Remove border for last item *!
    .nav a:last-child {
        border-bottom: none;
    }

    .nav a:hover,
    .nav a:focus {
        background: rgba(255, 255, 255, 0.15);
        color: #e3f2fd;
        outline: none;
    }

    !* Optional: Reduce logo font size on very small screens *!
    @media (max-width: 480px) {
        .logo a {
            font-size: 18px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
    }
}





*/














/*


!* ================= Reset & Base ================= *!
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

!* ================= Header ================= *!
.site-header {
    background: linear-gradient(90deg, #4f5bd5, #00bcd4); !* main site theme gradient *!
    padding: 10px 16px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

!* Header inner container *!
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

!* Logo *!
.logo {
    flex-shrink: 0;
}

.logo a {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    user-select: none;
    transition: color 0.3s ease;
}

.logo a:hover,
.logo a:focus {
    color: #d0e8ff;
    outline: none;
}

!* ================= Desktop Navigation ================= *!
.nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    transition: max-height 0.3s ease;
}

.nav a {
    color: #1a1a1a;
    background: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    user-select: none;
}

.nav a:hover,
.nav a:focus {
    background: #e6f7ff;
    outline: none;
}

!* ================= Hamburger Toggle Button ================= *!
.menu-toggle {
    display: none;
    font-size: 28px;
    color: #fff;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s ease;
}

.menu-toggle:hover,
.menu-toggle:focus {
    background: rgba(0, 0, 0, 0.35);
    outline: none;
}

!* ================= Responsive Styles (Mobile & Tablet) ================= *!
@media (max-width: 768px) {

    .header-inner {
        justify-content: space-between;
        align-items: center;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: 60px; !* header height + spacing *!
        left: 0;
        right: 0;
        background: linear-gradient(180deg, #4f5bd5, #00bcd4); !* gradient matches header *!
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        transition: max-height 0.35s ease, opacity 0.3s ease;
        z-index: 999;
    }

    !* Show nav when active *!
    .nav.active {
        max-height: 600px; !* enough for all links *!
        opacity: 1;
    }

    !* Mobile nav links *!
    .nav a {
        color: #fff;               !* white text *!
        background: transparent;   !* transparent for gradient *!
        padding: 14px 24px;
        font-size: 16px;
        font-weight: 600;
        text-align: center;
        display: block;
        margin: 4px 0;             !* spacing instead of borders *!
        border-radius: 8px;        !* slight rounding *!
        transition: background 0.3s ease, color 0.3s ease;
        user-select: none;
    }

    !* Hover/focus state for mobile *!
    .nav a:hover,
    .nav a:focus {
        background: rgba(255, 255, 255, 0.2); !* subtle highlight *!
        color: #e3f2fd;                        !* lighter text on hover *!
        outline: none;
    }

    !* Active/current page link *!
    .nav a.current-menu-item,
    .nav a.active {
        background: rgba(255, 255, 255, 0.25);
        color: #fff;
    }

    !* Optional: Reduce logo font size on very small screens *!
    @media (max-width: 480px) {
        .logo a {
            font-size: 18px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
    }
}
*/




/* ================= Reset & Base ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ================= Header ================= */
.site-header {
    background: linear-gradient(90deg, #4f5bd5, #00bcd4);
    padding: 10px 16px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Header inner container */
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Logo */
.logo {
    flex-shrink: 0;
}

.logo a {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    user-select: none;
    transition: color 0.3s ease;
}

.logo a:hover,
.logo a:focus {
    color: #d0e8ff;
    outline: none;
}

/* ================= Desktop Navigation ================= */
.nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    transition: max-height 0.3s ease;
}

.nav a {
    color: #1a1a1a;
    background: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    user-select: none;
}

.nav a:hover,
.nav a:focus {
    background: #e6f7ff;
    outline: none;
}

/* ================= Hamburger Toggle Button ================= */
.menu-toggle {
    display: none;
    font-size: 28px;
    color: #fff;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.menu-toggle:hover,
.menu-toggle:focus {
    background: rgba(0, 0, 0, 0.35);
    outline: none;
}

/* Rotate hamburger icon when active */
.menu-toggle.active {
    transform: rotate(90deg);
}

/* ================= Responsive Styles (Mobile & Tablet) ================= */
@media (max-width: 768px) {

    .header-inner {
        justify-content: space-between;
        align-items: center;
    }

    .menu-toggle {
        display: block;
    }

    /* Mobile nav container */
    .nav {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, #4f5bd5, #00bcd4);
        flex-direction: column;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        transition: max-height 0.5s ease, opacity 0.5s ease;
        z-index: 999;
    }

    /* Show nav when active */
    .nav.active {
        max-height: 1000px; /* large enough for all items */
        opacity: 1;
    }

    /* Mobile nav links */
    .nav a {
        color: #fff;
        background: transparent;
        padding: 14px 24px;
        font-size: 16px;
        font-weight: 600;
        text-align: center;
        display: block;
        margin: 4px 0;
        border-radius: 8px;
        transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
        user-select: none;
    }

    /* Hover/focus state for mobile links */
    .nav a:hover,
    .nav a:focus {
        background: rgba(255, 255, 255, 0.2);
        color: #e3f2fd;
        transform: translateX(4px); /* small slide effect on hover */
        outline: none;
    }

    /* Active/current page link */
    .nav a.current-menu-item,
    .nav a.active {
        background: rgba(255, 255, 255, 0.25);
        color: #fff;
    }

    /* Optional: Reduce logo font size on very small screens */
    @media (max-width: 480px) {
        .logo a {
            font-size: 18px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
    }
}
