/* Reset mặc định */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    background: url('https://jxmu.vn/include/web_skins/fova/images/bg_header.jpg') no-repeat center center fixed, #1a0f07;
    font-family: 'Roboto', Arial, sans-serif;
    color: #e0e0e0;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column; /* Ensure content stacks vertically */
}

/* Menu Icon */
.menu-icon {
    display: none;
    font-size: 28px;
    cursor: pointer;
    position: fixed;
    top: 35px;
    left: 35px;
    color: #ffffff;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.menu-icon i {
    font-size: 24px;
}

.menu-icon:hover {
    transform: scale(1.05);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 220px;
    height: calc(100vh - 40px);
    background: #2c2f33;
    border: 2px solid #FFD700;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 0 8px rgba(255, 215, 0, 0.2);
    transition: transform 0.3s ease;
    z-index: 1000;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.navbar.show {
    transform: translateX(0);
}

.navbar li {
    list-style: none;
    margin: 15px 0;
    width: 100%;
    text-align: center;
}

.navbar a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 15px;
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.navbar a i {
    margin-right: 10px;
    font-size: 18px;
    color: #FFD700;
}

.navbar a:hover {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.15);
    transform: translateX(5px);
}

.navbar a:hover i {
    color: #ffffff;
}

/* Container */
.container {
    margin: 70px 20px 20px 260px;
    max-width: calc(100% - 280px);
    padding: 20px;
    background: rgba(44, 47, 51, 0.9);
    border: 1px solid #4a4a4a;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    flex: 1; /* Take up remaining space to push footer down */
}

/* Tiêu đề */
h1, h2 {
    color: #ffffff;
    text-align: center;
    font-family: 'Roboto', serif;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

h1 i, h2 i {
    margin-right: 10px;
    font-size: 0.9em;
    color: #FFD700;
}

h1 {
    font-size: 32px;
    letter-spacing: 1px;
}

h2 {
    font-size: 24px;
    padding-bottom: 8px;
    border-bottom: 1px solid #4a4a4a;
}

/* Nội dung */
p {
    margin: 10px 0;
    font-size: 16px;
    font-weight: 400;
}

b, strong {
    color: #ffffff;
    font-weight: 600;
}

/* Danh sách */
ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    margin: 12px 0;
    padding-left: 35px;
    position: relative;
    font-size: 16px;
}

ul li:before {
    content: none;
}

ul li i {
    position: absolute;
    left: 0;
    color: #FFD700;
    font-size: 18px;
}

/* Nút Call-to-Action */
.button {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #FFD700;
    color: #1c2526;
    text-decoration: none;
    border-radius: 6px;
    margin: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.button i {
    margin-right: 8px;
    font-size: 16px;
}

.button:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

/* Hình ảnh */
.bbImage {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #4a4a4a;
    transition: transform 0.3s ease;
}

.bbImage:hover {
    transform: scale(1.02);
}

/* Highlight */
.highlight {
    color: #b0b0b0;
    font-weight: 600;
}

/* Footer */
.footer {

    color: #e0e0e0;
    text-align: center;
    padding: 20px;
  /*   border-top: 1px solid #4a4a4a; */
    width: 100%;
    margin-top: auto; /* Stick to bottom of flex container */
}

.footer p {
    margin: 8px 0;
    font-size: 14px;
}

.footer a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #e6c200;
}

.footer i {
    margin-right: 8px;
    font-size: 16px;
    color: #FFD700;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
        font-size: 24px;
        top: 10px;
        left: 10px;
    }
    .menu-icon i {
        font-size: 20px;
    }
    .navbar {
        width: 200px;
        top: 0;
        left: 0;
        height: 100vh;
        border: none;
        border-radius: 0;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
        transform: translateX(-100%);
        justify-content: center;
        align-items: center;
    }
    .navbar.show {
        transform: translateX(0);
    }
    .navbar li {
        margin: 10px 0;
    }
    .navbar a {
        font-size: 14px;
        padding: 8px 12px;
    }
    .navbar a i {
        font-size: 16px;
    }
    .container {
        margin: 70px 10px;
        padding: 15px;
        max-width: calc(100% - 20px);
    }
    h1 {
        font-size: 24px;
    }
    h1 i {
        font-size: 20px;
    }
    h2 {
        font-size: 20px;
    }
    h2 i {
        font-size: 18px;
    }
    p, ul li {
        font-size: 14px;
    }
    ul li i {
        font-size: 16px;
    }
    .button {
        padding: 8px 15px;
        font-size: 13px;
    }
    .button i {
        font-size: 14px;
    }
    .bbImage {
        margin: 15px 0;
    }
    .footer {
        padding: 15px;
    }
    .footer p {
        font-size: 13px;
    }
    .footer i {
        font-size: 14px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .menu-icon {
        display: none;
    }
    .navbar {
        width: 200px;
        top: 15px;
        left: 15px;
        height: calc(100vh - 30px);
        border: 2px solid #FFD700;
        border-radius: 6px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 0 8px rgba(255, 215, 0, 0.2);
        transform: translateX(0);
        justify-content: center;
        align-items: center;
    }
    .navbar a i {
        font-size: 16px;
    }
    .container {
        margin: 70px 15px 20px 230px;
        padding: 20px;
        max-width: calc(100% - 260px);
    }
    h1 {
        font-size: 28px;
    }
    h1 i {
        font-size: 24px;
    }
    h2 {
        font-size: 22px;
    }
    h2 i {
        font-size: 20px;
    }
    .navbar a {
        font-size: 15px;
        padding: 8px 14px;
    }
    .button {
        padding: 9px 20px;
    }
    .button i {
        font-size: 15px;
    }
    .footer {
        padding: 18px;
    }
}

@media (min-width: 1025px) {
    .menu-icon {
        display: none;
    }
    .navbar {
        width: 220px;
        top: 20px;
        left: 20px;
        height: calc(100vh - 40px);
        border: 2px solid #FFD700;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 0 8px rgba(255, 215, 0, 0.2);
        transform: none;
        justify-content: center;
        align-items: center;
    }
    .container {
        margin: 70px 20px 20px 260px; /* Reverted to 70px for better balance */
        max-width: calc(100% - 280px);
    }
    .navbar a {
        padding: 10px 15px;
    }
    .navbar a i {
        font-size: 18px;
    }
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    border: 1px solid #4a4a4a;
    padding: 10px;
    text-align: left;
    font-size: 14px;
}

th {
    background: #2c2f33;
    color: #ffffff;
    font-weight: 600;
}