/**
 * ============================================================
 *  TEMA WEBSITE - Company Profile Sekolah
 *  Elegan, modern, responsif (Bootstrap 5)
 * ============================================================
 */

:root {
  --brand: #1e3a8a;
  --brand-2: #0f766e;
  --brand-soft: rgba(30, 58, 138, .08);
  --ink: #0f172a;
  --muted: #64748b;
  --surface: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 40px -22px rgba(15, 23, 42, .35);
}

body {
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-weight: 800; letter-spacing: -.02em; }

a { text-decoration: none; transition: color .25s ease; }
a:hover { text-decoration: none; }

.text-brand { color: var(--brand) !important; }
.bg-brand { background: var(--brand) !important; }

/* ---------- NAVBAR ---------- */
.site-navbar {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, .06);
  transition: all .3s ease;
  z-index: 1030;
}
.site-navbar .navbar-brand {
  display: flex; align-items: center; gap: .65rem;
  font-weight: 800; font-size: 1.05rem; color: var(--brand);
}
.site-navbar .brand-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; display: grid; place-items: center;
  font-size: 1.15rem; box-shadow: 0 8px 18px -8px var(--brand);
}
.site-navbar .nav-link {
  font-weight: 600; font-size: .95rem; color: #334155;
  padding: .55rem .85rem !important; border-radius: 10px;
  position: relative;
}
.site-navbar .nav-link:hover { color: var(--brand); background: var(--brand-soft); }
.site-navbar .nav-link.active { color: #fff; background: var(--brand); }
.dropdown-item { font-weight: 600; font-size: .93rem; }
.dropdown-item:active { background: var(--brand); }

/* ---------- HERO ---------- */
.hero {
  position: relative; padding: 9rem 0 6rem;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(14, 116, 144, .35), transparent 60%),
    linear-gradient(135deg, var(--brand) 0%, #172b6b 55%, #0b1e52 100%);
  color: #fff; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 70px;
  background: var(--surface);
  clip-path: ellipse(75% 100% at 50% 100%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25);
  padding: .45rem 1rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
  backdrop-filter: blur(6px);
}
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.12; margin: 1.1rem 0; }
.hero .lead { color: rgba(255, 255, 255, .82); font-size: 1.08rem; max-width: 620px; }
.hero .blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35;
}
.hero .blob-1 { width: 320px; height: 320px; background: #22d3ee; top: -60px; right: 8%; }
.hero .blob-2 { width: 260px; height: 260px; background: #a78bfa; bottom: -40px; left: 6%; }

/* ---------- SECTION ---------- */
.section { padding: 4.5rem 0; }
.section-soft { background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%); }
.section-head { max-width: 720px; margin-bottom: 2.6rem; }
.section-kicker {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-2); background: rgba(15, 118, 110, .1);
  padding: .38rem .9rem; border-radius: 999px; margin-bottom: .9rem;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); margin-bottom: .7rem; }
.section-head p { color: var(--muted); font-size: 1.02rem; }

/* ---------- CARDS ---------- */
.card-lift {
  background: var(--surface); border: 1px solid rgba(15, 23, 42, .07);
  border-radius: var(--radius); overflow: hidden; height: 100%;
  transition: transform .35s ease, box-shadow .35s ease;
}
.card-lift:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card-lift .card-img { position: relative; overflow: hidden; aspect-ratio: 16/10; background: #e2e8f0; }
.card-lift .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card-lift:hover .card-img img { transform: scale(1.07); }
.card-lift .card-body { padding: 1.35rem; }
.card-lift .card-title { font-size: 1.08rem; font-weight: 800; margin-bottom: .55rem; }
.card-lift .card-title a { color: var(--ink); }
.card-lift .card-title a:hover { color: var(--brand); }
.card-lift .card-text { color: var(--muted); font-size: .94rem; }

.icon-tile {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-size: 1.4rem; flex: 0 0 auto;
  box-shadow: 0 12px 24px -14px var(--brand);
}
.icon-tile.soft { background: var(--brand-soft); color: var(--brand); box-shadow: none; }

.meta { font-size: .82rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.chip {
  display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand);
}

/* ---------- STATISTIK ---------- */
.stat-card {
  text-align: center; padding: 2rem 1.2rem; border-radius: var(--radius);
  background: #fff; border: 1px solid rgba(15, 23, 42, .07);
  transition: transform .3s ease, box-shadow .3s ease; height: 100%;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stat-card .stat-num { font-size: 2.5rem; font-weight: 800; color: var(--brand); line-height: 1; }
.stat-card .stat-label { color: var(--muted); font-weight: 600; margin-top: .55rem; font-size: .95rem; }

/* ---------- GALERI ---------- */
.galeri-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; background: #e2e8f0; cursor: pointer;
}
.galeri-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.galeri-item:hover img { transform: scale(1.08); }
.galeri-item .galeri-overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 1rem;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, .85));
  color: #fff; opacity: 0; transition: opacity .35s ease;
}
.galeri-item:hover .galeri-overlay { opacity: 1; }

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff; border-radius: 26px; padding: 3.2rem; position: relative; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(30, 58, 138, .7);
}
.cta-band::before {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); top: -110px; right: -60px;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }

/* ---------- TOMBOL ---------- */
.btn-brand {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; border: none; font-weight: 700; padding: .75rem 1.6rem;
  border-radius: 12px; box-shadow: 0 14px 26px -14px var(--brand);
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn-brand:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 30px -14px var(--brand); }
.btn-ghost-light {
  border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; font-weight: 700;
  padding: .75rem 1.6rem; border-radius: 12px; background: rgba(255, 255, 255, .08);
}
.btn-ghost-light:hover { background: #fff; color: var(--brand); }

/* ---------- HALAMAN (breadcrumb) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--brand) 0%, #172b6b 100%);
  color: #fff; padding: 7.5rem 0 3.4rem; position: relative; overflow: hidden;
}
.page-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: .6rem 0 0; }
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a { color: rgba(255, 255, 255, .75); }
.page-hero .breadcrumb-item.active { color: #fff; }

/* ---------- ARTIKEL ---------- */
.artikel-content { font-size: 1.05rem; line-height: 1.85; color: #1e293b; }
.artikel-content h2, .artikel-content h3 { margin-top: 1.8rem; }
.artikel-content img { border-radius: 14px; margin: 1rem 0; }
.artikel-content blockquote {
  border-left: 4px solid var(--brand); background: var(--brand-soft);
  padding: 1rem 1.3rem; border-radius: 0 12px 12px 0; font-style: italic;
}

/* ---------- FORM ---------- */
.form-control, .form-select {
  border-radius: 11px; border-color: #e2e8f0; padding: .72rem 1rem; font-size: .97rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--brand); box-shadow: 0 0 0 .22rem rgba(30, 58, 138, .14);
}
.form-label { font-weight: 700; font-size: .92rem; margin-bottom: .4rem; }

/* ---------- FOOTER ---------- */
.site-footer { background: #0b1220; color: #cbd5e1; padding: 4rem 0 0; margin-top: 4rem; }
.site-footer h6 { color: #fff; font-weight: 800; margin-bottom: 1.1rem; letter-spacing: .02em; }
.site-footer a { color: #94a3b8; font-size: .93rem; display: block; padding: .28rem 0; }
.site-footer a:hover { color: #fff; padding-left: 5px; }
.footer-bottom { border-top: 1px solid rgba(148, 163, 184, .16); margin-top: 2.8rem; padding: 1.4rem 0; font-size: .88rem; }
.social-link {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(148, 163, 184, .12); color: #cbd5e1; transition: all .3s ease;
}
.social-link:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }

/* ---------- MISC ---------- */
.img-placeholder {
  display: grid; place-items: center; background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
  color: #94a3b8; font-size: 1.8rem; width: 100%; height: 100%; min-height: 140px;
}
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand); color: #fff; border: none; display: grid; place-items: center;
  box-shadow: 0 14px 26px -12px var(--brand); opacity: 0; pointer-events: none;
  transform: translateY(12px); transition: all .3s ease; z-index: 999;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

@media (max-width: 767.98px) {
  .hero { padding: 7rem 0 4.5rem; }
  .section { padding: 3.2rem 0; }
  .cta-band { padding: 2.2rem 1.4rem; }
}



