/* =====================================================
   KEMENTERIAN PEKERJAAN UMUM — Main Stylesheet
   Domain: kementerian-pu.org
   ===================================================== */

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

:root {
  /* Brand Colors */
  --navy:       #1A2B5F;
  --navy-dark:  #0F1A3D;
  --navy-light: #243580;
  --gold:       #F5A623;
  --gold-light: #FBD072;
  --gold-pale:  #FEF3D8;
  --white:      #FFFFFF;
  --off-white:  #F8F9FC;
  --text-dark:  #1C2340;
  --text-body:  #3D4460;
  --text-mute:  #6B7399;
  --border:     #DDE2F0;
  --success:    #1A7A4A;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;

  /* Spacing */
  --section-pad: 80px;
  --container:   1200px;
  --radius:      8px;
  --radius-lg:   16px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(26,43,95,0.08);
  --shadow-md:  0 4px 20px rgba(26,43,95,0.12);
  --shadow-lg:  0 8px 40px rgba(26,43,95,0.16);
}

/* ── 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);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }
ul { list-style: none; }

/* ── Container ──────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ─────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 700; }

p { max-width: 72ch; margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.lead { font-size: 1.15rem; color: var(--text-body); line-height: 1.8; }

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: #e09415;
  border-color: #e09415;
  color: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245,166,35,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
  transform: translateY(-1px);
}

/* ── Section Titles ─────────────────────────────── */
.section-title {
  text-align: center;
  margin-bottom: 56px;
}
.section-title .eyebrow {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  border-left: 3px solid var(--gold);
}
.section-title h2 { margin-bottom: 16px; }
.section-title p { max-width: 60ch; margin: 0 auto; color: var(--text-mute); }

/* ── Top Bar ────────────────────────────────────── */
.topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  padding: 7px 0;
  border-bottom: 2px solid var(--gold);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topbar a { color: rgba(255,255,255,0.75); }
.topbar a:hover { color: var(--gold); }
.topbar-links { display: flex; gap: 20px; align-items: center; }
.topbar-links span { opacity: 0.4; }

/* ── Header / Navbar ────────────────────────────── */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.navbar-brand img {
  height: 52px;
  width: auto;
}
.brand-text { display: flex; flex-direction: column; }
.brand-sub {
  font-size: 0.7rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: 6px;
  transition: all 0.2s;
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--navy);
  background: var(--off-white);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.nav-cta {
  margin-left: 12px;
  padding: 9px 20px;
  background: var(--navy);
  color: var(--white) !important;
  border-radius: var(--radius);
  font-size: 0.88rem;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--navy-dark) !important; }

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

/* ── Page Hero (Inner pages) ───────────────────── */
.page.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: var(--white);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::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.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; }
.page-hero .eyebrow {
  display: inline-block;
  background: rgba(245,166,35,0.2);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(245,166,35,0.3);
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 60ch; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.55);
  margin-top: 24px;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { opacity: 0.4; }

/* ── Hero Section (Homepage) ────────────────────── */
.hero {
  background-image: url("../images/hero-bg.png");
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #1e3a8a 100%);
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.hero::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.025'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-accent {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  background: linear-gradient(to bottom left, rgba(245,166,35,0.08), transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.4);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 24px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero .lead { color: rgba(255,255,255,0.8); margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat .number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.hero-stat .label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* ── Marquee / Ticker ───────────────────────────── */
.ticker {
  background: var(--gold);
  color: var(--navy-dark);
  padding: 10px 0;
  overflow: hidden;
  font-weight: 600;
  font-size: 0.88rem;
}
.ticker-inner {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
}
.ticker-inner span { flex-shrink: 0; }
.ticker-inner span::before { content: '◆ '; }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Program Cards ──────────────────────────────── */
.programs { padding: var(--section-pad) 0; background: var(--off-white); }
.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
  border-top: 4px solid var(--border);
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--gold);
}
.program-icon {
  width: 56px;
  height: 56px;
  background: var(--gold-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 18px;
}
.program-body { padding: 28px; }
.program-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.program-card p { font-size: 0.9rem; color: var(--text-mute); margin-bottom: 18px; }
.program-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.program-link:hover { color: var(--gold); }

/* ── Stats Band ─────────────────────────────────── */
.stats-band {
  background: var(--navy);
  padding: 60px 0;
  color: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item .num {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item .desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}

/* ── Berita / News ──────────────────────────────── */
.news { padding: var(--section-pad) 0; }
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}
.news-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
  background: var(--white);
  border: 1px solid var(--border);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.news-body { padding: 22px; }
.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-mute);
  margin-bottom: 10px;
}
.news-category {
  background: var(--gold-pale);
  color: var(--navy);
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
}
.news-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}
.news-card p { font-size: 0.88rem; color: var(--text-mute); margin-bottom: 16px; }
.read-more {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.read-more:hover { color: var(--gold); }

/* ── Layanan Publik Grid ────────────────────────── */
.layanan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.layanan-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.25s;
}
.layanan-item:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.layanan-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
}
.layanan-item h4 { font-size: 0.95rem; margin-bottom: 8px; }
.layanan-item p { font-size: 0.82rem; color: var(--text-mute); max-width: none; }

/* ── CTA Banner ─────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: rgba(245,166,35,0.07);
  border-radius: 50%;
  pointer-events: none;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.7); max-width: 52ch; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ─────────────────────────────────────── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 48px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 30ch; }
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
}
.footer-contact li .icon { flex-shrink: 0; font-style: normal; margin-top: 2px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 0.82rem;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.45); }
.footer-bottom-links a:hover { color: var(--gold); }

/* ── Article Content ────────────────────────────── */
.article-content {
  max-width: 800px;
}
.article-content h2 { margin: 2em 0 0.75em; }
.article-content h3 { margin: 1.5em 0 0.6em; }
.article-content p { margin-bottom: 1.25em; line-height: 1.8; }
.article-content ul, .article-content ol {
  margin: 0 0 1.5em 1.5em;
  list-style: disc;
}
.article-content ul li, .article-content ol li {
  margin-bottom: 0.5em;
  line-height: 1.7;
  font-size: 0.96rem;
}
.article-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 16px 24px;
  background: var(--gold-pale);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2em 0;
  font-style: italic;
  color: var(--navy);
}
.info-box {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 2em 0;
}
.info-box h4 { color: var(--navy); margin-bottom: 12px; }

/* ── Sidebar ─────────────────────────────────────── */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: var(--section-pad) 0;
}
.sidebar-widget {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 28px;
  border: 1px solid var(--border);
}
.sidebar-widget h4 {
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}
.sidebar-links { display: flex; flex-direction: column; gap: 8px; }
.sidebar-links a {
  font-size: 0.88rem;
  color: var(--text-body);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sidebar-links a:hover { color: var(--navy); }
.sidebar-links a:last-child { border-bottom: none; }

/* ── Table ───────────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1.5em 0;
}
.data-table th {
  background: var(--navy);
  color: var(--white);
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.85rem;
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.data-table tr:nth-child(even) td { background: var(--off-white); }
.data-table tr:hover td { background: var(--gold-pale); }

/* ── Badge / Tags ───────────────────────────────── */
.tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--gold-pale);
  color: var(--navy);
  border: 1px solid rgba(245,166,35,0.3);
}

/* ── Accordion ───────────────────────────────────── */
.accordion { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-header {
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.2s;
}
.accordion-header:hover { background: var(--off-white); }
.accordion-header .icon { font-size: 1.2rem; flex-shrink: 0; transition: transform 0.25s; }
.accordion-body {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-body);
  display: none;
}
.accordion-item.open .accordion-header .icon { transform: rotate(45deg); }
.accordion-item.open .accordion-body { display: block; }

/* ── Timeline ────────────────────────────────────── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -25px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--gold);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--gold-pale);
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.timeline-item h4 { margin-bottom: 6px; }
.timeline-item p { font-size: 0.9rem; max-width: none; }

/* ── Contact Form ────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,43,95,0.08);
}
textarea.form-control { resize: vertical; min-height: 140px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ── Alert / Notice ──────────────────────────────── */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 20px;
  border-left: 4px solid;
}
.alert-info { background: #EFF6FF; border-color: #3B82F6; color: #1E40AF; }
.alert-success { background: #F0FDF4; border-color: #22C55E; color: #166534; }
.alert-warning { background: var(--gold-pale); border-color: var(--gold); color: #92400E; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .layanan-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; }
  .topbar { display: none; }

  .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 12px 24px 24px; box-shadow: var(--shadow-md); border-top: 1px solid var(--border); }
  .nav-menu.open { display: flex; }
  .hamburger { display: flex; }
  .nav-link { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-link.active::after { display: none; }
  .nav-cta { width: 100%; justify-content: center; margin-top: 8px; margin-left: 0; }

  .hero {
  background-image: url("../images/hero-bg.png"); min-height: auto; padding: 80px 0 60px; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .programs-grid, .news-grid, .layanan-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.navbar-brand img[src=""],
.navbar-brand img:not([src]) {
  display: none;
}

/* Hero background image */
.hero-bg {
  background-image: url('../images/hero-bg.png');
  background-size: cover;
  background-position: center;
}

/* ── Logo & Image Fixes ──────────────────────────── */
.navbar-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--gold-pale);
}
.footer-brand img {
  background: transparent;
}
