/* ============ GLOBAL ============ */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

/* Hilangkan tap highlight biru di mobile */
* { -webkit-tap-highlight-color: transparent; }

/* ============ ANIMASI MODAL & CART ============ */
#modal > div:last-child,
#cartDrawer > div:last-child {
  animation: slideUp 0.25s ease-out;
}

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

#cartDrawer > div:last-child {
  animation: slideLeft 0.25s ease-out;
}

@keyframes slideLeft {
  from { transform: translateX(30px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* ============ CARD LAYANAN ============ */
.service-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px rgba(109, 40, 217, 0.25);
}

/* ============ FAQ ACCORDION ============ */
.faq-item { border: 1px solid #f3f4f6; border-radius: 12px; background: #fff; }
.faq-q {
  width: 100%; text-align: left; padding: 16px;
  font-weight: 600; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; background: none; border: none;
}
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 16px; color: #4b5563; font-size: 14px;
}
.faq-item.open .faq-a {
  max-height: 300px; padding: 0 16px 16px;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform 0.2s; color: #6D28D9; font-size: 22px; }

/* ============ SCROLLBAR ============ */
#cartItems::-webkit-scrollbar { width: 6px; }
#cartItems::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; }

/* ============ RUNNING TEXT: DOMAIN DIJUAL ============ */
.domain-marquee {
  position: relative;
  background: linear-gradient(90deg, #6D28D9 0%, #7C3AED 40%, #F97316 100%);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  height: 38px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 12px rgba(109, 40, 217, 0.25);
  z-index: 45;
}

/* Efek shimmer kilau */
.domain-marquee::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  animation: shimmer 3.5s infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 40s linear infinite;
  flex: 1;
  overflow: hidden;
}

.domain-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
  flex-shrink: 0;
}

.marquee-content span {
  display: inline-flex;
  align-items: center;
}

.marquee-content strong {
  background: #fff;
  color: #6D28D9;
  padding: 1px 8px;
  border-radius: 4px;
  font-weight: 800;
  margin-left: 4px;
  animation: pulseBadge 1.8s ease-in-out infinite;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}

.marquee-content .dot {
  color: #FBBF24;
  font-size: 16px;
  opacity: 0.9;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Tombol CTA di kanan */
.marquee-cta {
  flex-shrink: 0;
  background: #fff;
  color: #6D28D9;
  font-weight: 800;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  position: relative;
  z-index: 2;
  border-left: 1px solid rgba(255,255,255,0.3);
}

.marquee-cta:hover {
  background: #F97316;
  color: #fff;
}

/* Mobile: sembunyikan CTA teks panjang */
@media (max-width: 640px) {
  .domain-marquee { font-size: 12px; height: 34px; }
  .marquee-content { gap: 16px; padding-right: 16px; }
  .marquee-cta { padding: 0 10px; font-size: 10px; }
}

/* ============ HERO: ILUSTRASI MODEL ============ */
.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #2E1065 0%, #1E0A4A 100%);
  color: #E9D5FF;
}

/* Ornamen glow di background */
.hero-glow-1 {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.45) 0%, transparent 65%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.25) 0%, transparent 65%);
  filter: blur(70px);
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.08); }
}

/* --- PILL BADGE (di atas judul) --- */
.hero-badge-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(233, 213, 255, 0.25);
  color: #E9D5FF;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  backdrop-filter: blur(6px);
}

/* --- JUDUL --- */
.hero-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .hero-title { font-size: 2.9rem; }
}

.hero-title-accent {
  background: linear-gradient(135deg, #A78BFA 0%, #F97316 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #F97316;
}

/* --- SUBTITLE --- */
.hero-subtitle {
  font-size: 0.95rem;
  color: #C4B5FD;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.05rem;
    margin-left: 0;
    margin-right: 0;
  }
}

/* --- TOMBOL CTA --- */
.hero-btn-primary,
.hero-btn-secondary {
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.25s ease;
  display: inline-block;
}

.hero-btn-primary {
  background: #6D28D9;
  color: #fff;
  box-shadow: 0 8px 22px -8px rgba(109, 40, 217, 0.7);
}
.hero-btn-primary:hover {
  background: #7C3AED;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(124, 58, 237, 0.85);
}

.hero-btn-secondary {
  background: #F97316;
  color: #fff;
  box-shadow: 0 8px 22px -8px rgba(249, 115, 22, 0.7);
}
.hero-btn-secondary:hover {
  background: #EA580C;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(249, 115, 22, 0.85);
}

/* --- GAMBAR MODEL --- */
.hero-model-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 380px;
  max-height: 460px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.45))
          drop-shadow(0 0 30px rgba(167, 139, 250, 0.25));
  animation: heroFloat 5s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* --- ORNAMEN DI BELAKANG MODEL --- */
.hero-ornament-1 {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.35) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  animation: pulseOrnament 4s ease-in-out infinite;
}

.hero-ornament-2 {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.28) 0%, transparent 70%);
  top: 25%;
  right: 10%;
  z-index: 1;
  animation: pulseOrnament 4s ease-in-out infinite 1s;
}

@keyframes pulseOrnament {
  0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: 0.9; }
  50%      { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}

/* --- FLOATING BADGE (kotak putih) --- */
.hero-badge {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.4);
  z-index: 3;
  animation: badgeFloat 4s ease-in-out infinite;
}

.hero-badge-1 { top: 12%; left: 0;   animation-delay: 0.5s; }
.hero-badge-2 { bottom: 15%; right: 0; animation-delay: 1s; }

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* --- MOBILE --- */
@media (max-width: 640px) {
  .hero-model-img   { max-width: 240px; max-height: 300px; }
  .hero-ornament-1  { width: 220px; height: 220px; }
  .hero-ornament-2  { width: 150px; height: 150px; }
  .hero-badge       { padding: 6px 10px; }
  .hero-badge-1     { top: 5%;  left: -10px; }
  .hero-badge-2     { bottom: 8%; right: -10px; }
}

/* ============ SOCIAL ICON BUTTONS ============ */
.social-btn {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.2);
}

.social-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 28px -10px rgba(0, 0, 0, 0.3);
}

/* WhatsApp */
.social-btn-wa {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}
.social-btn-wa:hover {
  box-shadow: 0 14px 28px -10px rgba(37, 211, 102, 0.55);
}

/* Instagram */
.social-btn-ig {
  background: linear-gradient(135deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%);
}
.social-btn-ig:hover {
  box-shadow: 0 14px 28px -10px rgba(221, 42, 123, 0.55);
}

/* Mobile: sedikit lebih kecil */
@media (max-width: 640px) {
  .social-btn { width: 56px; height: 56px; border-radius: 14px; }
  .social-btn svg { width: 24px; height: 24px; }
}

/* ============ FOOTER PROFESIONAL ============ */
.site-footer {
  background: linear-gradient(180deg, #2E1065 0%, #1E0A4A 100%);
  color: #E9D5FF;
  position: relative;
  overflow: hidden;
}

/* Tekstur lembut di background */
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(109, 40, 217, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(249, 115, 22, 0.15) 0%, transparent 40%);
  pointer-events: none;
}

.site-footer > * { position: relative; z-index: 1; }

/* --- Bagian Atas: Brand + Kontak --- */
.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: auto 1fr;
    gap: 48px;
  }
}

.footer-logo {
  height: 48px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1); /* fallback agar logo putih */
}

.footer-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .footer-contact { grid-template-columns: repeat(3, 1fr); }
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: #6D28D9;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.contact-label {
  font-size: 11px;
  color: #C4B5FD;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-value {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-word;
}

a.contact-value:hover { color: #F97316; }

/* --- Garis Pemisah --- */
.footer-divider {
  max-width: 1200px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233, 213, 255, 0.25), transparent);
}

/* --- Bagian Bawah: 4 Kolom --- */
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 640px) {
  .footer-bottom { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer-bottom { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 32px; }
}

.footer-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #F97316, #6D28D9);
  border-radius: 2px;
}

.footer-about {
  font-size: 13px;
  line-height: 1.7;
  color: #C4B5FD;
  margin-bottom: 18px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E9D5FF;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.footer-social:hover {
  background: #F97316;
  border-color: #F97316;
  color: #fff;
  transform: translateY(-2px);
}

/* --- List Link --- */
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li { margin-bottom: 10px; }

.footer-list a {
  color: #C4B5FD;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, transform 0.2s;
}

.footer-list a::before {
  content: '»';
  color: #F97316;
  font-weight: 700;
  margin-right: 2px;
}

.footer-list a:hover {
  color: #fff;
  transform: translateX(3px);
}

/* --- Instagram Feed --- */
.footer-ig-handle {
  font-size: 11px;
  font-weight: 500;
  color: #F97316;
  text-decoration: none;
  margin-left: auto;
}
.footer-ig-handle:hover { color: #FB923C; }

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.ig-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  display: block;
}

.ig-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.ig-item:hover img {
  transform: scale(1.1);
  filter: brightness(1.15);
}

.ig-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.4), rgba(249, 115, 22, 0.4));
  opacity: 0;
  transition: opacity 0.3s;
}

.ig-item:hover::after { opacity: 0.5; }

/* --- Copyright --- */
.footer-copy {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 32px;
  text-align: center;
  font-size: 13px;
  color: #A78BFA;
}

.footer-copy strong { color: #fff; font-weight: 600; }

/* --- Mobile tweak --- */
@media (max-width: 640px) {
  .footer-top { padding: 36px 20px 24px; }
  .footer-bottom { padding: 32px 20px; gap: 30px; }
  .ig-grid { gap: 4px; }
}

/* ============ TOMBOL KERANJANG (ICON + TEKS ORANYE) ============ */
.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;                    /* jarak antara icon & teks */
  background: none;
  border: none;
  color: #F97316;              /* ← ORANYE untuk icon & teks */
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 4px;
  transition: color 0.2s ease;
  font-family: inherit;
}

.cart-btn:hover {
  color: #EA580C;              /* oranye lebih gelap saat hover */
}

.cart-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.cart-btn:hover svg {
  transform: scale(1.1);
}

/* Teks "Keranjang" — SELALU tampil di sebelah kanan icon */
.cart-btn-text {
  display: inline;
  white-space: nowrap;
}

/* Badge jumlah item (pojok kanan atas) */
.cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #F97316;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(249, 115, 22, 0.5);
}

.cart-count.hidden {
  display: none;
}

/* Mobile: tetap tampil teks, hanya perkecil sedikit */
@media (max-width: 640px) {
  .cart-btn      { font-size: 13px; gap: 6px; }
  .cart-btn svg  { width: 18px; height: 18px; }
}

/* ============ TRUSTED BY SECTION ============ */
.trusted-section {
  background: #fff;
  padding: 40px 0 20px;
  position: relative;
}

.trusted-box {
  position: relative;
  border: 1px solid #EDE9FE;            /* border ungu muda */
  border-radius: 16px;
  padding: 40px 24px;
  background: #fff;
}

/* Label mengambang di tengah atas border */
.trusted-label {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: #4B5563;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.trusted-label strong {
  color: #6D28D9;
  font-weight: 800;
}

.trusted-star {
  color: #F97316;                       /* bintang oranye */
  font-size: 16px;
}

/* Marquee container */
.trusted-marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.trusted-track {
  display: flex;
  width: max-content;
  animation: trustedScroll 40s linear infinite;
}

.trusted-marquee:hover .trusted-track {
  animation-play-state: paused;
}

.trusted-logos {
  display: flex;
  align-items: center;
  gap: 60px;
  padding-right: 60px;
  flex-shrink: 0;
}

@keyframes trustedScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Logo client (teks placeholder — ganti dengan <img> kalau sudah punya) */
.client-logo {
  font-size: 20px;
  font-weight: 800;
  color: #1F2937;
  letter-spacing: -0.5px;
  white-space: nowrap;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.client-logo:hover {
  opacity: 1;
  color: #6D28D9;
}

/* Mobile */
@media (max-width: 640px) {
  .trusted-section { padding: 24px 0 12px; }
  .trusted-box     { padding: 32px 16px; border-radius: 12px; }
  .trusted-label   { font-size: 12px; padding: 0 12px; }
  .trusted-logos   { gap: 40px; padding-right: 40px; }
  .client-logo     { font-size: 16px; }
  .trusted-track   { animation-duration: 25s; }
}

/* ============ BLOG SECTION ============ */
.blog-section {
  background: #F9FAFB;                  /* abu terang, kontras dengan hero */
  padding: 80px 0;
  position: relative;
}

/* --- Label dekoratif (— — Artikel Terbaru — —) --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.label-line {
  display: inline-block;
  width: 30px;
  height: 2px;
  background: #6D28D9;
  border-radius: 2px;
  position: relative;
}

.label-line::after {
  content: '';
  position: absolute;
  top: 0;
  width: 12px;
  height: 2px;
  background: #6D28D9;
  border-radius: 2px;
}
.label-line:first-child::after { right: -6px; }
.label-line:last-child::after  { left: -6px; }

.label-text {
  color: #6D28D9;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* --- Judul --- */
.blog-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1F2937;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .blog-title { font-size: 2.6rem; }
}

.blog-subtitle {
  color: #6B7280;
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto;
}

/* --- Grid --- */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

/* --- Kartu Artikel --- */
.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px -8px rgba(109, 40, 217, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(109, 40, 217, 0.25);
}

/* --- Gambar + Tanggal --- */
.blog-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.06);
}

/* Badge tanggal di pojok kanan bawah gambar */
.blog-date {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #6D28D9;
  color: #fff;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  border-top-left-radius: 12px;
}

.date-day {
  font-size: 20px;
  font-weight: 800;
}

.date-month {
  font-size: 12px;
  font-weight: 600;
  margin-top: 3px;
  opacity: 0.9;
}

/* --- Konten --- */
.blog-content {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
}

/* Garis ungu kecil di kiri konten (seperti referensi) */
.blog-content::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 26px;
  width: 3px;
  background: #6D28D9;
  border-radius: 0 3px 3px 0;
}

.blog-category {
  color: #6D28D9;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.blog-headline {
  font-size: 16px;
  font-weight: 700;
  color: #1F2937;
  line-height: 1.4;
  margin-bottom: 16px;
  flex: 1;
  transition: color 0.2s ease;
}

.blog-card:hover .blog-headline {
  color: #6D28D9;
}

/* --- Read More --- */
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #F97316;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: gap 0.2s ease;
}

.blog-read-more:hover {
  gap: 12px;
}

.blog-read-more svg {
  transition: transform 0.2s ease;
}

.blog-read-more:hover svg {
  transform: translateX(3px);
}

/* --- Tombol "Lihat Semua" --- */
.blog-view-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #6D28D9;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 8px 22px -8px rgba(109, 40, 217, 0.55);
}

.blog-view-all:hover {
  background: #7C3AED;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(124, 58, 237, 0.75);
}

.blog-view-all svg {
  transition: transform 0.2s ease;
}

.blog-view-all:hover svg {
  transform: translateX(4px);
}

/* --- Mobile --- */
@media (max-width: 640px) {
  .blog-section { padding: 56px 0; }
  .blog-title   { font-size: 1.6rem; }
  .blog-date    { padding: 8px 12px; }
  .date-day     { font-size: 18px; }
  .date-month   { font-size: 11px; }
}

/* ============ PORTFOLIO SECTION ============ */
.portfolio-section {
  background: #fff;
  padding: 60px 0;
}

/* --- Tab Filter --- */
.portfolio-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 40px;
}

.portfolio-tab {
  background: #374151;              /* dark slate, sesuai referensi */
  border: none;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 4px;                /* sudut kecil, tidak terlalu rounded */
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.portfolio-tab:hover {
  background: #6D28D9;
}

.portfolio-tab.active {
  background: #6D28D9;
  box-shadow: 0 6px 16px -6px rgba(109, 40, 217, 0.6);
}

/* --- Grid Portfolio: TANPA GAP, SUDUT LANCIP --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;                            /* ← tidak ada jarak */
}

/* --- Item Portfolio --- */
.portfolio-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  background: #F3F4F6;
  border-radius: 0;                  /* ← sudut lancip */
}

/* Item yang disembunyikan filter */
.portfolio-item.hide {
  display: none;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

/* --- Overlay Saat Hover --- */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(17, 24, 39, 0.92) 100%);
  color: #fff;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-item-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  padding-left: 12px;
  border-left: 3px solid #6D28D9;   /* aksen garis ungu vertikal */
  transform: translateY(8px);
  transition: transform 0.35s ease;
  line-height: 1.3;
}

.portfolio-item-cat {
  font-size: 13px;
  color: #C4B5FD;
  padding-left: 15px;
  letter-spacing: 0.3px;
  transform: translateY(8px);
  transition: transform 0.35s ease 0.05s;
}

.portfolio-item:hover .portfolio-item-title,
.portfolio-item:hover .portfolio-item-cat {
  transform: translateY(0);
}

/* ============ MOBILE: tetap 3 kolom, item mengecil ============ */
@media (max-width: 640px) {
  .portfolio-section { padding: 40px 0; }

  .portfolio-tabs {
    gap: 6px;
    margin-bottom: 24px;
  }

  .portfolio-tab {
    font-size: 10px;
    padding: 8px 14px;
    letter-spacing: 0.3px;
  }

  /* Grid tetap 3 kolom, tanpa gap */
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  /* Overlay lebih kecil di mobile */
  .portfolio-overlay   { padding: 8px; }
  .portfolio-item-title {
    font-size: 10px;
    padding-left: 6px;
    border-left-width: 2px;
    line-height: 1.2;
    margin-bottom: 3px;
  }
  .portfolio-item-cat {
    font-size: 8px;
    padding-left: 8px;
    letter-spacing: 0;
  }
}