/* Component styles shared across the page. Layout utilities live in index.html (Tailwind). */

html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; }

/* ---------- Header / nav ---------- */
.nav-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 0; color: #fff; font: inherit; }
.chev { width: 10px; height: 6px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dropdown { position: absolute; left: 0; top: 100%; z-index: 60; display: none; padding: 8px; background: #fff; color: #111; border-radius: 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, .25); font-size: 15px; font-weight: 400; line-height: 1.4; }
.group:hover > .dropdown, .group:focus-within > .dropdown { display: block; }
.dropdown a { display: block; padding: 9px 14px; border-radius: 8px; }
.dropdown a:hover { background: #eef3ff; color: #0e52fc; }
.explore-text { writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .01em; }

/* ---------- Hero stat cards ---------- */
.stat, .stat-box { border: 3px solid #979797; border-radius: 32px; }
.stat { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 30px; text-align: center; min-height: 140px; }
.stat b { font-size: 41.6px; line-height: 53px; font-weight: 500; color: #007dff; }
.stat span { margin-top: 10px; font-size: 12.8px; line-height: 19.5px; font-weight: 500; }

/* ---------- Buttons ---------- */
.btn-solid, .btn-outline, .btn-white { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; white-space: nowrap; border-radius: 9999px; font-weight: 500; text-align: center; transition: filter .2s, background-color .2s; }
.btn-solid { height: 65px; padding: 0 40px; background: #0e52fc; color: #fff; font-size: 20px; border: 2px solid #0e52fc; }
.btn-solid.btn-bordered { height: 61px; border-color: #fff; }
.btn-solid:hover { filter: brightness(1.12); }
.btn-outline { height: 65px; padding: 0 30px; border: 2px solid #0495f0; color: #fff; font-size: 20px; }
.btn-outline:hover { background: #0495f0; }
.btn-white { height: 64px; padding: 0 40px; background: #fff; color: #000; font-size: 20px; }
.btn-white:hover { background: #e7f8ff; }

/* ---------- Services ---------- */
.services-bg { background: linear-gradient(90deg, #fff 0, #fff 22%, #f8fcff 49%, #f0fbff 73%, #eff9ff 92%); }
.svc-card { display: flex; flex-direction: column; border-radius: 24px; padding: 48px 27px 49px; }
.svc-card img { display: block; align-self: flex-start; max-width: none; }
.svc-card h3 { margin-top: 38px; font-size: 22.4px; line-height: 32px; font-weight: 500; color: #111; }
.svc-card p { margin-top: 23px; font-size: 17.45px; line-height: 29.7px; color: #5a5a5a; }
.svc-card.is-active p { color: #111; }
.svc-card ul { margin-top: 18px; padding-left: 49px; list-style: disc; font-size: 17.45px; line-height: 29.7px; color: #222; }

/* ---------- Case studies ---------- */
.case-card { position: relative; display: flex; flex: 0 0 100%; flex-direction: column; min-height: 640px; padding: 40px 24px 40px; overflow: hidden; border-radius: 28px; background-color: #007bec; background-size: cover; background-position: center; color: #fff; }
.case-card > * { position: relative; z-index: 1; }
.case-card.has-overlay::before { content: ''; position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(180deg, #0000009e 0, #007dff 28%); opacity: .35; }
.case-logo { align-self: flex-start; height: 62px; width: auto; margin-left: 16px; border-radius: 12px; }
.case-logo-text { margin-left: 0; display: flex; align-items: center; padding: 0 25px; background: #fff; color: #000; font-size: 24.8px; font-weight: 600; white-space: nowrap; }
.case-chips { display: flex; gap: 15px; margin-top: 46px; }
.case-chips span { display: inline-flex; height: 41px; align-items: center; padding: 0 30px; border-radius: 9999px; font-size: 13.6px; font-weight: 500; text-transform: uppercase; white-space: nowrap; }
.chip-light { background: #fff; color: #001c56; }
.chip-blue { background: #0e52fc; color: #fff; font-weight: 600 !important; padding: 0 24.5px !important; }
.case-card h3 { margin-top: 40px; font-size: 27.2px; line-height: 38px; font-weight: 600; }
@media (min-width: 1024px) { .case-card h3 { height: 114px; } }
.case-stats { display: grid; grid-template-columns: 203px 1fr; margin-top: 37px; min-height: 120px; }
.case-stats > div { padding: 11px 0 0 13px; }
.case-stats > div + div { border-left: 1px solid rgba(255, 255, 255, .55); padding-left: 24px; }
.case-stats b { display: block; font-size: 36.8px; line-height: 40px; font-weight: 600; }
.case-stats span { display: block; margin-top: 13px; font-size: 14px; line-height: 21px; font-weight: 500; }
.case-btn { align-self: flex-start; margin-top: 49px; display: inline-flex; height: 52px; align-items: center; padding: 0 25px; border: 2px solid #fff; border-radius: 9999px; font-size: 17.6px; font-weight: 500; }
.case-btn:hover { background: #fff; color: #0e52fc; }
.arrow-btn { position: absolute; z-index: 5; display: flex; width: 47px; height: 47px; align-items: center; justify-content: center; border-radius: 9999px; background: #0e45ff; transform: translateY(-50%); }
.arrow-btn svg { width: 10px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.arrow-btn:hover { background: #0a35c8; }
@media (min-width: 768px) { .case-card { flex-basis: calc((100% - 16px) / 2); } }
@media (min-width: 1024px) { .case-card { flex-basis: calc((100% - 32px) / 3); height: 688px; min-height: 0; padding: 63px 31px 0; } }

/* ---------- Problems tabs ---------- */
.tab { flex: none; height: 62px; padding: 0 24px; border-radius: 9999px; font-size: 17.6px; font-weight: 600; color: #4a4a4a; white-space: nowrap; transition: background-color .2s, color .2s; }
.tab.is-active { background: #000; color: #fff; font-weight: 600; }
.tab-panel { align-items: start; }
.solution-card { margin-top: 33px; border-radius: 20px; background: #fff; padding: 32px 28px; }
.solution-card h4 { display: flex; align-items: center; gap: 13px; font-size: 22.4px; line-height: 32px; font-weight: 500; }
.solution-card ul { margin-top: 25px; }
.solution-card li { position: relative; padding-left: 33px; font-size: 17.6px; line-height: 30px; }
.solution-card li + li { margin-top: 14.5px; }
.solution-card li::before { content: ''; position: absolute; left: 2px; top: 5px; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230e52fc' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='10' r='8.8'/%3E%3Cpath d='M6 10.2l2.8 2.8L14 7.6'/%3E%3C/svg%3E") no-repeat center / contain; }

/* ---------- Deliver cards ---------- */
.deliver-card { border-radius: 24px; background: #000; padding: 40px 25px 27px; color: #fff; }
.deliver-card .num { display: flex; width: 56px; height: 56px; align-items: center; justify-content: center; border: 1px solid #fff; font-size: 32px; font-weight: 500; line-height: 1; }
.deliver-card h3 { margin-top: 25px; font-size: 22.4px; line-height: 32px; font-weight: 500; }
.deliver-card p { margin-top: 22px; font-size: 17.45px; line-height: 29.7px; }
@media (min-width: 1024px) { .deliver-card { padding-top: 60px; } }

/* ---------- Choose Folio3 ---------- */
.choose-bg { background: #fff radial-gradient(ellipse 560px 560px at 100% 50%, #eff9ff 0, rgba(239, 249, 255, 0) 100%); }
.why-card { border: 2px solid #e8e9ea; border-radius: 24px; padding: 38px 37px 41px; }
.why-card h3 { margin-top: 59px; font-size: 22.4px; line-height: 33px; font-weight: 500; color: #111; }
.why-card p { margin-top: 20px; font-size: 17.6px; line-height: 29.7px; color: #111; }
@media (max-width: 1023px) { .why-card h3 { margin-top: 24px; } }

/* ---------- Process ---------- */
.step-dot { display: flex; width: 62px; height: 62px; margin: 0 auto; align-items: center; justify-content: center; border-radius: 9999px; background: #fff; font-size: 28px; font-weight: 500; line-height: 1; position: relative; }
.step-card { border-radius: 28px; background: #fff; padding: 41px 31px 30px; }
.step-icon-box { display: flex; height: 66px; align-items: center; }
.step-icon-box img { display: block; height: auto; max-width: none; }
.step-card small { display: block; margin-top: 32px; font-size: 19.5px; line-height: 24px; font-weight: 500; color: #6f6f6f; }
.step-card h3 { margin-top: 20px; font-size: 21px; line-height: 30px; font-weight: 500; color: #000; }
.step-card p { margin-top: 20px; font-size: 16.2px; line-height: 27.3px; color: #111; }
.step-card p.step-p-lg { font-size: 17.6px; line-height: 29.7px; }

/* ---------- Reviews + FAQ ---------- */
.reviews-bg { background: linear-gradient(180deg, #f0f1f0 0, #f6f6f6 12%, #fff 32%); }
.review-card { position: relative; flex: 0 0 100%; min-height: 520px; border-radius: 24px; background: #fff; padding: 31px 31px 110px; }
.review-card h3 { margin-top: 49px; font-size: 25px; line-height: 33px; font-weight: 500; color: #364f5a; }
.review-card small { display: block; font-size: 18px; line-height: 26px; font-weight: 500; color: #364f5a; }
.review-card p { margin-top: 26px; font-size: 17.6px; line-height: 26.2px; color: #555; }
.review-logo { position: absolute; left: 25px; bottom: 25px; zoom: 1.25; }
@media (min-width: 768px) { .review-card { flex-basis: calc((100% - 24px) / 2); } }
@media (min-width: 1024px) { .review-card { flex-basis: calc((100% - 48px) / 3); height: 552px; } }

.faq { border-radius: 24px; background: #fff; box-shadow: 0 2px 10px rgba(20, 30, 60, .05); }
.faq-q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px; padding: 22.5px 38px 22.5px 32px; text-align: left; font-size: 20.8px; line-height: 30px; font-weight: 500; color: #111; }
.faq-ico { position: relative; display: block; flex: none; width: 40px; height: 40px; border-radius: 8px; background: #e3ebfb; }
.faq-ico::before, .faq-ico::after { content: ''; position: absolute; left: 50%; top: 50%; width: 15px; height: 2px; background: #364f5a; transform: translate(-50%, -50%); }
.faq-ico::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity .2s; }
.faq.is-open .faq-ico { background: #0e45ff; }
.faq.is-open .faq-ico::before { background: #fff; }
.faq.is-open .faq-ico::after { opacity: 0; }
.faq-a { display: none; padding: 0 32px 39px; }
.faq.is-open .faq-a { display: block; }
.faq-a p { margin-top: -3px; font-size: 17.6px; line-height: 29.7px; color: #555; }

/* ---------- Form ---------- */
.field { display: block; margin-bottom: 34px; }
.field > span { display: block; margin-bottom: 16.5px; font-size: 17.6px; line-height: 25px; color: #111; }
.field em { color: #d00; font-style: normal; }
.field input, .field textarea { display: block; width: 100%; height: 48px; border: 0; border-bottom: 1px solid #b9bcc2; border-radius: 0; background: transparent; font: inherit; font-size: 17.6px; color: #111; outline: none; padding: 0; }
.field textarea { height: 71px; padding-top: 12px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8f949c; }
.field input:focus, .field textarea:focus { border-bottom-color: #0e52fc; }

/* ---------- Footer ---------- */
.footer-h { margin-bottom: 14px; font-size: 16px; font-weight: 600; }
.footer-ul { display: grid; gap: 9px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.footer-ul a:hover, footer a:hover { color: #0495f0; }

/* ---------- Wordmark ---------- */
.wordmark { display: inline-block; color: #fff; font-weight: 600; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.wordmark span { color: #0495f0; }

@media (min-width: 1700px) { .tab { padding: 0 58px; } }

/* Laptop widths: let the case-card chips shrink and wrap instead of clipping */
@media (max-width: 1699px) {
  .case-chips { flex-wrap: wrap; gap: 10px; }
  .case-chips span { padding: 0 18px !important; white-space: normal; text-align: center; height: auto; min-height: 41px; }
}

/* ---------- Inner pages ---------- */
.nav-link { display: inline-block; padding: 14px 0; }
.nav-link:hover, .nav-btn:hover { color: #0495f0; }
.nav-link[aria-current="page"], .nav-btn[aria-current="page"] { color: #0495f0; }
.dropdown a[aria-current="page"] { background: #eef3ff; color: #0e52fc; font-weight: 500; }
#mobileNav a[aria-current="page"] { color: #0495f0; }

.svc-card.plain { padding: 36px 27px 40px; }
.svc-card.plain h3 { margin-top: 18px; }
.svc-card.plain p { margin-top: 14px; }
.svc-card.plain ul { padding-left: 22px; }
.svc-num { display: block; font-size: 15px; line-height: 1; font-weight: 600; letter-spacing: .08em; color: #0e52fc; }
.why-card.plain { padding: 34px 32px 38px; }
.why-card.plain h3 { margin-top: 0; }
.btn-sm { height: 52px; padding: 0 26px; font-size: 17px; }

.rel-card { display: flex; flex-direction: column; border: 2px solid #e8e9ea; border-radius: 24px; padding: 28px 26px; transition: border-color .2s, box-shadow .2s; }
.rel-card h3 { font-size: 20px; line-height: 28px; font-weight: 500; color: #111; }
.rel-card p { margin-top: 10px; font-size: 16px; line-height: 26px; color: #555; }
.rel-card span { margin-top: auto; padding-top: 18px; font-size: 15.5px; font-weight: 500; color: #0e52fc; }
.rel-card span::after { content: ' \2192'; }
.rel-card:hover { border-color: #0e52fc; box-shadow: 0 10px 28px rgba(14, 82, 252, .12); }

.field select { display: block; width: 100%; height: 48px; border: 0; border-bottom: 1px solid #b9bcc2; border-radius: 0; background: transparent; font: inherit; font-size: 17.6px; color: #111; outline: none; padding: 0; }
.field select:focus { border-bottom-color: #0e52fc; }
.field input.is-invalid, .field textarea.is-invalid, .field select.is-invalid { border-bottom-color: #d00; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { flex: 1 1 200px; font-size: 15px; line-height: 22px; color: #555; }
.form-status.is-ok { color: #0a7a34; }
.form-status.is-error { color: #c00; }

.filter-btn { height: 46px; padding: 0 22px; border-radius: 9999px; background: #eef3ff; color: #001c56; font-size: 15.5px; font-weight: 500; transition: background-color .2s, color .2s; }
.filter-btn:hover { background: #dbe6ff; }
.filter-btn.is-active { background: #0e52fc; color: #fff; }
.case-grid-hidden { display: none !important; }
#caseGrid .case-card { flex: none; }
@media (max-width: 1023px) { #caseGrid .case-card { height: auto; min-height: 560px; } }

/* Pricing packages */
.pkg-grid { display: grid; gap: 24px; align-items: stretch; }
@media (min-width: 900px) { .pkg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; } }
.pkg { position: relative; display: flex; flex-direction: column; border-radius: 24px; padding: 36px 30px 32px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16); color: #fff; }
.pkg.is-featured { border-color: #0e52fc; box-shadow: 0 0 0 1px #0e52fc, 0 18px 60px rgba(14,82,252,.35); }
.pkg-badge { align-self: flex-start; margin-bottom: 14px; border-radius: 9999px; background: #0e52fc; padding: 4px 12px; font-size: 13px; font-weight: 500; color: #fff; }
.pkg h3 { font-size: 24px; line-height: 32px; font-weight: 500; }
.pkg-price { margin-top: 14px; display: flex; align-items: baseline; gap: 8px; font-size: 44px; line-height: 1.1; font-weight: 600; }
.pkg-price small { font-size: 15px; font-weight: 400; opacity: .65; }
.pkg-desc { margin-top: 14px; min-height: 52px; font-size: 15.5px; line-height: 1.6; opacity: .75; }
.pkg ul { margin: 22px 0 28px; display: grid; gap: 12px; font-size: 16px; line-height: 1.45; }
.pkg li { display: flex; gap: 12px; align-items: flex-start; }
.pkg li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: #1a8cff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.3l3 3 6-6.3' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.pkg .btn-solid, .pkg .btn-outline { margin-top: auto; height: 56px; width: 100%; font-size: 18px; }
.pkg-light { background: #fff; border-color: #dfe6f1; color: #111; }
.pkg-light.is-featured { background: #f2f9ff; }
.pkg-light .btn-outline { color: #0e52fc; border-color: #0e52fc; }
.pkg-light .btn-outline:hover { background: #0e52fc; color: #fff; }

/* Get Started modal */
.form-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 24px 16px; background: rgba(0, 12, 40, .72); backdrop-filter: blur(4px); animation: modal-fade .2s ease; }
.form-modal[hidden] { display: none; }
.form-modal-box { position: relative; margin: auto; width: 100%; max-width: 600px; overflow: hidden; border-radius: 28px; background: #fff; color: #111; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); animation: modal-pop .25s ease; }
.form-modal-head { padding: 34px 28px 28px; color: #fff; background: radial-gradient(120% 140% at 100% 0, #0e52fc 0, rgba(14,82,252,0) 60%), #0e172f; }
.form-modal-eyebrow { display: inline-block; border-radius: 9999px; background: rgba(255,255,255,.12); padding: 4px 12px; font-size: 13px; font-weight: 500; color: #8fd0ff; }
.form-modal-head h2 { margin-top: 0; padding-right: 36px; font-size: 28px; line-height: 1.25; font-weight: 600; }
.form-modal-sub { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,.78); }
.form-modal-box form { padding: 28px 28px 30px; }
.form-modal-close { position: absolute; top: 14px; right: 16px; display: flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.12); font-size: 24px; line-height: 1; color: #fff; transition: background-color .2s; }
.form-modal-close:hover { background: rgba(255,255,255,.25); }
.form-modal-box .field { margin-bottom: 18px; }
.form-modal-box .field > span { margin-bottom: 7px; font-size: 14.5px; font-weight: 500; line-height: 20px; }
.form-modal-box .field input, .form-modal-box .field textarea { height: 48px; border: 1px solid #d5d9e2; border-radius: 12px; background: #f8f9fc; padding: 0 14px; font-size: 16px; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.form-modal-box .field textarea { height: 96px; padding-top: 12px; }
.form-modal-box .field input:focus, .form-modal-box .field textarea:focus { border-color: #0e52fc; background: #fff; box-shadow: 0 0 0 3px rgba(14, 82, 252, .15); }
.form-modal-box .field input.is-invalid, .form-modal-box .field textarea.is-invalid { border-color: #d00; }
.form-modal-box button[type="submit"] { width: 100%; height: 54px; border-radius: 9999px; background: #0e52fc; font-size: 17px; }
.form-modal-box button[type="submit"]:hover { background: #0b42ca; }
.form-modal-box .form-status { flex: 1 1 100%; order: 2; text-align: center; }
.form-modal-box .form-status:empty { display: none; }
.form-modal-note { margin-top: 14px; text-align: center; font-size: 13px; color: #7a8090; }
body.modal-open { overflow: hidden; }
@keyframes modal-fade { from { opacity: 0; } }
@keyframes modal-pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
