/*
Theme Name: Jasa Digital Marketing 
Theme URI: https://www.jasadigitalmarketing.id
Author: JDM
Author URI: https://www.jasadigitalmarketing.id
Description: JDM Theme 
Version: 1.0
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/plusjakartasans/v12/LDIbaomQNQcsA88c7O9yZ4KMCoOg4IA6-91aHEjcWuA_qU79QB_VMq2oRsWk0Fs.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/plusjakartasans/v12/LDIbaomQNQcsA88c7O9yZ4KMCoOg4IA6-91aHEjcWuA_qU79Qh_VMq2oRsWk0Fs.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/plusjakartasans/v12/LDIbaomQNQcsA88c7O9yZ4KMCoOg4IA6-91aHEjcWuA_qU79Qx_VMq2oRsWk0Fs.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/plusjakartasans/v12/LDIbaomQNQcsA88c7O9yZ4KMCoOg4IA6-91aHEjcWuA_qU79TR_VMq2oRsWk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Satoshi";
  src: url("fonts/Satoshi-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("fonts/Satoshi-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("fonts/Satoshi-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("fonts/Satoshi-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("fonts/Satoshi-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

h1,
h2,
h3 {
  font-family: "Satoshi", sans-serif;
}

body {
  background: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
}

body.blurred main {
  filter: blur(25px);
  transition: filter 0.3s ease;
}

/* HEADER DEFAULT (TRANSPARENT) */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 3%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: transparent;
  transition: all 0.3s ease;
}

/* WHEN SCROLLED */
header.scrolled {
  background: #ff395c;
}

header:has(.menu-item.has-mega:hover) {
  /* efek seperti .scrolled */
  background: #ff395c;
}

/* TEXT COLOR CHANGE */
header.scrolled .logo,
header.scrolled nav a {
  color: white;
}

header.scrolled nav a::after {
  background: white;
}

/* ===== HEADER FIX ===== */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* LOGO */
.logo img {
  height: 55px;
}

/* NAV */
nav {
  display: flex;
  align-items: center;
  gap: 35px;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  position: relative;
  font-weight: bold;
  font-family: Satoshi;
}

/* ACTIVE / HOVER LINE */
nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: white;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* RIGHT SIDE */
.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* BUTTON */
.btn {
  background: white;
  color: black;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  color: white;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
}

.btn-glass:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.btn-glass:active {
  transform: scale(0.96);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-black {
  background: black;
  color: white;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
}

.btn-white-cta {
  background: white;
  color: black;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
  text-align: center;
  width: 40%;
}

.close-btn {
  font-size: 26px;
  text-align: right;
  cursor: pointer;
}

/* HAMBURGER */
.hamburger {
  display: none;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

/* MENU ITEM */
.menu-item {
  position: relative;
}

/* ===== MEGA MENU FIX ===== */
.mega-menu {
  position: fixed;
  /* FIXED */
  top: 80px;
  left: 0;
  width: 100%;
  background: #f8f8f8;
  padding: 40px 0;
  display: none;
  z-index: 999;
  border-radius: 0 0 20px 20px;
}

/* CENTER CONTAINER */
.mega-container {
  width: 93%;
  margin: auto;
}

/* GRID IMPROVED */
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
}

/* TYPOGRAPHY FIX */
.mega-col ul li a span {
  display: block;
  font-size: 14px;
  color: #777;
  font-weight: 400;
}

.mega-col ul {
  padding-left: 5%;
}

.mega-col li {
  margin-bottom: 18px;
}

/* Style the title separately */
.mega-title {
  display: block;
  font-size: 20px !important;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  font-family: Satoshi;
  color: black !important;
  font-weight: bold;
}

.mega-col h4 {
  font-size: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  font-family: Satoshi;
}

.mega-col p {
  margin-bottom: 18px;
  color: #222;
}

.mega-col strong {
  font-size: 18px;
  font-family: Satoshi;
  color: black;
  font-weight: 500;
}

.mega-col span {
  display: block;
  font-size: 14px;
  color: #777;
}

/* HOVER FIX (NO FLICKER) */
.has-mega:hover .mega-menu,
.mega-menu:hover {
  display: block;
}

@media (max-width: 900px) {
  .mega-menu {
    position: static;
    width: 100%;
    display: none;
    background: white;
    padding: 20px;
  }

  .mega-menu.active {
    display: block;
  }

  .mega-container {
    width: 100%;
  }

  .mega-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ===== MOBILE DRAWER MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: #f5f5f5;
  z-index: 2000;
  transition: 0.3s ease;
  overflow-y: auto;
  padding: 20px;
}

.mobile-menu.active {
  right: 0;
}

/* SCREENS */
.menu-screen {
  display: none;
}

.menu-screen.active {
  display: block;
}

/* ITEMS */
.menu-item {
  padding: 18px 0;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

/* SUBMENU */
.menu-screen h4 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}

.menu-screen p {
  padding: 10px 0;
  color: #333;
}

/* BACK BUTTON */
.back-btn {
  font-size: 16px;
  margin-bottom: 20px;
  cursor: pointer;
}

/* ================= HERO ================= */
.hero {
  height: 75vh;
  background: url("https://www.jasadigitalmarketing.id/wp-content/themes/frontend/images/hero-hp.webp");
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
}

/* HERO CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 0 3%;
}

.hero h1 {
  font-size: 60px;
  margin-bottom: 20px;
}

.hero p {
  margin-bottom: 20px;
  font-size: 18px;
  max-width: 70%;
  line-height: 1.85;
}

/* ================= SERVICES ================= */
.services {
  background: white;
  margin: -80px auto 0px;
  border-radius: 20px;
  padding: 40px;
  display: grid;
  grid-template-columns: 0.6fr 1.5fr 1.5fr;
  /* 3 columns */
  gap: 40px;
  position: relative;
  z-index: 5;
}

.glassed {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* TABS */
.tabs {
  border-right: 1px solid #eee;
  padding-right: 20px;
}

.tabs li {
  list-style: none;
  padding: 12px;
  cursor: pointer;
  border-radius: 10px;
  margin-bottom: 10px;
  font-family: Satoshi;
}

.tabs li.active {
  background: #eee;
  font-weight: bold;
}

/* CONTENT */
.tab-content {
  padding-right: 20px;
}

.tab-box {
  display: none;
}

.tab-box.active {
  display: block;
}

.highlight-box {
  background: black;
  color: white;
  padding: 30px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ================= MOBILE ================= */
@media (max-width: 900px) {
  nav {
    display: none;
  }

  nav a {
    color: black;
    margin-bottom: 10px;
  }

  nav.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .btn {
    display: none;
  }

  .btn-glass {
    display: none;
  }

  .hero-content {
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(28px, 5vw, 48px);
  }

  .services {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .tabs {
    border-right: none;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    padding-right: 0px;
  }

  .tab-content {
    padding: 0;
  }

  .btn-white-cta {
    width: 100%;
    padding: 15px;
    border-radius: 14px;
  }

  .menu-item {
    border-bottom: 1px solid #ccc;
  }

  .hero {
    height: 45vh;
    display: grid;
  }
}

/* ── SECTION ── */
.hiw {
  background: #ff395c;
  position: relative;
  padding: 60px 3%;
}

/* ── heading ── */
.hiw__heading {
  font-family: "Satoshi", sans-serif;
  font-weight: 700;
  text-transform: none;
  font-size: 52px;
  color: #fff;
  margin-bottom: 52px;
}

.hiw__heading .accent {
  color: #7db87a;
}

.timeline {
  position: relative;
}

.timeline__rule {
  position: absolute;
  left: 0;
  right: 0;
  top: 160px;
  height: 1px;
  background: #fff;
  z-index: 0;
}

.timeline__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 370px;
  position: relative;
  z-index: 1;
}

.step {
  position: relative;
  padding-left: 20px;
  padding-right: 20px;
}

/* ── dot on the rule ── */
.step__dot {
  position: absolute;
  left: 0;
  top: 154px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid #fff;
  box-shadow: 0 0 0 1.5px #fff;
  z-index: 3;
}

/* ── dashed connector ── */
.step__dash {
  position: absolute;
  left: 4px;
  /* centre of dot (dot is at left:0, width:11 → centre=5.5, approx 4px for 1px line) */
  width: 1px;
  z-index: 2;
  background: repeating-linear-gradient(
    to bottom,
    #fff 0px,
    #fff 7px,
    #0000 7px,
    #0000 15px
  );
}

.step--above .step__content {
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  /* content fills row A */
}

.step--above .step__dash {
  top: 5px;
  /* below text block */
  height: 150px;
  /* 105 + 50 = 155 → meets the dot */
}

.step--below .step__content {
  position: absolute;
  top: 183px;
  /* 160 (rule) + 23px gap */
  left: 20px;
  right: 20px;
}

.step--below .step__dash {
  top: 155px;
  /* just below dot */
  height: 190px;
  /* meets top of content */
}

/* ── text styles ── */
.step__title {
  font-size: 17px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 10px;
  font-family: Satoshi;
}

.step__title .num {
  color: #fff;
  font-weight: 600;
}

.step__title b {
  font-weight: 600;
}

.step__body {
  font-size: 15px;
  color: #fff;
  font-weight: 300;
}

@media (max-width: 900px) {
  .hiw {
    padding: 32px 36px 48px;
  }

  .hiw__heading {
    font-size: clamp(38px, 7vw, 58px);
    margin-bottom: 40px;
  }

  .timeline__rule {
    display: none;
  }

  .timeline__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: auto;
  }

  .step {
    padding: 0 24px 32px 0;
  }

  .step__dot {
    display: none;
  }

  .step__dash {
    display: none;
  }

  .step--above .step__content,
  .step--below .step__content {
    position: static;
    padding: 0 0 0 16px;
    border-left: 1px dashed rgba(255, 255, 255, 0.3);
    margin-top: 0;
    top: auto;
    left: auto;
    right: auto;
  }

  .step[data-n="3"] .step__content,
  .step[data-n="4"] .step__content {
    padding-top: 0;
    border-top: none;
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .hiw {
    padding: 28px 24px 44px;
  }

  .hiw__heading {
    font-size: clamp(32px, 10vw, 48px);
    margin-bottom: 32px;
  }

  .timeline__grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .step {
    padding: 0 0 28px 0;
  }

  .step--above .step__content,
  .step--below .step__content {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    padding: 0 0 0 16px;
    margin-top: 0;
    border-left: 1px dashed #fff;
    border-top: none;
    padding-top: 0;
  }

  .step[data-n="1"] .step__content {
    border-top: none;
    padding-top: 0;
  }
}

.overview-service {
  background: #fff;
  padding: 0px 45px 64px;
}

/* ── main 2-col grid ── */
.overview__grid {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 0;
  align-items: start;
}

.overview__col-left {
  display: flex;
  flex-direction: column;
  padding-right: 50px;
}

.overview__heading {
  font-weight: 700;
  font-size: clamp(36px, 4.5vw, 48px);
  line-height: 1.05;
  color: #111;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.overview__intro {
  font-size: 16px;
  line-height: 1.85;
  color: #000;
  font-weight: 300;
  margin-bottom: 44px;
}

/* image card — sits in bottom-left */
.overview__img-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  width: 100%;
  background: #c8c0b8;
}

.overview__img-wrap img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

/* placeholder */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #d6cec6 0%, #bfb5aa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.overview__col-right {
  position: relative;
  display: flex;
  flex-direction: column;
}

.overview__right-spacer {
  height: 190px;
  flex-shrink: 0;
}

/* right content — subheading + paragraphs */
.overview__right-content {
  padding-left: 16px;
}

.overview__subheading {
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 46px);
  line-height: 1.35;
  color: #111;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.overview__body p {
  font-size: 16px;
  line-height: 1.85;
  color: #000;
  font-weight: 300;
  margin-bottom: 16px;
}

.overview__body p:last-child {
  margin-bottom: 0;
}

/* ══════════════════════════════
TABLET  ≤ 820px
══════════════════════════════ */
@media (max-width: 820px) {
  .overview-service {
    padding: 44px 36px 52px;
  }

  .overview__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .overview__col-left {
    padding-right: 0;
    margin-bottom: 36px;
  }

  .overview__intro {
    max-width: 100%;
    margin-bottom: 32px;
  }

  .overview__col-right {
    position: static;
  }

  .overview__right-spacer {
    display: none;
  }

  .overview__right-content {
    padding-left: 0;
  }
}

/* ══════════════════════════════
MOBILE  ≤ 480px
══════════════════════════════ */
@media (max-width: 480px) {
  .overview-service {
    padding: 36px 20px 44px;
  }

  .overview__heading {
    font-size: clamp(30px, 9vw, 42px);
  }

  .overview__subheading {
    font-size: clamp(16px, 5vw, 20px);
  }
}

.project-overview {
  padding: 80px 3%;
  background: #f5f5f5;
  color: #000;
}

/* TOP TEXT WITH EXACT MATCHED LINE BREAKS */
.top-text {
  margin-bottom: 40px;
}

.top-text p {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: #111;
  font-family: Satoshi;
}

/* THE WRAPPING BEHAVIOR FOR THE BODY PARAGRAPH */
.top-text span.line {
  display: block;
  /* Forces line breaks exactly where intended */
}

/* CONTENT LAYOUT */
.content {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  /* CRITICAL: Do not use space-between; we need a big, manually defined middle gap */
  position: relative;
}

/* STATS (LEFT) */
.stats {
  width: 300px;
  /* fixed width for numbers */
  display: flex;
  flex-direction: column;
  gap: 60px;
  /* increased gap matching image */
  flex-shrink: 0;
}

.stat h2 {
  font-size: 58px;
  font-weight: 800;
  margin: 0;
  line-height: 1;
  letter-spacing: -1.5px;
}

.stat p {
  font-size: 16px;
  color: #000;
  margin-top: 10px;
  font-weight: 500;
}

/* THE ARROW (Longer and Thicker) */
.arrow-container {
  position: absolute;
  left: 38%;
  top: 25px;
  width: 280px;
  z-index: 5;
  transform: rotateZ(-20deg);
}

/* IMAGE AREA (RIGHT) */
.image-area {
  position: relative;
  margin-left: 30%;
  /* ↓ tighter gap */
  width: 100%;
}

.main-img {
  width: 100%;
  height: 380px;
  /* ↓ was 520px (too big) */
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

/* SMALL IMAGE EXACT POSITIONING */
.small-img {
  position: absolute;
  left: -340px;
  bottom: 0px;
  width: 320px;
  height: 240px;
  object-fit: cover;
  border-radius: 14px;
}

/* RESPONSIVENESS */
@media (max-width: 1200px) {
  .arrow-container {
    display: none;
  }

  .image-area {
    margin-left: 50px;
  }

  .small-img {
    width: 180px;
    height: 160px;
    left: -60px;
  }
}

@media (max-width: 850px) {
  .top-text p {
    font-size: clamp(20px, 3vw, 42px);
    letter-spacing: 1.85;
  }
  .project-overview {
    padding: 20px;
  }

  .stat h2 {
    font-size: 38px;
  }

  .top-text {
    margin-bottom: 35px;
  }

  .content {
    flex-direction: column;
  }

  .stats {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 50px;
    gap: 35px;
  }

  .image-area {
    width: 100%;
    margin-left: 0;
  }

  .small-img {
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    margin-top: 30px;
  }
}

/* ── Section wrapper ── */
.solutions-section {
  width: 100%;
  background: #f0f0f0;
  padding: 60px 3%;
}

/* ── Header row ── */
.solutions-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}

.solutions-header__left {
  flex: 1;
  min-width: 260px;
}

.label {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  margin-top: 20px;
  color: #000;
  max-width: 75%;
  line-height: 1.85;
}

.solutions-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.2;
  color: #000;
}

.solutions-title span {
  color: #7c3aed;
}

/* ── Cards grid ── */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: start;
}

/* ── Base card ── */
.card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* ── Card top row ── */
.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card-icon.dark {
  background: #111;
}

.card-icon.dark svg path,
.card-icon.dark svg rect,
.card-icon.dark svg circle {
  fill: #fff;
}

.card-number {
  font-size: 13px;
  font-weight: 600;
  color: #bbb;
  letter-spacing: 0.5px;
}

/* ── Card body ── */
.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  line-height: 1.35;
}

.card-desc-solution {
  font-size: 13.5px;
  color: #000;
  line-height: 1.6;
}

/* ── Card footer ── */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
}

.learn-more {
  font-size: 13px;
  font-weight: 600;
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card-link-icon {
  color: #aaa;
  transition: color 0.2s;
}

.card:hover .card-link-icon {
  color: #000;
}

/* ── First card (001) – tall with image, hover state as default ── */
.card--featured {
  grid-row: span 1;
  min-height: 480px;
}

.card--featured .card-image {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  overflow: hidden;
  margin-top: auto;
  flex-shrink: 0;
}

.card--featured .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Image placeholder (gradient fallback) ── */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #dde1e7 0%, #c8cdd4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 12px;
  font-weight: 500;
}

/* ── Hover: show image overlay on non-featured cards ── */
.card:not(.card--featured) .card-image {
  width: 100%;
  height: 0;
  border-radius: 10px;
  overflow: hidden;
  transition: height 0.4s ease, margin-top 0.4s ease;
  margin-top: 0;
}

.card:not(.card--featured):hover .card-image {
  height: 150px;
  margin-top: 8px;
}

.card:not(.card--featured) .card-image img,
.card:not(.card--featured) .card-image .img-placeholder {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .step__body {
	  font-size: 12px;
	  color: #fff;
	  font-weight: 300;
  }
  .hero {
    display: grid;
    text-align: center;
    height: 40vh;
    background-position: center;
    background-size: cover;
  }

  .hero p {
    max-width: 100%;
    font-size: 12px;
  }

  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card--featured {
    grid-column: span 2;
    min-height: auto;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card--featured .card-image {
    width: 100%;
    height: 200px;
    margin-top: 8px;
  }
}

@media (max-width: 1024px) and (orientation: landscape) {
  .hero {
    height: 100vh;
  }
}

@media (max-width: 640px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .card--featured {
    grid-column: span 1;
  }

  .solutions-header {
    flex-direction: column;
    gap: 16px;
  }

  .solutions-section {
    padding: 28px 24px 44px;
  }

  .label {
    max-width: 100%;
  }
}

:root {
  --bg: #0d0d12;
  --surface: #14141c;
  --surface2: #1c1c28;
  --border: rgba(255, 255, 255, 0.07);
  --accent: #7c6dfa;
  --accent2: #fa6d9c;
  --accent3: #6dfad4;
  --text: #e8e8f0;
  --muted: #6b6b82;
  --radius: 16px;
  --sidebar-w: 240px;
  --gap: 24px;
}
/* ── Section ── */
#portfolio {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: 60px 3%;
}

/* ── Header ── */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: "Satoshi", sans-serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  background: linear-gradient(135deg, #fff 30%, #ff395c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.section-sub {
  color: #000;
  font-size: 16px;
  font-weight: 300;
  margin: 0 auto;
  line-height: 1.85;
}

/* ── Mobile pills ── */
.mobile-filter {
  display: none;
  overflow-x: auto;
  gap: 8px;
  padding-bottom: 4px;
  margin-bottom: 28px;
  scrollbar-width: none;
}
.mobile-filter::-webkit-scrollbar {
  display: none;
}

.mobile-pill {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 100px;
  background: #000;
  border: none;
  color: #fff;
  font-size: 13px;
  font-family: "DM Sans", sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  user-select: none;
}
.mobile-pill.active {
  background: #ff395c;
  border-color: none;
  color: #fff;
  font-weight: 500;
}

/* ── Layout ── */
.portfolio-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* ── Sidebar ── */
.sidebar {
  width: 320px;
  flex-shrink: 0;
  position: sticky;
  top: 32px;
}

.sidebar-inner {
  background: #f0f0f0;
  border: none;
  border-radius: 14px;
  padding: 20px 16px;
  backdrop-filter: blur(20px);
}

.sidebar-title {
  font-family: "Syne", sans-serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #000;
  padding: 0 8px 14px;
  border-bottom: 1px solid #000;
  margin-bottom: 12px;
}

.filter-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  color: var(--muted);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.2s ease;
  margin-bottom: 2px;
  text-align: left;
  user-select: none;
}
.filter-btn:hover {
  background: #fff;
  color: #000;
}
.filter-btn.active {
  background: #ffff;
  color: #000;
  font-weight: 500;
}
.filter-btn.active .filter-name {
  color: #000;
  font-family: "Satoshi";
  font-weight: bold;
}

.filter-left {
  display: flex;
  align-items: center;
}
.filter-name {
  font-family: "Satoshi";
  color: #000;
}

.filter-dot {
  display: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff395c;
  margin-right: 8px;
  flex-shrink: 0;
}
.filter-btn.active .filter-dot {
  display: block;
}

.filter-count {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
  background: #000;
  color: #fff;
  transition: all 0.2s;
  min-width: 28px;
  text-align: center;
}
.filter-btn.active .filter-count {
  background: #ff395c;
  color: #fff;
}

/* ── Grid ── */
.portfolio-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ── Result count ── */
.result-count {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  font-style: italic;
}

/* ── Card ── */
.portfolio-card {
  background: var(--surface);
  border: none;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  animation: fadeUp 0.4s ease both;
}
.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 109, 250, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(124, 109, 250, 0.1);
}
.portfolio-card.hidden {
  display: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* card thumb */
.card-thumb {
  position: relative;
  height: 275px;
  overflow: hidden;
  background: var(--surface2);
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-card:hover .card-thumb img {
  transform: scale(1.06);
}

.thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

/* card tag */
.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.tag-social {
  background: rgba(109, 250, 212, 0.15);
  color: var(--accent3);
  border-color: rgba(109, 250, 212, 0.25);
}
.tag-web {
  background: rgba(124, 109, 250, 0.18);
  color: var(--accent);
  border-color: rgba(124, 109, 250, 0.3);
}
.tag-ads {
  background: rgba(250, 109, 156, 0.15);
  color: var(--accent2);
  border-color: rgba(250, 109, 156, 0.25);
}
.tag-brand {
  background: rgba(250, 200, 109, 0.15);
  color: #fad46d;
  border-color: rgba(250, 200, 109, 0.25);
}
.tag-photo {
  background: rgba(109, 180, 250, 0.15);
  color: #6db4fa;
  border-color: rgba(109, 180, 250, 0.25);
}

/* hover overlay */
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 20, 0.8) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.portfolio-card:hover .card-overlay {
  opacity: 1;
}

.overlay-link {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 6px;
}
.overlay-link svg {
  width: 14px;
  height: 14px;
}

/* card body */
.card-body-porto {
  padding: 16px 18px 18px;
}
.card-client {
  font-family: "Syne", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.card-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Empty state ── */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
  display: none;
}
.empty-state svg {
  opacity: 0.3;
  margin-bottom: 16px;
  display: block;
  margin-inline: auto;
}
.empty-state p {
  font-size: 15px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  #portfolio {
    padding: 60px 20px 80px;
  }
  .portfolio-layout {
    flex-direction: column;
    gap: 0;
  }
  .sidebar {
    display: none;
  }
  .mobile-filter {
    display: flex;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .card-thumb {
    height: 160px;
  }
}

@media (max-width: 480px) {
  #portfolio {
    padding: 48px 16px 60px;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .card-thumb {
    height: 200px;
  }
  .section-title {
    font-size: 32px;
  }
}

/* SECTION */
.cs {
  padding-top: 80px;
  padding-bottom: 20px;
  padding-right: 3%;
  padding-left: 3%;
  background: #f8fafc;
}
.ctr {
  margin: 0 auto;
}

/* HEADER */
.cs h2 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 20px;
}
.cs-intro {
  font-size: 16px;
  color: #000;
  line-height: 1.85;
  margin-bottom: 12px;
}
.cs-intro2 {
  font-size: 16px;
  color: #000;
  line-height: 1.85;
  margin-bottom: 48px;
}

/* ── TABLE ── */
.tw {
  overflow-x: auto;
  margin-bottom: 60px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
}
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  table-layout: fixed;
}

/* HEADER ROW */
thead tr {
  background: #fff;
}
thead th {
  padding: 0;
  border-bottom: 1px solid #e2e8f0;
}
.th-inner {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.th-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  margin-bottom: 4px;
}
.th-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  font-family: "Satoshi";
}
.th-sub {
  font-size: 13px;
  color: #64748b;
  font-weight: 400;
}
.th-bad .th-title {
  color: #b91c1c;
}
.th-good {
  background: #f0f9ff;
}
.th-good .th-title {
  color: #1d4ed8;
}
.th-good .th-label {
  color: #60a5fa;
}
.th-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}
.th-bad .th-indicator {
  background: #fef2f2;
  color: #991b1b;
}
.th-good .th-indicator {
  background: #dcfce7;
  color: #166534;
}
.th-indicator svg {
  width: 11px;
  height: 11px;
}

/* BODY ROWS */
tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s;
}
tbody tr:last-child {
  border-bottom: none;
}
tbody tr:hover {
  background: #fafbff;
}
td {
  padding: 20px 24px;
  vertical-align: top;
}
td:nth-child(3) {
  background: #f0f9ff;
}
tbody tr:hover td:nth-child(3) {
  background: #e0f2fe;
}

/* ISSUE COLUMN */
.td-issue {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.td-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.td-issue-body strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin-bottom: 4px;
}
.td-issue-body span {
  font-size: 14px;
  color: #000;
  line-height: 1.5;
}

/* BAD / GOOD CELLS */
.td-bad,
.td-good {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.td-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  width: fit-content;
}
.td-status.bad {
  background: #fef2f2;
  color: #991b1b;
}
.td-status.good {
  background: #dcfce7;
  color: #166534;
}
.td-status svg {
  width: 13px;
  height: 13px;
}
.td-desc {
  font-size: 14px;
  color: #000;
  line-height: 1.85;
}
.td-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  margin-top: 4px;
}
.td-tag.bad {
  background: #fef2f2;
  color: #991b1b;
}
.td-tag.good {
  background: #dcfce7;
  color: #166534;
}

/* ── BENEFITS GRID ── */
.bg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}
.bc {
  background: #fff;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  transition: border-color 0.2s, transform 0.2s;
}
.bc:hover {
  border-color: #ff395c;
  transform: translateY(-4px);
}
.bc-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.bc-icon svg {
  width: 20px;
  height: 20px;
}
.bc h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  font-family: "Satoshi";
}
.bc p {
  font-size: 14px;
  color: #000;
  line-height: 1.65;
}
.bc .bc-stat {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  margin-top: 10px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

/* ── SEO BODY COPY ── */
.seo-block {
  position: relative;
  background-color: #f8fafc;
  border: 0.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 40px;
  overflow: hidden;
  margin-bottom: 60px;
}

/* Grid lines */
.seo-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#e2e8f0 1px, transparent 1px),
    linear-gradient(90deg, #e2e8f0 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.55;
  pointer-events: none;
}

/* Fade overlay agar teks tetap terbaca */
.seo-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 0%,
    transparent 0%,
    #f8fafc 75%
  );
  pointer-events: none;
}

/* Konten di atas grid */
.seo-block > * {
  position: relative;
  z-index: 1;
}
.seo-block h2 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}
.seo-block p {
  font-size: 16px;
  color: #000;
  line-height: 1.85;
  margin-bottom: 16px;
}
.seo-block p:last-child {
  margin-bottom: 0;
}
.seo-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.seo-list {
  list-style: none;
  padding: 0;
}
.seo-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #000;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  line-height: 1.6;
}
.seo-list li:last-child {
  border-bottom: none;
}
.seo-list li svg {
  width: 14px;
  height: 14px;
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ── CTA ── */
.cta-full {
  background:url('https://www.jasadigitalmarketing.id/wp-content/themes/frontend/images/ctabg.webp');
  background-size: cover;
  background-position: center;
}
.cta {
  padding: 52px 40px;
  text-align: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}
.cta h2 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}
.cta p {
  font-size: 18px;
  color: #fff;
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.75;
}
.cta-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.btn-w {
  display: inline-flex;
  align-items: end;
  gap: 8px;
  color: #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  border: none;
  padding: 13px 26px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.btn-o {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  padding: 12px 26px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.btn-w svg,
.btn-o svg {
  width: 15px;
  height: 15px;
}
.cta-trust {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: #fff;
}
.cta-trust span svg {
  width: 13px;
  height: 13px;
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .bg {
    grid-template-columns: repeat(2, 1fr);
  }
  .seo-cols {
    grid-template-columns: 1fr;
  }
  table {
    table-layout: auto;
  }
}
@media (max-width: 640px) {
  .bg {
    grid-template-columns: 1fr;
  }
  td,
  thead th {
    padding: 14px 16px;
  }
  .cta {
    padding: 36px 20px;
  }
  .seo-block {
    padding: 24px 20px;
  }
}

footer{
  position:relative;
  margin-top: -20px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding-top: 60px;
  padding-left: 3%;
  padding-right: 3%;
  padding-bottom: 40px;
  background: url('https://www.jasadigitalmarketing.id/wp-content/themes/frontend/images/bgcta-bt.webp');
  background-position: center;
  background-size: cover;
  overflow:hidden;
}

.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:60px;
}

.footer-col a{
  color: white;
  text-decoration: none;
  line-height: 1.85;
  font-family: 'Plus Jakarta Sans';
}

/* LEFT */
.footer-left h2{
  font-size:26px;
  margin-bottom:15px;
  color: white;
}

.footer-left p{
  color:#fff;
  line-height:1.85;
  max-width:420px;
}

.socials{
  margin-top:25px;
  display:flex;
  gap:15px;
}

.socials a{
  width:40px;
  height:40px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  color:#000;
  font-size:14px;
  text-decoration:none;
  transition:0.3s;
}

.socials a:hover{
  transform:translateY(-3px);
}

/* LINKS */
.footer-col span{
  margin-bottom:15px;
  font-weight:700;
  color: white;
  font-family: Satoshi;
  text-transform: uppercase;
}

.footer-col ul{
  list-style:none;
  padding-left:0;
  padding-top: 20px;
  margin:0;
}

.footer-col ul li{
  margin-bottom:12px;
  position:relative;
}

/* RESPONSIVE */
  @media(max-width:992px){

    footer{
      padding-left: 5%;
      padding-right: 5%;
    }

    .footer-grid{
      grid-template-columns:1fr 1fr;
      gap:25px;
    }
  }

  @media(max-width:600px){
    footer{
      padding-left: 5%;
      padding-right: 5%;
    }

    .footer-grid{
      grid-template-columns:1fr;
    }

    .footer-left p{
      max-width:100%;
    }
  }
}
