* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: Arial, sans-serif;
}

.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Add to your CSS file */
input[type="file"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
}

/* .validation-error {
    border-color: red !important;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
} */

/* Style for datalist dropdown */
/* #position-suggestions {
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    max-height: 150px;
    overflow-y: auto;
    z-index: 1000;
} */

.suggestions-container {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    width: 100%; /* Match the input width */
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    top: 100%; /* Position below the input */
    left: 0;
    margin-top: 2px;
}

.suggestion-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.suggestion-item:hover, .suggestion-focused {
    background-color: #f0f8ff;
}

.validation-error {
    border-color: red !important;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

/* Make sure the parent container has relative positioning */
.form-right {
    position: relative;
}

.form-right h1 {
    margin-left: 20px;
}

.form-right p {
    margin-left: 20px;
}

/* Ensure the input field is properly styled */
#position {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
}

.top-header .social-icons a {
    color: #fff;
    margin-right: 10px;
    text-decoration: none;
    font-size: 1.2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px; 
}

.contact-info span {
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 8px; 
    color: #333; 
}


.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: aliceblue;
    padding: 15px 20px;
    height: 100px;
}

/* .main-header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: auto;
} */

.logo {
    text-align: center; /* Center the logo */
    margin-bottom: 10px; /* Add some space below the logo */
}

.logo img {
    margin-top: 20px;
    width: 400px; /* Set a width for the logo */
    height: auto; /* Maintain the aspect ratio */
    max-width: 100%; /* Ensure it is responsive */
}

.main-header .nav-menu a {
    margin-left: 15px;
    text-decoration: none;
    color: #333;
    padding: 5px 10px;
}

.main-header .apply-now {
    background-color: #007bff;
    color: #fff;
    padding: 5px 15px;
    border-radius: 5px;
    text-decoration: none;
}

.page-content {
    padding: 20px;
    flex: 1;
}

.main-footer {
    background-color: skyblue;
    color: #fff;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-logo img {
    width: 400px; /* Set a width for the logo */
    height: auto; /* Maintain aspect ratio */
    max-width: 100%; /* Responsive: ensure it doesn't overflow */
}

.footer-info {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: 10px 0;
}

.footer-info .address,
.footer-info .email,
.footer-info .phone {
    flex: 1;
    text-align: center;
}

.footer-social-icons {
    margin-top: 10px;
}

.footer-social-icons a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
    font-size: 1.2rem;
}

.hamburger-menu {
    display: none;
}

/* @media (max-width: 1200px) {
    .form-right h1 {
        margin-left: 20px;
    }
}

@media (max-width: 1300px) {
    .form-right h1 {
        margin-left: -200px;
    }
}

@media (max-width: 1400px) {
    .form-right p {
        margin-left: 40px;
    }
}
*/

@media (max-width: 1500px) {
    .form-right h1 {
        margin-left: 40px;
    }
}

@media (max-width: 1500px) {
    .form-right p {
        margin-left: 40px;
    }
}

@media (max-width: 1600px) {
    .form-right h1 {
        margin-left: 40px;
    }
}

@media (max-width: 1600px) {
    .form-right p {
        margin-left: 40px;
    }
}

@media (max-width: 768px) {
    .main-header, .top-header, .footer-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .main-header .logo, .main-footer .footer-logo {
        margin: 0;
    }

    .footer-info {
        flex-direction: column;
        gap: 10px;
    }

    .main-header .nav-menu a {
        margin: 5px 0;
    }
}

@media (max-width: 400px) {
    /* Main header styling with padding to keep logo and toggle button inside */
    .main-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px; /* Adjust padding as needed */
        background-color: aliceblue;
        position: relative;
    }

    /* Logo styling within the main-header, positioned on the left */
    .logo {
        position: absolute;
        top: 10px;
        left: 10px; /* Move to the left top corner */
        margin: 0;
    }

    .logo img {
        width: 200px; /* Adjusted size for smaller screens */
        height: auto;
        margin-top: -50px;
        margin-left: -30px;
    }

    /* Hamburger menu icon styling, positioned on the right */
    .hamburger-menu {
        display: block;
        font-size: 1.5rem;
        color: #333;
        cursor: pointer;
        position: absolute;
        top: 20px;
        right: 10px; /* Move to the right top corner */
        margin: 0;
    }

    /* Nav menu styling as a dropdown */
    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: center;
        background-color: #fff;
        position: absolute;
        top: 100%; /* Position just below the main-header */
        right: 10px;
        width: 80%;
        padding: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 10;
    }

    /* Display nav menu when active */
    .nav-menu.active {
        display: flex;
    }

    /* Style for nav menu links */
    .nav-menu a {
        color: #333;
        padding: 10px 0;
        text-align: center;
        width: 100%;
        border-bottom: 1px solid #ccc;
    }
}

