.join-hero {
    padding: 90px 0 70px;
    text-align: center;
    background: linear-gradient(135deg, #0078aa, #005f86);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.join-hero::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: -120px;
    left: -120px;
}

.join-hero::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    bottom: -100px;
    right: -100px;
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 22px;
}

.join-hero h1 {
    font-size: 46px;
    line-height: 1.2;
    margin: 0px;
    font-weight: 700;
}

.join-hero h1 span {
    color: #d7f3ff;
}

.join-hero p {
    max-width: 780px;
    margin: auto;
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 767px) {
    .join-hero {
        padding: 60px 20px;
    }

    .join-hero h1 {
        font-size: 34px;
    }

    .join-hero p {
        font-size: 15px;
    }
}

.join-page {
    padding: 70px 0;
    background: #f5f9fc;
}

.join-page .container {
    max-width: 1300px;
    margin: auto;
    padding: 0 20px;
}

.join-wrapper {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 35px;
    align-items: flex-start;
}

.join-left {
    background: linear-gradient(180deg, #0078aa, #005f86);
    border-radius: 24px;
    padding: 45px 35px;
    color: #fff;
    position: sticky;
    top: 100px;
    overflow: hidden;
}

.join-left::before {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: -80px;
    right: -80px;
}

.join-left::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: -70px;
    left: -60px;
}

.small-title {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.6px;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.join-left h1 {
    font-size: 29px;
    line-height: 1.25;
    margin: 0px;
    position: relative;
    z-index: 2;
}

.join-left h1 span {
    /*display: block;*/
    color: #bfefff;
}

.join-left p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin: 20px 0px;
    position: relative;
    z-index: 2;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    z-index: 2;
        margin-top: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item .icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.contact-item h5 {
    font-size: 15px;
    margin: 0px;
}

.contact-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.social-links a {
    text-decoration: none;
    color: #fff;
    padding: 10px 18px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: 0.35s;
}

.social-links a:hover {
    background: #fff;
    color: #0078aa;
}

.join-right {
    background: #fff;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.join-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.tab-btn {
    flex: 1;
    border: none;
    background: #f2f7fa;
    color: #4a5565;
    padding: 16px 20px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.35s;
}

.tab-btn:hover {
    background: #e5f5fb;
    color: #0078aa;
}

.tab-btn.active {
    background: #0078aa;
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 120, 170, 0.25);
}

.form-card {
    display: none;
    border-radius: 20px;
    padding: 35px;
    border: 1px solid #e8eef3;
    animation: fade 0.4s ease;
}

.form-card.active {
    display: block;
}

.employee-form {
    background: #eef9fd;
}

.expert-form {
    background: #f2fcf5;
}

.partner-form {
    background: #fff8ef;
}

.form-card h3 {
    font-size: 32px;
    color: #1c2735;
    margin: 0px;
}

.form-card p {
    color: #667085;
    line-height: 1.8;
    margin-bottom: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: 1/-1;
}

.form-group label {
    font-size: 14px;
    color: #344054;
    font-weight: 600;
    margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    height: 54px;
    padding: 0 18px;
    border: 1px solid #d7e4ec;
    border-radius: 12px;
    background: #fff;
    outline: none;
    font-size: 15px;
    transition: 0.3s;
    color: #a9b4bb;
}

.form-group textarea {
    height: 160px;
    padding: 18px;
    resize: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0078aa;
    box-shadow: 0 0 0 4px rgba(0, 120, 170, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #98a2b3;
}

.form-group input[type="file"] {
    padding: 12px;
    height: auto;
}

.form-group input[type="file"]::file-selector-button {
    border: none;
    background: #0078aa;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    margin-right: 15px;
    cursor: pointer;
}

.submit-btn {
    margin-top: 30px;
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 14px;
    background: #0078aa;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.35s;
}

.submit-btn:hover {
    background: #00618a;
    transform: translateY(-2px);
}

.employee-form {
    background: #eef9fd;
    border-top: 6px solid #0078aa;
}

.employee-form h3 {
    color: #0078aa;
}

.employee-form .submit-btn {
    background: #0078aa;
}

.employee-form .submit-btn:hover {
    background: #00658d;
}

.expert-form {
    background: #f3fbf5;
    border-top: 6px solid #22a06b;
}

.expert-form h3 {
    color: #22a06b;
}

.expert-btn {
    background: #22a06b;
}

.expert-btn:hover {
    background: #1a8b59;
}

.partner-form {
    background: #fff8ef;
    border-top: 6px solid #f59e0b;
}

.partner-form h3 {
    color: #f59e0b;
}

.partner-btn {
    background: #f59e0b;
}

.partner-btn:hover {
    background: #d68600;
}

.tab-btn[data-tab="employee"].active {
    background: #0078aa;
    color: #fff;
}

.tab-btn[data-tab="expert"].active {
    background: #22a06b;
    color: #fff;
}

.tab-btn[data-tab="partner"].active {
    background: #f59e0b;
    color: #fff;
}

.form-card {
    transition: 0.35s;
}

.form-card:hover {
    transform: translateY(-4px);

    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #0078aa;
}

.expert-form input:hover,
.expert-form select:hover,
.expert-form textarea:hover {
    border-color: #22a06b;
}

.partner-form input:hover,
.partner-form select:hover,
.partner-form textarea:hover {
    border-color: #f59e0b;
}

@keyframes fade {
    from {
        opacity: 0;

        transform: translateY(20px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }
}

.form-card {
    animation: fade 0.45s ease;
}

.tab-btn,
.submit-btn,
.form-group input,
.form-group select,
.form-group textarea {
    transition: 0.3s;
}

.employee-form input:focus,
.employee-form select:focus,
.employee-form textarea:focus {
    border-color: #0078aa;
    box-shadow: 0 0 0 4px rgba(0, 120, 170, 0.08);
}

.expert-form input:focus,
.expert-form select:focus,
.expert-form textarea:focus {
    border-color: #22a06b;
    box-shadow: 0 0 0 4px rgba(34, 160, 107, 0.1);
}

.partner-form input:focus,
.partner-form select:focus,
.partner-form textarea:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

@media (max-width: 1024px) {
    .join-page {
        padding: 50px 0;
    }

    .join-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .join-left {
        position: relative;
        top: 0;
    }

    .join-right {
        padding: 30px;
    }

    .join-left h1 {
        font-size: 36px;
    }

    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .join-page {
        padding: 35px 0;
    }

    .join-page .container {
        padding: 0 15px;
    }

    /* Left Panel */

    .join-left {
        padding: 30px 22px;
        border-radius: 18px;
    }

    .small-title {
        font-size: 11px;
        padding: 8px 15px;
    }

    .join-left h1 {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .join-left p {
        font-size: 15px;
        margin-bottom: 25px;
    }

    /* Contact */

    .contact-item {
        align-items: flex-start;
    }

    .contact-item .icon {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }

    .contact-item h5 {
        font-size: 14px;
    }

    .contact-item p {
        font-size: 13px;
    }

    .social-links {
        margin-top: 25px;
        gap: 10px;
    }

    .social-links a {
        padding: 9px 14px;
        font-size: 13px;
    }

    .join-right {
        padding: 22px;
        border-radius: 18px;
    }

    .join-tabs {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tab-btn {
        width: 100%;
        font-size: 14px;
        padding: 14px 16px;
    }

    .form-card {
        padding: 22px;
        border-radius: 16px;
    }

    .form-card h3 {
        font-size: 24px;
    }

    .form-card p {
        font-size: 14px;
        margin-bottom: 22px;
    }

    /* Form Grid */

    .form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .form-group.full {
        grid-column: auto;
    }

    .form-group label {
        font-size: 13px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 14px;
        height: 50px;
    }

    .form-group textarea {
        height: 130px;
    }

    .submit-btn {
        height: 52px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .join-left {
        padding: 24px 18px;
    }

    .join-left h1 {
        font-size: 24px;
    }

    .join-right {
        padding: 18px;
    }

    .form-card {
        padding: 18px;
    }

    .form-card h3 {
        font-size: 21px;
    }

    .form-group input,
    .form-group select {
        height: 48px;
    }

    .submit-btn {
        height: 50px;
        font-size: 14px;
    }
}
