body {
    background: #f7f7f7;
}

.join-us-page {
    background: #f7f7f7;
    color: #111;
    font-family: "Cairo", sans-serif;
    margin-top: 60px;
}

.join-us-section {
    padding: 44px 0 58px;
}

.join-us-container {
    max-width: 1110px;
}

.join-us-heading {
    margin: 0 auto 36px;
    text-align: center;
}

.join-us-heading h1 {
    margin: 0 0 8px;
    color: #050505;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.35;
}

.join-us-heading p {
    margin: 0;
    color: #555;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
}

.join-us-hero {
    margin: 0 auto 38px;
    overflow: hidden;
    border-radius: 10px;
}

.join-us-hero img {
    display: block;
    width: 100%;
    min-height: 300px;
    max-height: 526px;
    object-fit: cover;
}

.join-us-message {
    max-width: 100%;
    margin: 0 auto 18px;
}

.join-us-form {
    display: grid;
    gap: 14px;
    width: 100%;
}

.join-field,
.join-submit,
.join-upload,
.join-country-code {
    border: 0;
    border-radius: 10px;
    font-family: "Cairo", sans-serif;
}

.join-field {
    width: 100%;
    height: 60px;
    padding: 0 16px;
    background: #fff;
    color: #4b4b4b;
    font-size: 17px;
    text-align: right;
    outline: none;
}

.join-field::placeholder {
    color: #555;
    opacity: 1;
}

select.join-field {
    appearance: none;
    cursor: pointer;
}

.join-phone-field {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 8px;
    direction: rtl;
}

.join-phone-field .join-field {
    direction: rtl;
}

.join-country-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 60px;
    background: #fff;
    color: #555;
    font-size: 18px;
}

.join-upload {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(560px, 100%);
    min-height: 128px;
    margin: 2px auto 18px;
    border: 1px dashed #d4d4d4;
    background: #fff;
    color: #555;
    cursor: pointer;
}

.join-upload input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.join-upload:focus-within {
    outline: 2px solid rgba(163, 25, 91, 0.28);
    outline-offset: 3px;
}

.join-upload i {
    margin-bottom: 8px;
    color: #555;
    font-size: 34px;
    line-height: 1;
}

.join-upload span {
    font-size: 16px;
    line-height: 1.6;
}

.join-submit {
    min-height: 66px;
    background: linear-gradient(90deg, #4b5d86 0%, #c2578e 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
}

.join-submit:disabled {
    cursor: wait;
    opacity: 0.72;
}

@media (max-width: 768px) {
    .join-us-section {
        padding: 28px 0 42px;
    }

    .join-us-heading {
        margin-bottom: 24px;
    }

    .join-us-heading p {
        font-size: 15px;
    }

    .join-us-hero {
        margin-bottom: 28px;
    }

    .join-us-hero img {
        min-height: 210px;
    }

    .join-field,
    .join-country-code {
        height: 54px;
        font-size: 15px;
    }

    .join-phone-field {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .join-upload {
        min-height: 112px;
    }

    .join-submit {
        min-height: 58px;
    }
}
