/* ==========================================================================
   ThinkNext - Expert Network Page Stylesheet
   Consistent with Editorial Theme (Home, About, Services, Experts, Careers)
   ========================================================================== */

:root {
    --tn-teal-dark: #0b202c;
    --tn-teal-card: #102e32;
    --tn-mint: #9ee0bd;
    --tn-mint-hover: #b4edd0;
    --tn-sage: #187552;
    --tn-sage-light: #edf5ef;
    --tn-border-light: rgba(11, 32, 44, 0.08);
    --tn-text-main: #0b202c;
    --tn-text-muted: #5a717d;
    --tn-text-light: #8fa0a8;
}

/* ── 3. Bring Your Expertise (3 Cards) ── */
.network-intro-section {
    padding: 85px 0 90px;
    background: #ffffff;
}

.network-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
    align-items: stretch;
}

.network-feature-card {
    background: #ffffff;
    border: 1px solid #d6e2d8;
    border-radius: 16px;
    padding: 38px 28px 34px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* NO top hover line (Home page consistency) */
.network-feature-card::before,
.network-feature-card::after {
    display: none !important;
}

.network-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(21, 59, 44, 0.08);
    border-color: #90bca3;
}

.network-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 22px;
}

.network-card-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: #e7f4eb;
    border: 1px solid #cce2d3;
    color: #187552;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.network-feature-card:hover .network-card-icon {
    background: #187552;
    color: #ffffff;
    transform: scale(1.06);
}

.network-card-index {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #d8e5dd;
    line-height: 1;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.network-feature-card:hover .network-card-index {
    color: #187552;
    opacity: 0.35;
}

.network-feature-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 600;
    color: #102e32;
    margin: 0 0 10px;
    line-height: 1.35;
    min-height: 52px;
    display: flex;
    align-items: flex-start;
}

.network-feature-card p {
    font-size: 14.5px;
    color: #556c62;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 960px) {
    .network-cards-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
        gap: 20px;
    }
    .network-feature-card {
        padding: 32px 24px;
    }
    .network-feature-card h3 {
        min-height: auto;
    }
}

/* ── 4. Ready to Share Callout Section (100% Matched with About Us Section 6 Palette) ── */
.network-callout-section {
    background: radial-gradient(circle at 15% 20%, rgba(24, 117, 82, 0.18) 0%, transparent 45%),
                radial-gradient(circle at 85% 80%, rgba(16, 185, 129, 0.12) 0%, transparent 50%),
                linear-gradient(135deg, #091e26 0%, #0c2730 100%) !important;
    padding: 85px 0 !important;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(158, 224, 189, 0.15) !important;
    border-bottom: 1px solid rgba(158, 224, 189, 0.15) !important;
}

.network-callout-section::before {
    display: none !important;
}

.network-callout-section .section-label,
.network-callout-section .network-callout-label {
    background: rgba(188, 232, 209, 0.12) !important;
    color: #9ee0bd !important;
    border: 1px solid rgba(158, 224, 189, 0.25) !important;
    border-radius: 50px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    padding: 5px 16px !important;
    display: inline-block !important;
}

.network-callout-content {
    max-width: 720px;
    margin: 0 auto;
}

.network-callout-content h2 {
    font-family: 'Poppins', sans-serif !important;
    font-size: clamp(28px, 3.4vw, 38px) !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    line-height: 1.25 !important;
    margin: 16px 0 12px !important;
}

.network-callout-content p {
    font-size: 15px !important;
    color: #a6c4b8 !important;
    line-height: 1.65 !important;
    max-width: 620px !important;
    margin: 0 auto 30px !important;
}

.btn-apply-trigger {
    background: #9ee0bd !important;
    color: #092b26 !important;
    border: 1px solid #9ee0bd !important;
    padding: 13px 30px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
    transition: all 0.25s ease !important;
}

.btn-apply-trigger:hover {
    background: #b8ebcf !important;
    border-color: #b8ebcf !important;
    color: #092b26 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28) !important;
}

.btn-apply-trigger i {
    transition: transform 0.25s ease !important;
}

.btn-apply-trigger:hover i {
    transform: translateY(3px) !important;
}

/* ── 5. Application Form Section ── */
.network-form-section {
    padding: 90px 0 110px;
    background: #f8fafc;
    scroll-margin-top: 90px;
}

.application-form-wrapper {
    max-width: 820px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #d6e2d8;
    border-radius: 16px;
    padding: 44px 42px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}

.form-header-area {
    margin-bottom: 28px;
    border-bottom: 1px solid #e5ede7;
    padding-bottom: 20px;
}

.form-header-area h2,
.form-header-area h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.55rem;
    font-weight: 600;
    color: #102e32;
    margin: 0 0 8px;
}

.form-header-area p {
    font-size: 0.94rem;
    color: #556c62;
    line-height: 1.6;
    margin: 0;
}



.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field-group {
    margin-bottom: 22px;
}

.form-field-group label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #234b3e;
    margin-bottom: 7px;
    letter-spacing: 0.2px;
}

.form-field-group label .req-star,
.form-field-group label .req-marker {
    color: #e11d48;
    margin-left: 2px;
}

.form-field-group input[type="text"],
.form-field-group input[type="email"],
.form-field-group input[type="tel"],
.form-field-group select,
.form-field-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #c9dec2;
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    color: #102e32;
    background: #fbfdfa;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.form-field-group input::placeholder,
.form-field-group textarea::placeholder {
    font-size: 13px;
    color: #8da499;
}

.form-field-group input:focus,
.form-field-group select:focus,
.form-field-group textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: #187552;
    box-shadow: 0 0 0 3px rgba(24, 117, 82, 0.12);
}

.form-field-group input[type="file"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #c9dec2;
    border-radius: 8px;
    background: #fbfdfa;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    color: #234b3e;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.form-field-group input[type="file"]::file-selector-button {
    background: #edf5ee;
    border: 1px solid #c9dec2;
    color: #187552;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    margin-right: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-field-group input[type="file"]::file-selector-button:hover {
    background: #187552;
    color: #ffffff;
    border-color: #187552;
}

.form-field-group input[type="file"]:focus {
    outline: none;
    border-color: #187552;
    box-shadow: 0 0 0 3px rgba(24, 117, 82, 0.12);
    background: #ffffff;
}

.file-hint {
    display: block;
    font-size: 12px;
    color: #71877e;
    margin-top: 6px;
}

/* Security Check */
.captcha-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.captcha-row input {
    flex: 1;
    min-width: 0;
}

.captcha-img {
    height: 42px;
    border-radius: 6px;
    border: 1px solid #c9dec2;
    background: #ffffff;
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.captcha-img:hover {
    opacity: 0.85;
}

/* Submit Button */
.btn-submit-application {
    width: 100%;
    padding: 14px 28px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    border: 1px solid #187552;
    background: #187552;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(24, 117, 82, 0.22);
    transition: all 0.25s ease;
    margin-top: 10px;
}

.btn-submit-application:hover {
    background: #125e41;
    border-color: #125e41;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(24, 117, 82, 0.32);
}

.btn-submit-application:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Status / Alert Messages */
.form-status-alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: none;
    font-size: 0.92rem;
    line-height: 1.5;
}

.form-status-alert.alert-success {
    background: #edf5ef;
    border: 1px solid rgba(24, 117, 82, 0.3);
    color: #187552;
}

.form-status-alert.alert-error {
    background: #fef2f2;
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

@media (max-width: 768px) {
    .application-form-wrapper {
        padding: 34px 24px;
    }

    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
