/* Full-page background styling */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-image: url('../img/bkgrnd_register2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh; /* Ensures full viewport height */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
}

/* Container for the registration form */
.registration-container {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 350px;
    flex-grow: 1;
    margin-top: 100px; /* Adjust margin-top for spacing */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Center the content within the form */
}

/* Form heading */
.registration-container h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
}

/* Form group styling */
.form-group {
    margin-bottom: 10px;
    width: 100%; /* Ensure inputs take full width */
}

/* Input fields */
.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

/* Submit button */
.cta-btn {
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.cta-btn:hover {
    background-color: #218838;
}

/* Footer styling */
footer {
    background-color: rgba(0, 0, 0, 0.8); /*#343a40;*/
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    width: 100%;
}

/* Footer sections */
.footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    margin: 20px 0;
}

.company-info h4,
.social-media h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Social media icons */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    display: inline-block;
    transition: transform 0.3s;
}

.social-icons img {
    width: 40px;
    height: 40px;
}

.social-icons img:hover {
    transform: scale(1.1);
}

/* Footer bottom */
.footer-bottom {
    background-color: #212529;
    padding: 10px 0;
    margin-top: 20px;
    width: 100%;
}

.footer-bottom p {
    margin: 0;
}

/* Adjustments for mobile view */
@media (max-width: 700px) {
    .cta-btn {
        margin-bottom: 20px;
    }

    .registration-container {
        margin-top: 150px;
        width: 70%;
        padding-bottom: 50px;
    }
}

/* Footer at the bottom on larger screens */
@media (min-width: 700px) {
    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    footer {
        margin-top: auto;
    }
}

/* Image preview styling */
.passport-preview {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 10px auto;
    border: 2px solid #ccc;
}
