/* Reset the default margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Set full height for the body and HTML */
html, body {
    height: 100%;
    margin: 0;
}

/* Background image for full-screen background */
body {
    background-image: url('../img/bg01.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
}

/* Add green overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(45, 106, 79, 0.9);
    z-index: -1;
}

/* Full height container with a dark overlay */
.full-height {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Login container styles */
.container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.header-text {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    color: #333;
}

.sub-text {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 20px;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background: #2d6a4f;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background: #1b4332;
}

.text-center {
    text-align: center;
    color: #666;
}

.text-decoration-none {
    color: #2d6a4f;
    text-decoration: none;
    font-weight: bold;
}

.text-decoration-none:hover {
    text-decoration: underline;
}

/* Your existing styles */
.content-wrapper {
    text-align: center;
    padding: 20px;
    width: 100%;
    max-width: 1200px;
}

.logo {
    font-size: 3rem;
    font-weight: 300;
    color: white;
}

.logo-sub {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.heading-text {
    color: white;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.5;
    margin-top: 5%;
    text-align: center;
    margin-bottom: 10px;
}

.sub-text2 {
    color: white;
    font-size: 17px;
    line-height: 1.6;
    font-weight: 400;
    text-align: center;
    margin-top: 20px;
}

/* Existing button styles */
.login-btn.btn-primary {
    background-color: #007bff;
    color: white;
}

.login-btn.btn-primary:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.register-btn {
    background-color: rgba(240, 248, 255, 0.589);
    color: #345cc4;
}

.register-btn:hover {
    background-color: #cce7ff;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.action-buttons a {
    margin: 0 10px;
}

footer {
    margin-top: 50px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* Your existing media queries */
@media screen and (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .card {
        padding: 30px;
    }
    
    .header-text {
        font-size: 24px;
    }
    
    .logo {
        font-size: 2.5rem;
    }

    .logo-sub {
        font-size: 1rem;
    }

    .heading-text {
        font-size: 30px;
    }

    .sub-text2 {
        font-size: 15px;
        line-height: 1.4;
    }

    .cta-buttons {
        flex-direction: column;
    }

    button {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .card {
        padding: 20px;
    }
    
    .header-text {
        font-size: 22px;
    }
    
    .heading-text {
        font-size: 24px;
    }

    .sub-text2 {
        font-size: 14px;
    }

    .logo {
        font-size: 2rem;
    }
}