/* ========================================================
   SMK TRITECH INFORMATIKA MEDAN - Official Stylesheet
   UI/UX Reference: School Website Design (Dribbble)
   Branding: SMK TRITECH INFORMATIKA MEDAN
   Warna: Identitas Logo Resmi Tritech (#007237 Hijau + #8b3c69 Ungu/Plum)
======================================================== */

:root {
  /* Brand Colors from School Logo */
  --primary-color: #007237;         /* Hijau Tritech Resmi (Logo) */
  --primary-dark: #00582b;          /* Hijau Tua */
  --primary-light: #54b435;         /* Hijau Terang */
  --primary-glow: rgba(0, 114, 55, 0.25);
  
  --secondary-color: #8b3c69;       /* Ungu/Plum Tritech (Satelit & Bintang Logo) */
  --secondary-dark: #6f2a51;        /* Ungu Gelap */
  --secondary-light: #ab4e83;       /* Ungu Terang */
  
  --accent-gold: #f59e0b;           /* Kuning/Gold Aksen (Stiker & Badge) */
  --accent-gold-dark: #d97706;
  --accent-lime: #84cc16;           /* Lime Badge */

  --heading-color: #0f172a;         /* Heading Slate Gelap */
  --text-color: #334155;            /* Body Text */
  --text-muted: #64748b;            /* Teks Sekunder */
  --text-light: #94a3b8;
  --text-white: #ffffff;

  --background-color: #ffffff;      /* Latar Utama */
  --background-subtle: #f8fafc;     /* Latar Abu Halus */
  --background-mint: #edfbe2;       /* Latar Mint Segar */
  --background-plum-tint: #fcf2f7;  /* Latar Plum Halus */
  --card-bg: #ffffff;

  --border-color: #e2e8f0;          /* Border Standar */
  --border-mint: #d1e7d8;           /* Border Hijau */
  --border-plum: #f1d5e4;           /* Border Plum */

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 16px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 32px -4px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 4px 20px -2px rgba(0, 114, 55, 0.08);
  --shadow-float: 0 20px 40px -10px rgba(0, 0, 0, 0.15);

  /* Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Layout */
  --container-max: 1240px;
  --transition: all 0.25s ease-in-out;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--heading-color);
  line-height: 1.25;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--primary-color); }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-white);
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 114, 55, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 114, 55, 0.35);
}

.btn-accent {
  background-color: var(--secondary-color);
  color: var(--text-white);
  border-color: var(--secondary-color);
  box-shadow: 0 4px 12px rgba(139, 60, 105, 0.25);
}

.btn-accent:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 60, 105, 0.35);
}

.btn-gold {
  background-color: var(--accent-gold);
  color: #1e293b;
  border-color: var(--accent-gold);
}

.btn-gold:hover {
  background-color: var(--accent-gold-dark);
  color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--primary-color);
  border-color: #ffffff;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
  display: flex;
}

/* ========================================================
   1. TOP WHITE UTILITY HEADER
======================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.top-header-white {
  background-color: #ffffff;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.top-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-img {
  height: 52px;
  width: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

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

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--primary-color); /* Green from logo */
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--secondary-color); /* Plum from logo */
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-contact-group {
  display: flex;
  align-items: center;
  gap: 24px;
}

.contact-pill-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-pill-box:hover .pill-label {
  color: var(--primary-color);
}

.pill-icon-square {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pill-icon-square.icon-green {
  background-color: rgba(0, 114, 55, 0.12);
  color: var(--primary-color);
}

.pill-icon-square.icon-plum {
  background-color: rgba(139, 60, 105, 0.12);
  color: var(--secondary-color);
}

.pill-text-wrap {
  display: flex;
  flex-direction: column;
}

.pill-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.2;
}

.pill-val {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--heading-color);
}

.header-social-block {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 14px;
  border-left: 1px solid #e2e8f0;
}

.social-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.social-mini-icons {
  display: flex;
  gap: 6px;
}

.social-mini-icons a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  transition: var(--transition);
}

.social-mini-icons a:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

/* ========================================================
   2. MAIN GREEN NAVBAR (FULL WIDTH)
======================================================== */
.main-navbar-green {
  background-color: var(--primary-color); /* Solid Tritech Green #007237 */
  padding: 0;
  position: relative;
}

.navbar-green-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item-link {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  padding: 14px 16px;
  transition: var(--transition);
  border-radius: var(--radius-sm);
  display: inline-block;
}

.nav-item-link:hover {
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.15);
}

.nav-item-link.active {
  background-color: rgba(0, 0, 0, 0.22);
  color: #ffffff;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
}

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-search-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.nav-search-btn:hover {
  background-color: var(--secondary-color);
  color: #ffffff;
  transform: scale(1.05);
}

.btn-nav-cta {
  background-color: var(--secondary-color); /* Plum #8b3c69 */
  color: #ffffff;
  font-size: 0.78125rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 8px 18px;
}

.btn-nav-cta:hover {
  background-color: var(--secondary-dark);
  color: #ffffff;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger-box {
  width: 24px;
  height: 18px;
  display: inline-block;
  position: relative;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
  width: 24px;
  height: 2.5px;
  background-color: var(--primary-color);
  border-radius: 2px;
  position: absolute;
  transition: transform 0.2s ease;
}

.hamburger-inner {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-inner::before {
  content: '';
  top: -7px;
}

.hamburger-inner::after {
  content: '';
  top: 7px;
}

.nav-toggle.active .hamburger-inner {
  background-color: transparent;
}

.nav-toggle.active .hamburger-inner::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .hamburger-inner::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========================================================
   3. HERO SECTION (Dribbble Curved Wave Layout)
======================================================== */
.hero-dribbble {
  background: linear-gradient(145deg, #007237 0%, #005a2b 55%, #180914 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding-top: 50px;
  padding-bottom: 70px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}

.hero-dribbble::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(139, 60, 105, 0.4) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(84, 180, 53, 0.3) 0%, transparent 55%);
  pointer-events: none;
}

.hero-hashtag-top {
  position: absolute;
  top: 18px;
  right: 32px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
}

.hero-dribbble-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Stacked 3D Badges */
.badge-stacked-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 24px;
}

.badge-pill-yellow {
  background-color: var(--accent-gold);
  color: #0f172a;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  text-transform: uppercase;
}

.badge-pill-main {
  background-color: #052e16;
  color: #ffffff;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge-pill-sub {
  background-color: #ffffff;
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  padding: 5px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  text-transform: uppercase;
}

.hero-motto-text {
  font-size: 1.0625rem;
  color: #f1f5f9;
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 28px;
  font-style: italic;
  border-left: 3px solid var(--accent-gold);
  padding-left: 16px;
}

/* Best Choice & Preview Thumbnails */
.hero-bottom-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.best-choice-badge {
  display: flex;
  flex-direction: column;
}

.best-choice-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
}

.best-choice-sub {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
}

.hero-thumbnails-row {
  display: flex;
  gap: 8px;
}

.thumb-card {
  width: 68px;
  height: 52px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.thumb-card:hover {
  transform: translateY(-3px);
  border-color: #ffffff;
}

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

/* Hero Right Visual Column - Showcase Gedung Tritech */
.hero-right-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-building-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.hero-building-image-wrap {
  position: relative;
  width: 100%;
  height: 440px;
  border-radius: 40px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 35px rgba(0, 114, 55, 0.5);
  background: #004d25;
}

.hero-building-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.hero-building-frame:hover .hero-building-img {
  transform: scale(1.05);
}

.hero-building-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0) 45%,
    rgba(0, 40, 18, 0.8) 100%
  );
  pointer-events: none;
}

/* Floating Badges on Hero Building */
.hero-floating-chip {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 4;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78125rem;
  letter-spacing: 0.03em;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.chip-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.hero-floating-logo-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  border: 2px solid var(--accent-gold);
  padding: 6px;
  transition: transform 0.3s ease;
}

.hero-floating-logo-badge:hover {
  transform: rotate(15deg) scale(1.1);
}

.hero-floating-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Floating Bottom Card on Building */
.hero-building-bottom-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 4;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.hero-building-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.hero-building-address {
  font-size: 0.75rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
}

.hero-building-address svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

/* Floating Decorative Dribbble Sticker Badge */
.hero-floating-sticker {
  position: absolute;
  bottom: -16px;
  right: -12px;
  z-index: 5;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #54173a 100%);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 28px rgba(139, 60, 105, 0.5);
  border: 2px solid #ffffff;
  text-align: center;
  transform: rotate(-3deg);
  transition: transform 0.3s ease;
}

.hero-floating-sticker:hover {
  transform: rotate(0deg) scale(1.08);
}

.sticker-inner {
  display: flex;
  flex-direction: column;
}

.sticker-sub {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.sticker-main {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 800;
  color: #ffffff;
}

/* ========================================================
   4. FLOATING TICKER BAR UNDER HERO
======================================================== */
.ticker-bar-wrap {
  margin-top: -30px;
  position: relative;
  z-index: 10;
  margin-bottom: 50px;
}

.ticker-bar-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #f1f5f9;
}

.ticker-left, .ticker-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
}

.ticker-left {
  color: var(--heading-color);
  font-weight: 600;
}

.ticker-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--background-mint);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ticker-right {
  color: var(--text-muted);
}

.ticker-right strong {
  color: var(--primary-color);
}

/* ========================================================
   5. SECTION TENTANG SEKOLAH (Split About)
======================================================== */
.section {
  padding: 68px 0;
}

.badge-section-tag {
  display: inline-block;
  background-color: rgba(0, 114, 55, 0.1);
  color: var(--primary-color);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.badge-section-tag.tag-plum {
  background-color: rgba(139, 60, 105, 0.1);
  color: var(--secondary-color);
}

.section-title {
  font-size: clamp(1.8rem, 2.8vw, 2.35rem);
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 40px;
  line-height: 1.65;
}

.about-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-left-visual {
  position: relative;
}

.about-photo-arch {
  background: linear-gradient(135deg, var(--background-mint) 0%, #ffffff 100%);
  border-radius: 36px;
  padding: 24px;
  border: 1.5px solid var(--border-mint);
  box-shadow: var(--shadow-card);
  position: relative;
}

.about-main-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.about-floating-badge {
  position: absolute;
  top: 40px;
  left: -12px;
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 20px rgba(0, 114, 55, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.floating-badge-num {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.floating-badge-text {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-action-pills {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.about-pill-btn {
  background-color: #ffffff;
  color: var(--primary-color);
  border: 1.5px solid var(--border-mint);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.about-pill-btn.active, .about-pill-btn:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

.about-right-content p {
  margin-bottom: 16px;
  font-size: 0.9625rem;
  color: var(--text-color);
  line-height: 1.7;
}

.about-tab-box {
  background-color: var(--background-subtle);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 22px 0 26px;
}

/* ========================================================
   6. SECTION KEUNGGULAN (MENGAPA MEMILIH KAMI)
======================================================== */
.section-keunggulan {
  background-color: var(--background-subtle);
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.keunggulan-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.keunggulan-card-dribbble {
  background-color: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.keunggulan-card-dribbble:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-mint);
}

.feature-square-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-square-icon.icon-green {
  background-color: rgba(0, 114, 55, 0.12);
  color: var(--primary-color);
}

.feature-square-icon.icon-plum {
  background-color: rgba(139, 60, 105, 0.12);
  color: var(--secondary-color);
}

.keunggulan-card-dribbble h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.keunggulan-card-dribbble p {
  font-size: 0.84375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Floating Stats Bar */
.stats-bar-floating {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 26px 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border: 1px solid #e2e8f0;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: #e2e8f0;
}

.stat-num-big {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label-sub {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ========================================================
   7. SECTION PROGRAM UNGGULAN (5 JURUSAN)
======================================================== */
.section-program {
  background-color: #ffffff;
}

.program-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.program-card-dribbble {
  background-color: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}

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

.program-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.program-tag-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.program-tag-badge.badge-green {
  background-color: var(--background-mint);
  color: var(--primary-dark);
}

.program-tag-badge.badge-plum {
  background-color: var(--background-plum-tint);
  color: var(--secondary-color);
}

.program-rating-star {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-gold-dark);
  display: flex;
  align-items: center;
  gap: 4px;
}

.program-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.program-card-desc {
  font-size: 0.875rem;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.program-card-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-detail-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-detail-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ========================================================
   8. SECTION EKSTRAKURIKULER (Full-Width Green Container)
======================================================== */
.section-ekskul-green {
  background-color: var(--primary-color); /* Exact Full Green #007237 */
  color: #ffffff;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.ekskul-header-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}

.ekskul-tag-white {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

.ekskul-title-white {
  font-size: 2.2rem;
  color: #ffffff;
}

.ekskul-desc-white {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  max-width: 480px;
}

.ekskul-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ekskul-white-card {
  background-color: #ffffff;
  color: var(--heading-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.ekskul-white-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
}

.ekskul-card-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  background-color: var(--background-mint);
  color: var(--primary-dark);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  width: fit-content;
}

.ekskul-card-pill.pill-plum {
  background-color: var(--background-plum-tint);
  color: var(--secondary-color);
}

.ekskul-white-card h4 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

.ekskul-white-card p {
  font-size: 0.84375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========================================================
   9. SECTION GALERI KEGIATAN (4x2 Photo Grid)
======================================================== */
.galeri-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 30px;
}

.galeri-grid-4x2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.galeri-photo-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  cursor: pointer;
  height: 180px;
  transition: var(--transition);
}

.galeri-photo-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.galeri-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.galeri-photo-card:hover img {
  transform: scale(1.08);
}

.galeri-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.galeri-photo-card:hover .galeri-card-overlay {
  opacity: 1;
}

.galeri-card-overlay span {
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
}

/* ========================================================
   10. CTA BANNER ("Yuk, mulai belajar bersama kami...")
======================================================== */
.cta-banner-section {
  padding: 40px 0 60px;
}

.cta-banner-card {
  background: linear-gradient(135deg, #ffffff 0%, var(--background-mint) 100%);
  border: 1.5px solid var(--border-mint);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.cta-banner-left h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 800;
  color: var(--heading-color);
  line-height: 1.25;
}

.cta-banner-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.cta-banner-right p {
  font-size: 0.9375rem;
  color: var(--text-color);
  line-height: 1.6;
}

/* ========================================================
   11. SECTION BERITA / INFO TERKINI
======================================================== */
.section-berita {
  background-color: var(--background-subtle);
  border-top: 1px solid #e2e8f0;
}

.berita-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.berita-card-ref {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.berita-card-ref:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-mint);
}

.berita-ref-thumb {
  height: 200px;
  width: 100%;
  overflow: hidden;
}

.berita-ref-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.berita-card-ref:hover .berita-ref-thumb img {
  transform: scale(1.05);
}

.berita-ref-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.berita-ref-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.78125rem;
}

.berita-ref-meta .date {
  color: var(--text-muted);
}

.berita-ref-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}

.berita-ref-excerpt {
  font-size: 0.875rem;
  color: var(--text-color);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.berita-ref-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ========================================================
   12. SECTION MAPS & VIDEO PROFIL
======================================================== */
.section-maps-video {
  padding: 50px 0 70px;
  background-color: #ffffff;
}

.maps-container-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  margin-bottom: 36px;
}

.video-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.video-card-item {
  background-color: var(--background-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
}

.video-thumb-wrap {
  position: relative;
  height: 220px;
  background-color: #0f172a;
}

.video-thumb-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-card-title {
  padding: 16px 20px;
  font-size: 0.9625rem;
  font-weight: 700;
  color: var(--heading-color);
}

/* ========================================================
   13. FOOTER (Matching Dribbble Dark Palette)
======================================================== */
.footer-ref {
  background-color: #091a10; /* Dark Emerald from Logo */
  color: #ffffff;
  padding: 60px 0 30px;
  border-top: 3px solid var(--primary-color);
}

.footer-ref-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-ref-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-ref-logo {
  width: 52px;
  height: 52px;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 4px;
}

.footer-ref-heading {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-ref-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-ref-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-ref-links a {
  font-size: 0.875rem;
  color: #94a3b8;
}

.footer-ref-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-ref-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 12px;
}

/* Modals & Lightbox */
.modal-backdrop, .lightbox-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open, .lightbox-backdrop.open {
  display: flex;
}

.modal-card {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 620px;
  width: 100%;
  box-shadow: var(--shadow-float);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 20px 26px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
}

.modal-body {
  padding: 26px;
  overflow-y: auto;
}

.modal-footer {
  padding: 16px 26px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Lightbox Content */
.lightbox-content {
  position: relative;
  max-width: 800px;
  width: 100%;
  text-align: center;
}

.lightbox-img {
  max-height: 80vh;
  width: auto;
  margin: 0 auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
}

.lightbox-caption {
  color: #ffffff;
  margin-top: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
}

/* ========================================================
   RESPONSIVE BREAKPOINTS
======================================================== */
@media (max-width: 1024px) {
  .hero-dribbble-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-split-grid {
    grid-template-columns: 1fr;
  }

  .keunggulan-cards-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-bar-floating {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

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

  .ekskul-cards-row {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .cta-banner-card {
    grid-template-columns: 1fr;
  }

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

  .footer-ref-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }

  .nav-toggle {
    display: block;
  }

  .main-navbar-green {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
  }

  .main-navbar-green.open {
    display: block;
  }

  .navbar-green-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px;
  }

  .nav-links-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-item-link {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
  }

  .nav-right-actions {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    justify-content: space-between;
  }

  .ticker-bar-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .keunggulan-cards-row {
    grid-template-columns: 1fr;
  }

  .stats-bar-floating {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .stat-item::after {
    display: none !important;
  }

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

  .ekskul-cards-row {
    grid-template-columns: 1fr;
  }

  .galeri-grid-4x2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .berita-grid-3col {
    grid-template-columns: 1fr;
  }

  .video-grid-2col {
    grid-template-columns: 1fr;
  }

  .hero-building-image-wrap {
    height: 340px;
    border-radius: 28px;
  }

  .hero-floating-sticker {
    right: 4px;
    bottom: -10px;
    padding: 8px 14px;
  }

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

@media (max-width: 480px) {
  .hero-building-image-wrap {
    height: 280px;
  }
  .hero-dribbble {
    padding-top: 36px;
    padding-bottom: 50px;
  }

  .galeri-grid-4x2 {
    grid-template-columns: 1fr;
  }

  .cta-banner-card {
    padding: 24px;
  }
}

/* School leadership and teaching staff directory */
.section-team { background: #f7faf9; }
.hero-eyebrow { margin:0 0 10px; color:#b8f2d6; font-size:.78rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.hero-title { margin:0 0 18px; color:#fff; font-size:clamp(2.4rem,5vw,4.4rem); line-height:1.04; letter-spacing:-.055em; }
.hero-hashtag-top, .badge-stacked-wrap, .best-choice-badge, .hero-floating-sticker { display:none !important; }
.hero-floating-logo-badge, .hero-floating-chip { display:none !important; }
.hero-building-frame { box-shadow:none; border:1px solid rgba(255,255,255,.5); background:#fff; padding:8px; }
.hero-building-image-wrap { height:330px; border-radius:2px; }
.hero-building-img { object-fit:cover; object-position:center 36%; transition:opacity .14s ease, transform .35s ease; }
.hero-building-img.is-changing { opacity:.35; transform:scale(1.015); }
.hero-building-overlay-gradient { display:none; }
.hero-building-bottom-card { position:static; margin-top:8px; background:#17352d; border-radius:2px; padding:11px 14px; }
.hero-thumbnails-row { gap:8px; }
.thumb-card { border:1px solid rgba(255,255,255,.55); padding:0; cursor:pointer; background:transparent; opacity:.72; transition:opacity .2s ease, border-color .2s ease, transform .2s ease; }
.thumb-card { appearance:none; font:inherit; }
.thumb-card.is-active, .thumb-card:hover { opacity:1; border-color:#d28b39; transform:translateY(-2px); }
.thumb-card img { display:block; }
.main-navbar-green { overflow:hidden; }
.navbar-green-inner { min-width:0; }
.nav-links-wrap { gap:4px; overflow-x:auto; scrollbar-width:none; padding-bottom:2px; }
.nav-links-wrap { flex:1 1 auto; min-width:0; }
.nav-links-wrap::-webkit-scrollbar { display:none; }
.nav-item-link { flex:0 0 auto; white-space:nowrap; padding:14px 11px; }
.nav-right-actions { flex:0 0 auto; }
.top-header-white { padding:10px 0; }
.brand-logo-img { width:46px; height:46px; }
.header-contact-group { gap:16px; }
.nav-item-link { font-size:.68rem; letter-spacing:.035em; padding:13px 10px; }
.nav-right-actions { gap:8px; }
body { overflow-x:hidden; }
.footer-ref { background:#17352d; background-image:none; }
.hero-building-title { font-size:.78rem; }
.hero-building-address { font-size:.72rem; }
.video-thumb-wrap img { display:block; width:100%; height:100%; object-fit:cover; }
.hero-dribbble { position:relative; isolation:isolate; overflow:hidden; background:linear-gradient(155deg,#176b52 0%,#3f8863 52%,#b4d5bb 100%); }
.hero-dribbble::before { content:""; position:absolute; inset:0; z-index:-1; opacity:.18; background-image:radial-gradient(ellipse 90px 28px at 12% 24%,#fff 0 42%,transparent 44%),radial-gradient(ellipse 130px 35px at 83% 18%,#fff 0 40%,transparent 42%),radial-gradient(ellipse 170px 40px at 58% 68%,#fff 0 38%,transparent 40%); background-size:420px 220px,560px 250px,680px 300px; background-position:0 0,120px 70px,40px 140px; }
.hero-dribbble::after { content:""; position:absolute; z-index:-1; left:-5%; right:-5%; bottom:-86px; height:170px; background:#f5f7f4; border-radius:50% 50% 0 0 / 55% 55% 0 0; box-shadow:0 -14px 0 rgba(255,255,255,.35); }
.hero-dribbble-grid { position:relative; z-index:1; }
.section-about { background:linear-gradient(180deg,#f5f7f4 0%,#fff 100%); }
.section-about::after { content:""; display:block; height:24px; margin-top:72px; opacity:.28; background:radial-gradient(ellipse 80px 18px at 10% 50%,#d5e7db 0 48%,transparent 50%),radial-gradient(ellipse 120px 22px at 50% 50%,#d5e7db 0 48%,transparent 50%),radial-gradient(ellipse 90px 18px at 88% 50%,#d5e7db 0 48%,transparent 50%); }
.media-heading { display:flex; justify-content:space-between; align-items:end; gap:20px; margin:34px 0 18px; }
.social-text-link { display:inline-grid; place-items:center; width:24px; height:24px; border-radius:50%; background:#eef2f4; color:#176b52; font-size:.72rem; font-weight:800; text-decoration:none; }
.school-fact-line { display:flex; flex-wrap:wrap; gap:8px; margin:18px 0 22px; }
.school-fact-line span { padding:9px 12px; border:1px solid #dce5df; background:#f7faf7; color:var(--text-muted); font-size:.78rem; }
.school-fact-line strong { color:var(--heading-color); margin-right:4px; }
.section-history { background:#eef3ef; border-top:1px solid #dce5df; border-bottom:1px solid #dce5df; }
.history-layout { display:grid; grid-template-columns:.82fr 1.18fr; gap:70px; align-items:start; }
.history-intro .section-title { margin:12px 0 16px; }
.history-intro p, .history-item p { color:var(--text-muted); line-height:1.75; }
.history-photo { display:block; width:100%; max-width:380px; height:180px; margin-top:22px; object-fit:cover; border:1px solid #dce5df; }
.history-timeline { border-left:2px solid #b9d2c2; padding-left:28px; }
.history-item { position:relative; display:grid; grid-template-columns:92px 1fr; gap:18px; padding:0 0 28px; }
.history-item:last-child { padding-bottom:0; }
.history-item::before { content:""; position:absolute; width:10px; height:10px; left:-34px; top:4px; border:3px solid #eef3ef; border-radius:50%; background:var(--primary-color); }
.history-year { color:var(--primary-color); font-size:.75rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.history-item h3 { margin:0 0 6px; color:var(--heading-color); font-size:1.05rem; }
.history-item p { margin:0; font-size:.9rem; }
.history-longform { grid-column:1 / -1; margin-top:32px; border-top:1px solid #cbdad2; padding-top:18px; }
.history-longform summary { cursor:pointer; color:var(--primary-color); font-weight:800; }
.history-longform div { max-width:900px; padding-top:14px; color:var(--text-muted); line-height:1.75; }
@media (max-width:800px) { .history-layout { grid-template-columns:1fr; gap:32px; } }
.section-data-sekolah { background:#f7faf7; position:relative; overflow:hidden; }
.section-data-sekolah::before { content:""; position:absolute; inset:0; opacity:.42; pointer-events:none; background-image:radial-gradient(circle at 8% 18%,#dcece1 0 2px,transparent 3px),radial-gradient(circle at 88% 72%,#dcece1 0 2px,transparent 3px); background-size:34px 34px,46px 46px; }
.section-data-sekolah .container, .section-roster .container { position:relative; z-index:1; }
.data-summary-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:28px 0 18px; }
.data-summary-card { display:flex; flex-direction:column; gap:4px; padding:20px; background:#fff; border:1px solid #dce5df; border-top:3px solid var(--primary-color); }
.data-summary-card strong { color:var(--heading-color); font-size:1.85rem; letter-spacing:-.04em; }
.data-summary-card span { color:var(--text-muted); font-size:.78rem; font-weight:700; }
.class-level-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.class-level-card { padding:20px; background:#fff; border:1px solid #dce5df; }
.class-level-title { display:flex; align-items:baseline; gap:8px; padding-bottom:14px; border-bottom:1px solid #e5ebe7; }
.class-level-title span { color:var(--text-muted); font-size:.8rem; }
.class-level-title strong { color:var(--primary-color); font-size:1.65rem; }
.class-level-title em { margin-left:auto; color:var(--text-muted); font-size:.7rem; font-style:normal; }
.class-chip-list { display:flex; flex-wrap:wrap; gap:7px; padding-top:14px; }
.class-chip-list span { padding:6px 9px; background:#edf5ef; color:#315f4d; font-size:.75rem; font-weight:700; }
.section-roster { background:#fff; border-top:1px solid #e5ebe7; }
.roster-search { display:block; max-width:520px; margin:24px auto; color:var(--heading-color); font-size:.78rem; font-weight:800; }
.roster-search input { display:block; width:100%; margin-top:7px; box-sizing:border-box; padding:12px 14px; border:1px solid #cbdad2; border-radius:3px; font:inherit; }
.roster-search input:focus { outline:2px solid rgba(23,107,82,.18); border-color:var(--primary-color); }
.roster-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.roster-card { padding:16px; border:1px solid #dce5df; border-left:3px solid #d28b39; background:#fbfdfb; }
.roster-card-top { display:flex; flex-direction:column; gap:5px; }
.roster-card-top span { color:var(--primary-color); font-size:.68rem; font-weight:800; letter-spacing:.07em; text-transform:uppercase; }
.roster-card-top b { color:var(--heading-color); font-size:.9rem; line-height:1.35; }
.roster-card p { margin:10px 0 0; color:var(--text-muted); font-size:.78rem; line-height:1.55; }
.roster-card[hidden] { display:none; }
.roster-empty { text-align:center; color:var(--text-muted); }
@media (max-width:900px) { .roster-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:650px) { .data-summary-grid, .class-level-grid, .roster-grid { grid-template-columns:1fr; } }

/* Navigation: compact on desktop, a complete vertical menu on smaller screens. */
.navbar-green-inner { gap:18px; }
.nav-links-wrap { overflow:visible; justify-content:space-between; }
.nav-item-link { font-size:.78rem; font-weight:650; letter-spacing:0; padding:15px 9px; text-transform:none; }
.nav-search-btn { flex:0 0 auto; }
.btn-nav-cta { white-space:nowrap; }
@media (max-width:1100px) {
  .header-contact-group { display:none !important; }
  .nav-toggle { display:block; }
  .main-navbar-green { display:none; position:absolute; top:100%; left:0; right:0; z-index:120; max-height:calc(100vh - 70px); overflow-y:auto; box-shadow:0 18px 30px rgba(0,0,0,.14); }
  .main-navbar-green.open { display:block; }
  .navbar-green-inner { display:block; padding:12px 20px 18px; }
  .nav-links-wrap { display:flex; flex-direction:column; align-items:stretch; overflow:visible; gap:2px; }
  .nav-item-link { display:block; white-space:normal; padding:11px 14px; font-size:.9rem; }
  .nav-right-actions { justify-content:flex-start; margin-top:10px; padding-top:12px; border-top:1px solid rgba(255,255,255,.18); }
}
.ekskul-cards-row { grid-template-columns:repeat(4,minmax(0,1fr)); }
@media (max-width:900px) { .ekskul-cards-row { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:560px) { .ekskul-cards-row { grid-template-columns:1fr; } }
.hero-dribbble::before { animation: cloud-drift 24s ease-in-out infinite alternate; }
@keyframes cloud-drift { from { transform:translate3d(-1%,0,0) scale(1); } to { transform:translate3d(2%,4px,0) scale(1.04); } }
.reveal-on-scroll { opacity:0; transform:translateY(18px); transition:opacity .65s ease, transform .65s ease; }
.reveal-on-scroll.is-visible { opacity:1; transform:translateY(0); }
.program-card-dribbble:nth-child(2), .teacher-card:nth-child(2), .galeri-photo-card:nth-child(2) { transition-delay:.06s; }
.program-card-dribbble:nth-child(3), .teacher-card:nth-child(3), .galeri-photo-card:nth-child(3) { transition-delay:.12s; }
.program-card-dribbble:nth-child(4), .teacher-card:nth-child(4), .galeri-photo-card:nth-child(4) { transition-delay:.18s; }
.galeri-photo-card img { transition:transform .55s cubic-bezier(.2,.7,.2,1), filter .55s ease; }
.galeri-photo-card:hover img { transform:scale(1.045); filter:saturate(1.08); }
@media (prefers-reduced-motion: reduce) { .hero-dribbble::before, .reveal-on-scroll, .galeri-photo-card img { animation:none; transition:none; } .reveal-on-scroll { opacity:1; transform:none; } }
.media-heading .section-title { margin:8px 0 0; font-size:clamp(1.55rem,3vw,2.25rem); }
.video-grid-2col { margin-top:0; }
.video-card-title { padding:15px 18px; background:#fff; color:var(--heading-color); font-size:.86rem; font-weight:800; }
@media (max-width:560px) { .media-heading { align-items:flex-start; flex-direction:column; } }
.contact-panel { display:grid; grid-template-columns: .9fr 1.1fr; gap:28px; margin-bottom:28px; padding:28px; border-radius:20px; background:#fff; border:1px solid #e2ebe7; box-shadow:0 8px 22px rgba(15,61,46,.05); }
.contact-panel-copy { max-width:430px; margin:12px 0; color:var(--text-muted); line-height:1.65; }
.contact-panel-detail { color:var(--heading-color); font-size:.88rem; }
.contact-form { display:grid; grid-template-columns:1fr 1fr; gap:12px; align-content:start; }
.contact-form label { color:var(--heading-color); font-size:.8rem; font-weight:700; }
.contact-form input, .contact-form textarea { display:block; width:100%; margin-top:6px; padding:11px 12px; border:1px solid #d7e4de; border-radius:10px; font:inherit; box-sizing:border-box; }
.contact-form input:focus, .contact-form textarea:focus { outline:2px solid rgba(0,114,55,.2); border-color:var(--primary-color); }
.contact-message { grid-column:1 / -1; }
@media (max-width: 700px) { .contact-panel { grid-template-columns:1fr; } }
.program-card-kaprodi { margin: -4px 0 10px; color: var(--primary-color); font-size: .78rem; }
.team-heading-row { display:flex; align-items:center; justify-content:space-between; margin: 28px 0 14px; }
.team-heading-row h3 { margin:0; color:var(--heading-color); font-size:1.2rem; }
.team-heading-spaced { margin-top:42px; }
.leadership-grid { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:14px; }
.person-card, .teacher-card { display:flex; align-items:center; gap:13px; background:#fff; border:1px solid #e2ebe7; border-radius:16px; padding:16px; box-shadow:0 8px 22px rgba(15,61,46,.05); }
.person-avatar, .teacher-avatar { flex:0 0 44px; width:44px; height:44px; display:grid; place-items:center; border-radius:14px; color:#fff; background:linear-gradient(135deg,var(--primary-color),#00a36a); font-weight:800; font-size:1.1rem; }
.person-role { display:block; color:var(--primary-color); font-size:.72rem; line-height:1.35; font-weight:800; text-transform:uppercase; letter-spacing:.04em; }
.person-card h4, .teacher-card h4 { margin:4px 0 0; color:var(--heading-color); font-size:.93rem; line-height:1.35; }
.teacher-grid { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:14px; }
.teacher-card { align-items:flex-start; padding:14px; }
.teacher-avatar { flex-basis:38px; width:38px; height:38px; border-radius:12px; font-size:.95rem; background:linear-gradient(135deg,#553b73,var(--secondary-color)); }
.teacher-card span { display:block; margin-top:5px; color:var(--text-muted); font-size:.76rem; font-weight:600; }
@media (max-width: 900px) { .leadership-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); } .teacher-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .leadership-grid, .teacher-grid { grid-template-columns:1fr; } }

/* Reworked visual system: editorial, information-first, and restrained. */
:root { --primary-color:#176b52; --primary-dark:#0f4c3a; --secondary-color:#d28b39; --heading-color:#17352d; --text-color:#42554e; --text-muted:#6c7b75; --surface:#f5f7f4; }
body { background:#f5f7f4; color:var(--text-color); }
.container { max-width:1180px; }
.top-header-white { background:#fff; border-bottom:1px solid #e5ebe7; }
.main-navbar-green { background:#176b52; }
.nav-item-link { font-size:.78rem; letter-spacing:0; text-transform:none; }
.hero-dribbble { background:linear-gradient(135deg,#4f805f 0%,#447658 56%,#35624f 100%); }
.hero-left-column { position:relative; }
.hero-left-column::before { content:""; display:block; width:52px; height:4px; margin-bottom:18px; background:#d28b39; }
.hero-motto-text { border-left:3px solid #d28b39; padding-left:18px; }
.hero-right-visual { align-self:center; }
.main-navbar-green { background:#176b52; }
.hero-dribbble::before { opacity:.22; background-image:radial-gradient(ellipse 110px 32px at 12% 24%,#fff 0 42%,transparent 44%),radial-gradient(ellipse 150px 38px at 83% 18%,#fff 0 40%,transparent 42%),radial-gradient(ellipse 180px 42px at 58% 68%,#fff 0 38%,transparent 40%); }
.hero-dribbble::after { background:linear-gradient(180deg,#fff 0%,#f5f7f4 100%); box-shadow:0 -18px 0 rgba(255,255,255,.38); }
.hero-title { letter-spacing:-.045em; }
.btn-accent { background:#d28b39; border-color:#d28b39; }
.section-header .badge-section-tag, .badge-section-tag { color:#176b52; background:#e6f0e9; border-color:#cfe2d5; }
.hero-dribbble { padding:86px 0 76px; background:linear-gradient(135deg,#4f805f 0%,#447658 56%,#35624f 100%); }
.hero-dribbble-grid { align-items:center; }
.hero-left-column { max-width:600px; }
.hero-motto-text { max-width:510px; color:#dcece4; font-size:1.08rem; line-height:1.7; }
.hero-building-frame { border-radius:3px; box-shadow:18px 18px 0 rgba(10,58,43,.28); }
.hero-building-image-wrap { border-radius:3px; }
.hero-building-bottom-card { border-radius:0; }
.ticker-bar-card { border-radius:3px; box-shadow:none; border:1px solid #dce5df; }
.section { padding:88px 0; }
.section-header { max-width:680px; margin-left:auto; margin-right:auto; }
.section-title { letter-spacing:-.04em; }
.badge-section-tag { border-radius:2px; letter-spacing:.12em; }
.keunggulan-card-dribbble, .program-card-dribbble, .berita-card-ref, .person-card, .teacher-card { border-radius:3px; box-shadow:none; border:1px solid #dce5df; }
.keunggulan-card-dribbble:hover, .program-card-dribbble:hover, .berita-card-ref:hover { transform:translateY(-3px); box-shadow:0 12px 25px rgba(20,61,47,.08); }
.program-card-title, .berita-ref-title { letter-spacing:-.025em; }
.section-team { background:#fff; border-top:1px solid #e5ebe7; border-bottom:1px solid #e5ebe7; }
.person-card { background:#f7faf7; }
.person-avatar { border-radius:3px; background:#176b52; }
.teacher-filter { display:flex; gap:8px; flex-wrap:wrap; margin:0 0 16px; }
.teacher-filter-btn { cursor:pointer; border:1px solid #cbdad2; background:#fff; color:#426157; border-radius:2px; padding:9px 15px; font:600 .78rem inherit; }
.teacher-filter-btn.is-active, .teacher-filter-btn:hover { background:#176b52; border-color:#176b52; color:#fff; }
.teacher-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.teacher-card { align-items:center; background:#fff; padding:17px 18px; border-left:3px solid #d28b39; }
.teacher-card[hidden] { display:none; }
.teacher-index { width:8px; height:8px; border-radius:50%; background:#176b52; flex:0 0 8px; }
.teacher-avatar { display:none; }
.section-maps-video { background:#eef3ef; padding:75px 0; }
.maps-container-card, .video-card-item { border-radius:3px; box-shadow:none; border:1px solid #dce5df; overflow:hidden; }
.footer-ref { background:#17352d; }
.footer-ref-bottom { border-top-color:rgba(255,255,255,.16); }
@media (max-width: 900px) { .teacher-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 560px) { .hero-dribbble { padding-top:55px; } .teacher-grid { grid-template-columns:1fr; } .section { padding:65px 0; } }
.team-directory-link { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:18px 20px; border:1px solid #dce5df; border-radius:3px; background:#fff; }
.team-directory-link strong { display:block; color:var(--heading-color); font-size:1rem; }
.team-directory-link p { margin:5px 0 0; color:var(--text-muted); font-size:.86rem; }
@media (max-width:560px) { .team-directory-link { flex-direction:column; align-items:flex-start; } }
