*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #1d408a;
  --primary-dark: #132c61;
  --primary-light: #3a6fd8;
  --accent: #0693e3;
  --accent2: #2b3775;
  --red: #bb0909;
  --gold: #dfa719;
  --white: #ffffff;
  --off-white: #f1f3f9;
  --text: #1b1d1d;
  --text-muted: #6a6a6a;
  --border: #e7e6e6;
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ==================== CONTAINER ==================== */
/* HERO */
.hero {
  min-height: calc(100vh - var(--nav-height));
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231D408A' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(160deg, #eef4ff 0%, #f8f9ff 50%, #fff 100%);
  display: flex;
  align-items: center;
  padding: 80px 5%;
  gap: 60px;
}

.hero-text {
  flex: 1;
  max-width: 400px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 147, 227, 0.1);
  color: var(--accent);
  border: 1px solid rgba(6, 147, 227, 0.25);
  border-radius: 99px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}

.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

.hero-visual img {
  width: 100%;

  max-width: 550px;

  height: auto;

  display: block;
}

.hero h1 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(36px, 4.5vw, 62px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--text);
}

.hero h1 .highlight-blue {
  color: var(--primary);
}
.hero h1 .highlight-red {
  color: var(--red);
}

.hero p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(6, 147, 227, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6, 147, 227, 0.4);
}

.btn-secondary {
  padding: 16px 32px;
  background: white;
  color: var(--text);
  border: 2px solid var(--border);
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, transform 0.2s;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-card-main {
  background: linear-gradient(135deg, var(--primary), var(--accent2));
  border-radius: 28px;
  padding: 40px;
  color: white;
  width: 340px;
  box-shadow: 0 24px 80px rgba(29, 64, 138, 0.35);
  position: relative;
  z-index: 0;
}

.hero-card-main h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  opacity: 0.9;
}

.hero-stat-row {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px 18px;
  flex: 1;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat .num {
  font-size: 22px;
  font-weight: 800;
  display: block;
}
.hero-stat .lbl {
  font-size: 11px;
  opacity: 0.75;
  margin-top: 2px;
  display: block;
}

.hero-card-float {
  position: absolute;
  background: white;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.float-1 {
  top: -13px;
  right: -105px;
  animation-delay: 0s;
}
.float-2 {
  bottom: -35px;
  left: -40px;
  animation-delay: 1.5s;
}

.float-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* STATS BANNER */
.stats-banner {
  padding: 60px 15%;
  justify-content: center;
  margin-bottom: 30px;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap; /* Membuat box drop ke bawah saat ruang habis */
  justify-content: center; /* Memastikan box yang drop akan mulai dari tengah */
  gap: 18px; /* Jarak antar box */
}

.stat-item {
  text-align: center;
  color: white;
  background: var(--primary);
  border-radius: 20px;
  flex: 0 1 auto;
  min-width: 200px;
  padding: 10px;
}

.stat-item .big-num {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  display: block;
  color: white;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .big-num span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7em;
}

.stat-item .stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* SECTION COMMON */
section {
  padding: 100px 5%;
}

.section-label {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  justify-content: center;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 600px;
}

.section-header {
  margin-bottom: 60px;
}
.section-header.center {
  text-align: center;
}
.section-header.center .section-subtitle {
  margin: 0 auto;
}

/* ABOUT SPLIT */
.about-split {
  background: var(--off-white);
  display: flex;
  gap: 80px;
  align-items: center;
  flex-wrap: wrap;
}

.about-visual {
  flex: 1;
  min-width: 280px;
}

.about-illustration {
  background: linear-gradient(135deg, var(--primary), var(--accent2));
  border-radius: 28px;
  padding: 40px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  max-width: 420px;
}

.about-illustration::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.about-illustration::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.about-center-icon {
  font-size: 80px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.about-content {
  flex: 1.2;
  min-width: 280px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(6, 147, 227, 0.15),
    rgba(43, 55, 117, 0.1)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.feature-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.feature-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 0;
}

.service-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 32px 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border-color: rgba(6, 147, 227, 0.3);
}
.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon-wrap {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    rgba(6, 147, 227, 0.12),
    rgba(43, 55, 117, 0.08)
  );
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

/* IMPACT / POSTS */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.impact-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.impact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.impact-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 18px;
  position: relative;
}

.impact-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 99px;
}

.impact-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

.impact-body {
  padding: 24px;
}
.impact-body h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
}
.impact-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.impact-meta {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Scroll animations */
.fade-up {
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  transform: translateY(0);
}

/* =================================================
   HERO MOBILE
================================================== */

@media (max-width: 768px) {
  .hero {
    flex-direction: column-reverse;

    justify-content: center;

    text-align: center;

    gap: 40px;

    padding: 40px 20px;

    min-height: auto;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero p {
    max-width: 100%;

    font-size: 15px;

    line-height: 1.8;
  }

  .hero-btns {
    flex-direction: column;

    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;

    max-width: 300px;

    justify-content: center;
  }

  .hero-visual img {
    width: 90%;

    margin: auto;
  }

  section {
    padding: 70px 20px;
  }
}

.size {
  font-size: clamp(28px, 3.5vw, 40px);
}
