/* Join Us Section */
.joinus-section {
    padding: 80px 0;
    background-color: #f3f4f8; /* light background outside the card */
    font-family: 'Inter', sans-serif;
}

.joinus-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 360px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    overflow: hidden; /* To clip the right side background */
}

/* Left Side - Form */
.joinus-left {
    padding: 50px 40px;
    background: #ffffff;
}

.joinus-header {
    margin-bottom: 25px;
}

.joinus-eyebrow {
    font-size: 12px;
    font-weight: 700;
    color: #cc0099;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.joinus-title {
    font-size: 30px;
    font-weight: 800;
    color: #111;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.joinus-form {
    /* No background here, it's part of the left side now */
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 0px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.form-group-full {
    margin-bottom: 12px;
}

.form-group label {
    font-size: 11.5px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 12.5px;
    color: #334155;
    transition: all 0.3s ease;
    background: #f8fafc;
    box-sizing: border-box;
}

.form-group textarea {
    resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #d300b1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(211, 0, 177, 0.15);
    background: #fff;
}

/* Checkbox */
.checkbox-group {
    margin-bottom: 25px;
    margin-top: 15px;
}

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    min-width: 16px;
    height: 16px;
    background-color: #fff;
    border: 1.5px solid #cbd5e1;
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: all 0.2s ease;
    margin-top: 2px;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: #7b2cbf;
    border-color: #7b2cbf;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 4.5px;
    top: 1.5px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.cb-text {
    font-size: 12px;
    color: #475569;
    line-height: 1.5;
}

/* Submit Button */
.submit-app-btn {
    background: linear-gradient(135deg, #6600cc 0%, #cc0099 100%);
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 15px 35px rgba(204, 0, 153, 0.4);
}

.submit-app-btn .btn-icon {
    background: #fff;
    color: #cc0099;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-app-btn .btn-icon svg {
    width: 12px;
    height: 12px;
}

.submit-app-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(204, 0, 153, 0.3);
}

/* Right Side - Sidebar */
.joinus-right {
    background-color: #f8f9fc;
    padding: 50px 40px;
}

.sidebar-title {
    font-size: 32px;
    font-weight: 500;
    color: #111;
    margin-bottom: 40px;
    font-family: 'Playfair Display', Georgia, serif;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 35px;
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: #ffffff;
    color: #cc0099;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

/* Gradient on hover for benefit icons */
.benefit-item:hover .benefit-icon {
    background: linear-gradient(135deg, #6600cc 0%, #cc0099 100%);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(204, 0, 153, 0.4);
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
}

.benefit-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin: 0 0 8px 0;
    line-height: 1.4 !important;
}

.benefit-text p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.75 !important;
    letter-spacing: 0.4px;
}

.sidebar-contact {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: #ffffff;
    border-radius: 16px;
    margin-top: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: #fff0fa;
    color: #cc0099;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.ct-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.ct-email {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
}

.ct-email:hover {
    color: #cc0099;
}

.sidebar-decoration {
    display: none;
}

/* Responsive */
@media (max-width: 992px) {
    .joinus-container {
        grid-template-columns: 1fr;
    }
    
    .joinus-right {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .joinus-section {
        padding: 24px 8px;
    }

    .joinus-container {
        max-width: 100%;
        margin: 0 auto;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }

    .joinus-left {
        padding: 24px 12px 20px;
    }

    .joinus-right {
        padding: 28px 20px 36px;
    }

    .joinus-header {
        margin-bottom: 20px;
    }

    .joinus-eyebrow {
        font-size: 11px;
        letter-spacing: 1.5px;
        margin-bottom: 8px;
    }

    .joinus-title {
        font-size: 22px;
        font-weight: 700;
        line-height: 1.25;
        letter-spacing: -0.3px;
    }

    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group {
        margin-bottom: 14px;
    }

    .form-group label {
        font-size: 11.5px;
        margin-bottom: 5px;
    }

    .form-group input,
    .form-group textarea {
        padding: 11px 13px;
        font-size: 13px;
        border-radius: 10px;
    }

    .submit-app-btn {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
        font-size: 14px;
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(204, 0, 153, 0.35);
    }

    .sidebar-title {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .benefit-item {
        gap: 14px;
        margin-bottom: 22px;
    }

    .benefit-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .benefit-text h4 {
        font-size: 15px;
        margin-bottom: 6px;
        line-height: 1.4 !important;
    }

    .benefit-text p {
        font-size: 13.5px;
        line-height: 1.7 !important;
        letter-spacing: 0.15px;
    }

    .sidebar-contact {
        padding: 18px;
        margin-top: 28px;
        border-radius: 12px;
    }
}
