* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    padding-top: 75px;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6%;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
}

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo {
    color: #0f172a;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.tbs {
    color: #0284c7;
    font-weight: 700;
}

/* Navigation Links */
.nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav ul li a {
    text-decoration: none;
    color: #334155;
    font-size: 15px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.25s ease;
    position: relative;
}

.nav ul li a:hover,
.nav ul li a.active {
    color: #0284c7;
    background-color: #f0f9ff;
}

.menu-toggle {
    display: none;
    font-size: 26px;
    color: #0284c7;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.menu-toggle:hover {
    background: #f1f5f9;
}

/* Responsive Rules */
@media (max-width: 992px) {
    .header {
        padding: 0 4%;
    }
    .nav ul {
        gap: 20px;
    }
    .nav ul li a {
        font-size: 14px;
        padding: 6px 10px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 20px;
        height: 65px;
    }
    html {
        scroll-padding-top: 65px;
    }
    body {
        padding-top: 65px;
    }
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .logo {
        font-size: 1.25rem;
    }
    .logo-img {
        width: 40px;
        height: 40px;
    }
    .nav {
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease-in-out;
        border-bottom: 1px solid #e2e8f0;
    }
    .nav.active {
        max-height: 350px;
    }
    .nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 0;
    }
    .nav ul li {
        width: 100%;
        text-align: left;
    }
    .nav ul li a {
        display: block;
        padding: 14px 24px;
        font-size: 16px;
        border-radius: 0;
        border-bottom: 1px solid #f1f5f9;
        color: #1e293b;
    }
    .nav ul li a:hover,
    .nav ul li a.active {
        background-color: #0284c7;
        color: #ffffff;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0 15px;
    }
    .logo {
        font-size: 1.1rem;
    }
    .logo-img {
        width: 36px;
        height: 36px;
    }
}