@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  --gold: #fcce00;
  --gold-dark: #d4a800;
  --gold-light: #ffe97a;
  --maroon: #940000;
  --maroon-dark: #6b0000;
  --maroon-light: #c41c1c;
  --dark: #ffffff;
  --dark-2: #f8f6f2;
  --dark-3: #ede9e0;
  --dark-4: #e2ddd4;
  --gray: #6b6b6b;
  --gray-light: #4a4a4a;
  --white: #1a1a1a;
  --white-off: #333333;
  --text: #1a1a1a;
  --text-light: #555555;
  --surface: #ffffff;
  --surface-2: #f8f6f2;
  --border: rgba(0,0,0,0.08);
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.14);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  background: #ffffff;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f0f0f0; }
::-webkit-scrollbar-thumb { background: var(--maroon); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 14px 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  transition: var(--transition);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.navbar.scrolled { padding: 10px 0; background: rgba(255,255,255,0.97); box-shadow: 0 4px 30px rgba(0,0,0,0.10); }
.nav-container {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-img { height: 42px; width: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  color: #444; text-decoration: none; font-size: 13px; font-weight: 600;
  letter-spacing: 0.8px; text-transform: uppercase; transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--maroon); transition: var(--transition);
}
.nav-links a:hover { color: var(--maroon); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: #ffffff !important; padding: 10px 24px; border-radius: 50px;
  font-weight: 700 !important; border: none;
  box-shadow: 0 4px 16px rgba(148,0,0,0.3);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important; color: var(--maroon) !important; box-shadow: 0 4px 20px rgba(252,206,0,0.4) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: #1a1a1a; transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #fff9f0 0%, #ffffff 50%, #fff5f5 100%);
}
.hero::before {
  content: ''; position: absolute; top: 0; right: 0; width: 60%; height: 100%;
  background: radial-gradient(ellipse at right top, rgba(148,0,0,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to top, rgba(248,246,242,0.8) 0%, transparent 100%);
  z-index: 3; pointer-events: none;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* Split Layout */
.hero-split {
  display: grid; grid-template-columns: 560px 1fr;
  min-height: 100vh; position: relative; z-index: 2;
}

/* LEFT: Tall Elegant Panel */
.hero-panel {
  display: flex; align-items: center; justify-content: flex-start;
  padding: 100px 0 60px 60px;
  position: relative; z-index: 4;
}
.hero-panel::before {
  content: ''; position: absolute; inset: 20px 0 20px 20px;
  background: linear-gradient(160deg, rgba(255,255,255,0.96) 0%, rgba(255,252,248,0.92) 100%);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(148,0,0,0.12);
  border-right: 1px solid rgba(148,0,0,0.06);
  border-radius: 24px;
  box-shadow: 0 8px 60px rgba(0,0,0,0.10),
              inset 0 1px 0 rgba(255,255,255,0.9),
              inset 1px 0 0 rgba(148,0,0,0.05);
  z-index: -1;
}
.hero-panel-inner {
  padding: 20px 40px; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(148,0,0,0.08); border: 1px solid rgba(148,0,0,0.2);
  padding: 7px 18px; border-radius: 50px; margin-bottom: 20px;
  font-size: 11px; font-weight: 700; color: var(--maroon); letter-spacing: 1.5px; text-transform: uppercase;
}
.hero-badge::before { content: ''; width: 7px; height: 7px; background: var(--maroon); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-name-title {
  font-family: var(--font-heading);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 800; line-height: 1.1;
  margin-bottom: 8px; color: #1a1a1a;
  animation: slideUp 1s ease-out;
}
.hero-name-title .gold { color: var(--maroon); }

.hero-subtitle-small {
  font-family: var(--font-heading);
  font-size: 16px; font-style: italic;
  color: var(--gray); margin-bottom: 20px;
}

.hero-divider {
  width: 60px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--maroon));
  margin-bottom: 20px;
}

.hero-tagline-panel {
  font-size: 14px; color: #555; line-height: 1.8;
  margin-bottom: 28px;
}
.hero-tagline-panel em {
  display: block; font-style: italic; font-size: 16px;
  color: var(--maroon); font-weight: 700; margin-bottom: 6px;
}
.hero-tagline-panel span { color: #666; }

.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 50px; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: var(--transition); cursor: pointer; border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--maroon); box-shadow: 0 4px 20px rgba(252,206,0,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(252,206,0,0.45); }
.btn-secondary {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* Stats bar inside panel */
.hero-panel-stats {
  display: flex; align-items: center; gap: 0;
  padding: 16px 20px; border-radius: 14px;
  background: rgba(148,0,0,0.04); border: 1px solid rgba(148,0,0,0.12);
}
.hps-item { flex: 1; text-align: center; }
.hps-num {
  display: block; font-family: var(--font-heading); font-size: 22px;
  font-weight: 800; color: var(--maroon);
}
.hps-label { font-size: 10px; color: #888; text-transform: uppercase; letter-spacing: 1px; }
.hps-divider { width: 1px; height: 36px; background: rgba(0,0,0,0.1); }

/* RIGHT: Full-height photo zone */
.hero-photo-side {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
}
.hero-photo-float {
  position: relative; z-index: 3;
  animation: slideUp 1.2s ease-out 0.3s both;
  width: 100%; height: 100%;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 80px;
  overflow: hidden;
}
.hero-photo-float img {
  display: block;
  /* Half-body: show head to waist, natural scale */
  height: 90vh; width: auto;
  max-width: none;
  object-fit: contain;
  object-position: top center;
  filter: drop-shadow(-20px 0 40px rgba(0,0,0,0.6));
}

/* Large Name Watermark */
.hero-name-bg {
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 2; text-align: center; pointer-events: none;
  line-height: 0.82; padding-bottom: 0;
  overflow: hidden;
}
.hero-name-bg span {
  display: block;
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(80px, 14vw, 180px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(148,0,0,0.07);
  text-transform: uppercase; letter-spacing: 6px;
}
.hero-name-bg span:last-child {
  -webkit-text-stroke: 1px rgba(252,206,0,0.18);
  color: rgba(252,206,0,0.02);
}

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


/* ===== SECTION BASE ===== */
.section { padding: 100px 0; position: relative; }
.section-container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--maroon); margin-bottom: 16px;
  background: rgba(148,0,0,0.07); padding: 6px 20px; border-radius: 50px;
  border: 1px solid rgba(148,0,0,0.15);
}
.section-title { font-family: var(--font-heading); font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; margin-bottom: 16px; color: #1a1a1a; }
.section-desc { font-size: 16px; color: #666; max-width: 640px; margin: 0 auto; }

/* ===== ABOUT HIPMI ===== */
.about-hipmi { background: #f8f6f2; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text p { color: #555; margin-bottom: 16px; font-size: 15px; }
.about-text .highlight { color: var(--maroon); font-weight: 700; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.stat-card {
  background: #fff; border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px; padding: 28px; text-align: center;
  transition: var(--transition); position: relative; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
  opacity: 0; transition: var(--transition);
}
.stat-card:hover { transform: translateY(-4px); border-color: rgba(148,0,0,0.2); box-shadow: 0 8px 30px rgba(0,0,0,0.10); }
.stat-card:hover::before { opacity: 1; }
.stat-number {
  font-family: var(--font-heading); font-size: 36px; font-weight: 800; color: var(--maroon);
  margin-bottom: 4px;
}
.stat-label { font-size: 13px; color: #888; text-transform: uppercase; letter-spacing: 1px; }

/* ===== PROFILE ===== */
.profile-section { background: #fff; }

/* Profile Intro with Photo */
.profile-intro {
  display: grid; grid-template-columns: 300px 1fr; gap: 48px;
  align-items: center; margin-bottom: 64px;
}
.profile-intro-photo {
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.profile-intro-photo img {
  width: 100%; height: 440px; object-fit: cover;
  object-position: center 5%;
  display: block;
  transform: scale(1.4); transform-origin: top center;
}
.profile-intro-text blockquote {
  font-family: var(--font-heading); font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 500; font-style: italic; color: #333;
  line-height: 1.6; margin: 0; padding-left: 24px;
  border-left: 4px solid var(--maroon);
}
.profile-intro-text cite {
  display: block; margin-top: 16px; padding-left: 24px;
  font-size: 15px; font-weight: 700; color: var(--maroon);
  font-style: normal;
}
.profile-journey { position: relative; margin-bottom: 64px; }
.journey-line {
  position: absolute; top: 50%; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--maroon), var(--gold), var(--maroon));
  opacity: 0.3;
}
.journey-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 2; }
.journey-step { text-align: center; }
.journey-dot {
  width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 16px;
  background: #fff; border: 2px solid var(--maroon);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; color: var(--maroon);
  transition: var(--transition); box-shadow: 0 2px 12px rgba(148,0,0,0.15);
}
.journey-step:hover .journey-dot { background: var(--maroon); color: #fff; transform: scale(1.15); }
.journey-step h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: #1a1a1a; }
.journey-step p { font-size: 13px; color: #666; line-height: 1.6; }

.profile-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.profile-card {
  background: #fff; border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px; padding: 32px; transition: var(--transition);
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}
.profile-card:hover { border-color: rgba(148,0,0,0.2); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.10); }
.profile-card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(148,0,0,0.08), rgba(252,206,0,0.08));
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  color: var(--maroon); font-size: 22px;
}
.profile-card h3 { font-family: var(--font-heading); font-size: 18px; margin-bottom: 16px; color: var(--maroon); }
.profile-card ul { list-style: none; }
.profile-card li {
  padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 14px; color: #444; display: flex; gap: 8px;
}
.profile-card li::before { content: '▸'; color: var(--maroon); flex-shrink: 0; }
.profile-card li:last-child { border-bottom: none; }/* ===== VISI MISI ===== */
.visi-section { background: #fff; position: relative; overflow: hidden; }
.visi-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(148,0,0,0.04) 0%, transparent 60%);
}
.visi-statement {
  text-align: center; padding: 48px; margin-bottom: 64px;
  background: linear-gradient(135deg, rgba(148,0,0,0.05), rgba(252,206,0,0.04));
  border: 1px solid rgba(148,0,0,0.12); border-radius: 24px;
  position: relative; z-index: 2;
}
.visi-statement h3 {
  font-family: var(--font-heading); font-size: clamp(22px, 3vw, 32px); font-weight: 800;
  color: var(--maroon); margin-bottom: 16px;
}
.visi-statement p { font-size: 16px; color: #555; max-width: 700px; margin: 0 auto; }
.pillar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; position: relative; z-index: 2; }
.pillar-card {
  background: #fff; border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px; padding: 28px; transition: var(--transition);
  position: relative; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.pillar-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 0;
  background: linear-gradient(180deg, var(--maroon), var(--gold));
  transition: height 0.4s ease;
}
.pillar-card:hover { transform: translateY(-6px); border-color: rgba(148,0,0,0.2); box-shadow: 0 12px 36px rgba(0,0,0,0.10); }
.pillar-card:hover::before { height: 100%; }
.pillar-icon {
  font-size: 32px; margin-bottom: 16px; width: 56px; height: 56px;
  background: rgba(148,0,0,0.06); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.pillar-card h4 { font-family: var(--font-heading); font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--maroon); }
.pillar-card p { font-size: 13px; color: #666; line-height: 1.7; } }

/* ===== TIMELINE BPD ===== */
.timeline-section { background: #f8f6f2; position: relative; overflow: hidden; }
.timeline-section::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90%; max-width: 1100px; height: 60%;
  background: url('images/indonesia-map.png') center center / contain no-repeat;
  opacity: 0.04; filter: grayscale(100%);
  pointer-events: none; z-index: 0;
}
.timeline-section .section-container { position: relative; z-index: 1; }
.timeline-progress { margin-bottom: 48px; text-align: center; }
.progress-bar-container {
  max-width: 600px; margin: 0 auto; height: 8px;
  background: rgba(0,0,0,0.08); border-radius: 10px; overflow: hidden;
}
.progress-bar {
  height: 100%; width: 0%; border-radius: 10px;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
  transition: width 1.5s ease-out;
}
.progress-text { margin-top: 12px; font-size: 14px; color: #666; }
.progress-text strong { color: var(--maroon); }

/* ===== ZIGZAG TIMELINE ===== */
.timeline-zigzag {
  position: relative; max-width: 900px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 16px;
}
.timeline-zigzag::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 3px; background: linear-gradient(180deg, var(--gold), var(--maroon), var(--gold-dark), transparent);
  transform: translateX(-50%); z-index: 1;
}
.tz-item {
  display: flex; align-items: center; gap: 16px;
  width: 50%; position: relative;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.tz-item.visible { opacity: 1; transform: translateY(0); }
.tz-left { align-self: flex-start; flex-direction: row-reverse; padding-right: 40px; }
.tz-right { align-self: flex-end; padding-left: 40px; }
.tz-num {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--maroon);
  border: 2px solid var(--gold); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 14px;
  position: relative; z-index: 2;
}
.tz-left .tz-num { position: absolute; right: -18px; }
.tz-right .tz-num { position: absolute; left: -18px; }
.tz-card {
  background: #fff; border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px; padding: 16px 20px; transition: var(--transition);
  flex: 1; box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.tz-card:hover { border-color: rgba(148,0,0,0.2); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.10); }
.tz-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; color: #1a1a1a; }
.tz-date { font-size: 12px; color: var(--maroon); font-weight: 600; }

/* ===== ALUMNI KABINET ===== */
.kabinet-section { background: #fff; }
.kabinet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 900px; margin: 0 auto;
}
.kabinet-card {
  background: #fff; border: 1px solid rgba(0,0,0,0.08);
  border-radius: 20px; padding: 28px 20px 20px; text-align: center;
  transition: var(--transition); position: relative; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.kabinet-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--maroon), var(--gold), var(--maroon));
  opacity: 0; transition: var(--transition);
}
.kabinet-card:hover { transform: translateY(-8px); border-color: rgba(148,0,0,0.2); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
.kabinet-card:hover::before { opacity: 1; }
.kabinet-avatar {
  width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 16px;
  background: #f0ede8;
  border: 2px solid rgba(148,0,0,0.2);
  overflow: hidden; position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10), 0 0 0 4px rgba(148,0,0,0.04);
  transition: var(--transition);
}
.kabinet-card:hover .kabinet-avatar {
  border-color: var(--maroon);
  box-shadow: 0 4px 20px rgba(148,0,0,0.2), 0 0 0 4px rgba(148,0,0,0.08);
}
.kabinet-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.kabinet-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: #1a1a1a; }
.kabinet-card p { font-size: 12px; color: #666; line-height: 1.5; }

/* ===== CTA / CONTACT ===== */
.cta-section {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 50%, var(--maroon-dark) 100%);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: 50%; left: 50%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(252,206,0,0.10) 0%, transparent 70%);
  transform: translate(-50%, -50%);
}
.cta-layout {
  display: grid; grid-template-columns: 320px 1fr; gap: 48px;
  align-items: center; position: relative; z-index: 2;
}
.cta-photo {
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 60px rgba(252,206,0,0.06);
}
.cta-photo img {
  width: 100%; height: 440px; object-fit: cover; object-position: top;
  display: block;
}
.cta-content { position: relative; z-index: 2; text-align: left; }
.cta-title { font-family: var(--font-heading); font-size: clamp(26px, 3.5vw, 42px); font-weight: 700; margin-bottom: 16px; }
.cta-title .gold { color: var(--gold); }
.cta-desc { font-size: 16px; color: var(--gray-light); max-width: 600px; margin: 0 0 40px; }
.cta-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 700px; margin: 0 auto; }
.contact-card {
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px; padding: 24px; text-align: center; transition: var(--transition);
  text-decoration: none; color: #fff;
  backdrop-filter: blur(10px);
}
.contact-card:hover { border-color: var(--gold); transform: translateY(-4px); background: rgba(255,255,255,0.18); }
.contact-card-icon { font-size: 28px; margin-bottom: 12px; }
.contact-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.contact-card p { font-size: 13px; color: rgba(255,255,255,0.7); }

/* ===== FOOTER ===== */
.footer {
  background: #1a1a1a; padding: 40px 0;
  border-top: 3px solid var(--maroon);
}
.footer-container {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo-img { height: 40px; width: auto; object-fit: contain; }
.footer-copy { font-size: 13px; color: #888; }
.footer-copy a { color: var(--gold); text-decoration: none; }

/* ===== PHOTO SWITCHER ===== */
.hero-image { display: flex; flex-direction: column; align-items: center; animation: slideUp 1s ease-out 0.3s both; }
.photo-switcher { display: flex; gap: 12px; margin-top: 16px; }
.photo-thumb {
  width: 64px; height: 64px; border-radius: 12px; overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1); cursor: pointer;
  transition: var(--transition); background: none; padding: 0;
}
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-thumb:hover { border-color: var(--gold); transform: scale(1.1); }
.photo-thumb.active { border-color: var(--gold); box-shadow: 0 0 16px rgba(252,206,0,0.3); }

/* ===== 3 MESIN PENDORONG ===== */
.mesin-section { background: #f8f6f2; }
.mesin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 80px; }
.mesin-card {
  background: #fff; border: 1px solid rgba(0,0,0,0.08);
  border-radius: 20px; padding: 36px 28px; transition: var(--transition);
  position: relative; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.mesin-card-top {
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--maroon), var(--gold), var(--maroon));
}
.mesin-card:hover { transform: translateY(-8px); border-color: rgba(148,0,0,0.2); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
.mesin-icon {
  font-size: 40px; margin-bottom: 20px; width: 72px; height: 72px;
  background: linear-gradient(135deg, rgba(148,0,0,0.08), rgba(252,206,0,0.08));
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
}
.mesin-card h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--maroon); margin-bottom: 20px; }
.mesin-detail { margin-bottom: 16px; }
.mesin-detail:last-child { margin-bottom: 0; }
.mesin-label { font-size: 13px; font-weight: 700; color: var(--maroon); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.mesin-detail p:not(.mesin-label) { font-size: 14px; color: #555; line-height: 1.7; }

/* ===== HUB DIAGRAM ===== */
.hub-section { margin-top: 20px; }
.hub-title {
  font-family: var(--font-heading); font-size: clamp(22px, 3vw, 30px); font-weight: 700;
  text-align: center; margin-bottom: 12px;
  background: linear-gradient(135deg, var(--gold), var(--white));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hub-subtitle { text-align: center; font-size: 15px; color: var(--gray-light); max-width: 600px; margin: 0 auto 48px; }
.hub-diagram {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto; gap: 24px;
  max-width: 900px; margin: 0 auto; align-items: center;
}
.hub-card {
  background: #fff; border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px; padding: 24px; transition: var(--transition);
  border-left: 3px solid var(--maroon);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.hub-card:hover { transform: translateY(-4px); border-color: rgba(148,0,0,0.25); box-shadow: 0 8px 24px rgba(0,0,0,0.10); border-left-color: var(--maroon); }
.hub-card-icon { font-size: 28px; margin-bottom: 12px; }
.hub-card h4 { font-family: var(--font-heading); font-size: 16px; font-weight: 700; color: var(--maroon); margin-bottom: 8px; }
.hub-card p { font-size: 13px; color: #555; line-height: 1.6; }
.hub-tl { grid-column: 1; grid-row: 1; }
.hub-tr { grid-column: 3; grid-row: 1; }
.hub-bl { grid-column: 1; grid-row: 2; }
.hub-br { grid-column: 3; grid-row: 2; }
.hub-center {
  grid-column: 2; grid-row: 1 / 3;
  display: flex; align-items: center; justify-content: center;
}
.hub-center-inner {
  width: 140px; height: 140px; border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  border: 3px solid var(--gold);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 0 40px rgba(148,0,0,0.2), inset 0 0 20px rgba(0,0,0,0.1);
  animation: hubPulse 3s ease-in-out infinite;
}
.hub-center-inner span { font-size: 14px; color: rgba(255,255,255,0.8); font-weight: 500; }
.hub-center-inner strong { font-family: var(--font-heading); font-size: 24px; color: var(--gold); }
@keyframes hubPulse {
  0%, 100% { box-shadow: 0 0 40px rgba(148,0,0,0.2); }
  50% { box-shadow: 0 0 60px rgba(148,0,0,0.35), 0 0 0 8px rgba(252,206,0,0.08); }
}
.hub-impact {
  margin-top: 40px; text-align: center; padding: 24px 32px;
  background: linear-gradient(135deg, rgba(148,0,0,0.06), rgba(252,206,0,0.04));
  border: 1px solid rgba(148,0,0,0.12); border-radius: 16px;
}
.hub-impact p { font-size: 15px; color: #555; line-height: 1.7; }
.hub-impact strong { color: var(--maroon); }

/* ===== REVEAL ANIMATION ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hero-panel { padding: 100px 20px 40px; align-items: stretch; }
  .hero-panel::before { inset: 60px 20px 20px; }
  .hero-photo-side { min-height: 60vh; }
  .hero-photo-float img { height: 100%; }
  .hero-name-bg span { font-size: clamp(60px, 10vw, 100px); }
  .about-grid { grid-template-columns: 1fr; }
  .profile-intro { grid-template-columns: 1fr; text-align: center; }
  .profile-intro-photo img { transform: scale(1.2); }
  .profile-intro-text blockquote { border-left: none; padding-left: 0; border-top: 3px solid var(--gold); padding-top: 24px; }
  .profile-intro-text cite { padding-left: 0; }
  .profile-details { grid-template-columns: 1fr 1fr; }
  .journey-steps { grid-template-columns: repeat(2, 1fr); }
  .journey-line { display: none; }
  .mesin-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
  .hub-diagram { grid-template-columns: 1fr; max-width: 400px; }
  .hub-center { grid-column: 1; grid-row: 3; }
  .hub-tl, .hub-tr, .hub-bl, .hub-br { grid-column: 1; }
  .hub-tl { grid-row: 1; } .hub-tr { grid-row: 2; }
  .hub-bl { grid-row: 4; } .hub-br { grid-row: 5; }
  .cta-layout { grid-template-columns: 1fr; text-align: center; }
  .cta-photo { max-width: 300px; margin: 0 auto; }
  .cta-content { text-align: center; }
  .cta-desc { margin: 0 auto 40px; }
  .cta-buttons { justify-content: center; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.98); flex-direction: column; justify-content: center; align-items: center; gap: 24px; }
  .nav-links.active { display: flex; }
  .nav-links a { color: #1a1a1a; font-size: 18px; }
  .hamburger { display: flex; }
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .section { padding: 64px 0; }
  .section-container { padding: 0 20px; }
  .hero-container { padding: 100px 20px 60px; }
  .hero-image-wrapper { width: 280px; height: 340px; }
  .profile-details { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .timeline-zigzag::before { left: 18px; }
  .tz-item, .tz-left, .tz-right { width: 100%; align-self: auto; flex-direction: row !important; padding-left: 48px; padding-right: 0; }
  .tz-left .tz-num, .tz-right .tz-num { position: absolute; left: -18px; right: auto; }
  .kabinet-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-container { flex-direction: column; gap: 16px; text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .nav-container { padding: 0 20px; }
  .photo-thumb { width: 52px; height: 52px; }
}

@media (max-width: 480px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .journey-steps { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
}
