* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    width: 100%;
    overflow-x: hidden;
    color: #333;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
    padding: 0 5%;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Top Bar */
.top-bar {
    background-color: #0d5a26;
    color: white;
    font-size: 13px;
    width: 100%;
}

/* Hamburger Menu - Hidden on desktop */
.hamburger {
    display: none;
}

/* Header */
.header {
    background-color: #117331;
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.logo-text h1 {
    color: white;
    font-size: 17px;
    font-weight: 600;
}

.logo-text p {
    color: #d0d0d0;
    font-size: 11px;
}

.nav {
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    white-space: nowrap;
    position: relative;
    padding-bottom: 5px;
    display: inline-flex;
    align-items: center;
    height: 38px;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #FFD700;
    transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.nav a:hover,
.nav a.active {
    color: white;
}

.btn-login {
    background-color: #FFD700;
    color: #000000 !important;
    padding: 0;
    border-radius: 5px;
    font-weight: 600;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    height: 38px;
    min-width: 90px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.btn-login::after {
    display: none;
}

.btn-login:hover {
    background-color: #FFC700;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.btn-login.hidden {
    display: none;
}

.btn-logout {
    background-color: #e53935;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(229, 57, 53, 0.3);
}

.btn-logout:hover {
    background-color: #c62828 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.4);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('../images/HeroBg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 5% 5%;
    width: 100%;
    justify-content: flex-start;
    flex: 1;
}

.hero-content {
    max-width: 55%;
    margin-left: 5%;
    text-align: left;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.25);
    color: #32CD32;
    padding: 0.8vw 2vw;
    border-radius: 25px;
    font-size: clamp(12px, 0.9vw, 16px);
    margin-bottom: 2%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #32CD32;
    border-radius: 50%;
    display: inline-block;
}

.hero-title {
    font-size: clamp(36px, 4vw, 72px);
    color: white;
    margin-bottom: 2%;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.highlight {
    color: #32CD32;
}

.hero-description {
    color: #e0e0e0;
    font-size: clamp(14px, 1.2vw, 22px);
    line-height: 1.8;
    max-width: 90%;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    color: white;
    padding: 20px 0;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
}

.footer-bottom {
    text-align: center;
    color: #999;
    font-size: 13px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive */
@media (min-width: 1921px) {
    .container {
        max-width: 2400px;
    }
    
    .hero-content {
        max-width: 45%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 4%;
    }
    
    /* Hide Top Bar on Mobile */
    .top-bar {
        display: none;
    }
    
    .header {
        padding: 3% 0;
        position: relative;
    }
    
    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        gap: 10px;
    }
    
    .logo img {
        width: 40px;
        height: 40px;
    }
    
    .logo-text h1 {
        font-size: 15px;
    }
    
    .logo-text p {
        font-size: 10px;
    }
    
    /* Hide navigation on mobile */
    .nav {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #117331;
        flex-direction: column;
        align-items: center;
        gap: 0;
        z-index: 999;
        padding: 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        opacity: 0;
        pointer-events: none;
    }
    
    .nav.active {
        max-height: 600px;
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav.closing {
        max-height: 0;
        opacity: 0;
        pointer-events: none;
    }
    
    .nav a {
        font-size: 16px;
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        margin: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transform: translateX(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        position: relative;
        text-decoration: none;
    }
    
    .nav a::after {
        display: none;
    }
    
    .nav a.active {
        text-decoration: underline;
        text-decoration-color: #ffc107;
        text-decoration-thickness: 3px;
        text-underline-offset: 8px;
    }
    
    .nav.active a {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav.active a:nth-child(1) { transition-delay: 0.1s; }
    .nav.active a:nth-child(2) { transition-delay: 0.15s; }
    .nav.active a:nth-child(3) { transition-delay: 0.2s; }
    .nav.active a:nth-child(4) { transition-delay: 0.25s; }
    .nav.active a:nth-child(5) { transition-delay: 0.3s; }
    .nav.active a:nth-child(6) { transition-delay: 0.35s; }
    .nav.active a:nth-child(7) { transition-delay: 0.4s; }
    .nav.active a:nth-child(8) { transition-delay: 0.45s; }
    .nav.active a:nth-child(9) { transition-delay: 0.5s; }
    
    .nav a:last-child {
        border-bottom: none;
    }
    
    .nav .btn-login {
        width: 80%;
        max-width: 300px;
        margin: 15px auto;
        padding: 12px 20px;
        border-radius: 8px;
        background: #ffc107;
        color: #117331;
        font-weight: 700;
        border-bottom: none;
    }
    
    /* Hamburger Menu */
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1000;
        padding: 10px;
    }
    
    .hamburger span {
        width: 28px;
        height: 3px;
        background: white;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .hero {
        min-height: 70vh;
        padding: 10% 4%;
    }
    
    .hero-content {
        max-width: 90%;
        margin-left: 0;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 60vh;
    }
    
    .hero-content {
        max-width: 100%;
    }
}
