/* General Styles for Career Page */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
}

/* Container Styles */
.container {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 95%;
    margin: 80px 0;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.container:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Content Styles */
.content {
    flex: 1;
    padding-left: 30px;
}

.content h1 {
    font-size: 3.8em;
    color: #0e5c72;
    line-height: 1.2;
    margin-top: 0;
    transition: color 0.3s ease-in-out;
    animation: slideIn 1s ease-in-out;
}

.content h1:hover {
    color: #3498db;
}

.content h2 {
    font-size: 1.5em;
    color: #a3a3a3;
    margin-bottom: 20px;
}

.content p {
    font-size: 1.5em;
    color: #333;
    line-height: 1.8;
    margin-bottom: 20px;
    font-family: 'Cambria', Cochin, Georgia, Times, 'Times New Roman', serif;
    animation: fadeIn 1.5s ease-in-out;
}

/* Image Styles */
.image {
    flex: 1;
    padding: 10px;
}

.image img {
    width: 80%;
    border-radius: 10px;
    animation: zoomIn 1.5s ease-in-out;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.image img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Form Container Styles */
.form-container {
    margin-top: 20px;
    width: 75%;
    display: flex;
    justify-content: center;
    background-image: url('/images/contact2.png');
    background-size: contain;
    border-radius: 10px;
    background-repeat: repeat;
    margin-left: 200px;
}

.contact-form {
    border: 2px solid rgb(233, 219, 219);
    width: 70%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
}

.contact-form h3 {
    font-size: 2.9em;
    color: #1d4646;
    margin-bottom: 20px;
    text-align: center;
    margin-top: 0;
    text-decoration: underline;
}

.contact-form label {
    margin-bottom: 6px;
    font-size: 1em;
    color: #2a2929;
}

.contact-form input,
.contact-form select {
    width: 80%;
    padding: 10px;
    margin-bottom: 8px;
    border: 2px solid #969595;
    border-radius: 5px;
}

.contact-form textarea {
    width: 80%;
    height: 8rem;
    margin-bottom: 1.5rem;
}

.contact-form button {
    background-color: #348258;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    width: 110px;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.contact-form button:hover {
    background-color: #2b7048;
    transform: scale(1.05);
}

/* Additional Info Styles */
.additional-info {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding-left: 50px;
    margin-top: 20px;
    border-radius: 10px;
    width: 95%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.map-container {
    flex: 0.5;
    padding-right: 20px;
}

.map-container img {
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    filter: hue-rotate(-50deg) brightness(0.8) contrast(1.2);
    width: 100%;
    height: auto;
}

.direct-contact {
    padding: 20px;
    margin-top: 30px;
    flex: 0.4;
    justify-content: center;
    text-align: center;
    border-radius: 10px;
    width: 90px;
    background-color: #f5f5f5;
}

.direct-contact h4 {
    font-size: 1.5em;
    color: #1d4646;
    margin-bottom: 10px;
    margin-top: 5px;
}

.direct-contact p {
    font-size: 1.2em;
    color: #222;
    margin-bottom: 10px;
}

.direct-contact a {
    color: #0e5c72;
    text-decoration: none;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Media Queries */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .content h1 {
        font-size: 2.5em;
        line-height: 1.2;
    }

    .content p {
        font-size: 1.2em;
    }

    .image img {
        width: 100%;
    }

    .form-container {
        width: 90%;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .content h1 {
        font-size: 2em;
    }

    .content p {
        font-size: 1em;
    }

    .form-container {
        width: 100%;
    }

    .contact-form {
        width: 100%;
        padding: 15px;
    }

    .additional-info {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .direct-contact,
    .map-container {
        width: 100%;
        padding: 0;
        margin-bottom: 20px;
    }

    .map-container img {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .content h1 {
        font-size: 1.8em;
    }

    .content p {
        font-size: 0.9em;
    }

    .form-container {
        width: 100%;
    }

    .contact-form {
        padding: 10px;
    }

    .additional-info {
        padding: 10px;
    }

    .direct-contact h4,
    .direct-contact p {
        font-size: 1em;
    }
}
