/* ============================================================
   GLOBAL RESET & VARIABLES
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue:    #3d47c9;
  --blue-dk: #1a237e;
  --banner:  #2609aa;
  --red:     #c62828;
  --green:   #388e3c;
  --dark:    #0d0d0d;
  --bg:      #f4f8ff;
  --bg-alt:  #e8f5ff;
  --text:    #111;
  --muted:   #666;
  --border:  #e4eaf5;
  --radius:  10px;
  --text-muted: rgba(255,255,255,0.65);
}
body {
  font-family: "Open Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.8;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 48px 0; }


/* ============================================================
   HEADER TOP
   ============================================================ */
.header-top { background: #fff; padding: 18px 0; border-bottom: 1px solid #e8eaf0; }
.header-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo-wrap { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.logo-badge {
  width: 78px; height: 78px; border-radius: 50%; flex-shrink: 0;
  overflow: hidden; border: 3px solid #dde2f0;
  box-shadow: 0 2px 10px rgba(26,35,126,0.18);
  background: linear-gradient(135deg, #1a237e 0%, #c62828 100%);
  display: flex; align-items: center; justify-content: center;
}
.logo-badge svg { width: 100%; height: 100%; display: block; }
.logo-text-block { display: flex; flex-direction: column; }
.logo-text-block .school-name { font-size: 28px; font-weight: 800; color: var(--blue-dk); line-height: 1.15; }
.logo-text-block .school-sub  { font-size: 14px; font-weight: 700; color: var(--red); line-height: 1.4; }
.logo-text-block .school-acc  { font-size: 13px; font-weight: 700; color: var(--blue-dk); line-height: 1.4; }

.header-contacts { display: flex; align-items: center; gap: 32px; }
.contact-item { display: flex; align-items: center; gap: 13px; }
.contact-icon {
  width: 46px; height: 46px; border-radius: 50%; background: var(--green);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(56,142,60,0.35);
}
.contact-icon i { color: #fff; font-size: 18px; }
.contact-info .lbl { font-size: 11.5px; color: #999; font-weight: 500; display: block; }
.contact-info .val { font-size: 14px; font-weight: 700; color: #111; display: block; }


/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background: #fff; border-top: 3px solid #dee4f0;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08); position: relative; z-index: 100;
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; }

.navbar-inner ul{
    padding-left: 0;
    margin-bottom:0;
}

.nav-links { display: flex; list-style: none; align-items: center; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 17px 13px; font-size: 13.5px; font-weight: 600; color: #2b2b2b;
  border-bottom: 3px solid transparent; white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.nav-links > li > a:hover,
.nav-links > li.active > a { color: var(--blue-dk); }
.nav-links > li > a .fa-chevron-down { font-size: 9px; opacity: .5; transition: transform .22s; }
.nav-links > li:hover > a .fa-chevron-down { transform: rotate(180deg); opacity: .8; }

.drop-menu {
  position: absolute; top: 100%; left: 0; background: #fff;
  min-width: 210px; list-style: none;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  border-top: 3px solid var(--blue-dk); border-radius: 0 0 8px 8px;
  z-index: 999; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-links > li:hover .drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.drop-menu li a {
  display: block; padding: 10px 18px; font-size: 13px; font-weight: 500;
  color: #333; border-bottom: 1px solid #f0f4fa; transition: all .18s;
}
.drop-menu li:last-child a { border-bottom: none; }
.drop-menu li a:hover { background: #f0f4fa; color: var(--blue-dk); padding-left: 23px; }

.btn-spmb {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px; background: #1713ec; color: #fff;
  border-radius: 24px; font-size: 13.5px; font-weight: 700;
  white-space: nowrap; flex-shrink: 0; transition: background .2s, transform .15s;
}
.btn-spmb:hover { background: #2609aa; transform: translateY(-1px); color: #fff; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
}
.hamburger span { display: block; width: 26px; height: 2.5px; background: var(--blue-dk); border-radius: 2px; transition: all .3s; }


/* ============================================================
   SIDEBAR (mobile nav)
   ============================================================ */
.sidebar-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.45); z-index: 998; backdrop-filter: blur(2px);
}
.sidebar-overlay.open { display: block; }

.sidebar {
  position: fixed; top: 0; right: -420px;
  width: 390px; max-width: 100%; height: 100%;
  visibility: hidden; background: #fff; z-index: 999; overflow-y: auto;
  transition: right .32s cubic-bezier(.4,0,.2,1), visibility .32s;
  box-shadow: -4px 0 30px rgba(0,0,0,.15);
  display: flex; flex-direction: column;
}
.sidebar.open { right: 0; visibility: visible; }

.sidebar-head {
  padding: 16px 20px; display: flex; align-items: center;
  justify-content: space-between; border-bottom: 1px solid #eef0f5; flex-shrink: 0;
}
.sb-logo { display: flex; align-items: center; gap: 12px; }
.sb-logo-img {
  width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-dk) 0%, var(--red) 100%);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #dde2f0; overflow: hidden;
}
.sb-logo-img svg { width: 100%; height: 100%; }
.sb-logo-text .name  { font-size: 15px; font-weight: 800; color: var(--blue-dk); }
.sb-logo-text .sub   { font-size: 11px; font-weight: 700; color: var(--red); }
.sb-logo-text .badge { font-size: 10.5px; font-weight: 700; color: var(--blue-dk); }

.sb-close {
  width: 34px; height: 34px; border-radius: 50%; background: #f0f4fa;
  border: none; cursor: pointer; display: flex; align-items: center;
  justify-content: center; color: #555; font-size: 15px; flex-shrink: 0;
  transition: background .2s, color .2s;
}
.sb-close:hover { background: #e0e6f0; color: var(--blue-dk); }

.sidebar-nav { padding: 4px 0; flex: 1; }
.sidebar-nav ul { list-style: none; }
.sidebar-nav > ul > li { border-bottom: 1px solid #f2f4f8; }
.sidebar-nav > ul > li > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; font-size: 14px; font-weight: 600; color: #1a1a2e;
  transition: color .18s, background .18s;
}
.sidebar-nav > ul > li > a:hover { color: var(--blue-dk); background: #f7f9fd; }
.sidebar-nav > ul > li.active > a { color: var(--blue-dk); }

.sb-chev { font-size: 11px; color: #aaa; transition: transform .25s; }
.sidebar-nav > ul > li.open > a .sb-chev { transform: rotate(180deg); color: var(--blue-dk); }

.sidebar-sub { display: none; background: #f7f9fd; border-top: 1px solid #eef0f5; list-style: none; }
.sidebar-nav > ul > li.open > .sidebar-sub { display: block; }
.sidebar-sub li a {
  display: block; padding: 11px 20px 11px 32px;
  font-size: 13.5px; color: #555; border-bottom: 1px solid #eef0f5; transition: all .18s;
}
.sidebar-sub li:last-child a { border-bottom: none; }
.sidebar-sub li a:hover { color: var(--blue-dk); background: #edf1fb; padding-left: 36px; }

.sidebar-footer { padding: 16px 20px 28px; border-top: 1px solid #eef0f5; flex-shrink: 0; }
.sidebar-footer .btn-spmb {
  display: flex; justify-content: center; width: 100%; padding: 13px; font-size: 14px; border-radius: 8px;
}
/* ── SIDEBAR NAV LINK (button accordion) ── */
.snav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  background: none;
  border: none;
  border-bottom: 1px solid #f2f4f8;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: color .18s, background .18s;
}
.snav-link:hover {
  color: var(--blue-dk);
  background: #f7f9fd;
}

/* ── SIDEBAR NAV ITEM (a tag — tanpa submenu) ── */
.sidebar-nav > ul > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  border-bottom: 1px solid #f2f4f8;
  transition: color .18s, background .18s;
}
.sidebar-nav > ul > li > a:hover {
  color: var(--blue-dk);
  background: #f7f9fd;
}

/* ── SIDEBAR SUBMENU ── */
.sidebar-sub {
  display: none;
  background: #f7f9fd;
  border-top: 1px solid #eef0f5;
  list-style: none;
}
.sidebar-nav > ul > li.open > .sidebar-sub {
  display: block;
}
.sidebar-sub li a {
  display: block;
  padding: 11px 20px 11px 32px;
  font-size: 13.5px;
  color: #555;
  border-bottom: 1px solid #eef0f5;
  transition: all .18s;
}
.sidebar-sub li:last-child a {
  border-bottom: none;
}
.sidebar-sub li a:hover {
  color: var(--blue-dk);
  background: #edf1fb;
  padding-left: 36px;
}

/* ── CHEVRON ICON ── */
.sb-chev {
  font-size: 11px;
  color: #aaa;
  transition: transform .25s;
  pointer-events: none;
}
.sidebar-nav > ul > li.open .sb-chev {
  transform: rotate(180deg);
  color: var(--blue-dk);
}

/* ── HAPUS border li yang tidak perlu ── */
.sidebar-nav > ul > li {
  border-bottom: none;
}

/* ============================================================
   HOMEPAGE — SECTION HEADS & GENERAL BUTTONS
   ============================================================ */
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 12px; margin-bottom: 24px; flex-wrap: wrap;
}
.sec-head-left h2 { font-size: 22px; font-weight: 800; color: var(--text); }
.sec-head-left p  { font-size: 14px; color: var(--muted); margin-top: 3px; }

.btn-more {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 10px; background: #1713ec; color: #fff;
  border-radius: 8px; font-size: 13.5px; font-weight: 700;
  white-space: nowrap; flex-shrink: 0; transition: background .2s, transform .15s;
}
.btn-more:hover { background: #2609aa; transform: translateY(-1px); }


/* ============================================================
   HOMEPAGE — GENERIC CAROUSEL
   ============================================================ */
.slider-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 12px; margin-bottom: 20px;
}
.slider-arrows { display: flex; gap: 8px; align-items: center; }
.arr-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid #b0bcd8; background: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #4a5580; font-size: 13px;
  transition: background .2s, border-color .2s, color .2s; flex-shrink: 0;
}
.arr-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.arr-btn:disabled { opacity: 0.35; cursor: default; }

.slide-viewport { overflow: hidden; position: relative; }
.slide-track {
  display: flex; gap: 16px;
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}


/* ============================================================
   HOMEPAGE — HERO SLIDER
   ============================================================ */
.hero-content {
  position: absolute;
  bottom: 170px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  z-index: 10;
  color: #fff;
}

.hero-content h2 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.6;
}
.hero-wrapper { position: relative; }
.hero-slider { position: relative; width: 100%; height: 500px; overflow: hidden; background: #1a237e; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 0.8s ease; background-size: cover; background-position: center;
}
.hero-slide.active { opacity: 1; }
.slide-1 { background: linear-gradient(160deg, #263238 0%, #546e7a 50%, #78909c 100%); }
.slide-2 { background: linear-gradient(160deg, #1a237e 0%, #3949ab 50%, #7986cb 100%); }
.slide-3 { background: linear-gradient(160deg, #1b5e20 0%, #388e3c 50%, #81c784 100%); }
.hero-slider::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.25));
  pointer-events: none; z-index: 1;
}
.hero-arrows {
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  display: flex;
  gap: 10px;
  z-index: 10;
}
.hero-arrow-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.7); background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px); color: #fff; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s;
  position: relative;  /* ← tambahkan ini */
  z-index: 11; 
}
.hero-arrow-btn:hover { background: rgba(255,255,255,0.35); }
.hero-dots {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.hero-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.45); cursor: pointer;
  transition: background .2s, transform .2s;
}
.hero-dot.active { background: #fff; transform: scale(1.3); }


/* ============================================================
   HOMEPAGE — WELCOME CARD
   ============================================================ */
.welcome-outer { position: relative; z-index: 20; margin-top: -90px; padding: 0 24px; }
.welcome-card {
  max-width: 1180px; margin: 0 auto; background: #fff; border-radius: 18px;
  padding: 30px 36px; display: grid; grid-template-columns: 1fr 1px 1fr;
  box-shadow: 0 8px 40px rgba(0,0,0,0.13);
}
.welcome-left { display: flex; align-items: flex-start; gap: 22px; padding-right: 44px; }
.principal-photo {
  width: 115px; height: 115px; border-radius: 50%; flex-shrink: 0;
  background: #d0dff0; border: 4px solid #e8f0fb;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.principal-photo i { font-size: 44px; color: #aab8cc; }
.welcome-text h3 { font-size: 19px; font-weight: 800; margin-bottom: 5px; }
.welcome-text .name { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.welcome-text p { 
    font-size: 13.5px; 
    color: var(--muted); 
    line-height: 1.7; 
    margin-bottom: 18px; 
     display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}
.divider-v { width: 1px; background: #e5e9f5; align-self: stretch; }
.welcome-right { padding-left: 44px; display: flex; flex-direction: column; justify-content: center; }
.welcome-right h3 { font-size: 19px; font-weight: 800; margin-bottom: 26px; }
.stats-row { display: flex; align-items: center; }
.stat-box { flex: 1; text-align: center; padding: 0 16px; border-right: 1px solid #e0e5f0; }
.stat-box:last-child { border-right: none; }
.stat-box .num { font-size: 46px; font-weight: 800; line-height: 1; }
.stat-box .lbl { font-size: 11px; font-weight: 700; color: var(--muted); margin-top: 5px; letter-spacing: 0.07em; }


/* ============================================================
   HOMEPAGE — AGENDA
   ============================================================ */
.agenda-card {
  background: #ddeaf8; border-radius: var(--radius); padding: 18px 18px 16px;
  display: flex; flex-direction: column; gap: 10px; flex: 0 0 calc(33.333% - 11px);
}
.agenda-card-top { display: flex; align-items: center; gap: 14px; }
.agenda-icon {
  width: 46px; height: 46px; border-radius: 10px; background: var(--blue);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.agenda-icon i { color: #fff; font-size: 20px; }
.agenda-card-top h4 { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.4; }
.agenda-card hr { border: none; border-top: 1.5px solid #c0d4ec; }
.agenda-card .date { font-size: 13px; color: var(--muted); font-weight: 500; }


/* ============================================================
   HOMEPAGE — NEWS CARDS (slider)
   ============================================================ */
.section-news { background: var(--bg-alt); }
.news-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform .2s, box-shadow .2s;
  flex: 0 0 calc(33.333% - 14px);
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.news-img {
  width: 100%; height: 200px; background: #c5d5e8;
  display: flex; align-items: center; justify-content: center;
}
.news-img i { font-size: 40px; color: #8fa8c4; }
.news-body { padding: 16px 18px 20px; }
.news-date { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.news-body h3 { font-size: 14px; font-weight: 700; line-height: 1.5; text-transform: uppercase; }


/* ============================================================
   HOMEPAGE — STAFF (slider)
   ============================================================ */
.staff-card { text-align: center; flex: 0 0 calc(20% - 13px); }
.staff-photo {
  width: 100%; aspect-ratio: 3/4; border-radius: 10px;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px; position: relative; background: #c5d5e8;
}
.staff-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.staff-photo .gonzaga-bg { position: absolute; inset: 0; background: linear-gradient(145deg, #1565c0 55%, #e8ecf5 55%); }
.staff-photo .gonzaga-text {
  position: absolute; right: -8px; top: 0; bottom: 0;
  display: flex; align-items: center; font-size: 26px; font-weight: 900;
  color: rgba(255,255,255,0.18); letter-spacing: -1px;
  writing-mode: vertical-rl; text-orientation: mixed; user-select: none;
}
.staff-photo .no-photo {
  position: relative; z-index: 1; background: #e0e8f0;
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; color: #9aabb8; font-size: 12px; gap: 8px;
}
.staff-photo .no-photo i { font-size: 28px; }
.staff-card h4 { font-size: 13px; font-weight: 700; line-height: 1.4; }
.staff-card span { font-size: 12px; color: var(--muted); }


/* ============================================================
   HOMEPAGE — PROGRAM KEAHLIAN
   ============================================================ */
.section-program { background: var(--bg-alt); }
.program-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.program-card { border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; height: 230px; }
.program-label { background: #2609aa; padding: 24px 22px; display: flex; align-items: center; }
.program-label h3 { font-size: 17px; font-weight: 800; color: #fff; line-height: 1.35; }
.program-photo { background: #b0c4d8; display: flex; align-items: center; justify-content: center; }
.program-photo i { font-size: 36px; color: #7a9ab8; }


/* ============================================================
   HOMEPAGE — FASILITAS (slider)
   ============================================================ */
.facility-card {
  border-radius: var(--radius); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; height: 230px;
  flex: 0 0 calc(50% - 8px);
}
.facility-photo { background: #b5c8dc; display: flex; align-items: center; justify-content: center; }
.facility-photo i { font-size: 32px; color: #7a9ab8; }
.facility-label { background: #2609aa; display: flex; align-items: center; justify-content: center; padding: 20px; }
.facility-label h3 { font-size: 18px; font-weight: 800; color: #fff; text-align: center; }


/* ============================================================
   HOMEPAGE — EKSKUL (slider)
   ============================================================ */
.ekskul-card { text-align: center; flex: 0 0 calc(33.333% - 14px); }
.ekskul-photo {
  width: 100%; height: 200px; border-radius: var(--radius);
  background: #b5c8dc; display: flex; align-items: center; justify-content: center; margin-bottom: 10px;
}
.ekskul-photo i { font-size: 38px; color: #7a9ab8; }
.ekskul-card h4 { font-size: 14px; font-weight: 700; }


/* ============================================================
   HOMEPAGE — TESTIMONI (slider)
   ============================================================ */
.testi-card {
  background: #fff; border-radius: var(--radius); padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06); flex: 0 0 calc(33.333% - 14px);
}
.testi-card .quote-icon { font-size: 44px; color: #d0dcf5; font-family: Georgia, serif; line-height: 1; margin-bottom: 6px; }
.testi-stars { color: #f5a623; font-size: 13px; margin-bottom: 10px; }
.testi-card p { font-size: 13.5px; color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.testi-footer { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: #d0dff0;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.testi-avatar img {
    border-radius: 50%;
}
.testi-avatar i { font-size: 20px; color: #8fa8c4; }
.testi-name { font-size: 13.5px; font-weight: 700; }
.testi-role { font-size: 12px; color: var(--muted); }


/* ============================================================
   PAGE BANNER (inner pages)
   ============================================================ */
.page-banner { width: 100%; background: var(--banner); padding: 48px 40px; }
.banner-inner { max-width: 1180px; margin: 0 auto; }
.banner-title {
  font-size: 32px; font-weight: 800; color: #fff;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; line-height: 1.3;
}
.banner-breadcrumb {
  display: flex; align-items: center; gap: 8px; font-size: 12.5px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; flex-wrap: wrap;
}
.banner-breadcrumb a { color: rgba(255,255,255,0.7); transition: color .18s; }
.banner-breadcrumb a:hover { color: #fff; }
.banner-breadcrumb .sep { color: rgba(255,255,255,0.4); font-size: 10px; }
.banner-breadcrumb .current { color: rgba(255,255,255,0.7); }


/* ============================================================
   INNER PAGE LAYOUT
   ============================================================ */
.page-wrap { max-width: 1180px; margin: 0 auto; padding: 40px 24px 64px; }
.row { display: grid; grid-template-columns: 8fr 4fr; gap: 28px; align-items: start; }


/* ============================================================
   PAGINATION (shared)
   ============================================================ */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; }
.page-btn {
  width: 36px; height: 36px; border-radius: 6px; border: 1.5px solid var(--border);
  background: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 13.5px; font-weight: 600; color: var(--text);
  cursor: pointer; font-family: inherit; transition: background .18s, border-color .18s, color .18s;
}
.page-btn:hover { background: #eef2ff; border-color: var(--blue); color: var(--blue); }
.page-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.page-btn.arrow { font-size: 12px; color: var(--muted); }
.page-btn:disabled { opacity: .4; cursor: default; pointer-events: none; }


/* ============================================================
   SIDEBAR WIDGETS (shared)
   ============================================================ */
.sidebar-box {
  background: #fff; border-radius: var(--radius); margin-bottom: 10px;
  padding: 20px 20px 16px; box-shadow: 0 2px 14px rgba(0,0,0,0.06);
}
.sidebar-box h3 {
  font-size: 15px; font-weight: 800; color: var(--text);
  padding-bottom: 10px; border-bottom: 2px solid var(--border); margin-bottom: 12px;
}
.art-list { list-style: none; padding-left:10px;}
.kat-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 13.5px;
}
.kat-list li:last-child { border-bottom: none; }
.kat-list li a { color: var(--blue); font-weight: 500; }
.kat-count { font-size: 12px; color: #999; }

.art-list { list-style: none; padding-left:10px;}
.art-item { padding: 10px 0; border-bottom: 1px dashed var(--border); display: flex; gap: 10px; align-items: flex-start; }
.art-item:last-child { border-bottom: none; }
.art-thumb { width: 54px; height: 54px; border-radius: 6px; background: #dde6f0; flex-shrink: 0; overflow: hidden; }
.art-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-info { flex: 1; min-width: 0; }
.art-info a {
  display: -webkit-box; font-size: 12px; font-weight: 700; color: var(--blue);
  line-height: 1.5; margin-bottom: 3px; text-transform: uppercase;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.art-info a:hover { text-decoration: underline; }
.art-date { font-size: 11px; color: #999; }


/* ============================================================
   DAFTAR BERITA (grid page)
   ============================================================ */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 36px; }

/* news-card in list context */
.row .news-card {
  flex: unset; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07); transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.row .news-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.12); }
.news-thumb { width: 100%; aspect-ratio: 16/10; overflow: hidden; background: #dde6f0; flex-shrink: 0; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.row .news-card:hover .news-thumb img { transform: scale(1.04); }

.news-body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.news-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.news-date { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.news-date i { font-size: 10px; }
.news-category {
  font-size: 11px; font-weight: 700; background: #eef2ff; color: var(--blue);
  padding: 2px 9px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.4px;
}
.news-title {
  font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.row .news-card:hover .news-title { color: var(--blue); }
.news-excerpt {
  font-size: 13px; color: var(--muted); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-read { margin-top: auto; font-size: 12.5px; font-weight: 700; color: var(--blue); display: flex; align-items: center; gap: 5px; }
.news-read i { font-size: 10px; transition: transform .18s; }
.row .news-card:hover .news-read i { transform: translateX(3px); }


/* ============================================================
   DETAIL BERITA
   ============================================================ */
.article-box { background: #fff; border-radius: var(--radius); box-shadow: 0 2px 14px rgba(0,0,0,0.06); overflow: hidden; }
.article-meta {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 16px 28px; border-bottom: 1px solid var(--border); font-size: 12.5px; color: var(--muted);
}
.article-meta span { display: flex; align-items: center; gap: 6px; }
.article-meta i { font-size: 11px; color: var(--blue); }
.article-meta .cat-badge {
  background: #eef2ff; color: var(--blue); padding: 2px 10px;
  border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase;
}
.share-group { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.share-label { font-size: 12px; color: var(--muted); font-weight: 600; }
.share-btn {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #fff; cursor: pointer; transition: opacity .18s;
}
.share-btn:hover { opacity: .82; }
.share-btn.fb { background: #1877f2; }
.share-btn.wa { background: #25d366; }
.share-btn.tg { background: #0088cc; }

.article-cover { width: 100%; background: #dde6f0; overflow: hidden; border-radius: 5%; margin-bottom: 10px; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-body { padding: 28px 0 36px; }
.article-headline { font-size: 22px; font-weight: 800; color: var(--text); line-height: 1.4; margin-bottom: 20px; }
.article-content p { font-size: 14.5px; color: #444; line-height: 1.85; margin-bottom: 18px; }
.article-content p:last-child { margin-bottom: 0; }

.article-tags {
  margin-top: 28px; padding-top: 20px; border-top: 1px dashed var(--border);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.tags-label { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.tag {
  font-size: 12px; font-weight: 600; background: #f0f4ff; color: var(--blue);
  padding: 4px 12px; border-radius: 20px; border: 1px solid #dce4ff; transition: background .15s;
}
.tag:hover { background: #dce4ff; }

.related-section { margin-top: 36px; }
.related-title {
  font-size: 16px; font-weight: 800; color: var(--text);
  padding-bottom: 12px; border-bottom: 2px solid var(--border); margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.related-title i { color: var(--blue); font-size: 14px; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.related-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06); transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.related-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,0.11); }
.related-thumb { width: 100%; aspect-ratio: 16/9; background: #dde6f0; overflow: hidden; flex-shrink: 0; }
.related-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.related-card:hover .related-thumb img { transform: scale(1.05); }
.related-body { padding: 14px 16px 18px; flex: 1; display: flex; flex-direction: column; gap: 7px; }
.related-date { font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.related-date i { font-size: 10px; color: var(--blue); }
.related-card-title {
  font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.related-card:hover .related-card-title { color: var(--blue); }
.related-read { margin-top: auto; font-size: 12px; font-weight: 700; color: var(--blue); display: flex; align-items: center; gap: 4px; }
.related-read i { font-size: 9px; transition: transform .18s; }
.related-card:hover .related-read i { transform: translateX(3px); }


/* ============================================================
   SEJARAH / STATIC CONTENT
   ============================================================ */
.main-content {
  background: #fff; border-radius: var(--radius);
  padding: 36px 40px; box-shadow: 0 2px 14px rgba(0,0,0,0.06);
}
.content-title {
  font-size: 20px; font-weight: 800; color: var(--text);
  margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--border);
}
.content-body p { color: var(--muted); margin-bottom: 16px; }
.content-body p:last-child { margin-bottom: 0; }


/* ============================================================
   STAF PENGAJAR (grid page)
   ============================================================ */
.staff-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-bottom: 48px; }
.staff-grid .staff-card { flex: unset; text-align: center; }
.staff-grid .staff-photo {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform .2s, box-shadow .2s;
}
.staff-grid .staff-card:hover .staff-photo { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.13); }
.staff-name { font-size: 14px; font-weight: 700; line-height: 1.4; margin-bottom: 3px; }
.staff-role { font-size: 12.5px; color: var(--muted); }


/* ============================================================
   KONTAK
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 36px; }
.contact-card { background: #fff; border-radius: var(--radius); box-shadow: 0 2px 14px rgba(0,0,0,0.07); overflow: hidden; }
.card-header { padding: 18px 24px 14px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.card-header-icon { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.card-header-icon.blue { background: #eef2ff; color: var(--blue); }
.card-header-icon.green { background: #e8f5e9; color: var(--green); }
.card-header h3 { font-size: 15px; font-weight: 800; color: var(--text); }

.info-list { list-style: none; }
.info-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 24px; border-bottom: 1px solid var(--border); transition: background .15s;
}
.info-item:last-child { border-bottom: none; }
.info-item:hover { background: #f8f9ff; }
.info-icon {
  width: 36px; height: 36px; border-radius: 8px; background: #f0f4ff; color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; margin-top: 1px;
}
.info-body { flex: 1; min-width: 0; }
.info-label { font-size: 11px; font-weight: 600; color: #aaa; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 2px; }
.info-value { font-size: 14px; font-weight: 500; color: var(--text); word-break: break-word; }
.info-value a { color: var(--blue); }
.info-value a:hover { text-decoration: underline; }

.section-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--blue); margin-bottom: 14px; }
.map-section { border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 14px rgba(0,0,0,0.08); }
.map-section iframe { display: block; width: 100%; height: 400px; border: none; }


/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--dark); color: #00000; padding: 52px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo-img {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dk) 40%, var(--red) 100%);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.footer-logo-img svg { width: 44px; height: 44px; }
.footer-logo-text-block .school-name  { font-size: 19px; font-weight: 800; color: #fff; }
.footer-logo-text-block .school-sub   { font-size: 12px; font-weight: 700; color: var(--red); }
.footer-logo-text-block .school-badge { font-size: 11.5px; font-weight: 700; color: rgba(255,255,255,0.7); }
.footer-desc { font-size: 13px; line-height: 1.85; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.footer-social-label { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 6px; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 15px; transition: background .2s, transform .2s;
}
.footer-socials a:hover { background: var(--blue-dk); transform: translateY(-2px); }
.footer-links h3 {
  font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 18px;
  padding-bottom: 10px; border-bottom: 2px solid rgba(255,255,255,0.12);
}
.footer-links ul { list-style: none; padding-left:0;}
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { font-size: 13px; color: rgba(255,255,255,0.6); transition: color .2s, padding-left .2s; }
.footer-links ul li a:hover { color: #fff; padding-left: 4px; }
.footer-bottom { background: #eee; padding: 16px 0; font-size: 12.5px; text-align: center; }
.footer-bottom .container { display: flex; align-items: center; justify-content: center; text-align: center; gap: 6px; flex-wrap: wrap; }
.footer-bottom a { color: #2609aa; }
.footer-bottom a:hover { color: var(--dark); }


/* ============================================================
   WA FLOAT BUTTON
   ============================================================ */
.wa-float { position: fixed; bottom: 24px; left: 24px; z-index: 997; }
.wa-btn {
  display: flex; align-items: center; gap: 8px; background: #25d366; color: #fff;
  padding: 12px 20px; border-radius: 50px; font-weight: 700; font-size: 13.5px;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4); transition: all .3s;
}
.wa-btn:hover { background: #128c7e; transform: translateY(-2px); color: #fff; }
.wa-btn i { font-size: 20px; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1060px) {
  .nav-links > li > a { padding: 17px 9px; font-size: 12.5px; }
  .btn-spmb { padding: 10px 14px; font-size: 12.5px; }
}
@media (max-width: 960px) {
  .row { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2,1fr); }
  .staff-grid { grid-template-columns: repeat(3,1fr); gap: 20px; }
  .banner-title { font-size: 26px; }
  .page-banner { padding: 38px 24px; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .btn-spmb-desktop { display: none !important; }
  .hamburger { display: flex; }
  .hero-slider { height: 360px; }
  .welcome-outer { margin-top: -60px; }
  .welcome-card { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .divider-v { display: none; }
  .welcome-left { padding-right: 0; }
  .welcome-right { padding-left: 0; }
  .agenda-card  { flex-basis: calc(50% - 8px); }
  .news-card    { flex-basis: calc(50% - 8px); }
  .staff-card   { flex-basis: calc(25% - 12px); }
  .facility-card { flex-basis: 100%; }
  .ekskul-card  { flex-basis: calc(50% - 8px); }
  .testi-card   { flex-basis: calc(50% - 8px); }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-about { grid-column: span 2; }
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .hero-content {
    left: 0;
    transform: none;
    max-width: 100%;
    padding: 0 16px;
    bottom: 80px;
  }

  .hero-content-inner {
    max-width: 100%;
  }

  .hero-content h2 {
    font-size: 24px;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 13px;
  }

  /* FIX ARROW */
  .hero-arrows {
    position: absolute;
      bottom: 110px;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      max-width: 1200px;
      padding: 0 20px;
      display: flex;
      gap: 10px;
      z-index: 10;
  }
  .logo-text-block .school-name { font-size: 22px; }
  .logo-badge { width: 64px; height: 64px; }
  .header-contacts { gap: 16px; }
  .contact-info .val { font-size: 12.5px; }
  .hero-slider { height: 260px; }
  .welcome-outer { margin-top: -40px; padding: 0 16px; }
  .welcome-card { padding: 20px; }
  .welcome-left { flex-direction: column; align-items: flex-start; }
  .hero-arrows { left: 20px; }
  .agenda-card  { flex-basis: 100%; }
  .news-card    { flex-basis: 100%; }
  .staff-card   { flex-basis: calc(50% - 8px); }
  .ekskul-card  { flex-basis: calc(50% - 8px); }
  .testi-card   { flex-basis: 100%; }
  .related-grid { grid-template-columns: 1fr; }
  .article-meta { gap: 10px; }
  .share-group  { margin-left: 0; }
  .article-body { padding: 20px 18px 28px; }
  .article-headline { font-size: 18px; }
  .news-grid { grid-template-columns: 1fr; }
  .banner-title { font-size: 22px; }
  .page-banner  { padding: 30px 20px; }
  .staff-grid   { grid-template-columns: repeat(2,1fr); gap: 14px; }
}
@media (max-width: 520px) {
  .main-content { padding: 24px 20px; }
  .map-section iframe { height: 300px; }
}
@media (max-width: 480px) {
  .header-contacts { display: none; }
  .footer-grid  { grid-template-columns: 1fr; gap: 28px; padding-bottom: 28px; }
  .footer-about { grid-column: auto; }
  .footer-logo-text-block .school-name { font-size: 17px; }
  .wa-btn span  { display: none; }
  .wa-btn { padding: 14px; border-radius: 50%; }
}

.navbar>.container{
    display: block;
}


.table-profile tr {
    border-bottom: 1px solid #f1f5f9; /* Garis bawah halus */
}

.table-profile tr:last-child {
    border-bottom: none;
}

.table-profile td {
    padding: 8px 4px;
    vertical-align: top;
    color: #475569;
}

.label-col {
    font-weight: 700;
    width: 160px;
    text-transform: capitalize;
}

.dot-col {
    width: 20px;
    font-weight: bold;
}

/* List Jurusan */
.jurusan-list {
    margin: 0;
    padding-left: 20px;
}

.jurusan-list li {
    margin-bottom: 5px;
}