﻿.submit-button {
    display: inline-block;
    background-color: #2b659f;
    color: white;
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
    white-space: nowrap;
}

.submit-button:hover {
    background-color: #1f589d;
}

.description-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.career-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.career-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.career-card .post-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.career-card .post-image img {
    width: 80%;
    max-height: 150px;
    border-radius: 15px;
    object-fit: contain;
    margin-bottom: 0;
}

.career-card .post-text {
    text-align: center;
    color: #ffffff;
    margin-top: 5px;
}

.career-card .post-text h4 {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 5px;
}

/*IMAGES CONTAINER*/

.main-image-container {
    max-width: 100%;
    height: auto;
    text-align: center;
    position: relative;
    border-radius: 10px;
}

.main-image {
    max-height: 500px;
    object-fit: contain;
    border-radius: 10px !important;
}

.thumb-img.active {
    border: 2px solid #007bff;
    border-radius: 10px !important;
}

.carousel-control-prev, .carousel-control-next {
    width: 5%;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 10px !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 60% 60%;
    filter: invert(35%) sepia(64%) saturate(564%) hue-rotate(178deg) brightness(91%) contrast(90%);
}

.carousel-control-prev,
.carousel-control-next {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(255, 255, 255, 1);
}

/*IMAGE MODAL FOR*/

.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background-color: rgba(0,0,0,0.85);
    animation: fadeIn 0.3s ease;
}

.image-modal-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.image-modal-content {
    max-width: 95vw;
    max-height: 92vh;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,.4);
}

.image-modal-content.zoom {
    animation: zoomIn .28s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(.92);
        opacity: .0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.image-modal .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, color 0.3s;
}

.image-modal .close:hover {
    color: #2b6cb0;
    transform: scale(1.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.95);
    }

    to {
        transform: scale(1);
    }
}