/* ==========================================================
   Amcosoft – single page site
   Brand: navy #20376a  |  yellow #fedc86
   Look & feel inspired by clean SaaS pages: airy white space,
   soft gradients, rounded cards, pill buttons, tabbed features.
   ========================================================== */

:root {
  --navy: #20376a;
  --navy-700: #182a52;
  --navy-900: #0f1c3a;
  --yellow: #fedc86;
  --yellow-600: #f6c64f;
  --ink: #1b2236;
  --muted: #5d6679;
  --line: #e6eaf2;
  --soft: #f5f8fd;
  --soft-yellow: #fff8e3;
  --radius: 20px;
  --shadow-sm: 0 2px 10px rgba(32, 55, 106, .06);
  --shadow: 0 18px 50px rgba(32, 55, 106, .12);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--font); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, h5 { color: var(--navy); font-weight: 700; letter-spacing: -.02em; }
p { color: var(--muted); line-height: 1.75; }
a { color: var(--navy); }
section { position: relative; }
.section-pad { padding: 96px 0; }
.bg-soft { background: var(--soft); }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 999px; padding: .8rem 1.7rem; transition: all .25s ease; }
.btn-brand { background: var(--navy); color: #fff; border: 2px solid var(--navy); }
.btn-brand:hover { background: var(--navy-700); border-color: var(--navy-700); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(32, 55, 106, .28); }
.btn-accent { background: var(--yellow); color: var(--navy-900); border: 2px solid var(--yellow); }
.btn-accent:hover { background: var(--yellow-600); border-color: var(--yellow-600); color: var(--navy-900); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(246, 198, 79, .45); }
.btn-ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 1rem 2.1rem; font-size: 1.05rem; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); background: var(--yellow); padding: .4rem .95rem; border-radius: 999px; margin-bottom: 1.1rem; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.18; margin-bottom: 1rem; }
.section-sub { max-width: 640px; margin-inline: auto; font-size: 1.05rem; }
.hl { position: relative; z-index: 0; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .38em; background: var(--yellow); z-index: -1; border-radius: 6px; }

/* ---------- Navbar ---------- */
.site-nav { padding: .85rem 0; transition: all .3s ease; background: transparent; }
.site-nav.scrolled { background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); box-shadow: 0 4px 24px rgba(32, 55, 106, .08); padding: .5rem 0; }
.site-nav .navbar-brand img { height: 38px; width: auto; }
.site-nav .nav-link { color: var(--ink); font-weight: 500; padding: .5rem 1rem !important; border-radius: 999px; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--navy); background: var(--soft-yellow); }
.navbar-toggler { border: 0; box-shadow: none !important; }
@media (max-width: 991.98px) {
  .site-nav { background: rgba(255, 255, 255, .97); box-shadow: 0 4px 24px rgba(32, 55, 106, .08); }
  .site-nav .navbar-collapse { padding: 1rem 0 .5rem; }
  .site-nav .btn { width: 100%; margin-top: .6rem; }
}

/* ---------- Hero ---------- */
.hero { padding: 150px 0 90px; background:
  radial-gradient(900px 480px at 85% -5%, rgba(254, 220, 134, .55), transparent 60%),
  radial-gradient(800px 500px at -10% 30%, rgba(32, 55, 106, .09), transparent 60%),
  linear-gradient(180deg, #fbfcff, #fff); overflow: hidden; }
.hero .kicker { display: inline-flex; align-items: center; gap: .55rem; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); border-radius: 999px; padding: .4rem 1rem .4rem .45rem; font-size: .85rem; font-weight: 500; color: var(--navy); margin-bottom: 1.4rem; }
.hero .kicker .dot { background: var(--yellow); color: var(--navy); border-radius: 999px; padding: .15rem .6rem; font-weight: 700; font-size: .72rem; letter-spacing: .06em; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.08; font-weight: 800; margin-bottom: 1.2rem; }
.hero .lead { font-size: 1.15rem; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 2rem; font-size: .9rem; color: var(--muted); }
.hero-trust i { color: var(--navy); margin-right: .35rem; }

/* Hero visual: browser window with floating chips */
.hero-visual { position: relative; max-width: 560px; margin-inline: auto; padding: 30px 0 30px; }
.browser { background: #fff; border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .5s ease; }
.hero-visual:hover .browser { transform: perspective(1400px) rotateY(0) rotateX(0); }
.browser-bar { display: flex; align-items: center; gap: .4rem; padding: .8rem 1rem; background: var(--soft); border-bottom: 1px solid var(--line); }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d5dbe8; }
.browser-bar span:first-child { background: var(--yellow); }
.browser-bar .url { margin-left: .6rem; flex: 1; background: #fff; border-radius: 999px; font-size: .72rem; color: var(--muted); padding: .2rem .8rem; border: 1px solid var(--line); }
.browser-body { padding: 1.4rem; }
.mock-hero { background: linear-gradient(135deg, var(--navy), #3555a0); border-radius: 14px; padding: 1.3rem; color: #fff; }
.mock-hero .l1 { height: 12px; width: 62%; background: rgba(255, 255, 255, .9); border-radius: 6px; margin-bottom: .6rem; }
.mock-hero .l2 { height: 8px; width: 82%; background: rgba(255, 255, 255, .45); border-radius: 6px; margin-bottom: .4rem; }
.mock-hero .l3 { height: 8px; width: 55%; background: rgba(255, 255, 255, .45); border-radius: 6px; margin-bottom: 1rem; }
.mock-hero .btnm { display: inline-block; height: 22px; width: 90px; background: var(--yellow); border-radius: 999px; }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-top: .9rem; }
.mock-grid div { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: .8rem; }
.mock-grid i { font-size: 1.15rem; color: var(--navy); }
.mock-grid b { display: block; height: 7px; width: 70%; background: #cfd7e8; border-radius: 4px; margin-top: .55rem; }
.mock-chart { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: .9rem; padding: .7rem .8rem; background: var(--soft); border-radius: 12px; border: 1px solid var(--line); }
.mock-chart i { flex: 1; background: var(--navy); border-radius: 4px 4px 0 0; opacity: .85; animation: grow 2.4s ease-in-out infinite alternate; }
.mock-chart i:nth-child(odd) { background: var(--yellow-600); }
.mock-chart i:nth-child(1) { height: 30%; } .mock-chart i:nth-child(2) { height: 45%; animation-delay: .2s; } .mock-chart i:nth-child(3) { height: 38%; animation-delay: .4s; }
.mock-chart i:nth-child(4) { height: 64%; animation-delay: .1s; } .mock-chart i:nth-child(5) { height: 55%; animation-delay: .5s; } .mock-chart i:nth-child(6) { height: 80%; animation-delay: .3s; }
.mock-chart i:nth-child(7) { height: 70%; animation-delay: .6s; } .mock-chart i:nth-child(8) { height: 95%; animation-delay: .2s; }
@keyframes grow { from { transform: scaleY(.82); } to { transform: scaleY(1); } }
.mock-chart i { transform-origin: bottom; }

.chip { position: absolute; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 16px; padding: .7rem 1rem; display: flex; align-items: center; gap: .7rem; font-size: .82rem; font-weight: 600; color: var(--navy); animation: float 5s ease-in-out infinite; }
.chip small { display: block; font-weight: 500; color: var(--muted); font-size: .7rem; }
.chip .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--soft-yellow); color: var(--navy); font-size: 1.05rem; }
.chip-1 { top: 0; left: -14px; } .chip-2 { bottom: 70px; right: -16px; animation-delay: 1.2s; } .chip-3 { bottom: -6px; left: 8%; animation-delay: 2.1s; }
.chip-1 .ico { background: #e8eefb; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 575.98px) { .chip { transform: scale(.85); } .chip-1 { left: -4px; } .chip-2 { right: -4px; } .browser { transform: none; } }

/* ---------- Logo-ish strip (Zoho "trusted by" slot → capability ticker) ---------- */
.ticker { background: var(--navy); color: #fff; overflow: hidden; padding: 1.1rem 0; }
.ticker-track { display: flex; gap: 3rem; width: max-content; animation: scroll 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { white-space: nowrap; font-weight: 500; opacity: .92; display: inline-flex; align-items: center; gap: .6rem; }
.ticker span i { color: var(--yellow); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { margin-top: -1px; }
.stat { text-align: center; padding: 2.2rem 1rem; }
.stat .num { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--navy); line-height: 1; }
.stat .lbl { color: var(--muted); font-size: .95rem; margin-top: .5rem; }

/* ---------- Services (tabbed, like Zoho's feature tabs) ---------- */
.service-tabs { display: inline-flex; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: .35rem; gap: .25rem; flex-wrap: wrap; justify-content: center; }
.service-tabs .nav-link { border-radius: 999px; color: var(--navy); font-weight: 600; padding: .7rem 1.6rem; }
.service-tabs .nav-link.active { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(32, 55, 106, .25); }
.svc-card { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem; transition: all .3s ease; position: relative; overflow: hidden; }
.svc-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--yellow-600); transition: width .35s ease; }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card:hover::before { width: 100%; }
.svc-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--soft-yellow); color: var(--navy); font-size: 1.6rem; margin-bottom: 1.2rem; transition: all .3s ease; }
.svc-card:hover .svc-icon { background: var(--navy); color: var(--yellow); transform: rotate(-6deg) scale(1.05); }
.svc-card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.svc-card p { font-size: .95rem; margin-bottom: 1.1rem; }
.svc-link { font-weight: 600; font-size: .9rem; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.svc-link i { transition: transform .25s ease; }
.svc-link:hover i { transform: translateX(5px); }

/* ---------- Process: Innovate → Develop → Scale ---------- */
.process-wrap { position: relative; }
/* g-5 pulls the row up by the gutter (3rem), so offset the line by 3rem + half the 92px icon */
.process-wrap::before { content: ""; position: absolute; top: calc(3rem + 46px); left: 16.66%; right: 16.66%; border-top: 2px dashed #cdd6ea; z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 1rem; display: flex; flex-direction: column; align-items: center; }
.step p { flex-grow: 1; }
.step .badge-ico { width: 92px; height: 92px; margin: 0 auto 1.4rem; flex: 0 0 auto; border-radius: 28px; background: var(--navy); color: var(--yellow); display: grid; place-items: center; font-size: 2.2rem; box-shadow: 0 16px 36px rgba(32, 55, 106, .28); transform: rotate(-4deg); transition: transform .3s ease; }
.step:hover .badge-ico { transform: rotate(0) scale(1.06); }
.step:nth-child(2) .badge-ico { background: var(--yellow); color: var(--navy); box-shadow: 0 16px 36px rgba(246, 198, 79, .45); }
.step .n { font-size: .8rem; font-weight: 700; letter-spacing: .15em; color: var(--yellow-600); }
.step h3 { font-size: 1.45rem; margin: .2rem 0 .6rem; }
.step ul { list-style: none; padding: 0; margin: 1rem 0 0; display: inline-block; text-align: left; }
.step li { font-size: .92rem; color: var(--ink); padding: .2rem 0; }
.step li i { color: var(--navy); margin-right: .5rem; }
@media (max-width: 767.98px) { .process-wrap::before { display: none; } }

/* ---------- Why us (feature tiles) ---------- */
.why-tile { display: flex; gap: 1.1rem; padding: 1.6rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); height: 100%; transition: all .3s ease; }
.why-tile:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.why-tile .ico { flex: 0 0 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--yellow); font-size: 1.4rem; }
.why-tile h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.why-tile p { margin: 0; font-size: .92rem; line-height: 1.6; }

/* ---------- Audiences (Zoho "solution for everyone") ---------- */
.aud-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.6rem; height: 100%; text-align: left; transition: all .3s ease; }
.aud-card:hover { background: var(--navy); border-color: var(--navy); transform: translateY(-6px); box-shadow: var(--shadow); }
.aud-card i { font-size: 2rem; color: var(--navy); background: var(--soft-yellow); width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; margin-bottom: 1.2rem; transition: all .3s ease; }
.aud-card h3 { font-size: 1.15rem; transition: color .3s; }
.aud-card p { font-size: .93rem; margin: 0; transition: color .3s; }
.aud-card:hover h3 { color: #fff; } .aud-card:hover p { color: #d3dbef; } .aud-card:hover i { background: var(--yellow); }

/* ---------- Testimonials (optional) ---------- */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; height: 100%; }
.quote-card .q { color: var(--ink); font-size: 1rem; }
.quote-card .who { font-weight: 700; color: var(--navy); margin: 0; }
.quote-card .role { font-size: .85rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq .accordion-item { border: 1px solid var(--line); border-radius: 16px !important; margin-bottom: .9rem; overflow: hidden; background: #fff; }
.faq .accordion-button { font-weight: 600; color: var(--navy); background: #fff; padding: 1.25rem 1.5rem; box-shadow: none !important; }
.faq .accordion-button:not(.collapsed) { background: var(--soft-yellow); color: var(--navy); }
.faq .accordion-body { color: var(--muted); line-height: 1.75; padding: 1.1rem 1.5rem 1.4rem; }

/* ---------- CTA + Contact ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, #2d4c93 100%); color: #fff; border-radius: 32px; padding: 3.2rem 2.4rem; position: relative; overflow: hidden; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; background: var(--yellow); opacity: .12; }
.cta-band::before { width: 340px; height: 340px; right: -90px; top: -120px; }
.cta-band::after { width: 220px; height: 220px; left: -60px; bottom: -110px; }
.cta-band h2 { color: #fff; } .cta-band p { color: #d6def2; }

.contact-card { background: #fff; border-radius: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.contact-info { background: var(--navy); color: #fff; padding: 2.6rem; height: 100%; position: relative; overflow: hidden; }
.contact-info::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: var(--yellow); opacity: .12; right: -90px; bottom: -90px; }
.contact-info h3 { color: #fff; } .contact-info p { color: #cfd8ee; }
.contact-info .row-item { display: flex; gap: 1rem; margin-top: 1.4rem; align-items: flex-start; position: relative; z-index: 1; }
.contact-info .row-item .ico { flex: 0 0 44px; height: 44px; border-radius: 12px; background: rgba(254, 220, 134, .16); color: var(--yellow); display: grid; place-items: center; font-size: 1.15rem; }
.contact-info .row-item a, .contact-info .row-item span { color: #fff; text-decoration: none; word-break: break-word; }
.contact-info .row-item small { display: block; color: #aebbdc; }
.contact-form { padding: 2.6rem; }
.form-control, .form-select { border-radius: 14px; border: 1.5px solid var(--line); padding: .85rem 1.05rem; background: var(--soft); }
.form-control:focus, .form-select:focus { border-color: var(--navy); box-shadow: 0 0 0 .22rem rgba(32, 55, 106, .12); background: #fff; }
.form-label { font-weight: 600; font-size: .88rem; color: var(--navy); }
.hp-field { position: absolute !important; left: -9999px; height: 0; width: 0; overflow: hidden; }
.alert-brand { border-radius: 14px; }
@media (max-width: 575.98px) { .contact-form, .contact-info { padding: 1.8rem 1.4rem; } .cta-band { padding: 2.4rem 1.4rem; border-radius: 24px; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #b9c4de; padding: 70px 0 28px; }
.footer img { height: 40px; filter: brightness(0) invert(1); }
.footer h5 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; }
.footer a { color: #b9c4de; text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--yellow); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: .28rem 0; font-size: .93rem; }
.footer p { color: #b9c4de; }
.social a { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); margin-right: .4rem; color: #fff; }
.social a:hover { background: var(--yellow); color: var(--navy); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3rem; padding-top: 1.5rem; font-size: .88rem; }

/* ---------- Floating buttons ---------- */
.fab { position: fixed; right: 18px; z-index: 1030; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; box-shadow: 0 10px 26px rgba(0, 0, 0, .22); transition: all .25s ease; text-decoration: none; }
.fab-wa { bottom: 86px; background: #25d366; color: #fff; }
.fab-wa:hover { color: #fff; transform: scale(1.08); }
.fab-top { bottom: 20px; background: var(--navy); color: var(--yellow); opacity: 0; visibility: hidden; border: 0; }
.fab-top.show { opacity: 1; visibility: visible; }
.fab-top:hover { transform: translateY(-4px); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 767.98px) {
  .section-pad { padding: 68px 0; }
  .hero { padding: 120px 0 60px; }
}
