/* ============================================================
   Manomay Solutions - Corporate Theme
   Palette: Navy / Blue / White / Gray + Orange accent
   ============================================================ */
:root {
    --navy: #0b2545;
    --navy-2: #13315c;
    --blue: #1d4e89;
    --blue-light: #2e6bb8;
    --accent: #f5821f;      /* brand orange */
    --accent-dark: #d96c0a;
    --accent-soft: #fff2e6;
    --ink: #1f2a37;
    --muted: #5b6b7f;
    --line: #e3e8ef;
    --bg: #ffffff;
    --bg-soft: #f5f7fa;
    --bg-softer: #eef2f7;
    --white: #ffffff;
    --shadow-sm: 0 2px 10px rgba(11, 37, 69, .06);
    --shadow: 0 12px 30px rgba(11, 37, 69, .10);
    --shadow-lg: 0 24px 60px rgba(11, 37, 69, .16);
    --radius: 14px;
    --radius-sm: 10px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --display: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    margin: 0;
    overflow-x: hidden;
}
.container { max-width: var(--container); }
h1, h2, h3, h4, h5 { font-family: var(--display); color: var(--navy); font-weight: 700; line-height: 1.2; }
p { color: var(--muted); }
a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 2000;
    background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 40px; padding: .7rem 1.6rem; transition: all .25s ease; letter-spacing: .2px; }
.btn-lg { padding: .85rem 2rem; font-size: 1.02rem; }
.btn-accent { background: var(--accent); border: 2px solid var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(245,130,31,.28); }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(245,130,31,.36); }
.btn-primary { background: var(--blue); border: 2px solid var(--blue); }
.btn-primary:hover { background: var(--navy); border-color: var(--navy); transform: translateY(-2px); }
.btn-outline-primary { color: var(--blue); border: 2px solid var(--blue); background: transparent; }
.btn-outline-primary:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.btn-outline-light { border: 2px solid rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #cdd7e5; font-size: .86rem; padding: 8px 0; }
.topbar a { color: #cdd7e5; }
.topbar a:hover { color: var(--accent); }
.topbar .divider { margin: 0 12px; color: #38517a; }
.topbar-right a { margin-left: 14px; font-size: 1rem; }

/* ---------- Header / Nav ---------- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 1030; box-shadow: var(--shadow-sm); }
.site-header.scrolled { box-shadow: var(--shadow); }
.navbar { padding: .6rem 0; }
.brand-logo { height: 54px; width: auto; }
.navbar-nav .nav-link { color: var(--navy); font-weight: 600; padding: .5rem .85rem !important; position: relative; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--accent); }
.navbar-nav .nav-link.active::after {
    content: ""; position: absolute; left: .85rem; right: .85rem; bottom: 2px; height: 3px;
    background: var(--accent); border-radius: 3px;
}
.nav-cta { margin-left: .6rem; }
.nav-cta .btn { padding: .55rem 1.2rem; }
.dropdown-menu { border: none; box-shadow: var(--shadow); border-radius: var(--radius-sm); padding: .5rem; margin-top: .4rem; }
.dropdown-item { border-radius: 8px; padding: .55rem .9rem; font-weight: 500; color: var(--navy); }
.dropdown-item:hover { background: var(--accent-soft); color: var(--accent-dark); }
.navbar-toggler { border: none; }
.navbar-toggler:focus { box-shadow: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative; color: #fff; padding: 6rem 0 6.5rem;
    background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 55%, var(--blue) 100%);
    overflow: hidden;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(650px 400px at 85% 10%, rgba(245,130,31,.22), transparent 60%),
        radial-gradient(500px 400px at 10% 90%, rgba(46,107,184,.35), transparent 60%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; margin-bottom: 1.1rem; }
.hero h1 .hl { color: var(--accent); }
.hero p.lead { color: #d7e0ee; font-size: 1.18rem; max-width: 620px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.2rem; }
.hero-badges .item { display: flex; align-items: center; gap: .6rem; color: #eaf0f8; font-weight: 600; }
.hero-badges .item i { color: var(--accent); font-size: 1.3rem; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-card {
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
    border-radius: var(--radius); padding: 1.6rem; backdrop-filter: blur(6px);
}
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.hero-stats .num { font-family: var(--display); font-size: 2rem; font-weight: 800; color: #fff; }
.hero-stats .num span { color: var(--accent); }
.hero-stats .lbl { color: #c3d0e2; font-size: .9rem; }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.bg-soft { background: var(--bg-soft); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy p { color: #c3d0e2; }
.eyebrow {
    display: inline-block; text-transform: uppercase; letter-spacing: 2px; font-size: .78rem;
    font-weight: 700; color: var(--accent); margin-bottom: .8rem;
}
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .8rem; }
.section-intro { max-width: 720px; margin: 0 auto 3rem; }
.section-head { margin-bottom: 3rem; }

/* ---------- Service / feature cards ---------- */
.card-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.svc-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 2rem 1.7rem; box-shadow: var(--shadow-sm); transition: all .3s ease; height: 100%;
    display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-icon {
    width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
    background: var(--accent-soft); color: var(--accent-dark); font-size: 1.7rem; margin-bottom: 1.2rem;
    transition: all .3s ease;
}
.svc-card:hover .svc-icon { background: var(--accent); color: #fff; transform: rotate(-6deg) scale(1.05); }
.svc-card h3 { font-size: 1.22rem; margin-bottom: .6rem; }
.svc-card p { font-size: .96rem; margin-bottom: 1.1rem; }
.svc-card .card-link { margin-top: auto; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: .4rem; }
.svc-card .card-link i { transition: transform .2s ease; }
.svc-card:hover .card-link { color: var(--accent-dark); }
.svc-card:hover .card-link i { transform: translateX(4px); }

/* ---------- Industry chips / cards ---------- */
.ind-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.6rem 1.2rem; text-align: center; box-shadow: var(--shadow-sm);
    transition: all .3s ease; height: 100%;
}
.ind-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ind-card i { font-size: 2.2rem; color: var(--blue); margin-bottom: .7rem; display: block; }
.ind-card:hover i { color: var(--accent); }
.ind-card h4 { font-size: 1.05rem; margin: 0; }

/* ---------- Why choose us ---------- */
.feature { display: flex; gap: 1.1rem; }
.feature .fi {
    flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
    background: var(--navy); color: var(--accent); font-size: 1.4rem;
}
.feature h4 { font-size: 1.12rem; margin-bottom: .35rem; }
.feature p { font-size: .95rem; margin: 0; }

/* ---------- Process / workflow ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.process-step { position: relative; padding: 2rem 1.4rem 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.process-step .step-num {
    position: absolute; top: -20px; left: 1.4rem; width: 44px; height: 44px; border-radius: 12px;
    background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--display);
    font-weight: 800; font-size: 1.15rem; box-shadow: 0 8px 18px rgba(245,130,31,.35);
}
.process-step h4 { font-size: 1.12rem; margin: .8rem 0 .4rem; }
.process-step p { font-size: .92rem; margin: 0; }

/* ---------- Stats band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat-band .num { font-family: var(--display); font-size: 2.6rem; font-weight: 800; color: #fff; }
.stat-band .num span { color: var(--accent); }
.stat-band .lbl { color: #b9c6da; font-weight: 500; }

/* ---------- Testimonials ---------- */
.tst-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); height: 100%; }
.tst-card .quote-mark { color: var(--accent); font-size: 2.4rem; line-height: 1; }
.tst-card p { color: var(--ink); font-style: italic; }
.tst-author { display: flex; align-items: center; gap: .9rem; margin-top: 1rem; }
.tst-author .av { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }
.tst-author .name { font-weight: 700; color: var(--navy); font-family: var(--display); }
.tst-author .role { font-size: .85rem; color: var(--muted); }
.stars { color: var(--accent); }

/* ---------- Page banner / breadcrumb ---------- */
.page-banner {
    background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff;
    padding: 3.2rem 0 2.6rem; position: relative; overflow: hidden;
}
.page-banner::before {
    content:""; position:absolute; inset:0;
    background: radial-gradient(500px 300px at 90% 20%, rgba(245,130,31,.20), transparent 60%);
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: .6rem; }
.page-banner p { color: #cdd9ea; max-width: 640px; margin: 0; }
.breadcrumb { margin: .8rem 0 0; }
.breadcrumb-item, .breadcrumb-item a { color: #b9c6da; }
.breadcrumb-item a:hover { color: var(--accent); }
.breadcrumb-item.active { color: #fff; }
.breadcrumb-item + .breadcrumb-item::before { color: #64789a; }

/* ---------- Content prose ---------- */
.prose h2 { margin-top: 2.2rem; font-size: 1.7rem; }
.prose h3 { margin-top: 1.6rem; font-size: 1.28rem; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 1.9rem; margin-bottom: .6rem; color: var(--muted); }
.prose ul li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 1px; color: var(--accent); font-weight: 700; }

.check-list { list-style: none; padding-left: 0; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .8rem; color: var(--ink); }
.check-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 1px; color: var(--accent); font-weight: 700; font-size: 1.1rem; }
/* Light text when a check-list sits on a dark navy panel/section */
.value-panel .check-list li,
.bg-navy .check-list li { color: #dbe6f4; }
.value-panel .check-list li::before,
.bg-navy .check-list li::before { color: var(--accent); }

/* ---------- Split / feature blocks ---------- */
.media-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.icon-list { display: grid; gap: 1rem; }
.icon-list .il { display: flex; gap: .9rem; align-items: flex-start; }
.icon-list .il i { color: var(--accent); font-size: 1.3rem; margin-top: 2px; }

.value-panel { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 2.4rem; }
.value-panel h3 { color: #fff; }
.value-panel .lead { color: #cdd9ea; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2.4rem; }
.form-label { font-weight: 600; color: var(--navy); margin-bottom: .35rem; }
.form-control, .form-select {
    border: 1.5px solid var(--line); border-radius: 10px; padding: .7rem .9rem; font-size: .97rem;
}
.form-control:focus, .form-select:focus { border-color: var(--blue-light); box-shadow: 0 0 0 3px rgba(46,107,184,.15); }
.req { color: var(--accent-dark); }
.field-msg { display: inline-block; font-size: .85rem; margin-top: .3rem; }
.field-msg.error, .field-error { color: #c0392b; font-weight: 600; }
.field-msg.ok { color: #1e8e5a; font-weight: 600; }
.alert-success-box { background: #e9f8f0; border: 1px solid #b6e6cf; color: #1e6f4c; border-radius: 10px; padding: 1rem 1.2rem; }
.alert-error-box { background: #fdecea; border: 1px solid #f5c6c2; color: #b23b32; border-radius: 10px; padding: 1rem 1.2rem; }
.contact-info-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 2.2rem; }
.contact-info-card h3 { color: #fff; }
.contact-info-card .ci { display: flex; gap: 1rem; margin-bottom: 1.3rem; }
.contact-info-card .ci i { font-size: 1.3rem; color: var(--accent); margin-top: 3px; }
.contact-info-card a { color: #dbe6f4; }
.contact-info-card a:hover { color: var(--accent); }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-embed iframe, .map-placeholder { width: 100%; height: 320px; border: 0; display: block; }
.map-placeholder { background: var(--bg-softer); display: grid; place-items: center; color: var(--muted); text-align: center; }
.map-actions { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; box-shadow: var(--shadow-sm); }
.map-qr img { width: 110px; height: 110px; border: 1px solid var(--line); border-radius: 10px; padding: 4px; background: #fff; }
.map-actions-text strong { color: var(--navy); font-family: var(--display); }
.map-actions-text p { font-size: .88rem; margin: .2rem 0 .6rem; }
@media (max-width: 400px) { .map-actions { flex-direction: column; text-align: center; } }

/* ---------- FAQ ---------- */
.accordion-button { font-family: var(--display); font-weight: 700; color: var(--navy); background: #fff; }
.accordion-button:not(.collapsed) { color: var(--accent-dark); background: var(--accent-soft); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 3px rgba(46,107,184,.15); }
.accordion-item { border: 1px solid var(--line); border-radius: var(--radius-sm) !important; margin-bottom: .8rem; overflow: hidden; }

/* ---------- CTA strip ---------- */
.cta-strip { background: linear-gradient(120deg, var(--accent), var(--accent-dark)); color: #fff; border-radius: var(--radius); padding: 2.6rem; }
.cta-strip h2 { color: #fff; }
.cta-strip p { color: #fff3e8; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c6da; margin-top: 0; }
.footer-cta { background: linear-gradient(120deg, var(--blue) 0%, var(--navy-2) 100%); padding: 3.2rem 0; }
.footer-cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.footer-cta p { color: #d3ddec; max-width: 620px; margin: .6rem auto 1.6rem; }
.footer-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.footer-main { padding: 3.5rem 0 2rem; }
.footer-brand img { height: 58px; width: auto; margin-bottom: 1rem; }
.footer-about { font-size: .93rem; color: #a9b8cd; }
.footer-social a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); color: #dbe6f4; margin-right: .5rem; transition: all .25s; }
.footer-social a:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }
.site-footer h5 { color: #fff; font-size: 1.05rem; margin-bottom: 1.1rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: #a9b8cd; font-size: .94rem; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .9rem; font-size: .92rem; color: #a9b8cd; }
.footer-contact li i { color: var(--accent); margin-top: 3px; }
.footer-newsletter { margin-top: 1.2rem; }
.footer-newsletter label { font-size: .9rem; color: #cdd9ea; margin-bottom: .4rem; display: block; }
.footer-newsletter .form-control { border-radius: 40px 0 0 40px; border: none; }
.footer-newsletter .btn { border-radius: 0 40px 40px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 1.2rem 0; font-size: .88rem; }
.footer-bottom p { color: #8ea0b8; }
.footer-legal { list-style: none; display: flex; gap: 1.2rem; padding: 0; margin: 0; }
.footer-legal a { color: #8ea0b8; }
.footer-legal a:hover { color: var(--accent); }
.footer-bottom-contact { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-bottom-contact a { color: #a9b8cd; font-size: .88rem; }
.footer-bottom-contact a i { color: var(--accent); margin-right: .3rem; }
.footer-bottom-contact a:hover { color: var(--accent); }

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed; right: 22px; bottom: 92px; width: 46px; height: 46px; border-radius: 12px;
    background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 1.2rem;
    box-shadow: 0 10px 24px rgba(245,130,31,.4); opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all .3s ease; z-index: 1040;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-dark); color: #fff; }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-fab {
    position: fixed; right: 22px; bottom: 22px; z-index: 1040;
    display: inline-flex; align-items: center; gap: .55rem;
    background: #25d366; color: #fff; font-weight: 700; text-decoration: none;
    padding: 12px 18px 12px 14px; border-radius: 40px;
    box-shadow: 0 10px 26px rgba(37,211,102,.45);
    transition: all .25s ease;
}
.whatsapp-fab i { font-size: 1.5rem; line-height: 1; }
.whatsapp-fab:hover { background: #1ebe5b; color: #fff; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(37,211,102,.55); }
.whatsapp-fab-text { font-size: .95rem; white-space: nowrap; }
/* Pulse ring to draw attention (centred on the icon) */
.whatsapp-fab::before {
    content: ""; position: absolute; right: 16px; bottom: 12px; width: 34px; height: 34px;
    border-radius: 50%; background: #25d366; z-index: -1; animation: wa-pulse 2.2s infinite;
}
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .6; } 70% { transform: scale(2.2); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 575.98px) {
    .whatsapp-fab { right: 16px; bottom: 16px; padding: 12px; }
    .whatsapp-fab-text { display: none; }
    .whatsapp-fab::before { right: 12px; bottom: 12px; }
    .back-to-top { right: 16px; bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) { .whatsapp-fab::before { animation: none; } }

/* ---------- Error page ---------- */
.error-code { font-family: var(--display); font-size: clamp(5rem, 16vw, 10rem); font-weight: 800; color: var(--navy); line-height: 1; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .card-grid, .card-grid.cols-4, .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
    .process-grid, .stat-band { grid-template-columns: repeat(2, 1fr); }
    .navbar-collapse { background: #fff; padding: 1rem; border-radius: 12px; margin-top: .6rem; box-shadow: var(--shadow); }
    .nav-cta { margin: .6rem 0 0; }
    .nav-cta .btn { width: 100%; }
    .hero { padding: 4rem 0; }
    .process-step .step-num { position: static; margin-bottom: .8rem; }
}
@media (max-width: 575.98px) {
    .card-grid, .card-grid.cols-4, .card-grid.cols-2, .process-grid, .stat-band, .hero-stats { grid-template-columns: 1fr; }
    .section { padding: 3.2rem 0; }
    .form-card { padding: 1.5rem; }
    .footer-legal { gap: .8rem; }
}
