/*
Theme Name: SMK Sehat Insan Perjuangan
Theme URI: https://smksip-jombang.sch.id
Author: Clickcood Studio
Author URI: https://clickcoodstudio.com
Description: Theme resmi SMK Sehat Insan Perjuangan Jombang. Menampilkan profil sekolah, program keahlian Farmasi & Pelayaran, fasilitas, ekstrakurikuler, berita, dan pendaftaran siswa baru.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smk-sip
Tags: education, school, vocational, responsive, custom-colors, custom-logo, full-width-template, featured-images, theme-options
*/

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

:root {
  --green:        #0A7C4E;
  --green-light:  #12A868;
  --green-pale:   #E6F5EF;
  --gold:         #F5C518;
  --gold-dark:    #D4A80E;
  --teal:         #0EA5A0;
  --teal-dark:    #0B8A85;
  --dark:         #0F1C15;
  --gray:         #6B7280;
  --light:        #F9FAFB;
  --white:        #FFFFFF;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* offset untuk navbar fixed 70px */
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; }

/* ── LUCIDE ICON BASE ── */
[data-lucide] {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ── NAVBAR ── */
nav#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 85px;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: all 0.4s ease-in-out;
}

/* Saat di-scroll: navbar mengecil & berwarna hijau gradient */
nav#site-nav.nav-scrolled {
  height: 70px;
  background: linear-gradient(135deg, var(--green) 0%, var(--teal) 100%);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-brand {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
}
.nav-logo {
  width: 44px; height: 44px; object-fit: contain;
}
.nav-name {
  font-family: 'Poppins', sans-serif;
  font-size: .85rem; font-weight: 700;
  color: var(--dark); line-height: 1.2;
  transition: color 0.3s;
}
.nav-name span { display: block; font-weight: 400; font-size: .72rem; color: var(--gray); transition: color 0.3s; }

/* Teks logo putih saat scrolled */
nav#site-nav.nav-scrolled .nav-name,
nav#site-nav.nav-scrolled .nav-name span { color: var(--white); }

.nav-links {
  display: flex; gap: 28px; list-style: none;
}
.nav-links a {
  text-decoration: none; font-size: .88rem; font-weight: 500;
  color: var(--dark); transition: all 0.3s ease;
  position: relative; padding-bottom: 4px;
}
/* Garis bawah animasi saat hover */
.nav-links a::after {
  content: '';
  position: absolute; width: 0; height: 2px;
  bottom: 0; left: 0;
  background-color: var(--gold);
  transition: width 0.3s ease-in-out;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--green); }

/* Link putih saat scrolled */
nav#site-nav.nav-scrolled .nav-links a { color: var(--white); }
nav#site-nav.nav-scrolled .nav-links a:hover { color: var(--gold); }

/* Tombol CTA di navbar */
.nav-cta {
  background: var(--gold) !important;
  border: 1px solid var(--gold-dark) !important;
  color: var(--dark) !important;
  padding: 4px 20px 8px 20px;
  border-radius: 8px;
  font-weight: 700 !important;
  transition: all .25s ease !important;
  box-shadow: 0 2px 10px rgba(245, 197, 24, 0.3);
}

.nav-cta::after { 
  display: none !important; 
}

.nav-cta:hover { 
  background: #FDE047 !important;
  border-color: var(--gold-dark) !important;
  color: var(--dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245, 197, 24, 0.5);
}

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--dark); border-radius: 2px; display: block; transition: background 0.3s; }
nav#site-nav.nav-scrolled .hamburger span { background: var(--white); }

/* ── MOBILE NAV MENU ── */
.mobile-nav {
  display: none;
  position: fixed; top: 70px; left: 0; right: 0; z-index: 99;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--green-pale);
  padding: 16px 5%;
  flex-direction: column; gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 0; font-size: .92rem; font-weight: 500;
  color: var(--dark); border-bottom: 1px solid var(--green-pale);
  transition: color .2s;
}
.mobile-nav a:hover { color: var(--green); }

/* ── DIVIDER ELEGANT ── */
.divider-elegant {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; padding: 0 5%;
  background: var(--light);
  height: 90px; position: relative; z-index: 20;
}
.divider-elegant .line {
  flex: 1; height: 2px; border-radius: 2px;
}
.divider-elegant .line.left {
  background: linear-gradient(90deg, rgba(245,197,24,0) 0%, var(--gold) 100%);
}
.divider-elegant .line.right {
  background: linear-gradient(270deg, rgba(245,197,24,0) 0%, var(--gold) 100%);
}
.divider-elegant .divider-icon {
  color: var(--gold); width: 20px; height: 20px;
  animation: sparkleGlow 2s ease-in-out infinite alternate;
}
.divider-elegant .divider-text {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: 1.15rem; letter-spacing: 0.18em;
  background: linear-gradient(90deg, var(--green), var(--teal));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; text-transform: uppercase;
}
@keyframes sparkleGlow {
  0%   { transform: scale(0.9); opacity: 0.7; filter: drop-shadow(0 0 2px rgba(245,197,24,0.3)); }
  100% { transform: scale(1.15); opacity: 1;  filter: drop-shadow(0 0 8px rgba(245,197,24,0.8)); }
}
@media (max-width: 768px) {
  .divider-elegant .divider-text { font-size: .85rem; letter-spacing: .1em; }
  .divider-elegant .divider-icon { width: 16px; height: 16px; }
  .divider-elegant { gap: 10px; padding: 0 8%; }
}

/* ── HERO ── */
.hero {
  width: 100%; max-width: 100vw;
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  /* padding: 0; */
  padding: 80px 0 0 0;
  position: relative; overflow: hidden;
}

.hero-left {
  background: linear-gradient(135deg, var(--green) 0%, var(--teal) 100%);
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 6% 80px 8%;
  position: relative; z-index: 2;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.hero-left::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px; padding: 6px 16px; width: fit-content;
  color: var(--white); font-size: .78rem; font-weight: 500;
  margin-bottom: 24px; backdrop-filter: blur(8px);
}
.hero-badge::before { content: '#'; font-size: .85rem; }

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800; color: var(--white);
  line-height: 1.15; margin-bottom: 20px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--gold), #FDE68A);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-desc {
  color: rgba(255,255,255,0.85); font-size: .95rem;
  line-height: 1.7; max-width: 420px; margin-bottom: 36px;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 10; }

.btn-primary {
  background: var(--gold); color: var(--dark);
  padding: 14px 28px; border-radius: 10px;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .9rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(245,197,24,0.4);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(245,197,24,0.5); }

.btn-secondary {
  background: transparent; color: var(--white);
  padding: 14px 28px; border-radius: 10px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .9rem;
  text-decoration: none; border: 2px solid rgba(255,255,255,0.5);
  transition: all .2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: white; }

.hero-right {
  background: var(--dark);
  display: flex; flex-direction: column;
  justify-content: stretch; align-items: stretch;
  position: relative; overflow: hidden; margin-left: -12%;
}

/* ── SLIDESHOW ── */
.hero-slideshow {
  position: relative; width: 100%;
  min-height: calc(100vh - 70px);
  overflow: hidden;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
}

.slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  opacity: 0; transition: opacity .9s ease; pointer-events: none;
}
.slide.active { opacity: 1; pointer-events: auto; }

.slide-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 7s ease;
}
.slide.active .slide-img { transform: scale(1.07); }

.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,20,12,0.90) 0%, rgba(8,20,12,0.45) 45%, rgba(8,20,12,0.12) 100%);
}

.slide-caption { position: relative; z-index: 2; padding: 32px 32px 24px; }
.slide-tag {
  display: inline-block;
  background: var(--gold); color: var(--dark);
  font-size: .68rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 100px; margin-bottom: 10px;
}
.slide-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  font-weight: 700; color: var(--white); line-height: 1.3; margin-bottom: 8px;
}
.slide-desc { font-size: .81rem; color: rgba(255,255,255,.72); line-height: 1.55; max-width: 340px; }

.slide-progress {
  position: absolute; bottom: 0; left: 0;
  height: 3px; background: var(--gold); width: 0%; z-index: 10;
  transition: width 0s linear;
}
.slide-progress.running { width: 100%; transition: width 4.5s linear; }

.slide-dots { position: absolute; bottom: 18px; left: 32px; display: flex; gap: 8px; z-index: 10; }
.slide-dot {
  width: 8px; height: 8px; border-radius: 100px;
  background: rgba(255,255,255,.3); cursor: pointer;
  transition: background .3s, width .3s; border: none; padding: 0;
}
.slide-dot.active { background: var(--gold); width: 24px; }

.slide-counter {
  position: absolute; top: 18px; right: 18px; z-index: 10;
  background: rgba(0,0,0,.35); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--white); font-size: .75rem; font-weight: 600;
  padding: 5px 12px; border-radius: 100px;
}
.slide-counter span { color: var(--gold); }

/* ── VISI TAU ── */
.visi-section {
  background: linear-gradient(135deg, #0A7C4E 0%, #0EA5A0 50%, #0077B6 100%);
  padding: 100px 8%; position: relative; overflow: hidden; text-align: center;
}
.visi-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M40 0l40 40-40 40L0 40z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.visi-section::after {
  content: ''; position: absolute; top: -150px; left: -150px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,197,24,0.15), transparent 70%); pointer-events: none;
}
.visi-eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px; position: relative; z-index: 1;
}
.visi-title {
  font-family: 'Poppins', sans-serif; font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 500; color: rgba(255,255,255,0.9); max-width: 800px; margin: 0 auto 48px;
  line-height: 1.5; position: relative; z-index: 1;
}
.visi-title strong { color: var(--white); font-weight: 700; }

.tau-acronym {
  display: flex; justify-content: center; align-items: stretch;
  gap: 24px; flex-wrap: wrap; max-width: 1100px; margin: 0 auto; position: relative; z-index: 1;
}
.tau-card {
  flex: 1; min-width: 240px; background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px; padding: 36px 28px;
  transition: transform .3s, background .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.tau-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), #FDE68A);
  transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.tau-card:hover { transform: translateY(-8px); background: rgba(255,255,255,0.14); border-color: var(--gold); }
.tau-card:hover::before { transform: scaleX(1); }

.tau-letter {
  font-family: 'Poppins', sans-serif; font-size: clamp(4rem, 8vw, 6.5rem);
  font-weight: 800; line-height: 1;
  background: linear-gradient(180deg, var(--gold) 0%, #FDE68A 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 8px;
}
.tau-word {
  font-family: 'Poppins', sans-serif; font-size: 1.4rem; font-weight: 700;
  color: var(--white); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px;
}
.tau-desc { font-size: .88rem; color: rgba(255,255,255,0.8); line-height: 1.65; }

/* ── SAMBUTAN ── */
.sambutan-section {
  background: linear-gradient(135deg, var(--light) 0%, #E8F5EF 100%);
  padding: 90px 8%; position: relative; overflow: hidden;
}
.sambutan-section::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 350px; height: 350px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10,124,78,.07), transparent 70%); pointer-events: none;
}
.sambutan-inner {
  display: grid; grid-template-columns: 380px 1fr; gap: 64px;
  align-items: center; max-width: 1200px; margin: 0 auto;
}
.sambutan-photo-col { position: relative; }
.ks-photo-frame {
  position: relative; border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(10,124,78,.18);
}
.ks-photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; display: block; }
.ks-avatar {
  width: 100%; aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--green-pale), #C8EDE0);
  display: none; align-items: center; justify-content: center;
}
.ks-avatar [data-lucide] { color: var(--green); opacity: 0.25; }
.ks-badge {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-radius: 14px; padding: 12px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12); white-space: nowrap;
  border: 1px solid rgba(10,124,78,.12);
}
.ks-badge-icon { color: var(--green); }
.ks-badge-title { font-size: .72rem; color: var(--gray); font-weight: 500; }
.ks-badge-school { font-size: .85rem; font-weight: 700; color: var(--green); }
.ks-ornament {
  position: absolute; top: -16px; left: -16px; z-index: -1;
  width: 100%; height: 100%; border-radius: 24px;
  border: 3px solid var(--green); opacity: .18;
}
.ks-name-block { margin: 12px 0 20px; }
.ks-name { font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--green); }
.ks-jabatan { font-size: .82rem; color: var(--gray); margin-top: 2px; }

.sambutan-quote {
  position: relative; background: linear-gradient(135deg, var(--green), var(--teal));
  border-radius: 16px; padding: 24px 28px 24px 52px; margin-bottom: 24px;
}
.sambutan-quote .quote-mark {
  position: absolute; top: 10px; left: 18px;
  font-family: 'Poppins', sans-serif; font-size: 3.5rem; line-height: 1;
  color: rgba(255,255,255,.4); font-weight: 800;
}
.sambutan-quote p { color: var(--white); font-size: .95rem; line-height: 1.75; font-style: italic; position: relative; z-index: 1; }
.sambutan-body { margin-bottom: 28px; }
.sambutan-body p { font-size: .9rem; color: var(--gray); line-height: 1.8; margin-bottom: 14px; }
.sambutan-footer { display: flex; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.sambutan-ttd { flex: 1; min-width: 160px; }
.ttd-line { width: 120px; height: 2px; background: var(--green); margin-bottom: 8px; opacity: .4; }
.ttd-name { font-family: 'Poppins', sans-serif; font-size: .9rem; font-weight: 700; color: var(--dark); }
.ttd-jabatan { font-size: .78rem; color: var(--gray); margin-top: 2px; }
.sambutan-stats { display: flex; gap: 20px; }
.sstat { text-align: center; }
.sstat-num { font-family: 'Poppins', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--green); }
.sstat-label { font-size: .7rem; color: var(--gray); font-weight: 500; }

/* ── SECTION COMMON ── */
section { padding: 90px 8%; }
.section-eyebrow {
  text-align: center; font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px;
}
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 800;
  text-align: center; color: var(--dark); margin-bottom: 16px;
}
.section-title span { color: var(--green); }
.section-sub {
  text-align: center; color: var(--gray); font-size: .95rem;
  line-height: 1.7; max-width: 560px; margin: 0 auto 56px;
}

/* ── JURUSAN ── */
.jurusan { background: var(--white); }
.jurusan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 1000px; margin: 0 auto; }
.jurusan-card {
  border-radius: 18px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  transition: transform .3s, box-shadow .3s; position: relative;
}
.jurusan-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(0,0,0,0.13); }
.jurusan-header {
  padding: 36px 32px 28px; background: linear-gradient(135deg, var(--green), var(--teal));
  position: relative; overflow: hidden;
}
.jurusan-card:nth-child(2) .jurusan-header { background: linear-gradient(135deg, #0077B6, var(--teal)); }
.jurusan-icon { margin-bottom: 14px; display: block; color: #fff; }
.jurusan-name { font-family: 'Poppins', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.jurusan-short { font-size: .78rem; color: rgba(255,255,255,0.85); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.jurusan-body { padding: 28px 32px; background: var(--white); }
.jurusan-desc { font-size: .9rem; color: var(--gray); line-height: 1.7; margin-bottom: 18px; }
.jurusan-tag {
  display: inline-block; background: var(--green-pale); color: var(--green);
  font-size: .72rem; font-weight: 600; padding: 5px 12px; border-radius: 100px; margin: 3px 3px 3px 0;
}

/* ── KEUNGGULAN ── */
.keunggulan { background: var(--light); }
.keunggulan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.unggulan-item {
  background: var(--white); border-radius: 16px; padding: 28px;
  display: flex; gap: 18px; align-items: flex-start;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05); transition: box-shadow .2s;
}
.unggulan-item:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.unggulan-icon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--green), var(--teal));
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.unggulan-item:nth-child(2) .unggulan-icon { background: linear-gradient(135deg, var(--teal), #0077B6); }
.unggulan-item:nth-child(3) .unggulan-icon { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); }
.unggulan-item:nth-child(4) .unggulan-icon { background: linear-gradient(135deg, #7C3AED, #A78BFA); }
.unggulan-item:nth-child(5) .unggulan-icon { background: linear-gradient(135deg, #DC2626, #F87171); }
.unggulan-item:nth-child(6) .unggulan-icon { background: linear-gradient(135deg, #059669, #34D399); }
.unggulan-title { font-family: 'Poppins', sans-serif; font-size: .95rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.unggulan-desc { font-size: .85rem; color: var(--gray); line-height: 1.6; }

/* ── FASILITAS ── */
.fasilitas { background: var(--dark); }
.fasilitas .section-eyebrow { color: var(--gold); }
.fasilitas .section-title { color: var(--white); }
.fasilitas .section-sub { color: rgba(255,255,255,0.6); }
.fasilitas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fasilitas-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 26px 18px; text-align: center; transition: background .2s, transform .2s;
}
.fasilitas-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.fasilitas-card .f-icon { margin-bottom: 12px; display: block; color: var(--gold); }
.fasilitas-card .f-name { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .88rem; color: var(--white); margin-bottom: 6px; }
.fasilitas-card .f-desc { font-size: .75rem; color: rgba(255,255,255,0.55); line-height: 1.5; }

/* ── EKSKUL ── */
.ekskul { background: linear-gradient(135deg, var(--green-pale) 0%, #F0FDF7 100%); }
.ekskul-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ekskul-card {
  background: var(--white); border-radius: 14px; padding: 22px 16px; text-align: center;
  box-shadow: 0 2px 12px rgba(10,124,78,0.06); border: 1px solid rgba(10,124,78,0.08);
  transition: transform .25s, box-shadow .25s, border-color .25s; cursor: default;
}
.ekskul-card:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(10,124,78,0.15); border-color: var(--green-light); }
.ekskul-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-pale), #D1F2E3);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
  transition: transform .3s; color: var(--green);
}
.ekskul-card:hover .ekskul-icon { transform: scale(1.1) rotate(-5deg); }
.ekskul-name { font-family: 'Poppins', sans-serif; font-size: .88rem; font-weight: 600; color: var(--dark); line-height: 1.3; }

/* ── BERITA & AGENDA ── */
.pengumuman { background: var(--white); }
.peng-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.berita-list { display: flex; flex-direction: column; gap: 20px; }
.berita-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px; border-radius: 14px; border: 1px solid #F0F0F0;
  transition: border-color .2s, box-shadow .2s; cursor: pointer; text-decoration: none; color: inherit;
}
.berita-item:hover { border-color: var(--green); box-shadow: 0 4px 20px rgba(10,124,78,0.08); }
.berita-date {
  min-width: 50px; text-align: center; background: var(--green-pale);
  border-radius: 10px; padding: 8px 6px; font-family: 'Poppins', sans-serif;
}
.berita-day { font-size: 1.3rem; font-weight: 800; color: var(--green); line-height: 1; }
.berita-month { font-size: .65rem; text-transform: uppercase; color: var(--gray); font-weight: 600; }
.berita-cat { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); margin-bottom: 5px; }
.berita-title-text { font-family: 'Poppins', sans-serif; font-size: .92rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; line-height: 1.4; }
.berita-excerpt { font-size: .8rem; color: var(--gray); line-height: 1.5; }

.agenda-box { background: linear-gradient(160deg, var(--green), var(--teal)); border-radius: 20px; padding: 28px; color: var(--white); }
.agenda-box h3 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.agenda-box h3 [data-lucide] { color: var(--gold); }
.agenda-item { display: flex; gap: 14px; margin-bottom: 18px; }
.agenda-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 5px; }
.agenda-item-title { font-size: .85rem; font-weight: 600; margin-bottom: 3px; }
.agenda-item-date { font-size: .75rem; color: rgba(255,255,255,0.7); }

/* ── CTA ── */
.cta-section {
  background: linear-gradient(135deg, var(--green) 0%, var(--teal) 60%, #0077B6 100%);
  padding: 90px 8%; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%; background: rgba(255,255,255,0.04);
}
.cta-section::after {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,0.04);
}
.cta-section h2 { font-family: 'Poppins', sans-serif; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1rem; margin-bottom: 14px; }
.cta-hashtag {
  display: inline-block; font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: 1.1rem; color: var(--gold); background: rgba(0,0,0,0.2);
  padding: 8px 22px; border-radius: 100px; margin-bottom: 32px; letter-spacing: .03em;
  border: 1px solid rgba(245,197,24,0.4);
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer { background: #080F0B; color: rgba(255,255,255,0.7); padding: 60px 8% 30px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
    display: flex;
    flex-direction: column;    /* Agar elemen disusun vertikal */
    align-items: center;       /* Rata tengah secara horizontal */
    justify-content: center;   /* Rata tengah secara vertikal */
    text-align: center;        /* Memastikan teks di dalam juga rata tengah */
    gap: 10px;                 /* Memberi jarak antar elemen (logo, nama, desc) */
    padding: 20px;             /* Padding agar tidak mepet */
}
.footer-brand img { width: 100px; height: auto;
    margin-bottom: 5px; }
.footer-brand-name { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1rem; color: var(--white); }
.footer-desc { font-size: .83rem; line-height: 1.7; }
.footer-col h4 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .88rem; color: var(--white); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { text-decoration: none; color: rgba(255,255,255,0.6); font-size: .83rem; transition: color .2s; }
.footer-col ul a:hover { color: var(--gold); }
.contact-item { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.contact-icon { color: var(--gold); margin-top: 2px; display: flex; align-items: center; }
.contact-text { font-size: .82rem; line-height: 1.5; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: .78rem; flex-wrap: wrap; gap: 10px;
}
.footer-bottom .copy { color: rgba(255,255,255,0.4); }
.footer-bottom strong { color: var(--green-light); }
.footer-hashtag { color: var(--gold); font-weight: 700; }

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

/* ── BLOG / ARCHIVE ── */
.site-main { padding: 100px 8% 60px; max-width: 1200px; margin: 0 auto; }
.page-header { margin-bottom: 40px; }
.page-header h1 { font-family: 'Poppins', sans-serif; font-size: 2rem; font-weight: 800; color: var(--dark); }
.posts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.post-card { border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.07); transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,0.12); }
.post-card-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.post-card-thumb-placeholder { width: 100%; aspect-ratio: 16/9; background: var(--green-pale); display: flex; align-items: center; justify-content: center; color: var(--green); }
.post-card-body { padding: 22px; background: var(--white); }
.post-card-cat { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); margin-bottom: 8px; }
.post-card-title { font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.post-card-title a { color: inherit; text-decoration: none; }
.post-card-title a:hover { color: var(--green); }
.post-card-excerpt { font-size: .84rem; color: var(--gray); line-height: 1.6; margin-bottom: 16px; }
.post-card-meta { font-size: .78rem; color: var(--gray); display: flex; gap: 12px; align-items: center; }


/* ── SINGLE POST ── */
.single-post-wrap { padding-top: 70px; }
.single-hero-img { width: 100%; max-height: 480px; overflow: hidden; background: var(--dark); }
.single-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.single-post-inner { max-width: 820px; margin: 0 auto; padding: 44px 5% 80px; }

.post-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: .8rem; color: var(--gray); margin-bottom: 20px; flex-wrap: wrap;
}
.post-breadcrumb a { color: var(--green); text-decoration: none; transition: color .2s; }
.post-breadcrumb a:hover { color: var(--green-light); }
.post-breadcrumb [data-lucide] { color: var(--gray); flex-shrink: 0; }

.post-cat-badge {
  display: inline-block; background: var(--green-pale); color: var(--green);
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 16px;
}
.post-single-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800;
  color: var(--dark); line-height: 1.25; margin-bottom: 20px;
}
.post-meta-row {
  display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
  font-size: .84rem; color: var(--gray);
  padding-bottom: 24px; border-bottom: 2px solid var(--green-pale); margin-bottom: 36px;
}
.post-meta-row span { display: flex; align-items: center; gap: 6px; }

.post-body { font-size: .97rem; color: #374151; line-height: 1.85; }
.post-body h2 { font-family:'Poppins',sans-serif; font-size:1.35rem; font-weight:700; color:var(--dark); margin:36px 0 14px; padding-bottom:8px; border-bottom:2px solid var(--green-pale); }
.post-body h3 { font-family:'Poppins',sans-serif; font-size:1.1rem; font-weight:700; color:var(--dark); margin:28px 0 10px; }
.post-body h4 { font-family:'Poppins',sans-serif; font-size:1rem; font-weight:600; color:var(--dark); margin:20px 0 8px; }
.post-body p { margin-bottom:18px; }
.post-body img { border-radius:12px; margin:20px 0; max-width:100%; height:auto; display:block; }
.post-body ul, .post-body ol { padding-left:24px; margin-bottom:18px; }
.post-body li { margin-bottom:6px; line-height:1.7; }
.post-body blockquote { margin:28px 0; padding:20px 24px; border-left:4px solid var(--green); background:var(--green-pale); border-radius:0 12px 12px 0; font-style:italic; color:var(--dark); }
.post-body a { color:var(--green); text-decoration:underline; }
.post-body a:hover { color:var(--green-light); }
.post-body strong { color:var(--dark); font-weight:700; }
.post-body table { width:100%; border-collapse:collapse; margin:24px 0; font-size:.9rem; }
.post-body th { background:var(--green); color:#fff; padding:10px 14px; text-align:left; font-weight:600; }
.post-body td { padding:10px 14px; border-bottom:1px solid #e5e7eb; }
.post-body tr:nth-child(even) td { background:var(--green-pale); }

.post-tags { margin-top:36px; padding-top:24px; border-top:1px solid var(--green-pale); display:flex; flex-wrap:wrap; gap:8px; }
.post-tag { display:inline-block; background:var(--light); border:1px solid #e5e7eb; color:var(--gray); font-size:.78rem; padding:5px 12px; border-radius:100px; text-decoration:none; transition:border-color .2s, color .2s; }
.post-tag:hover { border-color:var(--green); color:var(--green); }

.post-back { margin-top:40px; padding-top:28px; border-top:1px solid var(--green-pale); }
.post-back a { color:var(--green); font-weight:600; display:inline-flex; align-items:center; gap:6px; text-decoration:none; transition:gap .2s; }
.post-back a:hover { gap:10px; }

.post-related { margin-top:56px; }
.post-related-title { font-family:'Poppins',sans-serif; font-size:1.1rem; font-weight:700; color:var(--dark); margin-bottom:20px; padding-bottom:12px; border-bottom:2px solid var(--green-pale); }
.post-related-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.post-related-card { border-radius:12px; overflow:hidden; border:1px solid #f0f0f0; text-decoration:none; color:inherit; transition:border-color .2s, box-shadow .2s, transform .2s; display:block; }
.post-related-card:hover { border-color:var(--green); box-shadow:0 6px 20px rgba(10,124,78,.1); transform:translateY(-3px); }
.post-related-card img { width:100%; aspect-ratio:16/9; object-fit:cover; display:block; }
.post-related-placeholder { width:100%; aspect-ratio:16/9; background:var(--green-pale); display:flex; align-items:center; justify-content:center; color:var(--green); }
.post-related-body { padding:12px 14px; }
.post-related-date { font-size:.72rem; color:var(--gray); margin-bottom:5px; }
.post-related-name { font-family:'Poppins',sans-serif; font-size:.85rem; font-weight:600; color:var(--dark); line-height:1.35; }
@media (max-width: 600px) {
  .post-related-grid { grid-template-columns: 1fr; }
  .single-hero-img { max-height: 220px; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-left { clip-path: none; padding: 60px 6%; }
  .hero-right { margin-left: 0; }
  .hero-slideshow { clip-path: none; min-height: 55vw; }
  .sambutan-inner { grid-template-columns: 1fr; gap: 32px; }
  .ks-photo-frame { max-width: 280px; margin: 0 auto; }
  .jurusan-grid { grid-template-columns: 1fr; }
  .keunggulan-grid { grid-template-columns: 1fr; }
  .peng-grid { grid-template-columns: 1fr; }
  .fasilitas-grid { grid-template-columns: repeat(2, 1fr); }
  .ekskul-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  section { padding: 60px 5%; }
  .fasilitas-grid { grid-template-columns: 1fr 1fr; }
  .ekskul-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .tau-acronym { flex-direction: column; gap: 16px; }
  .tau-card { padding: 28px 22px; }
  .tau-letter { font-size: 4.5rem; }
  .posts-grid { grid-template-columns: 1fr; }
}

/* ── BATAS MODERN MINIMALIST ELEGANT PRO ── */
  .divider-elegant {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 5%;
    background: var(--light); /* Background warna light/abu sangat muda agar tidak terlalu silau */
    height: 90px;
    position: relative;
    z-index: 20;
  }

  /* Garis yang memudar (Fading effect) */
  .divider-elegant .line {
    flex: 1;
    height: 2px;
    border-radius: 2px;
  }
  .divider-elegant .line.left {
    background: linear-gradient(90deg, rgba(245, 197, 24, 0) 0%, var(--gold) 100%);
  }
  .divider-elegant .line.right {
    background: linear-gradient(270deg, rgba(245, 197, 24, 0) 0%, var(--gold) 100%);
  }

  /* Ikon Bintang dengan animasi bernafas (glowing) */
  .divider-elegant .icon {
    color: var(--gold);
    width: 20px;
    height: 20px;
    animation: sparkleGlow 2s ease-in-out infinite alternate;
  }

  /* Teks dengan efek Gradasi */
  .divider-elegant .text {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.18em;
    background: linear-gradient(90deg, var(--green), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
  }

  /* Animasi untuk ikon */
  @keyframes sparkleGlow {
    0% { 
      transform: scale(0.9); 
      opacity: 0.7; 
      filter: drop-shadow(0 0 2px rgba(245, 197, 24, 0.3)); 
    }
    100% { 
      transform: scale(1.15); 
      opacity: 1; 
      filter: drop-shadow(0 0 8px rgba(245, 197, 24, 0.8)); 
    }
  }

  /* Responsif untuk layar HP agar teks tidak kebesaran */
  @media (max-width: 768px) {
    .divider-elegant .text {
      font-size: 0.85rem;
      letter-spacing: 0.1em;
    }
    .divider-elegant .icon {
      width: 16px;
      height: 16px;
    }
    .divider-elegant {
      gap: 10px;
      padding: 0 8%;
    }
  }
  