/* General Styles */
html, body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Header styles */
header {
    color: black;
    background-color: transparent;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.0);
    padding: 15px 30px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

header.scrolled {
    background-color: white;
    color: black;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.0);
}

.logo img {
    max-height: 33px;
}

/* Navigation Menu */
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: black;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    transition: color 0.3s, text-decoration 0.3s;
}

nav ul li a.active {
    color: #4B9FD0;
    text-decoration: underline;
}

nav ul li a:hover {
    color: #4B9FD0;
}

/* Button */
.main-button {
    background-color: transparent;
    color: black;
    border: 2px solid #4B9FD0;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 13px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.main-button:hover {
    background-color: #4B9FD0;
    color: white;
}

.floating-image {
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    position: relative;
    margin-top: 60px; /* This will pull it up slightly to overlap with the section above */
}

.floating-image img {
    max-width: 100%;
    height: auto;
    border-radius: 0px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.0);
    margin-bottom: -100px; /* Space between image and job listings */
}

/* Media query for responsive design */
@media (max-width: 768px) {
    .floating-image {
        margin-top: -30px;
        padding: 15px;
    }
    
    .floating-image img {
        margin-bottom: 30px;
    }
}

/* Careers Section */
.careers-section {
    
    max-width: 1140px;
    margin: 100px auto 40px;
    padding: 20px;
}

.careers-section i, 
.careers-section h2 {
    color: #4B9FD0;
}

.job-card {
    border: 1px solid #4B9FD0;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

/* Application Form */
#application-form {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    /* Removed the border */
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #4B9FD0;
    border-radius: 4px;
}

.form-group input[type="file"] {
    border: none;
    padding: 0;
}

.form-group input[type="file"]::file-selector-button {
    background-color: #4B9FD0;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}

.apply-btn {
    background-color: #4B9FD0;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.apply-btn:hover {
    background-color: #3a8cb9;
}

.submit-btn {
    background-color: #4B9FD0;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #3a8cb9;
}

.submit-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    transform: scale(0.7);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.modal.show .modal-content {
    transform: scale(1);
}

.success-icon {
    color: #4B9FD0;
    font-size: 60px;
    margin-bottom: 20px;
}

.modal-content h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 24px;
}

.modal-content p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.close-modal {
    background-color: #4B9FD0;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.close-modal:hover {
    background-color: #3a8cb9;
}

.view-details-btn {
    background-color: transparent;
    color: #4B9FD0;
    border: 1px solid #4B9FD0;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    transition: all 0.3s;
}

.view-details-btn:hover {
    background-color: #4B9FD0;
    color: white;
}

.job-description {
    margin: 15px 0;
    padding: 15px 0;
    border-top: 1px solid #4B9FD0;
    border-bottom: 1px solid #4B9FD0;
}

.job-description h4 {
    color: #4B9FD0;
    margin: 10px 0;
}

.job-description ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

/* Footer Section */
.footer-section {
    background-color: white; /* Black background */
    color: #666666; /* White text color */
    padding: 50px 20px;
}




.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1140px;
    margin: 0 auto;
}

.footer-logo-description {
    text-align: left;
    display: flex;
    flex-direction: column; /* Stack the logo and text */
    justify-content: flex-start; /* Align items at the top */
    gap: 15px; /* Add spacing between the logo and the text */
}

.footer-logo {
    width: 120px;
    margin-bottom: 15px;
}

.footer-logo-description p {
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.linkedin-link {
    color: #4B9FD0; /* Red for LinkedIn icon */
    text-decoration: none;
    font-size: 16px;
    margin-top: -30px;
}

.linkedin-link:hover {
    text-decoration: underline;
}



/* Contact Info */
.footer-contact-info h4,
.footer-useful-info h4,
.footer-newsletter h4 {
    font-size: 16px;
    font-weight: bold;
    color: #4B9FD0;
    margin-bottom: 10px;
}

.footer-contact-info p {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-contact-info i {
    color: #4B9FD0;
    margin-right: 10px;
}

/* Useful Info */
.footer-useful-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-useful-info li {
    margin-bottom: 10px;
}

.footer-useful-info a {
    color: #666666;
    text-decoration: none;
    font-size: 14px;
}

.footer-useful-info a:hover {
    color: #4B9FD0;
    text-decoration: underline;
}

/* Newsletter */
.footer-newsletter p {
    font-size: 14px;
    margin-bottom: 15px;
    color: #666666;
}

.newsletter-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.newsletter-form input {
    padding: 10px;
    border: 2px solid #4B9FD0;
    border-radius: 5px;
    font-size: 14px;
    flex: 1;
    background-color: white;
    color: #666666;
}

.newsletter-form input::placeholder {
    color: #666666;
    opacity: 0.8;
}

.newsletter-form button {
    background-color: white;
    border: 2px solid #4B9FD0;
    color: #4B9FD0;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #4B9FD0;
    color: white;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #4B9FD0;
    padding-top: 15px;
    font-size: 14px;
    color: #666666;
}

.newsletter-form {
    position: relative;
    margin-bottom: 10px;
}

#newsletter-message {
    font-size: 14px;
    margin-top: 5px;
    min-height: 20px;
}

.newsletter-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}