/* General Styles */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #2a4365;
    background-color: #f9f9f9;
}

/* Navbar Styles */
nav {
    position: fixed;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(234, 248, 247, 0.9);
    border-bottom: 1px solid rgba(0, 180, 216, 0.2);
    z-index: 1000;
    height: 60px; /* Fixed height for the navbar */
    box-sizing: border-box; /* Ensure padding is included in height */
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--deep-sea);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-blue);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--deep-sea);
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* Main Content Styles */
.main-content {
    padding-top: 80px; /* Add padding to avoid content being hidden under the fixed navbar */
    padding-bottom: 40px; /* Add padding at the bottom for spacing */
}

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



/* Sign-Up and Sign-In Form Styles */
.signup-form,
.signin-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.signup-form h2,
.signin-form h2 {
    font-size: 2rem;
    color: #023e8a;
    margin-bottom: 1.5rem;
    text-align: center; /* Ensure heading is centered */
}

.signup-form p,
.signin-form p {
    font-size: 1.1rem;
    color: #44677f;
    text-align: center; /* Ensure description is centered */
    margin-bottom: 2rem;
}

.signup-form .form-group,
.signin-form .form-group {
    margin-bottom: 1.5rem;
}

.signup-form .form-group label,
.signin-form .form-group label {
    display: block;
    font-size: 1rem;
    color: #2a4365;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.signup-form .form-group input,
.signin-form .form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    color: #2a4365;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.signup-form .form-group input:focus,
.signin-form .form-group input:focus {
    border-color: #00b4d8;
    box-shadow: 0 0 10px rgba(0, 180, 216, 0.2);
    outline: none;
}

.signup-form .submit-btn,
.signin-form .submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: #023e8a;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.signup-form .submit-btn:hover,
.signin-form .submit-btn:hover {
    background-color: #022c63;
    transform: translateY(-2px);
}

.signup-link,
.signin-link {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 1rem;
    color: #2a4365;
}

.signup-link a,
.signin-link a {
    color: #023e8a;
    text-decoration: none;
    font-weight: 600;
}

.signup-link a:hover,
.signin-link a:hover {
    text-decoration: underline;
}

/* Remember Me and Forgot Password */
.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.remember-forgot label {
    display: flex;
    align-items: center; /* Vertically center checkbox and text */
    gap: 0.5rem; /* Space between checkbox and text */
    font-size: 0.95rem;
    color: #2a4365;
    margin: 0; /* Remove default margin */
}

.remember-forgot input[type="checkbox"] {
    margin: 0; /* Remove default margin */
    width: 16px; /* Set a fixed width for the checkbox */
    height: 16px; /* Set a fixed height for the checkbox */
}

.remember-forgot a {
    color: #023e8a;
    text-decoration: none;
    font-size: 0.95rem;
}

.remember-forgot a:hover {
    text-decoration: underline;
}

/* Footer Styles */
.footer {
    background-color: #f3fafb;
    color: #2a4d53;
    padding: 40px 20px;
    font-family: Arial, Helvetica, sans-serif;
    box-shadow: 0 -3px 6px rgba(0, 0, 0, 0.1);
}

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

.footer-about,
.footer-links,
.footer-contact {
    flex: 1;
    min-width: 250px;
    margin: 10px 20px;
}

.footer-about h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #0056b3;
}

.footer-about p {
    font-size: 15px;
    line-height: 1.8;
    text-align: justify;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #0056b3;
}

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

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

.footer-links ul li a {
    color: #1b3136;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #007bff;
}

.footer-contact p {
    font-size: 15px;
    line-height: 1.6;
}

.footer-contact a {
    color: #0056b3;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-policy {
    text-align: center;
    margin-top: 20px;
    font-size: 15px;
}

.footer-policy a {
    color: #0056b3;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-policy a:hover {
    color: #007bff;
}

.footer-bottom {
    text-align: center;
    padding: 10px;
    background-color: #e9f5f7;
    margin-top: 20px;
    font-size: 14px;
    color: #4b4b4b;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.back-to-top a {
    background-color: #1d7478;
    color: #ffffff;
    font-size: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.back-to-top a:hover {
    background-color: #144e56;
    transform: scale(1.1);
}

.back-to-top i {
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .signup-form,
    .signin-form {
        padding: 1.5rem;
    }

    .signup-form h2,
    .signin-form h2 {
        font-size: 1.8rem;
    }

    .signup-form p,
    .signin-form p {
        font-size: 1rem;
    }

    .signup-form .form-group input,
    .signin-form .form-group input {
        font-size: 0.95rem;
        padding: 0.7rem;
    }

    .submit-btn {
        font-size: 1rem;
        padding: 0.9rem;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-about,
    .footer-links,
    .footer-contact {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .signup-form,
    .signin-form {
        padding: 1rem;
    }

    .signup-form h2,
    .signin-form h2 {
        font-size: 1.6rem;
    }

    .signup-form p,
    .signin-form p {
        font-size: 0.95rem;
    }

    .signup-form .form-group input,
    .signin-form .form-group input {
        font-size: 0.9rem;
        padding: 0.6rem;
    }

    .submit-btn {
        font-size: 0.95rem;
        padding: 0.8rem;
    }

    .footer-about,
    .footer-links,
    .footer-contact {
        min-width: 100%;
        margin: 10px 0;
    }
}