/* ============================================================
   DISDIK JABAR — Main Stylesheet
   Palette: Navy #003580, Sky #0066CC, Teal #00A99D, Gold #F5A623, White #FFFFFF, Light #F0F5FF
   Typography: Inter (body), Poppins (headings)
   ============================================================ */

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

:root {
  --navy:   #003580;
  --sky:    #0066CC;
  --teal:   #009B8D;
  --gold:   #F5A623;
  --white:  #FFFFFF;
  --light:  #EEF4FF;
  --mist:   #F7F9FC;
  --text:   #1A2740;
  --muted:  #5A6A80;
  --border: #D6E2F0;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0,53,128,.10);
  --shadow-hover: 0 8px 36px rgba(0,53,128,.18);
  --transition: .22s cubic-bezier(.4,0,.2,1);
}

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

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: var(--sky); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.25;
  color: var(--navy);
}

/* ── UTILITY ── */
.container { width: 92%; max-width: 1200px; margin: 0 auto; }
.section   { padding: 72px 0; }
.section-sm{ padding: 48px 0; }
.text-center { text-align: center; }

.badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.badge-teal { background: var(--teal); color: var(--white); }
.badge-navy { background: var(--navy); color: var(--white); }

.section-title {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 48px;
  max-width: 640px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary   { background: var(--sky); color: var(--white); }
.btn-primary:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline   { background: transparent; border-color: var(--sky); color: var(--sky); }
.btn-outline:hover { background: var(--sky); color: var(--white); }
.btn-gold      { background: var(--gold); color: var(--navy); }
.btn-gold:hover{ background: #e0920f; color: var(--navy); transform: translateY(-2px); }
.btn-white     { background: var(--white); color: var(--navy); }
.btn-white:hover{ background: var(--light); color: var(--navy); transform: translateY(-2px); }

/* ── TOPBAR ── */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  font-size: .8rem;
  padding: 7px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: rgba(255,255,255,.8); }
.topbar a:hover { color: var(--gold); }

/* ── HEADER / NAV ── */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,53,128,.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand img { height: 52px; width: auto; }
.brand-text strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.brand-text span {
  font-size: .78rem;
  color: var(--muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-menu li a {
  display: block;
  padding: 8px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 6px;
  transition: all var(--transition);
}
.nav-menu li a:hover,
.nav-menu li a.active {
  background: var(--light);
  color: var(--navy);
}
.nav-cta { margin-left: 10px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .3s;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #004fa3 55%, #0066CC 100%);
  color: var(--white);
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='white' fill-opacity='0.06'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.hero-shape {
  position: absolute;
  right: -120px;
  top: -60px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0,169,157,.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: 680px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--gold);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.18;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 1.08rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 32px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 52px;
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.hero-stat span {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  display: block;
  margin-top: 4px;
}

/* ── BERITA CARD ── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.news-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: .8rem;
  color: var(--muted);
}
.news-card-meta .cat {
  background: var(--light);
  color: var(--sky);
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 12px;
}
.news-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
  flex: 1;
}
.news-card h3 a { color: inherit; }
.news-card h3 a:hover { color: var(--sky); }
.news-card p { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: var(--sky);
}
.read-more:hover { color: var(--navy); gap: 10px; }

/* Featured news (first card) */
.news-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr; }
.news-card.featured img { height: 100%; min-height: 280px; }

/* ── PROGRAM CARDS ── */
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.program-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.program-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--sky);
  transition: height var(--transition);
}
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.program-card:hover::before { height: 6px; background: var(--gold); }
.program-icon {
  width: 54px; height: 54px;
  background: var(--light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.6rem;
}
.program-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.program-card p  { font-size: .88rem; color: var(--muted); }

/* ── STATS STRIP ── */
.stats-strip {
  background: linear-gradient(90deg, var(--navy) 0%, #004fa3 100%);
  color: var(--white);
  padding: 48px 0;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
}
.stat-item p { font-size: .9rem; color: rgba(255,255,255,.75); margin-top: 6px; }

/* ── GALLERY STRIP ── */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.gallery-strip img {
  border-radius: var(--radius);
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform var(--transition);
}
.gallery-strip img:hover { transform: scale(1.04); }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--teal) 0%, #007f75 100%);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
.cta-banner p  { color: rgba(255,255,255,.82); margin-bottom: 32px; font-size: 1.05rem; }

/* ── BREADCRUMB ── */
.breadcrumb-bar {
  background: var(--light);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  font-size: .85rem;
}
.breadcrumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb span { color: var(--muted); }
.breadcrumb a { color: var(--sky); font-weight: 500; }
.breadcrumb a:hover { color: var(--navy); }

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--sky) 100%);
  color: var(--white);
  padding: 60px 0;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.7rem, 3.5vw, 2.6rem); margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,.8); max-width: 600px; font-size: 1.05rem; }

/* ── ARTICLE CONTENT ── */
.article-content { font-size: 1.02rem; line-height: 1.85; }
.article-content h2 { margin: 36px 0 14px; font-size: 1.45rem; }
.article-content h3 { margin: 28px 0 10px; font-size: 1.2rem; }
.article-content p  { margin-bottom: 18px; }
.article-content ul, .article-content ol {
  margin: 0 0 18px 22px;
}
.article-content li { margin-bottom: 8px; }
.article-content img { border-radius: var(--radius); margin: 24px 0; box-shadow: var(--shadow); }
.article-content blockquote {
  border-left: 4px solid var(--sky);
  padding: 14px 20px;
  margin: 24px 0;
  background: var(--light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--muted);
}

/* ── SIDEBAR ── */
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.sidebar-card h4 {
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 2px solid var(--light);
  padding-bottom: 10px;
  margin-bottom: 16px;
}
.sidebar-news-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.sidebar-news-item img { width: 72px; height: 56px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.sidebar-news-item h5 { font-size: .88rem; line-height: 1.35; }
.sidebar-news-item h5 a { color: var(--navy); }
.sidebar-news-item h5 a:hover { color: var(--sky); }
.sidebar-news-item span { font-size: .75rem; color: var(--muted); }

/* ── PROFILE / ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.about-img img { width: 100%; height: 400px; object-fit: cover; }
.visi-misi { display: grid; gap: 20px; }
.visi-misi-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 20px;
  border-left: 4px solid var(--sky);
}
.visi-misi-card h4 { font-size: 1rem; margin-bottom: 8px; color: var(--navy); }
.visi-misi-card p  { font-size: .9rem; color: var(--muted); }

/* ── TEAM CARD ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  padding: 28px 20px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 14px;
}
.team-card h4 { font-size: .98rem; margin-bottom: 4px; }
.team-card p  { font-size: .83rem; color: var(--muted); }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.contact-icon {
  width: 46px; height: 46px;
  background: var(--light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-info-item h4 { font-size: .95rem; margin-bottom: 4px; }
.contact-info-item p  { font-size: .88rem; color: var(--muted); }

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  margin-bottom: 16px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--sky);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.form-label { font-size: .88rem; font-weight: 600; display: block; margin-bottom: 6px; color: var(--navy); }

/* ── ACCORDION ── */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.accordion-btn {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 16px 20px;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-size: .97rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}
.accordion-btn:hover { background: var(--light); }
.accordion-btn.active { background: var(--light); }
.accordion-btn span { font-size: 1.2rem; transition: transform .3s; }
.accordion-btn.active span { transform: rotate(45deg); }
.accordion-body {
  display: none;
  padding: 16px 20px;
  font-size: .92rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
.accordion-body.open { display: block; }

/* ── TABLE ── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
thead { background: var(--navy); color: var(--white); }
thead th { padding: 14px 16px; text-align: left; font-family: 'Poppins', sans-serif; font-size: .88rem; }
tbody td { padding: 12px 16px; border-bottom: 1px solid var(--border); }
tbody tr:hover { background: var(--light); }
tbody tr:nth-child(even) { background: var(--mist); }
tbody tr:nth-child(even):hover { background: var(--light); }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand img { height: 48px; margin-bottom: 14px; }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.6); max-width: 260px; }
.footer-col h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: .93rem;
  color: var(--white);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h5::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 30px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.65); font-size: .88rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--navy); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 48px;
  padding: 20px 0;
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid  { grid-template-columns: 1fr; }
  .about-img   { max-height: 320px; }
  .news-card.featured { grid-column: auto; display: flex; flex-direction: column; }
  .news-card.featured img { height: 220px; }
}
@media (max-width: 768px) {
  .section { padding: 52px 0; }
  .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 16px; box-shadow: var(--shadow); }
  .nav-menu.open { display: flex; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 60px 0 70px; }
  .hero-stats { gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row   { grid-template-columns: 1fr 1fr; }
}
