@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

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

:root {
  --navy: #0f2044;
  --blue: #1a4a8a;
  --blue-light: #2d6cc7;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --cream: #faf8f4;
  --gray-50: #f8f8f6;
  --gray-100: #f0efe9;
  --gray-400: #9c9c96;
  --gray-600: #5a5a54;
  --gray-800: #2a2a26;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--cream);
  color: var(--gray-800);
  overflow-x: hidden;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  width: 100%;
  z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
  transition: box-shadow 0.3s;
}

nav.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.custom-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .custom-container {
    padding: 0 2rem;
  }
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-brand img {
  height: 44px;
  width: auto;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-title {
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.nav-brand-sub {
  color: var(--blue-light);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-style: italic;
}

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

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-links .nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s !important;
}

.nav-links .nav-cta:hover {
  background: var(--blue) !important;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-600);
  padding: 8px;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  padding: 2rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--blue);
}

.mobile-menu a:last-child {
  border-bottom: none;
  color: var(--blue);
  font-weight: 700;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10,25,55,0.72) 0%, rgba(10,25,55,0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.2);
  border: 1px solid rgba(201,168,76,0.5);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.hero-title span {
  color: var(--gold-light);
  font-style: italic;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 300;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn-primary {
  background: var(--white);
  color: var(--navy);
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--gold);
  color: var(--navy);
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 25px rgba(201,168,76,0.3);
}

.btn-secondary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* ===== SAMBUTAN ===== */
#sambutan {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

#sambutan::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 400px;
  color: rgba(255,255,255,0.03);
  position: absolute;
  top: -80px;
  left: -20px;
  line-height: 1;
  pointer-events: none;
}

.sambutan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .sambutan-grid {
    grid-template-columns: 340px 1fr;
    gap: 5rem;
  }
}

.sambutan-photo-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.sambutan-photo-frame {
  position: relative;
  width: 260px;
  height: 320px;
  flex-shrink: 0;
}

.sambutan-photo-frame::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 2px solid var(--gold);
  border-radius: 28px;
  opacity: 0.4;
}

.sambutan-photo-frame::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 100%;
  height: 100%;
  background: var(--gold);
  border-radius: 20px;
  opacity: 0.15;
  z-index: 0;
}

.sambutan-photo-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  border: 3px solid rgba(201,168,76,0.3);
}

.sambutan-name-card {
  text-align: center;
}

.sambutan-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 4px;
}

.sambutan-role {
  font-size: 0.8rem;
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sambutan-content {
  position: relative;
  z-index: 1;
}

.sambutan-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.sambutan-label::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--gold);
}

.sambutan-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 2rem;
  font-weight: 700;
}

.sambutan-quote {
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--gold);
  margin-bottom: 1.5rem;
}

.sambutan-quote p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.85;
  font-style: italic;
  font-family: 'Playfair Display', serif;
}

.sambutan-body {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
}

.sambutan-body p + p {
  margin-top: 1rem;
}

.sambutan-signature {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sambutan-signature-line {
  height: 1px;
  flex: 1;
  background: rgba(201,168,76,0.25);
  max-width: 120px;
}

.sambutan-signature-text {
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===== PROFIL ===== */
#profil {
  padding: 100px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.profil-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .profil-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.section-body {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.profil-badges {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.profil-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
}

.profil-badge.blue {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.profil-badge.green {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.profil-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profil-badge.blue .profil-badge-icon {
  background: #dbeafe;
  color: var(--blue);
}

.profil-badge.green .profil-badge-icon {
  background: #dcfce7;
  color: #15803d;
}

.profil-badge h4 {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 2px;
}

.profil-badge p {
  font-size: 0.8rem;
  color: var(--gray-600);
}

.profil-image-wrap {
  position: relative;
}

.profil-image-wrap::before {
  content: '';
  position: absolute;
  inset: -1rem;
  background: #dbeafe;
  border-radius: 2.5rem;
  transform: rotate(-2deg);
  transition: transform 0.5s;
}

.profil-image-wrap:hover::before {
  transform: rotate(0deg);
}

.profil-image-wrap img {
  position: relative;
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 2rem;
  border: 4px solid var(--white);
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}

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

.stat-card {
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
}

.stat-card.dark {
  background: var(--navy);
  color: var(--white);
}

.stat-card.blue {
  background: var(--blue);
  color: var(--white);
}

.stat-card.light {
  background: var(--gray-100);
  color: var(--navy);
  border: 1px solid var(--gray-100);
}

.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== PRESTASI ===== */
#prestasi {
  padding: 100px 0;
  background: var(--gray-50);
}

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

.section-header p {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0.75rem auto 0;
  line-height: 1.7;
}

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

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

.prestasi-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid var(--gray-100);
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
}

.prestasi-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transform: translateY(-6px);
}

.prestasi-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.prestasi-icon.blue {
  background: #eff6ff;
  color: var(--blue);
}

.prestasi-icon.green {
  background: #f0fdf4;
  color: #15803d;
}

.prestasi-icon.orange {
  background: #fff7ed;
  color: #c2410c;
}

.prestasi-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.prestasi-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===== VIDEO ===== */
#video {
  padding: 100px 0;
  background: var(--navy);
  color: var(--white);
}

#video .section-header p {
  color: rgba(255,255,255,0.6);
}

.video-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.video-glow {
  position: absolute;
  inset: -12px;
  background: linear-gradient(135deg, var(--blue-light), #22d3ee);
  border-radius: 2.5rem;
  filter: blur(20px);
  opacity: 0.2;
  transition: opacity 0.3s;
}

.video-wrap:hover .video-glow {
  opacity: 0.35;
}

.video-frame {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
  border: 4px solid rgba(255,255,255,0.08);
  aspect-ratio: 16/9;
  background: #000;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ===== FOOTER ===== */
footer {
  background: #080f1e;
  color: var(--white);
  padding: 6rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-brand img {
  height: 52px;
}

.footer-brand-name {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.footer-brand-tagline {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 2px;
}

.footer-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
  max-width: 380px;
}

.footer-heading {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.6rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--blue-light);
}

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

.footer-links a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
}

.footer-contact-item svg {
  color: var(--blue-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

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

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
  display: flex;
}

.footer-socials a:hover {
  color: var(--white);
}

/* ===== GURU STAFF PAGE ===== */
.guru-body {
  background: var(--gray-50);
  overflow: hidden;
}

.guru-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: rgba(250,248,244,0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.guru-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.guru-header p {
  font-size: 0.875rem;
  color: var(--gray-400);
}

.scroll-wrapper {
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  height: calc(100vh - 100px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  white-space: nowrap;
  padding: 30px;
}

.scroll-wrapper::-webkit-scrollbar {
  height: 8px;
}

.scroll-wrapper::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 20px;
}

.card {
  display: inline-block;
  vertical-align: top;
  width: 260px;
  margin-right: 24px;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border: 1px solid var(--gray-100);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.card-content {
  padding: 16px 18px;
  text-align: center;
}

.card-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.card-content p {
  color: var(--gray-400);
  font-size: 0.85rem;
  font-weight: 500;
}

.nav-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15,32,68,0.85);
  color: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  z-index: 200;
  transition: background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-btn:hover {
  background: var(--navy);
  transform: translateY(-50%) scale(1.1);
}

.prev { left: 12px; }
.next { right: 12px; }

@media (max-width: 768px) {
  .card {
    width: 220px;
  }

  .card img {
    height: 260px;
  }

  .guru-header h1 {
    font-size: 1.3rem;
  }
}
