/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    background-image: url('../images/generalbg.jpg');
    background-position: center;
    background-size: cover;
    position: relative;
    padding-left: 20px;
}

h2 {
    font-size: 1.8rem;
    /* For large screens */
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.4rem;
        /* Smaller screens */
    }
}

.signup-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 900px; /* Adjusted for better alignment */
    width: 100%;
    height: 100%; /* Full height for the container */
}

.signup-container {
    flex: 1;
    background: rgba(15, 0, 82, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    box-sizing: border-box;
    max-width: 45%; /* Ensure width consistency */
    height: 450px; /* Set height for the form box */
    display: flex;
    flex-direction: column; /* Stack children vertically */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center inputs horizontally */
}

.signup-container h2 {
    margin: 0 0 1.5rem;
    font-size: 1.8rem; /* Slightly larger */
    color: white;
    text-align: center;
}

.signup-container p{
    color: white;
}

.signup-container p a{
    color: white;
    font-style: italic;
}

form {
    width: 100%;
    display: flex;
    flex-direction: column; /* Stack form elements vertically */
    align-items: center; /* Center inputs horizontally */
    gap: 1.5rem; /* Add spacing between inputs */
}

.input-field {
    width: 90%; /* Adjust input field width */
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.input-field i {
    margin-right: 1rem;
    color: #555;
}

.input-field input {
    border: none;
    outline: none;
    width: 100%;
    background: transparent;
    font-size: 1rem;
    color: #333;
}

.input-field input::placeholder {
    color: #aaa;
}

.signup-btn {
    width: 90%; /* Align button with inputs */
    padding: 1rem;
    background: darkblue;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem; /* Add spacing between the inputs and the button */
}

.signup-btn:hover {
    background: lightblue;
}

.image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    max-width: 50%; /* Ensure width consistency */
    height: auto;
}

.image-container img {
    max-width: 100%;
    height: 70vh;
    object-fit: contain;
    border-radius: 10px; /* Matches form box styling */
}

/*footer*/
/*footer*/
.footer {
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px 0;
    width: 100vw;
    margin: 0;
    position: fixed;
    bottom: 0;
    left: 0;
}

.footer-content {
    width: 100%;
    max-width: 1200px; /* Optional max-width for content */
    padding: 0 20px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-align: left;
}

.footer-logo img {
    width: 50px;
    height: auto;
    margin-right: 20px; /* Space between logo image and text */
}

.footer-logo h2 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}
.footer-logo p {
    font-size: 14px;
    color: grey;
    margin-left: 20px;
}
.footer-text {
    font-size: 14px;
    color: white;
}

/* Footer links styling remains the same */
.footer {
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 10px 0; /* Reduced padding for compact layout */
    width: 100vw;
    position: fixed;
    bottom: 0;
    left: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between; /* Distribute content horizontally */
    align-items: center;
    max-width: 1200px; /* Constrain footer width */
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo img {
    width: 40px; /* Logo size */
    height: auto;
    margin-right: 15px;
}

.footer-logo h2 {
    font-size: 16px;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 50px; /* Space between link sections */
}

.footer-links div {
    text-align: left;
}

.footer-links h3 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.footer-links a {
    font-size: 12px;
    color: white;
    text-decoration: none;
    display: block;
}

.footer-links a:hover {
    color: grey;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        flex-wrap: wrap; /* Allow wrapping for smaller screens */
        gap: 20px;
    }

    .footer-logo {
        flex-basis: 100%; /* Take full width */
        justify-content: center;
        margin-bottom: 10px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .footer-links div {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        flex-direction: column; /* Stack for very small screens */
        gap: 10px;
        padding: 5px;
    }

    .footer-logo img {
        width: 30px; /* Smaller logo */
    }

    .footer-links h3 {
        font-size: 12px;
    }

    .footer-links a {
        font-size: 10px;
    }
}

/* For tablets (screens <= 768px) */
@media (max-width: 768px) {
    .signup-wrapper {
        flex-direction: column;
        /* Stack form and image */
        align-items: center;
        padding: 1rem;
    }

    .signup-container {
        max-width: 90%;
        /* Adjust form size */
        height: auto;
        /* Let content determine height */
    }

    .image-container {
        max-width: 100%;
        margin-top: 1rem;
    }

    .image-container img {
        max-height: 50vh;
        /* Restrict image height */
    }

    .footer-content {
        flex-direction: column;
        /* Stack footer content */
        gap: 20px;
        text-align: center;
    }
}

/* For mobile devices (screens <= 480px) */
@media (max-width: 480px) {
    .signup-container {
        padding: 1rem;
        max-width: 100%;
    }

    h2 {
        font-size: 1.5rem;
        /* Adjust title size */
    }

    .input-field {
        width: 100%;
        /* Make input fields take full width */
    }

    .signup-btn {
        width: 100%;
        /* Button matches input width */
    }

    .image-container img {
        max-height: 40vh;
        /* Further reduce image height */
    }

    .footer-logo h2,
    .footer-text,
    .footer-links h3 {
        font-size: 14px;
    }

    .footer-links a {
        font-size: 12px;
    }
}

