/*
  NextworkSG — nextworksg.com
  Custom styles for recruitment sections only.
  Template base CSS stays in templatemo-woox-travel.css.
*/

/* ─── Logo Image ──────────────────────────────────────────────────────────── */
.header-area .main-nav .logo img {
    width: 159px;
    height: auto;
    margin-top: 15px;
}
.footer-logo-img {
    width: 130px;
    height: auto;
    margin-bottom: 16px;
    display: block;
}

/* ─── Banner subtitle ─────────────────────────────────────────────────────  */
.main-caption .banner-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    font-weight: 300;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

/* ─── Nav Apply Now Button ────────────────────────────────────────────────── */
.nav li a.nav-apply {
    background-color: #22b3c1;
    color: #fff !important;
    border-radius: 20px;
    padding: 8px 22px !important;
    font-weight: 600;
    transition: background-color 0.3s ease;
}
.nav li a.nav-apply:hover {
    background-color: #1ea0ad;
    color: #fff !important;
}

/* ─── About/Features Section (more-about override) ────────────────────────  */
.more-about { background-color: #f9f9f9; }
.more-about .info-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #22b3c1;
}
.more-about .info-item h4 {
    color: #22b3c1;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.more-about .info-item span { color: #afafaf; font-size: 0.9rem; }

/* ─── Statistics Section ──────────────────────────────────────────────────── */
.nw-stats {
    background-color: #22b3c1;
    padding: 60px 0;
}
.nw-stats .stat-item {
    text-align: center;
    color: #fff;
    padding: 10px 0;
}
.nw-stats .stat-item h3 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: #fff;
}
.nw-stats .stat-item p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 500;
}
.nw-stats .stat-divider {
    width: 1px;
    background: rgba(255,255,255,0.3);
    align-self: stretch;
}

/* ─── Jobs / Visit-Country Overrides ─────────────────────────────────────── */
.visit-country .item .right-content h4 { color: #2a2a2a; font-size: 1.1rem; }
.visit-country .item .right-content .salary-badge {
    display: inline-block;
    background: #22b3c1;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.visit-country .side-bar-map .why-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 30px 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}
.visit-country .side-bar-map .why-card h4 {
    color: #22b3c1;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}
.visit-country .side-bar-map .why-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.visit-country .side-bar-map .why-card ul li {
    padding: 10px 0;
    font-size: 0.9rem;
    color: #555;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.visit-country .side-bar-map .why-card ul li i {
    color: #22b3c1;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ─── How to Apply — Numbered Steps ──────────────────────────────────────── */
.nw-how-to-apply {
    padding: 80px 0;
    background-color: #f9f9f9;
}
.apply-steps {
    position: relative;
    padding-left: 0;
}
.apply-steps::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: #d8f2f5;
}
.apply-step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 18px 0;
    position: relative;
}
.step-number {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 50%;
    background: #22b3c1;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(34,179,193,0.3);
}
.step-content {
    padding-top: 10px;
}
.step-content h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #2a2a2a;
    margin-bottom: 6px;
}
.step-content p {
    font-size: 0.88rem;
    color: #777;
    line-height: 1.7;
    margin: 0;
}

/* ─── Testimonials Section ────────────────────────────────────────────────── */
.nw-testimonials {
    background-color: #f9f9f9;
    padding: 80px 0;
}
.nw-testimonials .section-heading { margin-bottom: 50px; }
.testimonial-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    border-top: 4px solid #22b3c1;
    height: 100%;
}
.testimonial-card .stars { color: #22b3c1; font-size: 1rem; margin-bottom: 15px; }
.testimonial-card .quote {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}
.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-card .author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #22b3c1;
}
.testimonial-card .author-info h6 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2a2a2a;
    margin: 0 0 2px;
}
.testimonial-card .author-info span {
    font-size: 0.78rem;
    color: #22b3c1;
    font-weight: 600;
}

/* ─── FAQ Section ─────────────────────────────────────────────────────────── */
.nw-faq {
    padding: 80px 0;
    background-color: #fff;
}
.nw-faq .faq-item {
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.nw-faq .faq-item:hover { box-shadow: 0 4px 15px rgba(34,179,193,0.1); }
.nw-faq .faq-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2a2a2a;
    text-align: left;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s ease;
}
.nw-faq .faq-btn:hover,
.nw-faq .faq-btn.active { color: #22b3c1; }
.nw-faq .faq-icon {
    font-size: 1.3rem;
    font-weight: 300;
    color: #22b3c1;
    flex-shrink: 0;
    transition: transform 0.35s ease;
    line-height: 1;
}
.nw-faq .faq-btn.active .faq-icon { transform: rotate(45deg); }
.nw-faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 24px;
}
.nw-faq .faq-answer.open {
    max-height: 200px;
    padding: 0 24px 18px;
}
.nw-faq .faq-answer p {
    font-size: 0.88rem;
    color: #777;
    line-height: 1.8;
    margin: 0;
}

/* ─── Apply / Contact Section ─────────────────────────────────────────────── */
.nw-apply {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.position-selector-nw {
    background: #fff;
    border-radius: 15px;
    padding: 35px 30px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}
.position-selector-nw h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #22b3c1;
    margin-bottom: 20px;
}
.position-options-nw {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.position-option-nw { flex: 1; min-width: 200px; cursor: pointer; }
.position-option-nw input[type="radio"] { display: none; }
.position-label-nw {
    display: block;
    padding: 16px 20px;
    border-radius: 10px;
    border: 2px solid #e8e8e8;
    background: #fafafa;
    transition: all 0.3s ease;
    cursor: pointer;
}
.position-label-nw strong {
    display: block;
    font-size: 0.9rem;
    color: #2a2a2a;
    margin-bottom: 4px;
    font-weight: 700;
}
.position-label-nw em {
    font-style: normal;
    font-size: 0.78rem;
    color: #22b3c1;
    font-weight: 600;
}
.position-option-nw input:checked + .position-label-nw {
    border-color: #22b3c1;
    background: rgba(34,179,193,0.04);
    box-shadow: 0 4px 12px rgba(34,179,193,0.15);
}
.position-option-nw:hover .position-label-nw {
    border-color: rgba(34,179,193,0.4);
}
.selector-note-nw {
    margin: 12px 0 0;
    font-size: 0.82rem;
    color: #22b3c1;
    font-style: italic;
    min-height: 1.2em;
    font-weight: 600;
}
.whatsform-wrapper {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    border: 1px solid #e8e8e8;
}
.whatsform-wrapper iframe {
    width: 100%;
    min-height: 900px;
    border: none;
    display: block;
}

/* ─── WhatsApp Float Button ───────────────────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(37,211,102,0.5);
    z-index: 9000;
    text-decoration: none;
    transition: all 0.3s ease;
}
.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
}
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* ─── Back to Top ─────────────────────────────────────────────────────────── */
.back-to-top-nw {
    position: fixed;
    bottom: 92px;
    right: 28px;
    width: 42px;
    height: 42px;
    background: #22b3c1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(34,179,193,0.4);
    z-index: 9000;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: none;
}
.back-to-top-nw.visible { opacity: 1; visibility: visible; }
.back-to-top-nw svg {
    width: 18px; height: 18px;
    stroke: white; fill: none;
    stroke-width: 2.5;
    stroke-linecap: round; stroke-linejoin: round;
}

/* ─── Privacy / Terms Modal ───────────────────────────────────────────────── */
.nw-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.nw-modal.modal-open { display: flex; }
.nw-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}
.nw-modal-box {
    position: relative;
    background: #fff;
    border-radius: 15px;
    max-width: 640px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    overflow: hidden;
    z-index: 1;
}
.nw-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    border-bottom: 1px solid #eee;
    background: #fff;
}
.nw-modal-header h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #22b3c1;
    margin: 0;
}
.nw-modal-close {
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #999;
    line-height: 1;
    transition: color 0.2s;
}
.nw-modal-close:hover { color: #22b3c1; }
.nw-modal-body { overflow-y: auto; padding: 24px 28px; flex: 1; }
.nw-modal-body h6 { font-size: 0.9rem; font-weight: 700; color: #333; margin-bottom: 6px; }
.nw-modal-body p  { font-size: 0.85rem; color: #666; line-height: 1.7; margin-bottom: 18px; }
.nw-modal-footer {
    padding: 14px 28px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
}

/* ─── Footer Extended ─────────────────────────────────────────────────────── */
.nw-footer-extended {
    background-color: #22b3c1;
    padding: 50px 0 0;
}
.nw-footer-extended .footer-brand p {
    color: rgba(255,255,255,0.8);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 20px;
}
.nw-footer-extended h5 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 18px;
}
.nw-footer-extended .footer-link {
    display: block;
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    text-decoration: none;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}
.nw-footer-extended .footer-link:hover {
    color: #fff;
    padding-left: 6px;
}
.nw-footer-extended .footer-link-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    padding: 0;
    display: block;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    text-align: left;
}
.nw-footer-extended .footer-link-btn:hover {
    color: #fff;
    padding-left: 6px;
}
.nw-footer-bottom {
    background-color: #1ea0ad;
    margin-top: 40px;
    padding: 18px 0;
    text-align: center;
}
.nw-footer-bottom p { color: rgba(255,255,255,0.8); font-size: 0.83rem; margin: 0; }
.nw-footer-bottom a { color: #fff; font-weight: 600; }

/* ─── Heading BG overrides ────────────────────────────────────────────────── */
.about-main-content { background-image: url('../images/heading-bg.jpg'); }
.call-to-action     { background-image: url('../images/cta-bg.jpg'); }

/* ─── Responsive tweaks ───────────────────────────────────────────────────── */
@media (max-width: 767px) {
    .position-options-nw { flex-direction: column; }
    .nw-stats .stat-divider { display: none; }
    .main-caption .border-button { margin-bottom: 32px; }
}
