* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html,
body {
    color: #ededed;
    background-color: #081b29;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #051129;
}
::-webkit-scrollbar-thumb {
    background: #0ef;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #00bcd4;
}

/* Navbar */
.header {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: clamp(65px, 8vh, 85px);
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 17, 41, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0 clamp(16px, 4vw, 50px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
    z-index: 100000;
    border-bottom: 1px solid rgba(0, 238, 255, 0.15);
}

.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

.logo {
    max-width: 220px;
    height: 46px;
    object-fit: contain;
    animation: slideRight 1s ease forwards;
    flex-shrink: 0;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(0, 238, 255, 0.5));
}

.desktop-menu {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 32px);
}

.desktop-menu a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    font-weight: 500;
    color: #cbd5e1;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.desktop-menu a i {
    font-size: 0.9em;
    color: #0ef;
    transition: transform 0.3s ease;
}

.desktop-menu a:hover,
.desktop-menu a.active {
    color: #0ef;
    background: rgba(0, 238, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 238, 255, 0.2);
}

.desktop-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 2px;
    background: #0ef;
    border-radius: 2px;
    box-shadow: 0 0 8px #0ef;
}

.desktop-menu a:hover i {
    transform: scale(1.15);
}

/* Mobile Menu */
.menu-icon {
    display: none;
    cursor: pointer;
    font-size: 1.6rem;
    color: #fff;
    padding: 8px;
    border-radius: 8px;
    z-index: 200;
    transition: all 0.3s ease;
}

.menu-icon:hover {
    color: #0ef;
    background: rgba(0, 238, 255, 0.1);
}

.menu-icon.change {
    color: #0ef;
    transform: rotate(90deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: clamp(65px, 8vh, 85px);
    left: 0;
    width: 100%;
    background: rgba(5, 17, 41, 0.98);
    backdrop-filter: blur(16px);
    text-align: left;
    z-index: 9999;
    padding: 15px 25px;
    transform: translateY(-120%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 2px solid rgba(0, 238, 255, 0.25);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.mobile-menu.show {
    transform: translateY(0);
    display: flex !important;
    flex-direction: column;
}

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    transition: 0.25s ease;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 4px;
}

.mobile-menu a i {
    color: #0ef;
    width: 22px;
    text-align: center;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: #0ef;
    background: rgba(0, 238, 255, 0.12);
    padding-left: 20px;
}

.page-content {
    padding-top: clamp(65px, 8vh, 85px);
    min-height: calc(100vh - 80px);
}

/* Footer */
.footer {
    width: 100%;
    text-align: center;
    padding: 30px 20px;
    background-color: #051129;
    color: #94a3b8;
    font-size: 0.95rem;
    border-top: 1px solid rgba(0, 238, 255, 0.15);
    margin-top: 60px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-socials {
    display: flex;
    gap: 18px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 238, 255, 0.08);
    border: 1px solid rgba(0, 238, 255, 0.3);
    border-radius: 50%;
    color: #0ef;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: #0ef;
    color: #081b29;
    box-shadow: 0 0 15px #0ef;
    transform: translateY(-3px);
}

/* Keyframes */
@keyframes slideRight {
    0% {
        transform: translateX(-50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideTop {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideBottom {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media screen and (max-width: 1090px) {
    .desktop-menu {
        display: none;
    }

    .menu-icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
