﻿@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

.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);
}

.career-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.career-card .banner-image {
    width: 100%;
    max-width: 270px;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: inherit;
    margin-bottom: 10px;
    padding: 7px;
}

.career-card .profile-image {
    width: 100%;
    max-width: 250px;
    height: 250px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: inherit;
    margin-top: 10px;
}

.career-card .post-text {
    color: #ffffff;
}

.career-card .post-text h4 {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 5px;
}

.career-card .post-text h5 {
    font-size: 14px;
    font-weight: normal;
    color: #ddd;
    margin-bottom: 10px;
}

.career-card .contacts h5 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.career-card .contacts h5:nth-child(2) {
    color: #fff;
}

.badge-container {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    font-size: 14px !important;
    font-weight: bold;
    color: white;
    border-radius: 10px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    background-color: #2b659f;
    max-width: 100%;
    word-wrap: break-word;
    white-space: normal;
    text-align: center;
}

@media (max-width: 768px) {
    .career-card {
        padding:15px;
        margin-bottom: 10px;
    }

    .career-card .banner-image {
        max-width: 250px;
    }

    .career-card .profile-image {
        max-width: 200px;
        height: 200px;
    }

    .career-card .post-text h4 {
        font-size: 18px;
    }

    .career-card .post-text h5 {
        font-size: 13px;
    }

    .badge {
        font-size: 11px;
        padding: 5px 10px;
    }
}

.team-title {
    text-align: center !important;
    font-size: 30px !important;
}

@media (max-width: 768px) {
    .subtitle {
        text-align: left;
    }
    .team-title {
        text-align: left !important;
        font-size: 30px !important;
    }
}

.submit-button {
    display: inline-block;
    background-color: #2b659f;
    color: #fff;
    padding: 12px 25px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    text-align: center;
    white-space: normal;
}

.submit-button:hover {
    background-color: #1f589d;
}

@media (max-width: 768px) {
    .submit-button {
        display: block;
        width: 100%;
        max-width: 320px;
        margin: 12px auto;
        font-size: 14px;
        padding: 14px 18px;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .submit-button {
        width: 50%;
        max-width: 400px;
        margin: 12px auto;
    }
}