/* ==============================
   ROOT & RESET
============================== */
:root {
  --bg: #bfdbfe;
  --bg2: #93c5fd;
  --navy: #1e3a8a;
  --navy-dark: #0f2460;
  --navy-mid: #1d4ed8;
  --card-bg: #2563eb;
  --card-bg2: #3b82f6;
  --card-info: #4a7fcb;
  --white: #ffffff;
  --text-dark: #1e3a8a;
  --text-light: #e0f2fe;
  --accent: #22d3ee;
  --green-wa: #25D366;
  --nav-h: 72px;
  --nav-outer-h: 88px;
  --font: 'Poppins', sans-serif;
}

div,
p {
  max-width: 100%;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-outer-h);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ==============================
   PARTICLE CANVAS
============================== */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

/* Semua section content di atas canvas */
.nav-wrapper,
.hero,
#layanan,
#portofolio,
#blog,
#kontak,
#footer {
  position: relative;
  z-index: 1;
}

/* ==============================
   LOADING SCREEN
============================== */
#loadingScreen {
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loadingScreen.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.loader-logo img {
  height: 80px;
  mix-blend-mode: screen;
  animation: pulseLogo 1.2s ease-in-out infinite;
}

.loader-logo span {
  color: #fff;
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 4px;
}

.loader-logo span em {
  font-style: normal;
  color: #93c5fd;
  font-size: 0.8rem;
  display: block;
  text-align: center;
  letter-spacing: 6px;
}

.loader-bar {
  width: 180px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #60a5fa, #22d3ee);
  border-radius: 4px;
  animation: fillBar 1.8s ease forwards;
}

@keyframes pulseLogo {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.06);
    opacity: 0.85;
  }
}

@keyframes fillBar {
  0% {
    width: 0%;
  }

  100% {
    width: 100%;
  }
}

/* ==============================
   NAVBAR — FLOATING PILL
============================== */
.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 10px 24px;
  pointer-events: none;
}

#navbar {
  pointer-events: all;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--navy-dark);
  height: var(--nav-h);
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(15, 36, 96, 0.45), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: box-shadow 0.3s, background 0.3s;
}

#navbar.scrolled {
  background: rgba(15, 36, 96, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 40px rgba(15, 36, 96, 0.5);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 46px;
  width: auto;
  mix-blend-mode: screen;
  display: block;
}

.nav-logo-full {
  height: 50px;
  width: auto;
  mix-blend-mode: normal;
}

.nav-logo-text {
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 2px;
  line-height: 1.2;
}

.nav-logo-text em {
  font-style: normal;
  font-size: 0.85rem;
  color: #93c5fd;
  display: block;
  letter-spacing: 5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #93c5fd;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 7px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==============================
   HERO
============================== */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-outer-h);
  background: var(--bg);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
  pointer-events: none;
}

.blob1 {
  width: 320px;
  height: 320px;
  background: #60a5fa;
  top: 5%;
  left: -80px;
  filter: blur(60px);
}

.blob2 {
  width: 260px;
  height: 260px;
  background: #818cf8;
  bottom: 10%;
  right: -60px;
  filter: blur(60px);
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 32px 80px;
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.hero-text {
  flex: 1;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--navy-dark);
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(30, 58, 138, .08);
}

.hero-subtitle {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 32px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-wa);
  color: #fff;
  padding: 12px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 2px solid var(--navy);
  color: var(--navy);
  padding: 11px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  letter-spacing: 1px;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}

/* Hero Visual */
.hero-visual {
  flex: 1.2;
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 450px;
}

.parallax-layer {
  position: absolute;
  will-change: transform;
  transition: transform 0.08s linear;
}

.hero-img {
  display: block;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 8px 24px rgba(30, 58, 138, 0.25));
  pointer-events: none;
  user-select: none;
}

.hero-img-back {
  width: 180px;
  position: relative;
  top: -100px;
  right: -110px;
}

.hero-img-main {
  width: 300px;
  position: relative;
  top: 10px;
  left: 10px;
}

.hero-img-front {
  width: 280px;
  position: relative;
  top: 140px;
  left: -150px;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  cursor: pointer;
}

.cursor {
  color: var(--navy-dark);
  animation: blink .8s infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ==============================
   SECTION HEADER
============================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--navy-dark);
  white-space: nowrap;
}

.section-line {
  flex: 1;
  max-width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--navy));
}

.section-line:last-child {
  background: linear-gradient(90deg, var(--navy), transparent);
}

/* ==============================
   LAYANAN
============================== */
.layanan {
  background: var(--bg);
  padding: 80px 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.layanan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.layanan-card {
  background: var(--navy);
  border-radius: 16px;
  padding: 32px 24px;
  color: #fff;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 20px rgba(30, 58, 138, 0.2);
}

.layanan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(30, 58, 138, 0.35);
}

.layanan-icon {
  margin-bottom: 18px;
}

.layanan-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--accent);
}

.layanan-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #bfdbfe;
}

/* ==============================
   PORTOFOLIO
============================== */
.portofolio {
  background: var(--bg);
  padding: 80px 32px;
  position: relative;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}

.plane-group {
  position: absolute;
  pointer-events: none;
  top: 0;
  bottom: 0;
  width: 120px;
}

.porto-thumb-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.left-planes {
  left: 0;
}

.right-planes {
  right: 0;
}

.plane {
  position: absolute;
  width: calc(var(--s) * 44px);
  height: calc(var(--s) * 44px);
  transform: rotate(var(--r));
  opacity: 0.65;
  will-change: transform;
  transition: transform 0.1s linear;
}

.plane svg {
  width: 100%;
  height: 100%;
}

.porto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.porto-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(30, 58, 138, 0.25);
  transition: transform 0.25s, box-shadow 0.25s;
}

.porto-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(30, 58, 138, 0.35);
}

.porto-info {
  background: var(--card-info);
  padding: 16px;
}

.porto-cat {
  display: inline-block;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.porto-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.porto-info p {
  font-size: 0.8rem;
  color: #e0f2fe;
  line-height: 1.5;
  margin-bottom: 12px;
}

.btn-preview {
  display: inline-block;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-preview:hover {
  background: #fff;
}

/* ==============================
   BLOG — TANPA FRAME/WRAPPER
============================== */
.blog {
  background: transparent;
  padding: 80px 0;
}

/* Header */
.blog-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 32px;
}

.blog-header h2 {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: 10px 36px;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 3px;
}

/* Outer wrapper: centers + gives room for buttons */
.blog-carousel-outer {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  padding: 0 68px;
  box-sizing: border-box;
}

/* Viewport: clip cards — NO background, no padding, no shadow */
.blog-carousel-viewport {
  width: 100%;
  overflow: hidden;
}

/* Arrow buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: #fff;
  color: var(--navy);
  font-size: 1.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  line-height: 1;
  padding-bottom: 2px;
  box-shadow: 0 3px 12px rgba(30, 58, 138, 0.2);
}

.carousel-btn.prev {
  left: 8px;
}

.carousel-btn.next {
  right: 8px;
}

.carousel-btn:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}

/* Track */
.blog-carousel {
  display: flex;
  gap: 20px;
  transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Individual card */
.blog-card {
  flex-shrink: 0;
  min-width: 0;
  background: #2f6fd8;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 24px rgba(15, 36, 96, 0.22);
  transition: transform 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(15, 36, 96, 0.32);
}

/* Image area */
.blog-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  overflow: hidden;
  flex-shrink: 0;
}

.blog-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

/* Placeholder shown when image missing / broken */
.blog-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.blog-img-placeholder span {
  font-size: 0.75rem;
  color: #93c5fd;
  font-weight: 500;
  letter-spacing: 1px;
}

.blog-img-wrap.no-img .blog-img-placeholder {
  opacity: 1;
}

.blog-img-wrap.no-img {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}

/* Content inside card */
.blog-content {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #3b75d9;
}

.blog-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #e0f2fe;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  width: fit-content;
  text-transform: uppercase;
}

.blog-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-desc {
  font-size: 0.8rem;
  color: #e0f2fe;
  line-height: 1.55;
  margin-bottom: 14px;
  font-weight: 400;
  flex: 1;
}

.blog-footer {
  margin-top: auto;
}

.btn-artikel {
  display: inline-block;
  background: rgba(255, 255, 255, 0.88);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  text-decoration: none;
  letter-spacing: 0.8px;
  transition: background 0.2s, transform 0.2s;
}

.btn-artikel:hover {
  background: #fff;
  transform: translateX(3px);
}

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dots .dot-item {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #93c5fd;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, width 0.25s;
}

.carousel-dots .dot-item.active {
  background: var(--navy);
  transform: scale(1.2);
  width: 22px;
  border-radius: 4px;
}

/* ==============================
   KONTAK
============================== */
.kontak {
  background: var(--bg);
  padding: 80px 32px;
}

.kontak-box {
  max-width: 900px;
  margin: 0 auto;
  background: var(--card-info);
  border-radius: 20px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
}

.kontak-info h2,
.kontak-form h2 {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.kontak-info ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.kontak-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e0f2fe;
  font-size: 0.88rem;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #e0f2fe;
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: block;
}

.form-group label span {
  color: #f87171;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 9px 14px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.87rem;
  font-family: var(--font);
  color: var(--navy-dark);
  outline: none;
  transition: box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 2px var(--accent);
}

.form-group textarea {
  height: 100px;
  resize: vertical;
}

.btn-kirim {
  display: block;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  border: none;
  padding: 10px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  letter-spacing: 1px;
  transition: background 0.2s, transform 0.2s;
}

.btn-kirim:hover {
  background: #fff;
  transform: translateY(-2px);
}

/* ==============================
   FOOTER
============================== */
#footer {
  background: var(--bg);
  position: relative;
}

.footer-logo-img {
  height: 140px;
  width: auto;
  mix-blend-mode: screen;
  display: block;
}

.footer-wave {
  line-height: 0;
  overflow: hidden;
}

.footer-wave svg {
  width: 100%;
  height: 80px;
  display: block;
  margin-bottom: -2px;
}

.footer-body {
  background: var(--navy-dark);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 60px;
  padding: 48px 32px 40px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col li a {
  text-decoration: none;
  color: #93c5fd;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-col li a:hover {
  color: #fff;
}

.footer-sosmed {
  display: flex;
  gap: 12px;
  align-items: center;
}

.sosmed-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93c5fd;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.sosmed-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.footer-copy {
  background: #000;
  text-align: center;
  padding: 14px;
  color: #9ca3af;
  font-size: 0.82rem;
}

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 900px) {
  .blog-carousel-outer {
    padding: 0 60px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-outer-h: 80px;
  }

  .nav-wrapper {
    padding: 8px 16px;
  }

  #navbar {
    border-radius: 14px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: calc(var(--nav-outer-h));
    left: 16px;
    right: 16px;
    background: var(--navy-dark);
    border-radius: 14px;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
    padding: 0;
    box-shadow: none;
  }

  .nav-links.open {
    max-height: 400px;
    padding: 12px 0;
    box-shadow: 0 12px 36px rgba(15, 36, 96, 0.4);
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-link {
    display: block;
    padding: 13px;
    font-size: .9rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
  }

  /* HERO */
  .hero {
    position: relative;
    overflow: hidden;
  }

  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(191, 219, 254, 0.4);
    z-index: 1;
    pointer-events: none;
  }

  .hero-content {
    min-height: 80vh;
    padding: 40px 20px 60px;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    flex-direction: column;
    gap: 0;
  }

  .hero-text {
    order: 1;
    position: relative;
    z-index: 3;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: .95rem;
  }

  .hero-desc {
    font-size: 0.9rem;
    max-width: 100%;
    min-width: unset;
    margin-left: auto;
    margin-right: auto;
    padding: 0 10px;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn-wa,
  .btn-outline {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero-visual {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: unset;
    z-index: 0;
    pointer-events: none;
  }

  .hero-img {
    opacity: .3;
    filter: blur(5px);
  }

  .hero-img-main {
    width: 320px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .hero-img-back {
    width: 180px;
    position: absolute;
    top: 25%;
    right: 10%;
  }

  .hero-img-front {
    width: 170px !important;
    position: absolute !important;
    top: 30% !important;
    left: 20% !important;
    bottom: unset !important;
  }

  .section-line {
    max-width: 80px;
  }

  .layanan {
    padding: 60px 20px;
  }

  .portofolio {
    padding: 60px 20px;
  }

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

  /* BLOG MOBILE */
  .blog {
    padding: 60px 0;
  }

  .blog-carousel-outer {
    padding: 0 52px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }

  .carousel-btn.prev {
    left: 6px;
  }

  .carousel-btn.next {
    right: 6px;
  }

  /* KONTAK */
  .kontak-box {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
  }

  /* FOOTER */
  .footer-body {
    gap: 32px;
    padding: 40px 24px 32px;
    text-align: center;
  }

  .footer-logo {
    width: 100%;
    justify-content: center;
  }

  .footer-logo-img {
    height: 120px;
  }

  .footer-sosmed {
    justify-content: center;
  }

  .plane-group {
    display: none;
  }
}

@media (max-width: 480px) {
  :root {
    --nav-outer-h: 72px;
  }

  .nav-wrapper {
    padding: 6px 12px;
  }

  #navbar {
    border-radius: 12px;
    height: 60px;
  }

  .nav-logo-img {
    height: 38px;
  }

  .nav-logo-text {
    font-size: 1rem;
  }

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

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-img-main {
    width: 260px;
  }

  .hero-img-back {
    width: 140px;
  }

  .hero-img-front {
    width: 150px;
  }

  .footer-logo-img {
    height: 100px;
  }

  .blog-carousel-outer {
    padding: 0 44px;
  }

  .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }

  .carousel-btn.prev {
    left: 4px;
  }

  .carousel-btn.next {
    right: 4px;
  }
}

/* ===== PORTO MORE BUTTON ===== */
.porto-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
  width: 100%;
}

.btn-porto-more {
  background: transparent;
  border: 2px solid #3b82f6;
  color: #60a5fa;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 0.75rem 2.5rem;
  border-radius: 50px;
  cursor: pointer;
  outline: none;
  box-sizing: border-box;
  transition: background 0.3s, color 0.3s, transform 0.2s, box-shadow 0.3s;
}

.btn-porto-more:hover {
  background: #3b82f6;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

/* ===== BACK TO TOP ===== */
#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  left: auto;
  z-index: 99999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover {
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.7);
  transform: translateY(-3px);
}

/* ===== LOADER DALAM TAHAP PENGEMBANGAN ===== */
.loader-dev-notice {
  color: #60a5fa;
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-align: center;
  opacity: 0.75;
  animation: blinkNotice 1.5s ease-in-out infinite;
}

@keyframes blinkNotice {

  0%,
  100% {
    opacity: 0.75;
  }

  50% {
    opacity: 0.25;
  }
}

/* ===== BLOG MORE BUTTON ===== */
.blog-more-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.btn-blog-more {
  background: var(--navy);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 0.75rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.3);
}

.btn-blog-more:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.45);
}