/* Premium Form Styling - Misr Al-Fatat */

.join-section {
    position: relative;
    background-color: #fcfcfc;
    overflow: hidden;
}

.join-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

/* --- Left Side: Info --- */
.join-info h2 {
    font-size: 2.5rem;
    color: var(--brand-primary);
    margin-bottom: 20px;
    font-weight: 800;
}

.join-desc {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.8;
}

.info-card {
    background: #fff;
    border-right: 4px solid var(--brand-accent);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.info-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--brand-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card h3 i {
    color: var(--brand-accent);
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    position: relative;
    padding-right: 25px;
    margin-bottom: 12px;
    color: #444;
}

.info-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 4px;
    color: var(--brand-accent);
    font-size: 0.9rem;
}

/* --- Right Side: Form --- */
.join-form-container {
    background: #fff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(198, 168, 124, 0.2);
    position: relative;
}

.join-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
}

.form-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--brand-secondary);
    font-size: 1.8rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s;
    background: #f9f9f9;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--brand-accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(198, 168, 124, 0.1);
    outline: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--brand-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.2);
    font-family: 'Cairo', sans-serif;
}

.btn-submit:hover {
    background: #600000;
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Privacy Note */
.form-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: #888;
}

/* Responsive */
@media (max-width: 992px) {
    .join-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .join-info {
        order: -1;
        /* Info first on mobile usually better, or form first? Let's keep info first */
    }

    .join-form-container {
        padding: 30px;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}