/* ===== GLOBAL ===== */
body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* Fix Bootstrap flex overflow issue (VERY IMPORTANT) */
.row > [class*='col-'] {
    min-width: 0;
}

/* ===== CONTAINER FIX ===== */
.container {
    max-width: 1140px;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: white;
}

/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: white;
    padding: 70px 0 50px;
    text-align: center;
}

.page-hero .icon-wrap {
    font-size: 52px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.page-hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 16px;
    opacity: 0.85;
    max-width: 560px;
    margin: 0 auto;
}

/* ===== SECTION HEADINGS ===== */
.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.section-sub {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 32px;
}

/* ===== PROCESS STEPS ===== */
.process-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1e3a8a;
    color: white;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-body h6 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.step-body p {
    font-size: 14px;
    color: #475569;
    margin: 0;
    line-height: 1.65;
}

/* ===== BENEFIT CARDS (FIXED) ===== */
.benefit-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px 20px;
    border-left: 4px solid #1e3a8a;

    width: 100%;
    height: 100%;
    overflow: hidden;
}

.benefit-card i {
    font-size: 28px;
    color: #1e3a8a;
    margin-bottom: 12px;
}

.benefit-card h6 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.benefit-card p {
    font-size: 13px;
    color: #475569;
    margin: 0;
    line-height: 1.6;
    word-wrap: break-word;
}

/* ===== STATS STRIP ===== */
.stats-strip {
    background: #1e3a8a;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.stat-num {
    font-size: 36px;
    font-weight: 700;
}

.stat-label {
    font-size: 13px;
    opacity: 0.8;
    margin-top: 4px;
}

/* ===== CTA STRIP ===== */
.cta-strip {
    background: #f1f5f9;
    padding: 50px 0;
    text-align: center;
}

.cta-strip h3 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.cta-strip p {
    color: #64748b;
    margin-bottom: 24px;
}

/* ===== ZCARDS (SERVICES / TEAM / WORK) ===== */
.zcard {
    border: none;
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    background: #ffffff;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    height: 100%;
    width: 100%;

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
    .zcard:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 28px rgba(15,23,42,0.12);
    }
}

.zcard-icon {
    font-size: 36px;
    color: #1e3a8a;
    margin-bottom: 12px;
}

.zcard-title {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin: 6px 0;
}

.zcard-sub {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* ===== ROW ALIGNMENT FIX ===== */
.row {
    align-items: stretch;
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {
    .zcard {
        padding: 24px 16px;
    }
}

/* ===== POPUP ===== */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup-overlay.show {
    display: flex;
}

.popup-box {
    background: #fff;
    border-radius: 16px;
    padding: 40px 32px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    transform: scale(0.3) translateY(60px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(.17,.67,.2,1.25), opacity 0.35s ease;
    box-shadow: 0 32px 80px rgba(15,23,42,0.3);
}

.popup-box.show {
    transform: scale(1);
    opacity: 1;
}

.popup-icon-wrap {
    font-size: 52px;
    color: #1e3a8a;
    margin-bottom: 16px;
}

.popup-title {
    font-size: 22px;
    font-weight: 600;
    color: #0f172a;
}

.popup-desc {
    font-size: 14px;
    color: #475569;
}
