:root {
    --tmu-blue: #0054a5;
    --tmu-blue-hover: #004080;
    --tmu-dark-blue: #003366;
    --tmu-light-bg: #f5f7fa;
    --tmu-footer-bg: #f0f2f5;
    --tmu-text: #212529;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: white;
    color: var(--tmu-text);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    padding: 15px 0;
}

.header.transparent {
    background-color: transparent;
    box-shadow: none;
}

.header.scrolled {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    height: 65px;   
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text-vn {
    font-size: 16px;
    font-weight: 700;
    color: var(--tmu-blue);
    line-height: 1.2;
}

.logo-text-en {
    font-size: 14px;
    color: var(--tmu-blue);
    line-height: 1.2;
}

/* Apply white text color to header when transparent */
.header.transparent .logo-text-vn,
.header.transparent .logo-text-en,
.header.transparent .login-register a,
.header.transparent .language-selector,
.header.transparent .search-btn {
    color: white;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: var(--tmu-text);
    cursor: pointer;
}

.language-selector i {
    font-size: 12px;
}

.login-register a {
    color: var(--tmu-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.login-register a:hover {
    color: var(--tmu-blue);
}

.search-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--tmu-text);
    cursor: pointer;
    transition: color 0.2s;
}

.search-btn:hover {
    color: var(--tmu-blue);
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    height: 100vh;
    background-image: url('Assets/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 50px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.start-btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 30px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.start-btn:hover {
    background-color: white;
    color: var(--tmu-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.wave-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,64L48,80C96,96,192,128,288,149.3C384,171,480,181,576,165.3C672,149,768,107,864,101.3C960,96,1056,128,1152,138.7C1248,149,1344,139,1392,133.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 3;
}

/* Content Section Styles */
.content-section {
    padding: 50px 0;
    background-color: white;
    min-height: 400px;
}

/* Footer Styles */
.footer {
    background-color: #f8f9fa;
    padding: 40px 0;
    margin-top: auto;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.footer-logo {
    width: 350px;
    margin-bottom: auto;
}

.footer h2 {
    color: #000000;
    text-transform: uppercase;
    font-size: 18px;
    margin-bottom: 10px;
}

.footer h3 {
    color: #000000;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-info {
    width: 45%;
}

.campus-info {
    margin-top: 20px;
}

.campus-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.campus-details p {
    margin-bottom: 5px;
    color: #555;
    font-size: 14px;
}

.copyright {
    text-align: center;
    color: #777;
    font-size: 12px;
    padding: 15px 0;
    background-color: #f0f2f5;
}


.login-button {
    width: 100%;
    padding: 12px;
    background-color: #0275d8;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-button:hover {
    background-color: #025aa5;
}

.cookie-notice {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.footer {
    background-color: #f8f9fa;
    padding: 40px 0;
    margin-top: auto;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.footer-logo {
    width: 350px;
    margin-bottom: auto;
}

.footer h2 {
    color: #000000;
    text-transform: uppercase;
    font-size: 18px;
    margin-bottom: 10px;
}

.footer h3 {
    color: #000000;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-info {
    width: 45%;
}

.campus-info {
    margin-top: 20px;
}

.campus-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.campus-details p {
    margin-bottom: 5px;
    color: #555;
    font-size: 14px;
}

.copyright {
    text-align: center;
    color: #777;
    font-size: 12px;
    padding: 15px 0;
    background-color: #f0f2f5;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 450px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

.modal-content h2 {
    font-size: 22px;
    margin-bottom: 30px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.modal-content input[type="text"],
.modal-content input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    background-color: #f0f8ff;
}

.modal-content input::placeholder {
    color: #888;
}

.modal-content button[type="submit"] {
    width: 100%;
    background-color: #0098db;
    color: white;
    border: none;
    padding: 12px 0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    margin-top: 10px;
}

.modal-content button[type="submit"]:hover {
    background-color: #0088cc;
}

.close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
    background-color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.close:hover {
    color: #333;
}

/* Checkbox and Remember Me */
.remember-me {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 15px;
    text-align: left;
}

.remember-me input[type="checkbox"] {
    margin-right: 8px;
}

.remember-me label {
    font-size: 14px;
    color: #555;
}

/* Forgot Password Link */
.forgot-password {
    text-align: right;
    margin-bottom: 20px;
}

.forgot-password a {
    color: #0098db;
    font-size: 14px;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}
/* Media Queries */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .footer-info {
        flex-direction: column;
    }
    
    .logo-text-vn {
        font-size: 14px;
    }
    
    .logo-text-en {
        font-size: 12px;
    }
    
    .header-right {
        gap: 10px;
    }
    
    .language-selector {
        display: none;
    }

    .campus {
        margin-bottom: 30px;
    }
    
    .wave-separator {
        height: 50px;
    }
    
    .footer::before {
        height: 80px;
        top: -80px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 28px;
    }
    
    .start-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .login-modal {
        width: 90%;
        padding: 20px 15px;
    }
    
    .wave-separator {
        height: 70px;
    }
    
    .footer::before {
        height: 60px;
        top: -60px;
    }
}