:root {
  --blue: #0a9ad9;
  --blue-deep: #0b6fa8;
  --navy: #2a1a6e;
  --ink: #0f1d33;
  --muted: #5b6b82;
  --line: rgba(10, 154, 217, 0.18);
  --white: #ffffff;
  --mist: #f3f9fd;
  --grad: linear-gradient(135deg, #0a9ad9 0%, #2a1a6e 100%);
  --shadow: 0 20px 50px -20px rgba(15, 29, 51, 0.25);
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-deep); text-decoration: none; transition: color .3s; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 { font-family: "Playfair Display", Georgia, serif; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { color: var(--muted); }
.container { width: min(1180px, 92%); margin: 0 auto; }
section { padding: 96px 0; position: relative; }
.eyebrow {
  display: inline-block; letter-spacing: .25em; text-transform: uppercase;
  font-size: .75rem; font-weight: 600; color: var(--blue-deep);
  margin-bottom: 14px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }
.gradient-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: all .35s ease;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 30px -10px rgba(10,154,217,.6); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -12px rgba(10,154,217,.7); color: #fff; }
.btn-ghost { border-color: var(--blue); color: var(--blue-deep); background: transparent; }
.btn-ghost:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.75); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: all .4s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -20px rgba(15,29,51,.3); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; gap: 34px; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .95rem; position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--grad); transition: width .35s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--blue-deep); }
.nav-cta { padding: 11px 24px; font-size: .88rem; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 7px 0; transition: .3s; }

/* Hero slider */
.hero { min-height: 100vh; padding: 0; display: flex; align-items: center; overflow: hidden; background: #fff; }
.slider { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 1s ease, visibility 1s; display: flex; align-items: center;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(10,154,217,.22), transparent 60%),
    radial-gradient(700px 500px at 5% 90%, rgba(42,26,110,.14), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #eef7fc 100%);
}
.slide.active { opacity: 1; visibility: visible; z-index: 1; }
.slide-content { max-width: 720px; padding-top: 80px; }
.slide-content > * { opacity: 0; transform: translateY(30px); transition: all .9s cubic-bezier(.2,.7,.2,1); }
.slide.active .slide-content > * { opacity: 1; transform: none; }
.slide.active .slide-content > *:nth-child(2) { transition-delay: .15s; }
.slide.active .slide-content > *:nth-child(3) { transition-delay: .3s; }
.slide.active .slide-content > *:nth-child(4) { transition-delay: .45s; }
.slide p.lead { font-size: 1.15rem; margin: 22px 0 36px; max-width: 600px; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero .container { position: relative; z-index: 2; }
.slider-dots { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 5; }
.slider-dots button {
  width: 36px; height: 4px; border: 0; border-radius: 4px; background: rgba(10,154,217,.25);
  cursor: pointer; transition: all .4s;
}
.slider-dots button.active { background: var(--grad); width: 60px; }

/* Stats */
.stats { background: var(--grad); color: #fff; padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-num { font-family: "Playfair Display", serif; font-size: 3rem; font-weight: 700; color: #fff; }
.stat-label { color: rgba(255,255,255,.85); font-size: .92rem; letter-spacing: .05em; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 30px; transition: all .5s cubic-bezier(.2,.7,.2,1); position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0;
  transition: opacity .5s; z-index: 0;
}
.card > * { position: relative; z-index: 1; }
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { opacity: .04; }
.icon-wrap {
  width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(10,154,217,.15), rgba(42,26,110,.1)); margin-bottom: 22px;
  transition: transform .5s;
}
.card:hover .icon-wrap { transform: rotate(-8deg) scale(1.08); }
.icon-wrap svg { width: 32px; height: 32px; stroke: var(--blue-deep); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card p { font-size: .95rem; }
.card ul { margin: 14px 0 0 18px; color: var(--muted); font-size: .92rem; }
.card ul li { margin-bottom: 4px; }
.card-link { display: inline-block; margin-top: 18px; font-weight: 600; font-size: .9rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split-visual {
  border-radius: 28px; min-height: 420px; background: var(--grad); position: relative; overflow: hidden;
  box-shadow: var(--shadow); display: grid; place-items: center;
}
.split-visual img { width: 70%; filter: drop-shadow(0 20px 40px rgba(0,0,0,.25)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
.check-list { list-style: none; margin-top: 22px; }
.check-list li { padding-left: 34px; position: relative; margin-bottom: 14px; color: var(--muted); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--grad);
}
.check-list li::after {
  content: ""; position: absolute; left: 7px; top: 11px; width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* Portfolio */
.portfolio-card { padding: 0; overflow: hidden; }
.portfolio-thumb {
  height: 200px; background: linear-gradient(135deg, #0a9ad9, #2a1a6e); display: grid; place-items: center;
}
.portfolio-thumb svg { width: 90px; height: 90px; stroke: #fff; fill: none; stroke-width: 1.5; }
.portfolio-body { padding: 26px 28px 30px; }
.tag { display: inline-block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-deep); background: rgba(10,154,217,.1); padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }

/* Testimonial / CTA */
.cta-band {
  border-radius: 28px; padding: 70px 50px; text-align: center; color: #fff;
  background: var(--grad); position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 620px; margin: 16px auto 34px; }
.cta-band .btn-ghost { border-color: #fff; color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--navy); }

/* Page hero (inner pages) */
.page-hero {
  padding: 180px 0 90px; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(10,154,217,.18), transparent 70%),
    linear-gradient(180deg, #fff, #eef7fc);
}
.page-hero p { max-width: 680px; margin: 18px auto 0; font-size: 1.1rem; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }

/* Timeline */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--grad); transform: translateX(-50%); }
.tl-item { position: relative; width: 50%; padding: 0 40px 50px; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; }
.tl-item::after {
  content: ""; position: absolute; top: 8px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--blue); box-shadow: 0 0 0 6px rgba(10,154,217,.15);
}
.tl-item:nth-child(odd)::after { right: -8px; }
.tl-item:nth-child(even)::after { left: -8px; }
.tl-year { font-family: "Playfair Display", serif; font-size: 1.6rem; color: var(--blue-deep); font-weight: 700; }

/* Forms */
.form-card { background: #fff; border-radius: 24px; padding: 46px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label { font-size: .85rem; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; padding: 14px 16px; border: 1px solid #d5e6f1; border-radius: 12px; background: #fbfdfe;
  transition: all .3s; color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10,154,217,.15); }
.form-note { font-size: .85rem; margin-top: 12px; }
.contact-info { display: grid; gap: 22px; }
.info-item { display: flex; gap: 18px; align-items: flex-start; padding: 26px; border-radius: 18px; background: var(--mist); border: 1px solid var(--line); }
.info-item h4 { font-size: 1.05rem; margin-bottom: 4px; }
.info-item p, .info-item a { font-size: .95rem; color: var(--muted); }

/* Blog */
.blog-card { display: flex; flex-direction: column; }
.blog-card .meta { font-size: .82rem; color: var(--blue-deep); letter-spacing: .05em; margin-bottom: 10px; }
.blog-card h3 { margin-bottom: 12px; }
.blog-card .read-more { margin-top: auto; padding-top: 18px; font-weight: 600; font-size: .9rem; color: var(--blue-deep); }
.article { max-width: 780px; margin: 0 auto; }
.article h2 { font-size: 1.6rem; margin: 40px 0 14px; }
.article p { margin-bottom: 16px; font-size: 1.02rem; }
.article ul { margin: 0 0 18px 22px; color: var(--muted); }
.article li { margin-bottom: 8px; }
.callout { border-left: 4px solid var(--blue); background: var(--mist); padding: 22px 26px; border-radius: 0 14px 14px 0; margin: 26px 0; }
.blog-filter { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 50px; }
.blog-filter button {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  font: inherit; font-size: .88rem; color: var(--ink); transition: all .3s;
}
.blog-filter button.active, .blog-filter button:hover { background: var(--grad); color: #fff; border-color: transparent; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 80px 0 30px; position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; top: -200px; right: -200px; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10,154,217,.25), transparent 70%);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 50px; position: relative; z-index: 1; }
.footer-logo { background: #fff; padding: 12px 16px; border-radius: 14px; display: inline-block; }
.footer-logo img { height: 42px; width: auto; }
.site-footer h4 { color: #fff; font-family: "Inter", sans-serif; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 11px; font-size: .92rem; }
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 60px; padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; position: relative; z-index: 1; }
.footer-contact-line { display: block; margin-bottom: 10px; font-size: .92rem; }
.footer-form { display: flex; gap: 8px; margin-top: 10px; }
.footer-form input { flex: 1; padding: 12px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: .88rem; }
.footer-form input::placeholder { color: rgba(255,255,255,.5); }
.footer-form button { padding: 12px 20px; }

/* Back to top + WhatsApp */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6);
  animation: pulse 2.4s infinite;
}
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* Responsive */
@media (max-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  section { padding: 70px 0; }
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed; top: 84px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; padding: 10px 0; transform: translateY(-120%); transition: transform .5s ease;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.2);
  }
  .nav-links.open { transform: none; }
  .nav-links li { text-align: center; }
  .nav-links a { display: block; padding: 16px; }
  .nav-links a::after { display: none; }
  .nav-cta { display: none; }
  .grid-3, .grid-2, .form-row { grid-template-columns: 1fr; }
  .timeline::before { left: 10px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; left: 0; text-align: left; padding-left: 40px; }
  .tl-item:nth-child(odd)::after, .tl-item:nth-child(even)::after { left: 2px; right: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .slide-content { padding-top: 60px; }
  .cta-band { padding: 50px 26px; }
  .form-card { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
