/* =========================================================
   Oasis Techsolution - Main Stylesheet
   Colors taken from logo: deep navy blue + steel grey
   ========================================================= */
:root {
  --navy: #0b5563;
  --navy-dark: #073b45;
  --navy-deep: #04262e;
  --blue: #0f8f86;
  --teal: #f0a43a;
  --grey: #5b6474;
  --text: #1e2533;
  --muted: #667085;
  --line: #e4e8f0;
  --bg: #ffffff;
  --bg-alt: #f3f8f8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(4, 38, 46, .08);
  --shadow-lg: 0 20px 50px rgba(4, 38, 46, .15);
  --head: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --body: 'Inter', 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
html { overflow-x: clip; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy-deep); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; color: var(--muted); }
.container { width: min(1200px, 92%); margin: 0 auto; }
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.ic { flex-shrink: 0; vertical-align: middle; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 10px; font-weight: 600; font-size: .98rem; border: 2px solid transparent; cursor: pointer; transition: all .25s; font-family: var(--body); }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; box-shadow: 0 8px 20px rgba(15, 143, 134, .3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(15, 143, 134, .4); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); color: var(--navy-dark); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-deep); color: #c9e2e2; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; gap: 16px; flex-wrap: wrap; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; color: #c9e2e2; }
.topbar a:hover { color: #fff; }
.topbar-right { display: flex; gap: 22px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(4, 38, 46, .08); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: auto; height: 46px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--head); font-size: 1.3rem; color: var(--navy-dark); }
.brand-text small { font-size: .72rem; color: var(--grey); letter-spacing: .04em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a { color: var(--text); font-weight: 500; padding: 10px 14px; border-radius: 8px; font-size: .96rem; position: relative; }
.main-nav a:not(.btn):hover, .main-nav a.active { color: var(--blue); }
.main-nav a.active:not(.btn)::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--blue); border-radius: 2px; }
.main-nav .nav-cta { margin-left: 10px; color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); cursor: pointer; padding: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 90px 0 110px; background: linear-gradient(160deg, #f5fbfa 0%, #e4f3f1 55%, #fdf3e3 100%); }
.hero-bg { position: absolute; inset: 0; background-image: radial-gradient(rgba(31, 58, 138, .09) 1.2px, transparent 1.2px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000 30%, transparent); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); background: rgba(15, 143, 134, .1); padding: 6px 14px; border-radius: 30px; margin-bottom: 18px; }
.accent { background: linear-gradient(90deg, var(--blue), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.12rem; max-width: 600px; }
.lead strong { color: var(--navy-dark); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0; }
.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.hero-badges li { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--navy); }
.hero-badges .ic { color: var(--teal); }

.hero-visual { position: relative; min-height: 380px; }
.hero-card { background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); }
.hero-card.main { padding: 24px; max-width: 420px; margin-left: auto; }
.hc-head { display: flex; align-items: center; gap: 6px; margin-bottom: 18px; }
.hc-head small { margin-left: auto; color: var(--muted); font-weight: 600; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: #ff6b6b; } .dot.y { background: #ffc94d; } .dot.g { background: #3ecf8e; }
.hc-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; font-weight: 500; }
.pill { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.pill.ok { background: #e3f8ee; color: #138a52; }
.pill.run { background: #fff4dc; color: #b07800; }
.hc-bar { height: 8px; background: var(--bg-alt); border-radius: 8px; margin-top: 20px; overflow: hidden; }
.hc-bar div { height: 100%; background: linear-gradient(90deg, var(--blue), var(--teal)); border-radius: 8px; }
.hc-foot { display: block; margin-top: 8px; color: var(--muted); }
.hero-card.float { position: absolute; display: flex; gap: 12px; align-items: center; padding: 14px 18px; animation: floaty 5s ease-in-out infinite; }
.hero-card.float .ic { color: #fff; background: linear-gradient(135deg, var(--blue), var(--teal)); padding: 8px; width: 40px; height: 40px; border-radius: 10px; }
.hero-card.float strong { display: block; font-size: .95rem; color: var(--navy-deep); }
.hero-card.float small { color: var(--muted); font-size: .8rem; }
.f1 { left: 0; bottom: -10px; }
.f2 { right: -10px; top: -30px; animation-delay: 1.5s !important; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Stats ---------- */
.stats { margin-top: -50px; position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.stat { padding: 30px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--head); font-size: 2.2rem; color: var(--navy); }
.stat span { color: var(--muted); font-size: .92rem; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: #d9ecec; }
.section-dark h2, .section-dark h4 { color: #fff; }
.section-dark p { color: #bcd6d6; }
.section-dark .eyebrow { background: rgba(255, 255, 255, .12); color: #ffd08a; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: all .3s; display: flex; flex-direction: column; color: inherit; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { font-size: 1.08rem; }
.card p { font-size: .93rem; flex: 1; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, rgba(15, 143, 134, .12), rgba(240, 164, 58, .14)); color: var(--navy); margin-bottom: 18px; flex-shrink: 0; }
.card:hover .card-icon { background: linear-gradient(135deg, var(--blue), var(--teal)); color: #fff; }
.card-icon.light { margin-bottom: 0; }
.card-link { display: inline-flex; gap: 6px; align-items: center; color: var(--blue); font-weight: 600; font-size: .9rem; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); border-top: 4px solid var(--blue); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.product:nth-child(3n+2) { border-top-color: var(--teal); }
.product:nth-child(3n) { border-top-color: var(--navy); }
.product:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.product-top h3 { margin: 0; font-size: 1.25rem; }
.product .btn { margin-top: auto; align-self: flex-start; }
.product-grid.big .product ul { margin-bottom: 22px; }

.ticks { list-style: none; padding: 0; margin: 0 0 10px; }
.ticks li { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: .93rem; color: var(--text); }
.ticks .ic { color: #fff; background: var(--teal); border-radius: 50%; padding: 3px; width: 20px; height: 20px; }
.ticks.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin-bottom: 20px; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.why-item { background: var(--bg-alt); padding: 24px; border-radius: var(--radius); }
.why-item h4 { margin-bottom: 6px; }
.why-item p { font-size: .92rem; margin: 0; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; }
.step { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.step span { font-family: var(--head); font-size: 2rem; font-weight: 800; color: rgba(255, 208, 138, .55); display: block; margin-bottom: 8px; }
.step p { font-size: .9rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--blue), var(--teal)); padding: 50px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: 6px; }
.cta-band p { color: rgba(255, 255, 255, .88); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #b3cfcf; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.site-footer h4 { color: #fff; margin-bottom: 18px; }
.site-footer p { color: #b3cfcf; font-size: .93rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 5px 0; font-size: .93rem; }
.site-footer a { color: #b3cfcf; }
.site-footer a:hover { color: #fff; }
.brand-footer { margin-bottom: 16px; }
.brand-footer img { background: #fff; border-radius: 8px; padding: 6px 10px; height: 52px; width: auto; }
.brand-footer strong { color: #fff; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .ic { color: var(--teal); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; font-size: .87rem; text-align: center; }

.back-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 90; }
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { color: #fff; background: var(--blue); }

/* ---------- Inner page hero ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, #0f8f86); color: #fff; padding: 80px 0 70px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1.2px, transparent 1.2px); background-size: 22px 22px; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: #c9e2e2; font-size: 1.1rem; max-width: 640px; }
.crumbs { font-size: .9rem; color: #a6c9c9; margin-top: 18px; }
.crumbs a { color: #fff; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.logo-frame { aspect-ratio: 1; max-width: 380px; margin: 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle, #fff 74%, #e4f3f1 75%, #e4f3f1 88%, #f5fbfa 89%); box-shadow: var(--shadow-lg); }
.logo-frame img { width: 62%; }
.about-grid p strong { color: var(--navy-dark); }
.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mv-card { background: #fff; padding: 34px; border-radius: var(--radius); box-shadow: var(--shadow); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 980px; margin: 0 auto; }
.chips span { background: #fff; border: 1px solid var(--line); padding: 10px 18px; border-radius: 30px; font-weight: 500; font-size: .93rem; color: var(--navy-dark); box-shadow: 0 2px 6px rgba(4, 38, 46, .04); }
.section-alt .chips span { background: #fff; }

/* ---------- Services page ---------- */
.service-list { display: grid; gap: 30px; }
.service-row { display: grid; grid-template-columns: 160px 1fr; gap: 40px; align-items: center; padding: 40px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: box-shadow .3s; }
.service-row:hover { box-shadow: var(--shadow-lg); }
.service-row.alt { background: var(--bg-alt); border-color: transparent; }
.service-icon { width: 160px; height: 160px; border-radius: 30px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, var(--blue), var(--teal)); box-shadow: 0 14px 30px rgba(15, 143, 134, .25); }
.service-no { font-family: var(--head); font-weight: 800; color: var(--teal); letter-spacing: .1em; }
.service-body h2 { font-size: 1.6rem; margin-top: 4px; }

/* ---------- Software page ---------- */
.dev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.tech-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tech-list div { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); padding: 18px; border-radius: 12px; color: #fff; font-weight: 500; }
.tech-list .ic { color: #ffd08a; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); }
.feature > .ic { color: var(--blue); margin-bottom: 14px; width: 30px; height: 30px; }
.feature p { margin: 0; font-size: .93rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.info-item { display: flex; gap: 16px; align-items: flex-start; margin-top: 22px; }
.info-item .card-icon { margin: 0; width: 50px; height: 50px; }
.info-item h4 { margin-bottom: 2px; }
.info-item p { margin: 0; }
.form-card { background: #fff; padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-card label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy-dark); margin-bottom: 18px; }
.form-card input, .form-card select, .form-card textarea { display: block; width: 100%; margin-top: 7px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-weight: 400; color: var(--text); background: #fbfcfe; transition: border-color .2s, box-shadow .2s; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(15, 143, 134, .12); background: #fff; }
.form-card textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 22px; font-size: .95rem; display: flex; gap: 10px; align-items: center; }
.alert ul { margin: 0; padding-left: 18px; }
.alert.success { background: #e3f8ee; color: #0f6e41; }
.alert.error { background: #fdecec; color: #a32020; }
.map-wrap iframe { width: 100%; height: 400px; border: 0; display: block; filter: grayscale(.2); }

/* ---------- Clients ---------- */
.clients-section { background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); }
.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1000px; margin: 0 auto; }
@media (max-width: 760px) { .client-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } .client { padding: 20px 12px; } .client-logo { width: 68px; height: 68px; font-size: 1.3rem; } }
.client { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 18px 22px; text-align: center; transition: transform .3s, box-shadow .3s; }
.client:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.client-logo { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 800; font-size: 1.6rem; color: #fff; letter-spacing: .02em; }
.client-logo.c0 { background: linear-gradient(135deg, var(--navy), var(--blue)); }
.client-logo.c1 { background: linear-gradient(135deg, #c97f1c, var(--teal)); }
.client-logo.c2 { background: linear-gradient(135deg, var(--blue), var(--teal)); }
.client-logo.c3 { background: linear-gradient(135deg, var(--navy-deep), #0f8f86); }
.client-logo.has-img { width: 140px; height: 84px; border-radius: 10px; background: #fff; }
.client-logo.has-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.client h4 { font-size: .98rem; margin: 0 0 4px; line-height: 1.35; }
.client small { color: var(--muted); font-size: .82rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero-card.float { animation: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .site-header { backdrop-filter: none; background: #fff; }
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .main-nav { position: fixed; top: 0; right: 0; height: 100vh; width: 280px; background: #fff; flex-direction: column; align-items: stretch; padding: 100px 24px 24px; box-shadow: -10px 0 40px rgba(0, 0, 0, .15); transform: translateX(100%); transition: transform .35s ease; z-index: -1; }
  .main-nav { visibility: hidden; }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav a { padding: 14px; border-bottom: 1px solid var(--line); }
  .main-nav a.active:not(.btn)::after { display: none; }
  .main-nav .nav-cta { margin: 16px 0 0; justify-content: center; }
  .hero-inner, .why-grid, .about-grid, .dev-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .product-grid, .mv-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .topbar-inner > span:first-child { display: none; }
  .topbar-inner { justify-content: center; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 60px 0 100px; }
  .card-grid, .product-grid, .mv-grid, .feature-grid, .why-list, .tech-list, .form-row, .ticks.two-col { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; padding: 28px; gap: 20px; }
  .service-icon { width: 90px; height: 90px; border-radius: 20px; }
  .service-icon .ic { width: 40px; height: 40px; }
  .topbar-right { gap: 14px; font-size: .78rem; }
  .brand-text small { display: none; }
  .f2 { right: 0; }
  .form-card { padding: 24px; }
}
