/* Put this at the very top of your CSS */
@font-face {
  font-family: 'Sanggar';
  src: url('Sanggar.woff2') format('woff2'),
       url('Sanggar.woff') format('woff'),
       url('Sanggar.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* assets/styles.css */
/* Reset + base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  color: #0f172a; /* slate-900 */
  background: radial-gradient(1200px 600px at 10% -10%, #e9e7ff 0%, transparent 50%) no-repeat,
              linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

/* Containers */
.container { width: min(1200px, 92vw); margin: 0 auto; padding: 0 0; }

/* Header / Nav (glass, sticky) */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(12px);
  background: linear-gradient(135deg, rgba(102,126,234,0.85), rgba(118,75,162,0.85));
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand-logo { width: 44px; height: 44px; }
.brand-text { font-weight: 800; font-size: 1.25rem; letter-spacing: .2px; }

.nav-links { list-style: none; display: flex; gap: 22px; }
.nav-links a {
  color: #fff; text-decoration: none; font-weight: 600; opacity: 0.95;
  padding: 8px 10px; border-radius: 10px; transition: all .2s ease;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(255,255,255,0.16); box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset;
}

.menu-toggle { display: none; background: transparent; border: 0; color: #fff; font-size: 1.5rem; }

/* Hero */
.hero {
  position: relative;
  display: grid; place-items: center;
  min-height: clamp(70vh, 78vh, 86vh);
  padding: 120px 16px 80px;
  color: #fff;
  background: radial-gradient(1000px 600px at 85% -20%, rgba(251,191,36,.25), transparent 40%),
              linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: hidden;
}
.hero .glow {
  position: absolute;
  width: 900px; height: 900px; border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.18), rgba(255,255,255,0) 60%);
  filter: blur(30px); top: -280px; right: -260px; pointer-events: none;
}
.hero-inner { width: min(1050px, 92vw); text-align: center; position: relative; z-index: 1; }
.kicker { text-transform: uppercase; letter-spacing: .22em; opacity: .9; font-weight: 700; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.1; margin: 14px 0; font-weight: 900; }
.hero p.lede { font-size: clamp(1.05rem, 1.8vw, 1.25rem); opacity: .95; max-width: 780px; margin: 0 auto 26px; }

.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  --bg1: #fbbf24; --bg2: #f59e0b;
  display: inline-block; padding: 12px 18px; border-radius: 14px;
  background: linear-gradient(45deg, var(--bg1), var(--bg2)); color: #0f172a;
  font-weight: 800; text-decoration: none; box-shadow: 0 10px 30px rgba(251,191,36,.25);
  transform: translateY(0); transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(251,191,36,.3); }
.btn.ghost {
  background: rgba(255,255,255,0.16); color: #fff; box-shadow: none; border: 1px solid rgba(255,255,255,0.22);
}

/* Sections */
.section { padding: 80px 16px; }
.section h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); margin-bottom: 10px; }
.section .sub { color: #475569; margin-bottom: 26px; }

.grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(12, 1fr);
}
.card {
  grid-column: span 4; /* default 3-up */
  background: #ffffff; border-radius: 18px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
  padding: 20px; transition: transform .22s ease, box-shadow .22s ease;
  border: 1px solid #f1f5f9;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 42px rgba(2, 6, 23, 0.12); }
.card .icon {
  width: 64px; height: 64px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; font-size: 1.6rem;
  margin-bottom: 10px;
}
.card h3 { font-size: 1.2rem; margin: 6px 0 8px; }
.card p { color: #475569; }

.products .card { background: #f8fafc; }
.products .thumb {
  height: 180px; border-radius: 14px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  display: grid; place-items: center; color: #fff; font-size: 2rem; margin-bottom: 10px;
}

/* About split */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; }
.split .panel {
  height: 360px; border-radius: 20px; background: rgba(255,255,255,0.6);
  border: 1px solid #e2e8f0; display: grid; place-items: center; font-size: 3rem;
}

/* Contact */
.form { width: min(680px, 92vw); margin: 0 auto; }
.form .field { margin-bottom: 16px; }
.form label { font-weight: 700; display: block; margin-bottom: 6px; }
.form input, .form textarea, .form select {
  width: 100%; border: 2px solid #e5e7eb; border-radius: 12px; padding: 12px 14px; font-size: 1rem;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: #667eea; }
.form .submit { width: 100%; margin-top: 8px; }

/* Footer */
.site-footer { background: #0b1220; color: #cbd5e1; padding: 48px 16px 18px; margin-top: 48px; }
.footer-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.footer-grid section { grid-column: span 4; }
.footer-grid h4 { color: #fbbf24; margin-bottom: 12px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin: 6px 0; }
.footer-bottom { text-align: center; margin-top: 12px; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 12px; }

/* Responsive */
@media (max-width: 900px) {
  .grid .card { grid-column: span 6; } /* 2-up */
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .menu-toggle { display: inline-block; }
  .nav-links { display: none; position: absolute; top: 64px; right: 12px; left: 12px; padding: 12px; gap: 8px;
    background: linear-gradient(135deg, rgba(102,126,234,0.98), rgba(118,75,162,0.98)); border-radius: 14px; }
  .nav-links.show { display: grid; grid-auto-rows: min-content; }
  .grid .card { grid-column: 1 / -1; } /* 1-up */
}

/* Install prompt */
.install-prompt {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: none; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px;
  color: #fff; cursor: pointer; user-select: none;
  background: linear-gradient(135deg, #667eea, #764ba2); box-shadow: 0 12px 30px rgba(102,126,234,.25);
}
.install-prompt:hover { transform: translateY(-2px); }

/* Premium sticky/glassy header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, rgba(102,126,234,0.95), rgba(118,75,162,0.95));
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: #fff;
}

.logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: 'Sanggar', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: .2px;
  color: #fff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background .2s ease, box-shadow .2s ease, color .2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,0.16);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18) inset;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* Mobile menu */
@media (max-width: 768px) {
  .menu-toggle { display: inline-block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    flex-direction: column;
    gap: .75rem;
    background: linear-gradient(135deg, rgba(102,126,234,0.98), rgba(118,75,162,0.98));
    border-radius: 14px;
    width: calc(100% - 2rem);
  }
  .nav-links.show { display: flex; }
}

/* Header shrink on scroll */
.header-scrolled {
  background: rgba(102,126,234,0.95);
  backdrop-filter: blur(12px) saturate(120%);
}
/* ===== Services Auto-Scroll Carousel ===== */
.services-carousel {
  position: relative;
  margin-top: 2rem;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 18px;
  /* edge fade */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}

.carousel-track {
  display: flex;
  align-items: stretch;
  gap: 22px;
  will-change: transform;
  user-select: none;
  padding: 12px;
}

/* BEFORE
.carousel-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 18px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}
.carousel-track { padding: 12px; }
*/

/* AFTER */
.carousel-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 18px;

  /* much tighter edge fade so cards appear to reach the edge */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
}

/* remove horizontal padding so the loop never shows a blank strip */
.carousel-track {
  padding: 12px 0;      /* was 12px (all sides) */
}


.carousel-card {
  flex: 0 0 360px;               /* visible card width; adjust as you like */
  max-width: 90vw;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #eef2ff;
  box-shadow: 0 10px 28px rgba(2,6,23,0.08);
  padding: 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
}

.carousel-icon {
  width: 64px; height: 64px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff; font-size: 1.7rem;
}

.carousel-text h3 {
  font-size: 1.05rem;
  margin: 2px 0 6px;
  color: #111827;
}
.carousel-text p {
  color: #475569; line-height: 1.55;
  font-size: .98rem;
  margin: 0;
}

/* nav buttons */
.carousel-btn {
  position: absolute; z-index: 2;
  top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 999px;
  border: 0; cursor: pointer;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  font-size: 22px; line-height: 40px;
}
.carousel-btn:hover { background: #fff; }
.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }

@media (max-width: 640px) {
  .carousel-card { flex-basis: 300px; }
  .carousel-btn { display: none; } /* hide buttons on small screens, swipe instead */
}

/* Services heading style */
.services-title{
  text-align:center;
  color:#fff;
  font-weight:800;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  margin: 0 0 .25rem;
}

.services-sub{
  text-align:center;
  color: rgba(255,255,255,.85);
  margin: 0 0 14px;
  font-size: 1rem;
}

/* give a little space above the slider */
.services-carousel{ margin-top: 10px; }

/* === Services slider: zero-gap, no fades === */
.services-carousel { position: relative; margin-top: 10px; }

.carousel-viewport{
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 18px;

  /* kill all fades/masks/overlays */
  -webkit-mask-image: none !important;
  mask-image: none !important;
}
.carousel-viewport::before,
.carousel-viewport::after{ content: none !important; display: none !important; }

.carousel-track{
  display: flex;
  align-items: stretch;
  will-change: transform;
  user-select: none;

  /* no side padding = no blank strip at edges */
  padding: 0 !important;

  /* spacing between cards (change if you like) */
  gap: 22px;
}

/* optional: if you still see a hairline at the loop, replace gap with margins
.carousel-track{ gap: 0 !important; }
.carousel-card{ margin-left: 22px; }
.carousel-card:first-child{ margin-left: 0; }
*/
<div class="services-carousel" id="servicesCarousel">
  <div class="carousel-viewport">
    <button class="carousel-btn prev" aria-label="Previous">‹</button>

    <div class="carousel-track" id="servicesTrack"></div>

    <button class="carousel-btn next" aria-label="Next">›</button>
  </div>
</div>
/* --- Section layout & headings --- */
.services-section{
  padding: 28px 0 10px;           /* compact spacing under hero */
}
.services-block{
  width: min(1050px, 92vw);       /* same visual width as hero text for perfect alignment */
  margin-inline: auto;
}
.services-title{
  text-align:center;
  color:#fff;
  font-weight:800;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin: 0 0 6px;
}
.services-sub{
  text-align:center;
  color: rgba(255,255,255,.9);
  margin: 0 0 14px;
  font-size: 1rem;
}

/* --- Slider: zero gaps, centered arrows --- */
.services-carousel{ margin-top: 6px; }
.carousel-viewport{
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 18px;
  -webkit-mask-image: none !important;
  mask-image: none !important;

  /* ensure arrow centering matches content height */
  display: block;
}
.carousel-viewport::before,
.carousel-viewport::after{ content: none !important; display: none !important; }

.carousel-track{
  display: flex;
  align-items: stretch;
  will-change: transform;
  user-select: none;
  padding: 0 !important;          /* absolutely no side padding */
  gap: 22px;                      /* card spacing */
}

/* Uniform card height so the whole row looks tight */
.carousel-card{
  flex: 0 0 360px;                /* card width */
  max-width: 90vw;
  min-height: 170px;              /* keeps row height steady */
  margin: 0;
}

/* Arrows: perfectly centered, single clean focus ring */
.carousel-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px; height: 40px; border-radius: 999px;
  border: 0; background:#fff; color:#111827;
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
  cursor: pointer; outline: none;
}
.carousel-btn.prev{ left: 8px; }
.carousel-btn.next{ right: 8px; }
.carousel-btn:focus-visible{ outline: 2px solid #93c5fd; outline-offset: 2px; }

@media (max-width: 640px){ .carousel-btn{ display:none; } }  /* swipe on small screens */

/* Wave divider */
.section-divider-wave {
  position: relative;
  margin-top: 10px;        /* small breathing room below hero CTAs */
  line-height: 0;          /* removes extra space around svg */
  z-index: 1;
}
.section-divider-wave svg {
  display: block;
  width: 100%;
  height: 64px;            /* adjust curve size if you like: 48–96px */
}

/* Services as a separate light section */
.services-section{
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 56px 0 64px;    /* clear vertical rhythm */
  border-top: 1px solid rgba(2,6,23,0.06); /* subtle separation line */
  z-index: 0;
}

/* keep your centered block width (matches hero text width) */
.services-block{
  width: min(1050px, 92vw);
  margin-inline: auto;
}

/* headings (you likely already have these; safe to keep) */
.services-title{
  text-align:center;
  color:#0f172a;           /* dark on light surface */
  font-weight:800;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin: 0 0 6px;
}
.services-sub{
  text-align:center;
  color:#475569;
  margin: 0 0 18px;
  font-size: 1rem;
}

/* slider sits nicely on light bg */
.services-carousel{ margin-top: 8px; }

/* Purple background remains; add breathing space below hero */
.services-on-gradient{ padding: 28px 0 10px; }

.services-surface{
  width: min(1100px, 94vw);
  margin: 0 auto;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(2,6,23,0.10), 0 1px 0 rgba(2,6,23,0.04) inset;
  padding: 28px 16px 24px;
  border: 1px solid #eef2ff;
}

.services-surface .services-title{ color:#0f172a; margin-bottom:6px; }
.services-surface .services-sub{ color:#475569; margin-bottom:14px; }

/* ---------- Base premium tile ---------- */
.services-carousel .carousel-card{
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #e8eefc;
  background:
    linear-gradient(180deg,#ffffff 0%,#f8fafc 100%); /* base */
  box-shadow:
    0 18px 38px rgba(2,6,23,0.08),
    0 1px 0 rgba(2,6,23,0.04) inset;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* soft “glow blobs” that pick up per-card colors via CSS vars */
.services-carousel .carousel-card::before,
.services-carousel .carousel-card::after{
  content:"";
  position:absolute; inset:auto auto 0 -15%;
  width:70%; height:70%;
  background: radial-gradient(60% 60% at 30% 70%, var(--blob1,rgba(102,126,234,.10)) 0%, transparent 70%);
  filter: blur(0.5px);
  pointer-events:none;
}
.services-carousel .carousel-card::after{
  inset:-15% -15% auto auto;
  width:60%; height:60%;
  background: radial-gradient(60% 60% at 70% 30%, var(--blob2,rgba(118,75,162,.10)) 0%, transparent 70%);
}

/* tasteful top gloss */
.services-carousel .carousel-card > .gloss,
.services-carousel .carousel-card::marker{ display:none; }
.services-carousel .carousel-card::selection{ background:transparent; }
.services-carousel .carousel-card::before:empty{}

/* hover pop */
.services-carousel .carousel-card:hover{
  transform: translateY(-4px);
  box-shadow:
    0 26px 60px rgba(2,6,23,0.12),
    0 1px 0 rgba(2,6,23,0.06) inset;
  border-color: rgba(147,197,253,.55); /* sky */
}

/* ---------- Icon tile upgrade ---------- */
.services-carousel .carousel-icon{
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,.35), transparent 45%),
    linear-gradient(135deg, var(--icon1,#667eea), var(--icon2,#764ba2));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.35),
    0 6px 16px rgba(0,0,0,.10);
  color:#fff;
}

/* ---------- Per-card palettes (cycles every 6) ---------- */
.services-carousel .carousel-card{
  --blob1: rgba(99,102,241,.16);
  --blob2: rgba(139,92,246,.14);
  --icon1:#6366f1; --icon2:#7c3aed;
}
.services-carousel .carousel-card{
  --blob1: rgba(99,102,241,.16);
  --blob2: rgba(139,92,246,.14);
  --icon1:#6366f1; --icon2:#7c3aed;
}
.services-carousel .carousel-card{
  --blob1: rgba(99,102,241,.16);
  --blob2: rgba(139,92,246,.14);
  --icon1:#6366f1; --icon2:#7c3aed;
}
.services-carousel .carousel-card{
  --blob1: rgba(99,102,241,.16);
  --blob2: rgba(139,92,246,.14);
  --icon1:#6366f1; --icon2:#7c3aed;
}
.services-carousel .carousel-card{
  --blob1: rgba(99,102,241,.16);
  --blob2: rgba(139,92,246,.14);
  --icon1:#6366f1; --icon2:#7c3aed;
}
.services-carousel .carousel-card{
  --blob1: rgba(99,102,241,.16);
  --blob2: rgba(139,92,246,.14);
  --icon1:#6366f1; --icon2:#7c3aed;
}

/* ---------- Optional: subtle divider line inside light surface ---------- */
.services-section .services-block{
  position: relative;
}
.services-section .services-block::after{
  content:"";
  display:block;
  height:1px;
  width:100%;
  margin:16px 0 8px;
  background: linear-gradient(90deg, transparent, rgba(2,6,23,.06), transparent);
}

/* ===== Why Mercmall (Purple × White) ===== */
.why-mercmall-section{
  padding: 40px 0 56px;               /* comfortable space from hero */
  background: transparent;            /* hero stays purple behind; card contrasts */
}

.why-surface{
  width: min(1100px, 94vw);
  margin: 0 auto;
  background: #fff;
  border: 1px solid #eef2ff;
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(2,6,23,0.10);
  padding: 28px 24px;
}

/* Heading */
.why-head{
  margin: 4px 0 18px;
  text-align: left;
}
.why-head h2{
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: .2px;
  color: #0f172a;
  margin: 0 0 6px;
}
.why-head p{
  color: #475569;
  margin: 0;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}

/* Layout */
.why-grid{
  display: grid;
  grid-template-columns: 0.95fr 1.4fr 0.75fr; /* media • features • deco */
  align-items: center;
  gap: 24px;
}

/* Left media tile */
.why-media{
  position: relative;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  margin: 0;
  background:
    radial-gradient(60% 60% at 25% 25%, rgba(255,255,255,.35), transparent 50%),
    linear-gradient(135deg, #667eea, #764ba2); /* purple fallback */
  box-shadow: 0 12px 36px rgba(102,126,234,.25);
}
.why-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.play-badge{
  position: absolute; bottom: 14px; left: 14px;
  width: 36px; height: 36px; border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(0,0,0,.15);
}
.play-badge::before{
  content: "";
  position: absolute; inset: 0;
  margin: auto;
  width: 0; height: 0;
  border-left: 10px solid #6d28d9;  /* purple triangle */
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  left: 13px; top: 10px;
}

/* Center features */
.why-items{
  display: grid;
  grid-template-columns: repeat(2, 1fr);   /* 2×2 like the reference */
  gap: 18px 22px;
  align-items: start;
}
.why-item{
  text-align: center;
  padding: 14px 10px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fafcff);
  border: 1px solid #f1f5f9;
  box-shadow: 0 6px 18px rgba(2,6,23,0.06);
}
.why-icon{
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  color: #fff;
  margin: 0 auto 8px;
  background: linear-gradient(135deg, #667eea, #764ba2); /* purple icon tile */
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
  font-size: 1.2rem;
}
.why-item h3{
  margin: 0;
  font-weight: 800;
  color: #0f172a;
  font-size: .98rem;              /* keep your content unchanged, just styled */
  line-height: 1.45;
}

/* Right decorative image */
.why-deco{
  margin: 0;
  height: 220px;
  display: grid; place-items: center;
}
.why-deco img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Responsive */
@media (max-width: 980px){
  .why-grid{ grid-template-columns: 1fr; gap: 18px; }
  .why-items{ grid-template-columns: repeat(2, 1fr); }
  .why-head{ text-align: center; }
}
@media (max-width: 560px){
  .why-items{ grid-template-columns: 1fr; }
  .why-media, .why-deco{ height: 200px; }
}
/* ===== Services Page Premium UI ===== */

/* Hero */
.page-hero.services-hero{
  position: relative;
  padding: 84px 16px 48px;
  color: #fff;
  background:
    radial-gradient(900px 400px at 90% -10%, rgba(251,191,36,.22), transparent 45%),
    linear-gradient(135deg, #5b68ec 0%, #7a4fb4 100%);
  overflow: hidden;
}
.page-hero .hero-inner{ width: min(1050px, 92vw); margin: 0 auto; text-align: center; }
.page-hero h1{ font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; margin: 0 0 8px; }
.page-hero .lede{ max-width: 800px; margin: 0 auto 14px; opacity: .95; }
.hero-chips{ display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.hero-chips span{
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
  padding: 6px 10px; border-radius: 999px; font-weight: 700; font-size: .9rem;
}
.hero-art{
  position: absolute; inset: auto -160px -160px auto; width: 520px; height: 520px; border-radius: 999px;
  background: radial-gradient(circle, rgba(255,255,255,.18), rgba(255,255,255,0) 60%);
  filter: blur(20px);
}

/* Detail sections */
.services-detail{ padding: 40px 0 24px; }
.service-row{
  --accent: #7c3aed;         /* fallback violet */
  --accent-2: #6366f1;       /* fallback indigo */
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid #eef2ff;
}
.service-row:nth-child(odd){ grid-template-columns: 1.15fr 1.05fr; }
.service-media{
  position: relative; height: 320px; border-radius: 22px; overflow: hidden;
  background:
    radial-gradient(60% 60% at 25% 25%, rgba(255,255,255,.35), transparent 50%),
    linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 16px 36px rgba(2,6,23,.12);
}
.service-media img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.media-fallback{ display:grid; place-items:center; color:#fff; font-size:3rem; height:100%; }

.service-text h2{
  font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 6px; color: #0f172a; font-weight: 900;
}
.service-text .lede{ color: #334155; margin: 0 0 10px; }
.feature-chips{ display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; }
.feature-chips span{
  background: linear-gradient(180deg,#fff,#f8fafc); border: 1px solid #e2e8f0;
  border-radius: 999px; padding: 6px 10px; font-weight: 700; font-size: .9rem;
}
.thumb-row{ display: flex; gap: 10px; flex-wrap: wrap; }
.thumb{
  width: 120px; height: 84px; border-radius: 12px; overflow: hidden; border: 1px solid #e5e7eb;
  background: #f1f5f9; box-shadow: 0 6px 16px rgba(2,6,23,.06);
}
.thumb img{ width: 100%; height: 100%; object-fit: cover; display: block; }

/* CTA */
.cta-banner{ padding: 40px 0 64px; }
.cta-inner{
  width: min(1050px, 92vw); margin: 0 auto; text-align: center;
  background: linear-gradient(180deg,#fff,#f8fafc); border: 1px solid #eef2ff;
  border-radius: 22px; padding: 28px 20px; box-shadow: 0 20px 56px rgba(2,6,23,.10);
}
.cta-inner h2{ margin: 0 0 6px; font-weight: 900; color: #0f172a; }
.cta-inner p{ color: #475569; margin: 0 0 12px; }

/* Accent palettes per section (cycle) */
.service-row:nth-child(6n+1){ --accent:#7c3aed; --accent-2:#6366f1; } /* violet/indigo */
.service-row:nth-child(6n+2){ --accent:#14b8a6; --accent-2:#10b981; } /* teal/emerald */
.service-row:nth-child(6n+3){ --accent:#f59e0b; --accent-2:#fbbf24; } /* amber */
.service-row:nth-child(6n+4){ --accent:#3b82f6; --accent-2:#38bdf8; } /* blue/sky */
.service-row:nth-child(6n+5){ --accent:#ec4899; --accent-2:#f472b6; } /* pink/fuchsia */
.service-row:nth-child(6n){   --accent:#22c55e; --accent-2:#84cc16; } /* green/lime */

@media (max-width: 980px){
  .service-row,
  .service-row:nth-child(odd){ grid-template-columns: 1fr; }
  .service-media{ height: 260px; }
}


