/* Shared styles for the value-added services pages (value-added-services.php, hrm.php, crm.php, pos.php). */

.vas-page { font-family: 'Poppins', 'Source Sans Pro', sans-serif; background: #f7fbff; color: #26364a; }
.vas-page .container { max-width: 1180px; }
.vas-page h1, .vas-page h2, .vas-page h3, .vas-page h4 { text-transform: none; padding: 0; }
.vas-sec { padding: 66px 0; }
.vas-sec-alt { background: #eef5fc; }

/* Hero */
.vas-hero {
    background: linear-gradient(135deg, #071d3f 0%, #0f3b78 46%, #1f5ea8 100%);
    color: #fff;
    padding: 62px 0 66px;
}
.vas-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.vas-eyebrow {
    display: inline-block; padding: 8px 14px; margin-bottom: 18px;
    border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.26);
    font-size: 13px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
}
.vas-hero h1 { color: #fff; font-size: 42px; line-height: 1.18; font-weight: 800; margin: 0 0 16px; }
.vas-hero h1 span { color: #ffca38; }
.vas-hero-lead { color: rgba(255,255,255,.92); font-size: 17px; line-height: 1.85; margin: 0 0 22px; max-width: 620px; }
.vas-hero-points { list-style: none; margin: 0 0 24px; padding: 0; }
.vas-hero-points li { position: relative; padding: 7px 0 7px 28px; color: rgba(255,255,255,.92); font-size: 15.5px; line-height: 1.6; }
.vas-hero-points i { position: absolute; left: 0; top: 11px; color: #8ef0b0; }
.vas-hero-media { position: relative; align-self: center; }
.vas-hero-media img { display: block; width: 100%; height: 390px !important; max-height: 390px; object-fit: cover; object-position: center; border-radius: 22px; box-shadow: 0 24px 50px rgba(4,20,45,.3); }
.vas-hero-caption {
    position: absolute; left: 18px; right: 18px; bottom: 18px;
    max-width: 390px; padding: 13px 15px; border-radius: 14px;
    background: rgba(5,27,57,.9); border: 1px solid rgba(255,255,255,.2);
    box-shadow: 0 12px 28px rgba(3,18,38,.22); backdrop-filter: blur(7px);
}
.vas-hero-caption strong { display: block; color: #fff; font-size: 14px; line-height: 1.45; }
.vas-hero-caption span { display: block; margin-top: 3px; color: #d4e2f2; font-size: 11.5px; line-height: 1.55; }

/* Buttons */
.vas-btn { display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 1px solid transparent; margin: 0 10px 10px 0; transition: all .25s ease; }
.vas-btn:hover, .vas-btn:focus { text-decoration: none; transform: translateY(-2px); }
.vas-btn-primary { background: #ffb703; color: #10213d; box-shadow: 0 12px 26px rgba(255,183,3,.26); }
.vas-btn-primary:hover, .vas-btn-primary:focus { background: #ffd166; color: #10213d; }
.vas-btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.vas-btn-outline:hover, .vas-btn-outline:focus { background: rgba(255,255,255,.12); color: #fff; }
.vas-btn-dark { background: #1f5ea8; color: #fff; }
.vas-btn-dark:hover, .vas-btn-dark:focus { background: #174b87; color: #fff; }
.vas-btn-light { background: #eef5fc; color: #174b87; border-color: #cfe0f5; }
.vas-btn-light:hover, .vas-btn-light:focus { background: #dfeefd; color: #174b87; }

/* Headings */
.vas-title { text-align: center; font-size: 33px; line-height: 1.32; font-weight: 800; color: #0f2d5c; margin: 0 0 12px; }
.vas-subtitle { text-align: center; font-size: 16px; line-height: 1.85; color: #5f6f82; max-width: 880px; margin: 0 auto 16px; }
.vas-line { width: 84px; height: 4px; background: #1f5ea8; border-radius: 30px; margin: 0 auto 34px; }
.vas-kicker { display: block; text-align: center; margin-bottom: 10px; color: #1f5ea8; font-size: 13px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }

/* Alternating feature rows */
.vas-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.vas-row + .vas-row { margin-top: 48px; }
.vas-row-flip .vas-row-media { order: -1; }
.vas-row-media img { display: block; width: 100%; height: auto; border-radius: 20px; border: 1px solid #dce9f7; background: #eef5fc; box-shadow: 0 14px 34px rgba(15,45,92,.12); }
.vas-row-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 12px; background: #0f2d5c; color: #fff; font-weight: 800; }
.vas-row h3 { color: #0f2d5c; font-size: 26px; font-weight: 800; line-height: 1.3; margin: 0 0 12px; }
.vas-row p { color: #5f6f82; font-size: 15.5px; line-height: 1.85; margin: 0 0 14px; }
.vas-row-list { list-style: none; margin: 0 0 16px; padding: 0; }
.vas-row-list li { position: relative; padding: 7px 0 7px 28px; color: #526174; font-size: 15px; line-height: 1.7; }
.vas-row-list i { position: absolute; left: 0; top: 12px; color: #198754; }
.vas-row-note { display: block; padding: 12px 14px; border-radius: 12px; background: #f3f8ff; border: 1px solid #dfeaf7; color: #31455e; font-size: 14.5px; line-height: 1.7; }

/* Cards */
.vas-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.vas-card {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid #e3edf8; border-radius: 20px; padding: 26px 22px;
    box-shadow: 0 10px 28px rgba(15,45,92,.07);
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
a.vas-card:hover, a.vas-card:focus { transform: translateY(-4px); border-color: #cfe0f5; box-shadow: 0 18px 38px rgba(15,45,92,.13); text-decoration: none; }
.vas-card-icon { width: 50px; height: 50px; margin-bottom: 14px; border-radius: 15px; background: #eef5fc; color: #1f5ea8; font-size: 21px; display: flex; align-items: center; justify-content: center; }
.vas-card h3 { color: #0f2d5c; font-size: 20px; font-weight: 700; line-height: 1.35; margin: 0 0 8px; }
.vas-card p { color: #5f6f82; font-size: 15px; line-height: 1.8; margin: 0 0 12px; }
.vas-card em { margin-top: auto; color: #1f5ea8; font-size: 14.5px; font-weight: 700; font-style: normal; }

/* Steps */
.vas-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: vasstep; }
.vas-steps li { background: #fff; border: 1px solid #e3edf8; border-radius: 18px; padding: 24px 20px; box-shadow: 0 8px 24px rgba(15,45,92,.06); }
.vas-steps li:before { counter-increment: vasstep; content: counter(vasstep); display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 12px; border-radius: 50%; background: #ffb703; color: #10213d; font-weight: 800; }
.vas-steps strong { display: block; color: #0f2d5c; font-size: 16px; margin-bottom: 6px; }
.vas-steps span { color: #5f6f82; font-size: 14.5px; line-height: 1.7; }

/* Panel */
.vas-panel {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; align-items: center;
    background: linear-gradient(135deg, #0b2447 0%, #174b87 60%, #1f5ea8 100%);
    border-radius: 24px; padding: 34px; color: #fff; box-shadow: 0 16px 40px rgba(15,45,92,.18);
}
.vas-panel h2 { color: #fff; font-size: 28px; font-weight: 800; margin: 0 0 12px; }
.vas-panel p { color: rgba(255,255,255,.9); line-height: 1.85; margin: 0 0 12px; }
.vas-panel-links a { display: block; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 14px; padding: 12px 16px; margin-bottom: 10px; font-weight: 600; text-decoration: none; }
.vas-panel-links a:hover, .vas-panel-links a:focus { background: rgba(255,255,255,.2); color: #fff; text-decoration: none; }
.vas-panel-links a i { float: right; margin-top: 4px; }

/* Enquiry form */
.vas-enquiry { background: linear-gradient(135deg, #071d3f 0%, #0f3b78 50%, #1f5ea8 100%); color: #fff; }
.vas-enquiry-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 36px; align-items: start; }
.vas-enquiry-copy h2 { color: #fff; font-size: 32px; font-weight: 800; margin: 0 0 14px; }
.vas-enquiry-copy p { color: rgba(255,255,255,.88); line-height: 1.85; margin: 0 0 14px; }
.vas-enquiry-copy a { color: #ffd24d; font-weight: 600; }
.vas-enquiry-points { list-style: none; margin: 18px 0 0; padding: 0; }
.vas-enquiry-points li { position: relative; padding: 7px 0 7px 28px; color: rgba(255,255,255,.9); font-size: 15px; }
.vas-enquiry-points i { position: absolute; left: 0; top: 11px; color: #8ef0b0; }
.vas-form-card { background: #fff; border-radius: 22px; padding: 28px; box-shadow: 0 22px 48px rgba(4,20,45,.3); }
.vas-form-card h3 { margin: 0 0 16px; color: #0f2d5c; font-size: 22px; font-weight: 700; }
.vas-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.vas-field { display: flex; flex-direction: column; }
.vas-field.full { grid-column: 1 / -1; }
.vas-field label { color: #0f2d5c; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.vas-field input, .vas-field select, .vas-field textarea {
    width: 100%; box-sizing: border-box; padding: 11px 13px;
    border: 1px solid #d7e3f2; border-radius: 12px; background: #fff;
    font: inherit; font-size: 15px; color: #26364a;
}
.vas-field textarea { min-height: 110px; resize: vertical; }
.vas-field input:focus, .vas-field select:focus, .vas-field textarea:focus { outline: none; border-color: #1f5ea8; box-shadow: 0 0 0 3px rgba(31,94,168,.15); }
.vas-submit { width: 100%; margin: 18px 0 0; padding: 14px 20px; border: 0; border-radius: 999px; background: #1f5ea8; color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; transition: background .2s ease; }
.vas-submit:hover { background: #174b87; }
.vas-form-note { margin: 12px 0 0; color: #7a8899; font-size: 13px; line-height: 1.6; text-align: center; }
.vas-form-note a { color: #174b87; font-weight: 600; }
.vas-alert { padding: 12px 14px; border-radius: 12px; margin-bottom: 14px; font-size: 14.5px; line-height: 1.6; }
.vas-alert.error { background: #fdecea; color: #b3261e; border: 1px solid #f5c6c0; }
.vas-alert.success { background: #e8f8ee; color: #176c3a; border: 1px solid #b7e4c8; }
.vas-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* FAQ */
.vas-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.vas-faq-item { background: #fff; border: 1px solid #e3edf8; border-radius: 18px; padding: 22px; box-shadow: 0 8px 22px rgba(15,45,92,.05); }
.vas-faq-item h3 { margin: 0 0 8px; color: #0f2d5c; font-size: 18px; font-weight: 700; line-height: 1.4; }
.vas-faq-item p { margin: 0; color: #5f6f82; font-size: 15px; line-height: 1.8; }

@media (max-width: 991px) {
    .vas-hero-grid, .vas-row, .vas-enquiry-grid, .vas-panel { grid-template-columns: 1fr; }
    .vas-row-flip .vas-row-media { order: 0; }
    .vas-row .vas-row-media { order: -1; }
    .vas-hero h1 { font-size: 34px; }
    .vas-title, .vas-enquiry-copy h2 { font-size: 28px; }
    .vas-cards, .vas-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vas-hero-media img { height: 340px !important; max-height: 340px; }
}

@media (max-width: 767px) {
    .vas-sec { padding: 46px 0; }
    .vas-hero { padding: 46px 0 50px; }
    .vas-hero h1 { font-size: 28px; }
    .vas-title, .vas-enquiry-copy h2, .vas-panel h2 { font-size: 24px; }
    .vas-row h3 { font-size: 22px; }
    .vas-cards, .vas-steps, .vas-faq, .vas-fields { grid-template-columns: 1fr; }
    .vas-form-card, .vas-panel { padding: 20px; }
    .vas-btn { display: block; text-align: center; margin-right: 0; }
    .vas-hero-caption { position: static; max-width: none; margin-top: 10px; }
    .vas-hero-media img { height: 270px !important; max-height: 270px; }
}

@media (max-width: 480px) {
    .vas-hero-media img { height: 230px !important; max-height: 230px; }
}
