/* ═══════════════════════════════════════════
   RINTIS UPAKARYA NUSANTARA — LIGHT THEME
   Modern, Clean, Professional
═══════════════════════════════════════════ */

/* ── CSS Reset & Variables ─────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand Colors (RINTIS Logo Palette) */
  --sky: #0c5ca8;
  /* Primary Blue */
  --sky-light: #1d78d4;
  --sky-pale: #e6f0fa;
  --teal: #139b81;
  /* Secondary Green */
  --teal-light: #20c2a4;
  --teal-pale: #e3f8f4;
  --indigo: #4f46e5;
  --amber: #f9b000;
  /* Yellow bulb */
  --amber-pale: #fff8e6;
  --rose: #e23828;
  /* Red roof */
  --rose-pale: #fdecea;
  --green: #16a34a;
  --green-pale: #dcfce7;

  /* Neutrals */
  --dark: #0f172a;
  --dark-2: #1e293b;
  --text: #1e293b;
  --text-2: #475569;
  --text-3: #94a3b8;
  --border: #e2e8f0;
  --border-2: #cbd5e1;
  --surface: #f8fafc;
  --surface-2: #f1f5f9;
  --white: #ffffff;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--sky-light), var(--sky));
  --grad-hero: linear-gradient(135deg, #072e54 0%, #0c5ca8 100%);
  --grad-section: linear-gradient(135deg, #f4f8fc 0%, #f8fafc 100%);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08), 0 1px 2px rgba(15, 23, 42, .05);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, .10);
  --shadow-lg: 0 10px 40px rgba(15, 23, 42, .12);
  --shadow-card: 0 2px 12px rgba(15, 23, 42, .07);
  --shadow-glow: 0 0 30px rgba(12, 92, 168, 0.2);

  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --ff: 'Plus Jakarta Sans', sans-serif;
  --ff-head: 'Sora', sans-serif;

  --section-pad: clamp(4rem, 8vw, 7rem);
  --container: min(100%, 1140px);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff);
  background: var(--white);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Utility ────────────────────────────────── */
.container {
  width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2rem);
}

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-light {
  background: linear-gradient(135deg, #7dd3fc, #5eead4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-glass {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}

.card-glass:hover {
  border-color: var(--sky-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.75rem;
  border-radius: 100px;
  font-family: var(--ff);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: all .3s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(12, 92, 168, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(12, 92, 168, 0.45);
}

.btn-outline {
  border: 2px solid var(--sky-light);
  color: var(--sky);
  background: transparent;
}

.btn-outline:hover {
  background: var(--sky-pale);
  transform: translateY(-2px);
}

/* ── Section headers ────────────────────────── */
.section {
  padding: var(--section-pad) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  background: var(--sky-pale);
  border: 1px solid rgba(12, 92, 168, 0.25);
  color: var(--sky);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-tag-dark {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
}

.section-title {
  font-family: var(--ff-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: .75rem;
  color: var(--dark);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 540px;
  margin-inline: auto;
}

/* ── NAVBAR ─────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: .875rem 0;
  transition: background .4s, backdrop-filter .4s, box-shadow .4s;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

.nav-container {
  width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}

.logo-mark {
  flex-shrink: 0;
}

.logo-mark svg {
  display: block;
}

/* Default (di atas hero gelap) — teks putih */
.logo-text {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: -.01em;
  transition: color .3s;
}

.logo-text span {
  background: linear-gradient(135deg, #7dd3fc, #5eead4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: .9rem;
  font-weight: 500;
  padding: .5rem .9rem;
  border-radius: 8px;
  transition: color .25s, background .25s;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Setelah scroll (sticky) — teks gelap di atas background putih */
.navbar.scrolled .logo-text {
  color: var(--dark);
}

.navbar.scrolled .logo-text span {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar.scrolled .nav-link {
  color: var(--text-2);
}

.navbar.scrolled .nav-link:hover {
  color: var(--sky);
  background: var(--sky-pale);
}

.navbar.scrolled .nav-toggle span {
  background: var(--dark);
}

.nav-cta {
  background: var(--grad-primary) !important;
  color: #fff !important;
  padding: .55rem 1.25rem !important;
  border-radius: 100px !important;
  box-shadow: 0 2px 10px rgba(12, 92, 168, 0.3);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all .3s;
}

/* ── HERO ──────────────────────────────────── */
/* Hero stays dark — creates visual contrast and impact */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.6;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(12, 92, 168, 0.5), transparent 70%);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.45), transparent 70%);
  bottom: -80px;
  right: -80px;
  animation-delay: 3s;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.3), transparent 70%);
  top: 40%;
  left: 40%;
  animation-delay: 6s;
}

@keyframes orbFloat {

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

  50% {
    transform: translate(20px, -20px) scale(1.05);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2rem);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  padding: .45rem 1rem;
  font-size: .82rem;
  font-weight: 600;
  color: #bae6fd;
  margin-bottom: 1.5rem;
  letter-spacing: .02em;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 8px #4ade80;
  }

  50% {
    box-shadow: 0 0 16px #4ade80, 0 0 30px rgba(74, 222, 128, 0.4);
  }
}

.hero-headline {
  font-family: var(--ff-head);
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -.02em;
  color: #fff;
}

.hero-sub {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2.5rem;
}

.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  padding: .5rem 1rem;
  font-size: .85rem;
  color: rgba(255, 255, 255, 0.85);
}

.stat-pill strong {
  color: #fff;
  margin-right: .25rem;
}

/* Hero visual — desktop only */
.hero-visual {
  position: absolute;
  right: calc((100% - min(100%, 1140px)) / 2 + 2rem);
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  height: 380px;
  z-index: 1;
  display: none;
}

.blob-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: blobMorph 10s ease-in-out infinite;
}

@keyframes blobMorph {

  0%,
  100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(5deg) scale(1.03);
  }
}

.blob-center-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  filter: drop-shadow(0 0 20px rgba(12, 92, 168, 0.5));
}

.visual-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: .85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .82rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  animation: cardFloat 4s ease-in-out infinite;
}

.vc1 {
  top: 8%;
  left: 5%;
  animation-delay: 0s;
}

.vc2 {
  bottom: 10%;
  left: 5%;
  animation-delay: 1.5s;
}

.vc3 {
  top: 45%;
  right: 0%;
  animation-delay: 3s;
}

@keyframes cardFloat {

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

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

.vc-icon {
  font-size: 1.2rem;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: .05em;
  z-index: 2;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 11px;
  position: relative;
}

.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  animation: scrollAnim 2s infinite;
}

@keyframes scrollAnim {
  0% {
    opacity: 1;
    top: 6px;
  }

  100% {
    opacity: 0;
    top: 18px;
  }
}

/* ── TENTANG ────────────────────────────────── */
.tentang {
  background: var(--surface);
}

/* Row 1 — Intro */
.tentang-intro {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.tentang-intro-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  background: var(--grad-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 16px rgba(12, 92, 168, 0.25);
}

.tentang-intro-body h3 {
  font-family: var(--ff-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .6rem;
  color: var(--dark);
}

.tentang-intro-body p {
  color: var(--text-2);
  line-height: 1.75;
  font-size: .95rem;
}

.tentang-intro-body p strong {
  color: var(--dark);
}

.tentang-intro-body p em {
  color: var(--sky);
  font-style: normal;
  font-weight: 600;
}

/* Row 2 — Visi & Misi */
.visi-misi-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 560px) {
  .visi-misi-row {
    grid-template-columns: 1fr 1fr;
  }
}

.vm-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--grad-primary);
  color: #fff;
  padding: .3rem .85rem;
  border-radius: 100px;
  margin-bottom: .85rem;
}

.vm-tag-misi {
  background: linear-gradient(135deg, var(--amber), var(--rose));
}

.visi-card p {
  color: var(--text-2);
  line-height: 1.65;
}

.visi-card p strong {
  color: var(--dark);
}

.misi-card p {
  color: var(--text-2);
  line-height: 1.65;
}

.misi-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.misi-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  color: var(--text-2);
  line-height: 1.5;
}

.misi-list li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .05rem;
}

/* Row 3 — Tim Kami */
.tim-card-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .tim-card-inner {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }

  .tim-card-inner>div:first-child {
    min-width: 220px;
    flex-shrink: 0;
  }
}

.tim-card p {
  color: var(--text-2);
  margin-bottom: 0;
  line-height: 1.6;
}

.tim-card p strong {
  color: var(--dark);
}

.tim-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.tim-tag {
  background: var(--amber-pale);
  border: 1px solid rgba(217, 119, 6, 0.2);
  color: var(--amber);
  font-size: .82rem;
  font-weight: 600;
  padding: .35rem .85rem;
  border-radius: 100px;
  transition: all .2s;
}

.tim-tag:hover {
  background: #fde68a;
  border-color: rgba(217, 119, 6, 0.4);
}

/* ── PROGRAM ────────────────────────────────── */
.program {
  background: var(--white);
}

.program-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.program-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all .35s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 3px 3px 0 0;
}

.program-card[data-color="blue"]::before {
  background: linear-gradient(90deg, var(--sky-light), var(--sky));
}

.program-card[data-color="teal"]::before {
  background: linear-gradient(90deg, var(--teal-light), var(--teal));
}

.program-card[data-color="indigo"]::before {
  background: linear-gradient(90deg, var(--sky-pale), var(--sky));
}

.program-card[data-color="amber"]::before {
  background: linear-gradient(90deg, var(--amber-pale), var(--amber));
}

.program-card[data-color="rose"]::before {
  background: linear-gradient(90deg, var(--rose-pale), var(--rose));
}

.program-card:hover {
  border-color: var(--sky-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pc-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}

.pc-blue {
  background: var(--sky-pale);
  color: var(--sky);
}

.pc-teal {
  background: var(--teal-pale);
  color: var(--teal);
}

.pc-indigo {
  background: #ede9fe;
  color: var(--indigo);
}

.pc-amber {
  background: var(--amber-pale);
  color: var(--amber);
}

.pc-rose {
  background: var(--rose-pale);
  color: var(--rose);
}

.program-card h3 {
  font-family: var(--ff-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .65rem;
  color: var(--dark);
}

.program-card p {
  font-size: .9rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.pc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.pc-tags span {
  font-size: .75rem;
  font-weight: 600;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-2);
  padding: .25rem .65rem;
  border-radius: 100px;
}

.program-card-wide .pc-wide-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ── REKAM JEJAK ─────────────────────────── */
/* Rekam Jejak stays with gradient for visual variety */
.jejak {
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
}

.jejak-bg {
  position: absolute;
  inset: 0;
}

.jejak-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all .3s;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
}

.stat-number {
  font-family: var(--ff-head);
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--amber-pale), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: inline-block;
}

.stat-unit {
  font-family: var(--ff-head);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--amber-pale), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.stat-label {
  font-size: .82rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: .4rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.portfolio-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: all .3s;
}

.portfolio-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.pf-number {
  font-family: var(--ff-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -.03em;
}

.pf-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 100px;
  margin-bottom: .85rem;
}

.pf-badge-green {
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #4ade80;
}

.pf-badge-blue {
  background: rgba(125, 211, 252, 0.15);
  border: 1px solid rgba(125, 211, 252, 0.3);
  color: #7dd3fc;
}

.pf-badge-amber {
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #fbbf24;
}

.portfolio-card h3 {
  font-family: var(--ff-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .65rem;
  color: #fff;
}

.portfolio-card p {
  font-size: .9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.portfolio-card p strong {
  color: rgba(255, 255, 255, 0.95);
}

.pf-stat {
  display: flex;
  align-items: baseline;
  gap: .65rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: .85rem 1.1rem;
  margin-bottom: 1rem;
}

.pf-stat strong {
  font-family: var(--ff-head);
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #7dd3fc, #5eead4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pf-stat span {
  font-size: .85rem;
  color: rgba(255, 255, 255, 0.6);
}

.pf-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.pf-tags span {
  font-size: .75rem;
  font-weight: 600;
  background: rgba(125, 211, 252, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.22);
  color: #7dd3fc;
  padding: .25rem .65rem;
  border-radius: 100px;
}

.pf-locations {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 1rem;
}

.pf-loc {
  display: flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: .3rem .75rem;
  font-size: .82rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ── KEGIATAN KAMI ─────────────────────── */
.kegiatan {
  background: var(--white);
}

.kegiatan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.ig-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  background: var(--white);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}

.ig-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Wrapper agar iframe Instagram tetap proporsional */
.ig-embed-wrap {
  position: relative;
  width: 100%;
  /* Instagram embed punya tinggi variable; beri min-height */
  min-height: 500px;
  background: var(--surface-2);
  overflow: hidden;
}

.ig-embed-wrap iframe {
  width: 100% !important;
  border: none;
  display: block;
}

.ig-embed-wrap blockquote.instagram-media {
  margin: 0 !important;
  min-width: unset !important;
  max-width: 100% !important;
  width: 100% !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.ig-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.ig-card-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-2);
}

.ig-card-label svg {
  color: #e1306c;
  flex-shrink: 0;
}

.ig-card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--sky);
  text-decoration: none;
  padding: .4rem .85rem;
  border-radius: 100px;
  background: var(--sky-pale);
  transition: all .2s;
}

.ig-card-link:hover {
  background: var(--sky-light);
  color: #fff;
}

.kegiatan-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.kegiatan-cta p {
  color: var(--text-2);
  margin-bottom: 1rem;
  font-size: .95rem;
}

/* ── MITRA ────────────────────────────── */
.mitra {
  background: var(--surface);
}

.partner-track-wrapper {
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
}

.partner-track-wrapper::before,
.partner-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
}

.partner-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--surface), transparent);
}

.partner-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--surface), transparent);
}

.partner-track {
  display: flex;
  gap: 2rem;
  animation: partnerScroll 25s linear infinite;
  width: max-content;
}

@keyframes partnerScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

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

.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  cursor: default;
  flex-shrink: 0;
  width: 130px;
}

.partner-logo-box {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  background: var(--sky-pale);
  border: 1.5px solid rgba(12, 92, 168, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
}

.partner-logo-box:hover {
  transform: scale(1.05);
  border-color: var(--sky-light);
  box-shadow: 0 4px 16px rgba(12, 92, 168, 0.2);
}

.partner-logo-gold {
  background: var(--amber-pale);
  border-color: rgba(217, 119, 6, 0.2);
}

.partner-logo-green {
  background: var(--green-pale);
  border-color: rgba(22, 163, 74, 0.2);
}

.partner-logo-teal {
  background: var(--teal-pale);
  border-color: rgba(13, 148, 136, 0.2);
}

.partner-logo-red {
  background: var(--rose-pale);
  border-color: rgba(225, 29, 72, 0.2);
}

.partner-logo-purple {
  background: #f5f3ff;
  border-color: rgba(79, 70, 229, 0.2);
}

.partner-initial {
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--dark);
  letter-spacing: -.02em;
}

.partner-item span {
  font-size: .75rem;
  font-weight: 500;
  color: var(--text-3);
  text-align: center;
  line-height: 1.3;
}

/* ── KOMITMEN ────────────────────────── */
.komitmen {
  background: var(--white);
}

.komitmen-card {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 6vw, 4rem);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.komitmen-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-primary);
}

.komitmen-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.komitmen-title {
  font-family: var(--ff-head);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 1.1rem;
  color: var(--dark);
}

.komitmen-text {
  color: var(--text-2);
  line-height: 1.75;
  font-size: 1rem;
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.komitmen-text strong {
  color: var(--sky);
}

.komitmen-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.pillar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1rem;
  transition: all .3s;
  box-shadow: var(--shadow-sm);
}

.pillar:hover {
  border-color: var(--sky-light);
  box-shadow: 0 4px 16px rgba(12, 92, 168, 0.15);
  transform: translateY(-2px);
}

.pillar-icon {
  font-size: 1.75rem;
  margin-bottom: .5rem;
}

.pillar-label {
  font-weight: 700;
  font-size: .9rem;
  color: var(--dark);
}

/* ── FOOTER ──────────────────────────── */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
  padding: 4rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

/* Logo in footer — white text */
.footer .logo-text {
  color: var(--white);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.5);
  font-size: .9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: .75rem;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all .25s;
}

.social-btn:hover {
  background: var(--sky-light);
  border-color: var(--sky-light);
  color: #fff;
  transform: translateY(-2px);
}

.footer-links-col h4,
.footer-contact-col h4 {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: .85rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer-links-col a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: .9rem;
  transition: color .2s;
}

.footer-links-col a:hover {
  color: var(--sky-light);
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: .88rem;
  line-height: 1.5;
  transition: color .25s;
}

.contact-item:hover {
  color: rgba(255, 255, 255, 0.9);
}

.ci-icon {
  width: 36px;
  height: 36px;
  background: rgba(12, 92, 168, 0.12);
  border: 1px solid rgba(12, 92, 168, 0.2);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-light);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.25rem 0;
}

.footer-bottom .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  text-align: center;
}

.footer-bottom p {
  font-size: .82rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-powered {
  color: rgba(255, 255, 255, 0.45) !important;
}

/* ── SCROLL ANIMATIONS ──────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE: Tablet 640px+ ─────── */
@media (min-width: 640px) {
  .stats-row {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

  .portfolio-card-wide {
    grid-column: span 2;
  }

  .komitmen-pillars {
    grid-template-columns: repeat(4, 1fr);
  }

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

/* ── RESPONSIVE: Desktop 1024px+ ───── */
@media (min-width: 1024px) {
  .hero {
    padding-top: 7rem;
  }

  .hero-content {
    /* Teks mengisi sisi kiri; sisakan ruang kanan untuk hero-visual (380px + gap) */
    padding-right: calc(clamp(1rem, 5vw, 2rem) + 420px);
    max-width: var(--container);
  }

  .hero-visual {
    display: block;
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex !important;
  }

  .program-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .program-card-wide {
    grid-column: span 2;
  }

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

/* ── MOBILE MENU ────────────────────── */
@media (max-width: 1023px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    gap: 1.5rem;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    font-size: 1.1rem;
    color: var(--text);
  }

  .nav-cta {
    font-size: 1.1rem !important;
    padding: .75rem 2rem !important;
  }
}

/* ── Transition for cards ────────────── */
.program-card,
.portfolio-card,
.stat-card {
  transition: all .35s;
}