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

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background: #f4f7fc;
    scroll-behavior: smooth;
}


/* ============================================================ */
/* HEADER - Enhanced */
/* ============================================================ */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 20, 40, 0.06);
    border-bottom: 1px solid rgba(0, 40, 80, 0.04);
    transition: all 0.3s ease;
}

.fixed-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 40px rgba(0, 20, 40, 0.10);
}

.fixed-header .container {
    max-width: 1320px;
    margin-top:10px;
    margin-bottom: 10px;
    
}

.fixed-header .navbar-brand {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0b2b4a;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fixed-header .navbar-brand .brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a7f64, #0f604b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.fixed-header .navbar-brand:hover .brand-icon {
    transform: rotate(-5deg) scale(1.05);
}

.fixed-header .navbar-brand .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.fixed-header .navbar-brand .brand-text .main {
    font-size: 18px;
    color: #0b2b4a;
}

.fixed-header .navbar-brand .brand-text .main span {
    color: #1a7f64;
}

.fixed-header .navbar-brand .brand-text .sub {
    font-size: 9px;
    font-weight: 500;
    color: #5a7a8e;
    letter-spacing: 0.3px;
}

.fixed-header .nav-link {
    font-weight: 500;
    color: #1e3a5f;
    margin: 0 4px;
    border-radius: 12px;
    padding: 0.5rem 1rem;
    transition: all 0.25s ease;
    font-size: 14px;
    position: relative;
}

.fixed-header .nav-link i {
    font-size: 15px;
    margin-right: 4px;
}

.fixed-header .nav-link:hover,
.fixed-header .nav-link.active {
    background: rgba(26, 127, 100, 0.10);
    color: #0b4f3e;
}

.fixed-header .nav-link .nav-badge {
    font-size: 9px;
    background: #dc3545;
    color: #fff;
    padding: 1px 6px;
    border-radius: 50px;
    margin-left: 4px;
    font-weight: 600;
}

/* Dropdown */
.fixed-header .dropdown-menu {
    border: none;
    border-radius: 16px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 20, 30, 0.12);
    min-width: 220px;
    margin-top: 6px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    animation: dropdownFade 0.25s ease;
}

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

.fixed-header .dropdown-item {
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 13px;
    color: #1e3a5f;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

.fixed-header .dropdown-item i {
    font-size: 15px;
    color: #5a7a8e;
    width: 20px;
}

.fixed-header .dropdown-item:hover {
    background: rgba(26, 127, 100, 0.08);
    color: #1a7f64;
}

.fixed-header .dropdown-item .item-badge {
    font-size: 9px;
    background: #1a7f64;
    color: #fff;
    padding: 1px 8px;
    border-radius: 50px;
    margin-left: auto;
}

.fixed-header .dropdown-divider {
    margin: 4px 0;
    border-color: #eef2f6;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-actions .btn-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #4a6a7e;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    position: relative;
    cursor: pointer;
}

.header-actions .btn-icon:hover {
    background: rgba(26, 127, 100, 0.08);
    color: #1a7f64;
    transform: translateY(-2px);
}

.header-actions .btn-icon .badge-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dc3545;
    border: 2px solid #fff;
}

.header-actions .btn-icon .badge-number {
    position: absolute;
    top: -4px;
    right: -4px;
    font-size: 9px;
    font-weight: 700;
    background: #dc3545;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.header-actions .lang-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 50px;
    border: 1.5px solid #e2e8f0;
    background: transparent;
    color: #1e3a5f;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s;
}

.header-actions .lang-toggle:hover {
    border-color: #1a7f64;
    color: #1a7f64;
    background: rgba(26, 127, 100, 0.04);
}

.header-actions .role-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 14px 4px 10px;
    border-radius: 50px;
    background: rgba(26, 127, 100, 0.08);
    color: #1a7f64;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid rgba(26, 127, 100, 0.10);
}

.header-actions .role-badge i {
    font-size: 13px;
}

.header-actions .btn-login {
    padding: 6px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    color: #fff;
    background: #1a7f64;
    border: none;
    transition: all 0.25s;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-actions .btn-login:hover {
    background: #0f604b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 127, 100, 0.25);
    color: #fff;
}

/* ============================================================ */
/* FOOTER - Enhanced & Responsive */
/* ============================================================ */
.footer {
    background: #0b2b4a;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 40px 40px 0 0;
    padding: 3.5rem 0 0;
    margin-top: 4rem;
    overflow: hidden;
}

.footer .footer-top {
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer .footer-brand .brand-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1a7f64, #0f604b);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    margin-bottom: 12px;
}

.footer .footer-brand h5 {
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 4px;
}

.footer .footer-brand p {
    font-size: 14px;
    opacity: 0.7;
    max-width: 320px;
    line-height: 1.6;
}

.footer h6 {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(26, 127, 100, 0.4);
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer ul li a i {
    font-size: 11px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.footer ul li a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer ul li a:hover i {
    opacity: 1;
    color: #1a7f64;
}

.footer .footer-stats {
    display: flex;
    gap: 30px;
    margin-top: 16px;
}

.footer .footer-stats .stat-item {
    text-align: center;
}

.footer .footer-stats .stat-item .number {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    display: block;
}

.footer .footer-stats .stat-item .label {
    font-size: 11px;
    opacity: 0.6;
}

.footer .social-icons {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer .social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer .social-icons a:hover {
    background: #1a7f64;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 127, 100, 0.25);
}

.footer .footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer .footer-bottom p {
    font-size: 13px;
    opacity: 0.6;
    margin: 0;
}

.footer .footer-bottom .footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer .footer-bottom .footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer .footer-bottom .footer-links a:hover {
    color: #fff;
}

.footer .footer-bottom .footer-links .version-badge {
    color: #1a7f64;
    font-weight: 600;
}

/* ============================================================ */
/* RESPONSIVE */
/* ============================================================ */
@media (max-width: 992px) {
    .fixed-header .navbar-brand .brand-text .sub {
        display: none;
    }

    .fixed-header .nav-link {
        padding: 0.5rem 0.8rem;
        font-size: 13px;
    }

    .header-actions .role-badge span {
        display: none;
    }

    .header-actions .lang-toggle span {
        display: none;
    }

    .header-actions .btn-login span {
        display: none;
    }

    .header-actions .btn-login {
        padding: 6px 12px;
    }

    .header-actions .btn-icon {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .footer .footer-top {
        padding-bottom: 1.5rem;
    }

    .footer .footer-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    /* Fix for mobile dropdown - keep menu open */
    .navbar-collapse {
        max-height: calc(100vh - 68px);
        overflow-y: auto;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2.5rem 0 3rem;
    }

    .fixed-header .navbar-brand .brand-text .main {
        font-size: 16px;
    }

    .fixed-header .navbar-brand .brand-icon {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .stat-card {
        padding: 1rem;
    }

    .footer {
        border-radius: 30px 30px 0 0;
        padding: 2rem 0 0;
    }

    .footer .footer-brand p {
        max-width: 100%;
    }

    .footer .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer .footer-bottom .footer-links {
        justify-content: center;
    }

    .header-actions .btn-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .header-actions .role-badge {
        padding: 2px 8px 2px 6px;
        font-size: 10px;
    }

    .header-actions .lang-toggle {
        padding: 3px 8px;
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .fixed-header .navbar-brand .brand-text .main {
        font-size: 14px;
    }

    .fixed-header .navbar-brand .brand-icon {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .header-actions .btn-icon {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .header-actions .btn-login {
        padding: 4px 10px;
        font-size: 11px;
    }

    .header-actions .btn-login i {
        font-size: 13px;
    }

    .header-actions .role-badge {
        padding: 2px 6px 2px 4px;
        font-size: 9px;
    }

    .header-actions .role-badge i {
        font-size: 11px;
    }

    .header-actions .lang-toggle {
        padding: 2px 6px;
        font-size: 10px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .footer .footer-stats .stat-item .number {
        font-size: 16px;
    }
}
