/* ==============================================
   VISA PROCESS ARCHIVE — visa-process-archive.css
   Only enqueued on the visa_process archive.
   ============================================== */

/* ---------- Title list + detail viewer ---------- */
#tx-visa-viewer { padding: 50px 0; }

.tx-visa-list-box {
    background:    #fff;
    border:        1px solid var(--color-border, #e9ecef);
    border-radius: 12px;
    overflow:      hidden;
    position:      sticky;
    top:           20px;
}

.tx-visa-list-box h3 {
    background:     var(--color-navy, #00406B);
    color:          #fff;
    font-family:    'Oswald', sans-serif;
    font-size:      0.95rem;
    font-weight:    700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding:        16px 20px;
    margin:         0;
}

.tx-visa-title-list { list-style: none; margin: 0; padding: 8px; max-height: 520px; overflow-y: auto; }

.tx-visa-title-btn {
    display:          flex;
    align-items:      center;
    gap:              10px;
    width:            100%;
    text-align:       left;
    background:       none;
    border:           none;
    border-radius:    8px;
    padding:          12px 14px;
    font-family:      'Nunito Sans', sans-serif;
    font-size:        0.88rem;
    font-weight:      600;
    color:            #444;
    cursor:           pointer;
    transition:       background 0.2s ease, color 0.2s ease;
}

.tx-visa-title-btn i { color: var(--color-muted, #6c757d); font-size: 0.85rem; }

.tx-visa-title-btn:hover { background: var(--color-light-bg, #f7f9fb); color: var(--color-primary, #015285); }

.tx-visa-title-btn.is-active {
    background: var(--color-primary, #015285);
    color:      #fff;
}

.tx-visa-title-btn.is-active i { color: #fff; }

.tx-visa-detail-box {
    background:    #fff;
    border:        1px solid var(--color-border, #e9ecef);
    border-radius: 12px;
    padding:       32px;
    min-height:    300px;
}

.tx-visa-detail-panel[hidden] { display: none; }

.tx-visa-detail-panel h2 {
    font-family: 'Oswald', sans-serif;
    font-size:   1.4rem;
    font-weight: 800;
    color:       var(--color-navy, #00406B);
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border, #e9ecef);
}

.tx-visa-detail-content p {
    color: #444;
    font-size: 0.93rem;
    line-height: 1.85;
    margin-bottom: 14px;
}

.tx-visa-detail-content h2,
.tx-visa-detail-content h3 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    color:       var(--color-navy, #00406B);
    margin-top:  20px;
    margin-bottom: 10px;
}

.tx-visa-detail-content ul {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.tx-visa-detail-content ul li {
    position:      relative;
    padding-left:  24px;
    font-size:     0.9rem;
    color:         #444;
    line-height:   1.8;
    margin-bottom: 6px;
}

.tx-visa-detail-content ul li::before {
    content:     '\f00c';
    font-family: FontAwesome;
    position:    absolute;
    left:        0;
    top:         2px;
    color:       var(--color-primary, #015285);
    font-size:   0.78rem;
}

/* ---------- Visa Processing Steps ---------- */
#tx-visa-steps { padding: 55px 0; background: var(--color-light-bg, #f7f9fb); }

.tx-visa-h2 {
    text-align:  center;
    font-family: 'Oswald', sans-serif;
    font-size:   clamp(1.4rem, 2.8vw, 1.8rem);
    font-weight: 800;
    color:       var(--color-navy, #00406B);
    margin-bottom: 40px;
}

.tx-visa-steps-row {
    display:         flex;
    align-items:     flex-start;
    justify-content: center;
    flex-wrap:       wrap;
    gap:             8px;
}

.tx-visa-step {
    display:        flex;
    flex-direction: column;
    align-items:    center;
    text-align:     center;
    width:          140px;
}

.tx-visa-step-icon {
    display:          flex;
    align-items:      center;
    justify-content:  center;
    width:            58px;
    height:           58px;
    border-radius:    50%;
    background:       var(--color-navy, #00406B);
    color:            #fff;
    font-size:        1.3rem;
    margin-bottom:    10px;
}

.tx-visa-step-label {
    font-size:      0.68rem;
    color:          var(--color-muted, #6c757d);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tx-visa-step h4 {
    font-family: 'Oswald', sans-serif;
    font-size:   0.88rem;
    font-weight: 700;
    color:       var(--color-navy, #00406B);
    margin:      4px 0 6px;
}

.tx-visa-step p {
    font-size:   0.76rem;
    color:       var(--color-muted, #6c757d);
    line-height: 1.5;
    margin:      0;
}

.tx-visa-step-arrow {
    color: var(--color-border, #ccd4dc);
    font-size: 1.1rem;
    margin-top: 20px;
    flex-shrink: 0;
}

/* ---------- CTA + Stats band ---------- */
#tx-visa-cta { padding: 50px 0 60px; }

.tx-visa-cta-band {
    display:               grid;
    grid-template-columns: 300px 1fr;
    border-radius:         14px;
    overflow:              hidden;
    box-shadow:            0 16px 40px rgba(0,0,0,0.08);
}

.tx-visa-cta-box {
    background: linear-gradient(135deg, var(--color-navy, #00406B) 0%, var(--color-primary, #015285) 100%);
    padding:    36px 30px;
}

.tx-visa-cta-icon {
    display:          flex;
    align-items:      center;
    justify-content:  center;
    width:            50px;
    height:           50px;
    border-radius:    12px;
    background:       rgba(255,255,255,0.15);
    color:            #fff;
    font-size:        1.3rem;
    margin-bottom:    16px;
}

.tx-visa-cta-box h3 {
    font-family: 'Oswald', sans-serif;
    font-size:   1.25rem;
    font-weight: 800;
    color:       #fff;
    line-height: 1.3;
    margin-bottom: 10px;
}

.tx-visa-cta-box p {
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.tx-visa-cta-btn {
    display:          inline-flex;
    align-items:      center;
    gap:              8px;
    background:       #e63946;
    color:            #fff;
    border:           none;
    font-family:      'Oswald', sans-serif;
    font-size:        0.82rem;
    font-weight:      700;
    text-transform:   uppercase;
    padding:          12px 22px;
    border-radius:    30px;
    cursor:           pointer;
    transition:       background 0.2s ease;
}

.tx-visa-cta-btn:hover { background: #c9303d; }

.tx-visa-cta-stats {
    display:               grid;
    grid-template-columns: repeat(4, 1fr);
    background:            var(--color-light-bg, #f7f9fb);
}

.tx-visa-cta-stat {
    padding:       30px 20px;
    text-align:    center;
    border-left:   1px solid var(--color-border, #e9ecef);
}

.tx-visa-cta-stat:first-child { border-left: none; }

.tx-visa-cta-stat i { font-size: 1.4rem; color: var(--color-primary, #015285); margin-bottom: 10px; display: block; }

.tx-visa-cta-stat strong {
    display:     block;
    font-family: 'Oswald', sans-serif;
    font-size:   1.5rem;
    font-weight: 800;
    color:       var(--color-navy, #00406B);
}

.tx-visa-cta-stat span {
    display:     block;
    font-size:   0.78rem;
    font-weight: 700;
    color:       var(--color-navy, #00406B);
    margin-top:  2px;
}

.tx-visa-cta-stat small {
    display:     block;
    font-size:   0.7rem;
    color:       var(--color-muted, #6c757d);
    margin-top:  4px;
    line-height: 1.4;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .tx-visa-cta-band { grid-template-columns: 1fr; }
    .tx-visa-list-box { position: static; margin-bottom: 20px; }
}

@media (max-width: 767px) {
    .tx-visa-steps-row { flex-direction: column; }
    .tx-visa-step-arrow { transform: rotate(90deg); margin: 4px 0; }
    .tx-visa-cta-stats { grid-template-columns: repeat(2, 1fr); }
    .tx-visa-cta-stat:nth-child(2) { border-left: 1px solid var(--color-border, #e9ecef); }
    .tx-visa-cta-stat:nth-child(3) { border-left: none; }
}
