/* ============================================
   FTI Website — Elegant Purple, Gold & White
   Font: Cormorant Garamond + DM Sans
   ============================================ */

:root {
  --purple:       #5b21b6;
  --purple-dark:  #3b0764;
  --purple-mid:   #7c3aed;
  --purple-light: #ede9fe;
  --gold:         #b08d3c;
  --gold-light:   #f0d98a;
  --gold-pale:    #fdf6dc;
  --white:        #ffffff;
  --off-white:    #fafafa;
  --gray-100:     #f3f4f6;
  --gray-200:     #e5e7eb;
  --gray-400:     #9ca3af;
  --gray-600:     #4b5563;
  --gray-800:     #1f2937;
  --text:         #1a1a2e;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08);
  --shadow-md:    0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:    0 12px 40px rgba(91,33,182,.14);
  --radius:       14px;
  --radius-sm:    8px;
  --transition:   0.28s 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: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }
em { font-family: 'Cormorant Garamond', serif; font-style: italic; }

/* ---- Container ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-container {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; height: 70px; gap: 12px;
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 48px; width: auto; object-fit: contain; }

.nav-menu {
  display: flex; align-items: center; gap: 4px;
  margin-left: 32px; flex: 1;
}

.nav-item { position: relative; }

.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 18px; border-radius: 8px;
  font-size: 1rem; font-weight: 700; color: var(--gray-800);
  transition: all var(--transition); white-space: nowrap;
  cursor: pointer; letter-spacing: .01em;
}
.nav-link:hover { color: var(--purple); background: var(--purple-light); }
.nav-link .arrow { font-size: .7rem; transition: transform var(--transition); }
.nav-item:hover .nav-link .arrow { transform: rotate(180deg); }

/* Dropdown */
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200);
  min-width: 240px; padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all var(--transition); z-index: 100;
}
.dropdown-menu li a {
  display: block; padding: 10px 18px;
  font-size: .9rem; color: var(--gray-600);
  transition: all var(--transition);
}
.dropdown-menu li a:hover {
  color: var(--purple); background: var(--purple-light);
  padding-left: 24px;
}
.nav-item:hover .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 20px;
  border: 1.5px solid var(--gold); background: transparent;
  color: var(--gold); font-size: .82rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition);
  font-family: 'DM Sans', sans-serif;
}
.lang-btn:hover { background: var(--gold); color: var(--white); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--gray-800); border-radius: 2px;
  transition: all var(--transition);
}

/* ============ PAGE SYSTEM ============ */
.page { display: none; padding-top: 68px; }
.page.active { display: block; animation: fadeIn .35s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============ HERO ============ */
.hero {
  position: relative; min-height: calc(100vh - 68px); margin-top: 68px;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff 0%, #f5f3ff 45%, #fff8e7 100%);
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-shape {
  position: absolute; border-radius: 50%; filter: blur(60px);
}
.shape1 {
  width: 500px; height: 500px; top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(124,58,237,.12) 0%, transparent 70%);
}
.shape2 {
  width: 350px; height: 350px; bottom: -60px; left: 10%;
  background: radial-gradient(circle, rgba(176,141,60,.10) 0%, transparent 70%);
}
.shape3 {
  width: 250px; height: 250px; top: 40%; left: 55%;
  background: radial-gradient(circle, rgba(91,33,182,.08) 0%, transparent 70%);
}

.hero-content {
  position: relative; z-index: 1;
  max-width: 780px; margin: 0 auto; padding: 80px 24px 40px;
  text-align: center;
}

.hero-badge {
  display: inline-block; padding: 6px 18px;
  background: var(--gold-pale); border: 1px solid var(--gold-light);
  border-radius: 20px; color: var(--gold); font-size: .8rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 28px;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700; line-height: 1.08;
  color: var(--purple-dark); margin-bottom: 20px;
}
.hero-title em {
  color: var(--purple); font-style: italic;
}

.hero-subtitle {
  font-size: 1.1rem; color: var(--gray-600); line-height: 1.7;
  max-width: 560px; margin: 0 auto 40px;
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  padding: 13px 30px; border-radius: 50px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-mid) 100%);
  color: var(--white); font-size: .9rem; font-weight: 600;
  transition: all var(--transition); box-shadow: 0 4px 20px rgba(91,33,182,.25);
  cursor: pointer; border: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(91,33,182,.35); }

.btn-outline {
  padding: 12px 28px; border-radius: 50px;
  border: 2px solid var(--purple); color: var(--purple);
  font-size: .9rem; font-weight: 600;
  transition: all var(--transition); cursor: pointer; background: transparent;
  display: inline-block;
}
.btn-outline:hover { background: var(--purple); color: var(--white); transform: translateY(-2px); }

/* Hero Stats */
.hero-stats {
  position: relative; z-index: 1;
  display: flex; justify-content: center; gap: 0;
  padding: 0 24px 60px;
}
.stat-card {
  flex: 1; max-width: 200px;
  text-align: center; padding: 28px 20px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-md); margin: 0 8px;
  border-top: 3px solid var(--purple);
  transition: transform var(--transition);
}
.stat-card:hover { transform: translateY(-4px); }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem; font-weight: 700; color: var(--purple);
}
.stat-label { font-size: .8rem; color: var(--gray-600); margin-top: 4px; }

/* ============ ABOUT SECTION ============ */
.about-section { padding: 90px 0; background: var(--white); }
.section-header { text-align: center; margin-bottom: 52px; }
.section-tag {
  display: inline-block; padding: 4px 16px;
  background: var(--gold-pale); color: var(--gold);
  border-radius: 20px; font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px;
}
.section-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem); color: var(--purple-dark);
  margin-bottom: 14px; line-height: 1.2;
}
.section-header p { font-size: 1rem; color: var(--gray-600); max-width: 580px; margin: 0 auto; line-height: 1.7; }

.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.about-card {
  padding: 36px 28px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--gray-200);
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.about-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--gold));
}
.about-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.about-icon { font-size: 2rem; margin-bottom: 16px; }
.about-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; color: var(--purple-dark); margin-bottom: 10px;
}
.about-card p { font-size: .9rem; color: var(--gray-600); line-height: 1.7; }

/* ============ NEWS SECTION ============ */
.news-section { padding: 80px 0; background: var(--gray-100); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 36px; }
.news-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.news-img {
  height: 180px; display: flex; align-items: flex-start; padding: 16px;
  position: relative;
}
.news-cat {
  background: rgba(255,255,255,.2); backdrop-filter: blur(4px);
  color: var(--white); padding: 4px 10px; border-radius: 12px;
  font-size: .75rem; font-weight: 600; letter-spacing: .06em;
}
.news-body { padding: 24px; }
.news-date { font-size: .78rem; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.news-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; color: var(--purple-dark);
  margin-bottom: 10px; line-height: 1.35;
}
.news-body p { font-size: .875rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 16px; }
.read-more { color: var(--purple); font-size: .855rem; font-weight: 600; transition: gap var(--transition); }
.read-more:hover { color: var(--purple-mid); }
.section-action { text-align: center; }

/* ============ PAGE HERO ============ */
.page-hero {
  padding: 80px 0 56px;
  position: relative; overflow: hidden;
}
.purple-hero {
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 60%, var(--purple-mid) 100%);
}
.gold-hero {
  background: linear-gradient(135deg, #3b2a00 0%, #7a5c00 60%, var(--gold) 100%);
}
.dark-hero {
  background: linear-gradient(135deg, #0f0e17 0%, #1a1030 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white); font-weight: 700;
  margin-bottom: 12px; line-height: 1.1;
}
.page-hero p { color: rgba(255,255,255,.78); font-size: 1rem; }
.breadcrumb {
  color: rgba(255,255,255,.6); font-size: .82rem; margin-bottom: 16px;
}
.breadcrumb span { cursor: pointer; }
.breadcrumb span:hover { color: var(--gold-light); }

.content-page { padding: 64px 0 80px; }

/* ============ VISI MISI ============ */
.vm-section { display: grid; gap: 28px; margin-bottom: 60px; }
.vm-card {
  padding: 40px; border-radius: var(--radius);
  border: 1px solid var(--gray-200); background: var(--white);
  display: flex; gap: 24px; align-items: flex-start;
}
.vision-card { border-left: 4px solid var(--purple); }
.misi-card { border-left: 4px solid var(--gold); }
.tujuan-card { border-left: 4px solid var(--purple-mid); }
.vm-icon { font-size: 2.4rem; flex-shrink: 0; margin-top: 4px; }
.vm-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; color: var(--purple-dark); margin-bottom: 14px;
  font-weight: 700; letter-spacing: .04em;
}
.vm-main { font-size: 1.05rem; color: var(--gray-600); line-height: 1.75; font-style: italic; }
.vm-list { padding-left: 0; }
.vm-list li {
  padding: 8px 0 8px 18px; color: var(--gray-600); line-height: 1.65;
  font-size: .93rem; border-bottom: 1px solid var(--gray-100);
  position: relative;
}
.vm-list li::before {
  content: '▸'; position: absolute; left: 0; color: var(--purple);
}

.nilai-section { margin-top: 40px; }
.section-center { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--purple-dark); text-align: center; margin-bottom: 32px; }
.nilai-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.nilai-item {
  text-align: center; padding: 28px 16px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--purple-light), var(--white));
  border: 1px solid rgba(91,33,182,.15); font-size: .85rem; font-weight: 600;
  color: var(--purple-dark); transition: all var(--transition);
}
.nilai-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.nilai-letter {
  font-family: 'Cormorant Garamond', serif; font-size: 2.8rem;
  color: var(--purple); line-height: 1; margin-bottom: 8px; font-weight: 700;
}

/* ============ STRUKTUR ORGANISASI ============ */
.org-tree { padding: 20px 0 40px; text-align: center; }
.org-node { display: flex; justify-content: center; margin-bottom: 0; }
.org-connector {
  height: 30px; width: 2px;
  background: linear-gradient(to bottom, var(--purple), var(--gold));
  margin: 0 auto;
}
.org-card {
  display: inline-flex; flex-direction: column; align-items: center;
  padding: 20px 24px; border-radius: var(--radius);
  background: var(--white); border: 2px solid var(--purple);
  min-width: 180px; transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.top-card { border-color: var(--gold); box-shadow: 0 4px 20px rgba(176,141,60,.2); }
.org-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.org-photo {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--purple-light); display: flex; align-items: center;
  justify-content: center; font-size: 1.8rem; margin-bottom: 10px;
  border: 2px solid var(--purple-light);
}
.dekan-photo { background: var(--gold-pale); border-color: var(--gold-light); }
.org-title { font-size: .8rem; font-weight: 700; color: var(--purple); text-align: center; line-height: 1.4; }
.org-title small { color: var(--gray-400); font-weight: 400; }
.org-name { font-size: .82rem; color: var(--gray-800); margin-top: 4px; font-weight: 600; text-align: center; }
.org-row { display: flex; justify-content: center; gap: 24px; padding: 0 16px; }
.org-col { display: flex; flex-direction: column; align-items: center; }
.prodi-card { border-color: var(--gray-200); min-width: 170px; }
.download-btn-wrap { text-align: center; padding-top: 40px; }

/* ============ RENSTRA TABS ============ */
.renstra-tabs, .semester-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px;
}
.tab-btn, .sem-btn, .filter-btn {
  padding: 10px 22px; border-radius: 50px;
  border: 1.5px solid var(--gray-200); background: var(--white);
  color: var(--gray-600); font-size: .855rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition);
  font-family: 'DM Sans', sans-serif;
}
.tab-btn:hover, .sem-btn:hover, .filter-btn:hover { border-color: var(--purple); color: var(--purple); }
.tab-btn.active, .sem-btn.active, .filter-btn.active {
  background: var(--purple); border-color: var(--purple); color: var(--white);
}
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn .3s ease; }

.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 12px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--purple), var(--gold));
}
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-year {
  position: absolute; left: -44px; width: 34px;
  font-size: .78rem; font-weight: 700; color: var(--white);
  background: var(--purple); border-radius: 6px;
  padding: 3px 5px; text-align: center; top: 4px;
}
.active-timeline .timeline-year { background: var(--gold); }
.timeline-content {
  background: var(--white); border-radius: var(--radius);
  padding: 24px; border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.active-timeline .timeline-content { border-color: var(--gold); box-shadow: 0 4px 16px rgba(176,141,60,.15); }
.timeline-content:hover { box-shadow: var(--shadow-md); }
.timeline-content h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--purple-dark); margin-bottom: 8px; }
.timeline-content p { font-size: .9rem; color: var(--gray-600); line-height: 1.65; }

.program-kerja-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pk-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px; border: 1px solid var(--gray-200);
  position: relative; transition: all var(--transition);
}
.pk-card:hover { box-shadow: var(--shadow-md); }
.pk-num {
  font-family: 'Cormorant Garamond', serif; font-size: 3rem;
  color: var(--purple-light); font-weight: 700; line-height: 1;
  position: absolute; top: 16px; right: 20px;
}
.pk-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--purple-dark); margin-bottom: 10px; }
.pk-card p { font-size: .88rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 16px; }
.pk-status {
  display: inline-block; padding: 4px 12px; border-radius: 12px;
  font-size: .75rem; font-weight: 700; letter-spacing: .05em;
}
.on-track { background: #dbeafe; color: #1d4ed8; }
.in-progress { background: #fef3c7; color: #b45309; }
.done { background: #d1fae5; color: #065f46; }

.capaian-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cap-item {
  text-align: center; padding: 36px 20px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  color: var(--white);
}
.cap-num { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 700; line-height: 1; }
.cap-num span { font-size: 1.5rem; }
.cap-item div:last-child { font-size: .82rem; margin-top: 8px; opacity: .85; }

.doc-downloads { margin-top: 48px; }
.doc-downloads h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--purple-dark); margin-bottom: 16px; }
.doc-list { display: flex; flex-wrap: wrap; gap: 12px; }
.doc-item {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200); background: var(--white);
  color: var(--purple); font-size: .88rem; font-weight: 600;
  transition: all var(--transition);
}
.doc-item:hover { background: var(--purple); color: var(--white); border-color: var(--purple); }

/* ============ DOSEN GRID ============ */
.filter-bar { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.dosen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dosen-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--gray-200); overflow: hidden;
  transition: all var(--transition); display: flex;
}
.dosen-card.hidden { display: none; }
.dosen-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.dosen-photo {
  width: 90px; flex-shrink: 0; background: var(--purple-light);
  display: flex; align-items: center; justify-content: center;
}
.photo-placeholder { font-size: 2.8rem; }
.dosen-info { padding: 20px 20px; flex: 1; }
.dosen-info h3 { font-size: 1rem; font-weight: 700; color: var(--purple-dark); margin-bottom: 4px; }
.dosen-role { font-size: .78rem; color: var(--purple); font-weight: 600; margin-bottom: 4px; }
.dosen-bidang { font-size: .8rem; color: var(--gray-600); margin-bottom: 10px; }
.dosen-links { display: flex; gap: 6px; }
.dosen-link {
  padding: 3px 10px; border-radius: 10px;
  background: var(--purple-light); color: var(--purple);
  font-size: .73rem; font-weight: 600; transition: all var(--transition);
}
.dosen-link:hover { background: var(--purple); color: var(--white); }

/* ============ PRODI PAGE ============ */
.prodi-overview { display: grid; grid-template-columns: 1fr 320px; gap: 36px; margin-bottom: 56px; }
.prodi-main h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--purple-dark); margin-bottom: 16px; }
.prodi-main p { font-size: .93rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 16px; }
.prodi-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.pf-item {
  display: flex; align-items: center; gap: 12px;
  padding: 16px; border-radius: var(--radius-sm);
  background: var(--gray-100); border: 1px solid var(--gray-200);
}
.pf-icon { font-size: 1.5rem; }
.pf-item strong { font-size: .82rem; color: var(--gray-600); display: block; }
.pf-item div div { font-size: .92rem; font-weight: 700; color: var(--purple-dark); }
.prodi-info-card {
  background: var(--white); border-radius: var(--radius);
  padding: 24px; border: 1px solid var(--gray-200);
  margin-bottom: 20px;
}
.gold-card { background: var(--gold-pale); border-color: var(--gold-light); }
.prodi-info-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--purple-dark); margin-bottom: 12px; }
.prodi-info-card ul li { padding: 6px 0; border-bottom: 1px solid var(--gray-100); font-size: .88rem; color: var(--gray-600); }
.kompetensi-section { margin-top: 20px; }
.komp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.komp-card {
  text-align: center; padding: 32px 24px; border-radius: var(--radius);
  border: 1px solid var(--gray-200); background: var(--white);
  transition: all var(--transition);
}
.komp-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--purple-light); }
.komp-icon { font-size: 2.2rem; margin-bottom: 14px; }
.komp-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--purple-dark); margin-bottom: 10px; }
.komp-card p { font-size: .875rem; color: var(--gray-600); line-height: 1.65; }

/* ============ KURIKULUM TABLE ============ */
.semester-tabs { flex-wrap: wrap; }
.mk-table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.mk-table { width: 100%; border-collapse: collapse; background: var(--white); }
.mk-table thead tr { background: linear-gradient(135deg, var(--purple-dark), var(--purple)); }
.mk-table th { padding: 14px 18px; color: var(--white); font-size: .82rem; font-weight: 600; text-align: left; }
.mk-table td { padding: 12px 18px; font-size: .875rem; color: var(--gray-700); border-bottom: 1px solid var(--gray-100); }
.mk-table tbody tr:hover { background: var(--purple-light); }
.mk-table tbody tr:last-child td { border-bottom: none; }
.rps-link {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--purple); font-size: .82rem; font-weight: 600;
  padding: 4px 10px; background: var(--purple-light);
  border-radius: 8px; transition: all var(--transition);
}
.rps-link:hover { background: var(--purple); color: var(--white); }
.badge-wajib { background: #dbeafe; color: #1d4ed8; padding: 2px 8px; border-radius: 8px; font-size: .73rem; font-weight: 700; }
.badge-pilihan { background: var(--gold-pale); color: var(--gold); padding: 2px 8px; border-radius: 8px; font-size: .73rem; font-weight: 700; }
.sks-summary {
  margin-top: 20px; padding: 16px 24px; background: var(--purple-light);
  border-radius: var(--radius-sm); color: var(--purple-dark); font-weight: 600; font-size: .9rem;
}

/* ============ ARTIKEL GRID ============ */
.artikel-filter { margin-bottom: 32px; display: flex; gap: 8px; flex-wrap: wrap; }
.artikel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.artikel-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.artikel-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.artikel-card.hidden { display: none; }
.artikel-img {
  height: 160px; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 16px;
}
.artikel-cat {
  padding: 3px 10px; border-radius: 12px;
  font-size: .72rem; font-weight: 700; letter-spacing: .05em;
  background: rgba(255,255,255,.9); color: var(--purple);
}
.artikel-body { padding: 20px; }
.artikel-meta { display: flex; align-items: center; gap: 8px; font-size: .75rem; color: var(--gray-400); margin-bottom: 8px; }
.artikel-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; color: var(--purple-dark);
  margin-bottom: 8px; line-height: 1.35;
}
.artikel-body p { font-size: .85rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 12px; }

/* ============ HIMPUNAN ============ */
.himpunan-profile {
  display: flex; gap: 36px; align-items: center;
  padding: 40px; background: var(--white);
  border-radius: var(--radius); border: 1px solid var(--gray-200);
  margin-bottom: 48px;
}
.hlogo-circle {
  width: 100px; height: 100px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 1.4rem;
  flex-shrink: 0;
}
.himpunan-info h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--purple-dark); margin-bottom: 12px; }
.himpunan-info p { font-size: .9rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 20px; }
.himpunan-stats { display: flex; gap: 32px; }
.hs { display: flex; flex-direction: column; }
.hs strong { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--purple); }
.hs span { font-size: .78rem; color: var(--gray-600); }
.kegiatan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.kegiatan-card {
  padding: 30px; border-radius: var(--radius);
  border: 1px solid var(--gray-200); background: var(--white);
  transition: all var(--transition);
}
.kegiatan-card:hover { box-shadow: var(--shadow-md); border-color: var(--purple-light); }
.kegiatan-icon { font-size: 2rem; margin-bottom: 12px; }
.kegiatan-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--purple-dark); margin-bottom: 8px; }
.kegiatan-card p { font-size: .875rem; color: var(--gray-600); line-height: 1.65; }

/* ============ FTI 360 ============ */
.vt-intro { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.vt-intro h2 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--purple-dark); margin-bottom: 14px; }
.vt-intro p { font-size: .95rem; color: var(--gray-600); line-height: 1.7; }
.vt-main { margin-bottom: 36px; }
.vt-frame {
  border-radius: 18px; overflow: hidden; background: #0f0e17;
  height: 440px; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); border: 1px solid #2a1f4a;
}
.vt-frame iframe { width: 100%; height: 100%; border: none; }
.vt-placeholder { text-align: center; color: rgba(255,255,255,.7); }
.vt-icon { font-size: 3rem; margin-bottom: 12px; }
.vt-placeholder small { display: block; margin-top: 8px; opacity: .5; font-size: .82rem; }
.vt-spots h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--purple-dark); margin-bottom: 16px; }
.spots-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.spot-btn {
  padding: 10px 18px; border-radius: 50px;
  border: 2px solid var(--gray-200); background: var(--white);
  color: var(--gray-600); font-size: .85rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition);
}
.spot-btn:hover, .active-spot { border-color: var(--purple); color: var(--purple); background: var(--purple-light); }

/* ============ FOOTER ============ */
.footer { background: var(--purple-dark); color: var(--white); }
.footer-top { padding: 64px 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand .footer-logo { height: 50px; filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.6); line-height: 1.65; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center;
  font-size: .9rem; transition: all var(--transition);
}
.social-link:hover { background: var(--gold); transform: translateY(-2px); }
.footer-col h4 {
  font-size: .85rem; font-weight: 700; color: var(--gold-light);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: .855rem; color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-col p { font-size: .855rem; color: rgba(255,255,255,.6); line-height: 1.9; }
.footer-bottom {
  padding: 18px 0; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center;
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.45); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: .8rem; color: rgba(255,255,255,.45); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold-light); }

/* ============ BACK TO TOP ============ */
.back-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--purple); color: var(--white); border: none;
  font-size: 1.1rem; cursor: pointer;
  box-shadow: 0 4px 16px rgba(91,33,182,.35);
  opacity: 0; pointer-events: none; transition: all var(--transition);
}
.back-top.visible { opacity: 1; pointer-events: all; }
.back-top:hover { background: var(--gold); transform: translateY(-3px); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .dosen-grid, .komp-grid { grid-template-columns: repeat(2, 1fr); }
  .prodi-overview { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Dark overlay behind side menu */
  .nav-backdrop {
    display: none;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.5);
    z-index: 998; cursor: pointer;
  }
  .nav-backdrop.visible { display: block; }
/* Side drawer — fixed width, slides in from left */
  .nav-menu {
    position: fixed; top: 0; left: 0;
    width: 280px;
    height: 100vh;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 0; gap: 0; overflow-y: auto;
    
    /* TINGKATKAN NILAI NEGATIF DI SINI */
    transform: translateX(-120%); 
    
    /* HILANGKAN SHADOW SAAT TERTUTUP */
    box-shadow: none; 
    
    transition: transform 0.32s cubic-bezier(.4,0,.2,1);
    z-index: 1001;
  }

  /* PASTIKAN SHADOW MUNCUL LAGI SAAT MENU TERBUKA */
  .nav-menu.open { 
    transform: translateX(0); 
    box-shadow: 4px 0 32px rgba(0,0,0,.18); 
  }

  /* Logo inside mobile menu */
  .nav-menu::before {
    content: '';
    display: block;
    height: 100px;
    min-height: 100px;
    background: var(--purple-dark);
    width: 100%;
  }

  .nav-item { width: 100%; border-bottom: 1px solid var(--gray-100); }
  .nav-link {
    padding: 15px 20px; border-radius: 0; border-bottom: none;
    font-size: .95rem; font-weight: 500;
    display: flex; justify-content: space-between; align-items: center; width: 100%;
    color: var(--gray-800);
  }
  .nav-link:hover { background: var(--purple-light); color: var(--purple); }
  .nav-link .arrow { font-size: .75rem; transition: transform var(--transition); color: var(--gray-400); }
  .nav-item.open .nav-link .arrow { transform: rotate(180deg); color: var(--purple); }
  .nav-item.open > .nav-link { color: var(--purple); background: var(--purple-light); }

  /* Sub-menu items */
  .dropdown-menu {
    position: static; box-shadow: none; border: none;
    opacity: 1; visibility: visible; transform: none;
    display: none; background: #faf9ff;
    border-top: 1px solid #ede9fe;
    padding: 4px 0;
  }
  .nav-item.open .dropdown-menu { display: block; }
  .dropdown-menu li a {
    padding: 12px 20px 12px 36px;
    border-bottom: 1px solid var(--gray-100);
    font-size: .875rem; display: block;
    color: var(--gray-600);
  }
  .dropdown-menu li:last-child a { border-bottom: none; }
  .dropdown-menu li a:hover { color: var(--purple); background: var(--purple-light); padding-left: 40px; }

  .hamburger { display: flex; }
  .about-grid, .news-grid, .artikel-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; }
  .stat-card { min-width: calc(50% - 16px); }
  .org-row { flex-direction: column; align-items: center; gap: 12px; }
  .nilai-grid { grid-template-columns: repeat(3, 1fr); }
  .program-kerja-grid, .kegiatan-grid { grid-template-columns: 1fr; }
  .capaian-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .dosen-grid { grid-template-columns: 1fr; }
  .himpunan-profile { flex-direction: column; text-align: center; }
  .himpunan-stats { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.4rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .stat-card { min-width: 100%; }
  .nilai-grid { grid-template-columns: repeat(2, 1fr); }
  .komp-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; gap: 10px; text-align: center; }
}

/* ============================================================
   DOSEN CARD v2 — Large photo, clean card layout
   ============================================================ */
.dosen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.dosen-card-v2 {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  text-align: center;
}
.dosen-card-v2:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: var(--purple-light);
}

.dosen-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--purple-light);
}

.dosen-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}
.dosen-card-v2:hover .dosen-photo-img {
  transform: scale(1.04);
}

.dosen-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: linear-gradient(145deg, var(--purple-light), #f5f3ff);
}

.dosen-type-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.dosen-badge  { background: var(--purple); color: var(--white); }
.staff-badge  { background: var(--gold);   color: var(--white); }

.dosen-card-body {
  padding: 18px 16px 20px;
}
.dosen-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 4px;
  line-height: 1.3;
}
.dosen-position {
  font-size: .8rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 5px;
}
.dosen-bidang {
  font-size: .78rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 12px;
  min-height: 36px;
}
.dosen-links-row {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
.dosen-badge-link {
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--purple-light);
  color: var(--purple);
  font-size: .73rem;
  font-weight: 700;
  transition: all var(--transition);
}
.dosen-badge-link:hover {
  background: var(--purple);
  color: var(--white);
}

/* ============================================================
   STRUKTUR ORGANISASI v2 — 2 orang, foto besar, menarik
   ============================================================ */
.struktur-hero-section {
  padding: 48px 0 56px;
  text-align: center;
}
.struktur-intro {
  max-width: 600px;
  margin: 0 auto 48px;
}
.struktur-intro p {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.struktur-cards {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.struktur-person-card {
  width: 280px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(91,33,182,.13);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: all var(--transition);
  position: relative;
}
.struktur-person-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 56px rgba(91,33,182,.2);
}
.struktur-person-card.dekan-card {
  border-top: 4px solid var(--gold);
}
.struktur-person-card.kaprodi-card {
  border-top: 4px solid var(--purple);
}

.struktur-photo-area {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--purple-light);
  position: relative;
}
.struktur-photo-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s;
}
.struktur-person-card:hover .struktur-photo-area img {
  transform: scale(1.03);
}
.struktur-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  background: linear-gradient(160deg, var(--purple-light), #f8f5ff);
}

.struktur-jabatan-ribbon {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(59,7,100,.85) 0%, transparent 100%);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.dekan-card .struktur-jabatan-ribbon {
  background: linear-gradient(to top, rgba(120,80,0,.85) 0%, transparent 100%);
}

.struktur-info {
  padding: 18px 20px 22px;
  text-align: center;
}
.struktur-nama {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 5px;
  line-height: 1.3;
}
.struktur-jabatan-text {
  font-size: .82rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 4px;
}
.dekan-card .struktur-jabatan-text { color: var(--gold); }

.struktur-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 20px 0;
  color: var(--gray-400);
  font-size: .8rem;
}
.struktur-divider::before,
.struktur-divider::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--gray-200);
}

/* Responsive dosen grid */
@media (max-width: 768px) {
  .dosen-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .struktur-cards { gap: 24px; }
  .struktur-person-card { width: 240px; }
}
@media (max-width: 480px) {
  .dosen-grid { grid-template-columns: 1fr; }
  .struktur-person-card { width: 100%; max-width: 300px; }
}

/* ============================================================
   BANNER SLIDER
   ============================================================ */
.banner-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0f0e17;
  margin-top: 0; /* no gap — banner sits right under navbar */
}
.banner-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
  width: 100%;
}
.banner-slide {
  /* Use aspect-ratio so image never crops — full width, natural height */
  min-width: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  /* Height is determined by the image's natural aspect ratio */
  aspect-ratio: 16 / 5;   /* Matches recommended 1920×600 spec */
}
.banner-slide img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.banner-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 32px;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 100%);
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
}
.banner-prev, .banner-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.18); backdrop-filter: blur(8px);
  border: none; color: var(--white); font-size: 1.3rem;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  z-index: 10; transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.banner-prev { left: 16px; }
.banner-next { right: 16px; }
.banner-prev:hover, .banner-next:hover { background: rgba(255,255,255,.35); }
.banner-dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.banner-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.45); cursor: pointer; transition: all .3s;
  border: none; padding: 0;
}
.banner-dot.active { background: var(--white); transform: scale(1.3); }

@media (max-width: 768px) {
  /* Banner uses aspect-ratio 16/5 — no height override needed.
     Image fills full width naturally on all screen sizes. */
  .banner-prev, .banner-next { width: 36px; height: 36px; font-size: 1rem; }
  .banner-prev { left: 8px; }
  .banner-next { right: 8px; }
}

/* ============================================================
   FLOATING BUTTONS — WhatsApp & ASTI
   ============================================================ */
.float-btn {
  position: fixed;
  right: 20px;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  z-index: 990;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  transition: all .25s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
}
.float-btn:hover { transform: scale(1.12) translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.3); }

.float-wa {
  bottom: 88px;
  background: #25d366;
  color: var(--white);
}
.float-wa:hover { background: #1ebe5d; }

.float-asti {
  bottom: 148px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-mid) 100%);
  color: var(--white);
  width: 56px; height: 56px;
  border-radius: 14px;
  flex-direction: column;
  gap: 2px;
}
.float-asti-label {
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .05em;
  line-height: 1;
}

/* Tooltip on hover */
.float-btn::before {
  content: attr(title);
  position: absolute;
  right: calc(100% + 10px);
  background: rgba(31,41,55,.9);
  color: var(--white);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: .75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.float-btn:hover::before { opacity: 1; }

@media (max-width: 480px) {
  .float-wa   { bottom: 76px; right: 14px; width: 46px; height: 46px; }
  .float-asti { bottom: 130px; right: 14px; width: 48px; height: 48px; }
}

/* ============================================================
   RENSTRA YEAR FILTER CHIPS
   ============================================================ */
.renstra-year-filter {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px;
}
.year-chip {
  padding: 6px 16px; border-radius: 20px; border: 1.5px solid var(--gray-200);
  background: var(--white); color: var(--gray-600); font-size: .82rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition);
  font-family: 'DM Sans', sans-serif;
}
.year-chip:hover { border-color: var(--purple); color: var(--purple); }
.year-chip.active { background: var(--purple); border-color: var(--purple); color: var(--white); }

/* ============================================================
   HALAMAN DOKUMEN FAKULTAS
   ============================================================ */

/* Search & Filter Bar */
.dok-search-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.dok-search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
}
.dok-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
}
.dok-search-input {
  width: 100%;
  padding: 10px 12px 10px 38px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-size: .875rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--gray-800);
  transition: border-color .2s;
}
.dok-search-input:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(91,33,182,.1);
}
.dok-filter-select {
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-size: .875rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  cursor: pointer;
  transition: border-color .2s;
  min-width: 150px;
}
.dok-filter-select:focus {
  outline: none;
  border-color: var(--purple);
}

/* Category Chips */
.dok-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.dok-chip {
  padding: 7px 18px;
  border-radius: 24px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .22s;
  font-family: 'DM Sans', sans-serif;
}
.dok-chip:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: var(--purple-light);
}
.dok-chip.active {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(91,33,182,.25);
}

/* Documents Grid */
.dok-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  min-height: 200px;
}

/* Document Card */
.dok-card {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  position: relative;
}
.dok-card:hover {
  box-shadow: 0 8px 32px rgba(91,33,182,.12);
  transform: translateY(-3px);
  border-color: var(--purple-light);
}

.dok-card-header {
  padding: 20px 20px 14px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.dok-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  background: var(--purple-light);
}
.dok-icon-wrap.pdf    { background: #fee2e2; }
.dok-icon-wrap.doc,
.dok-icon-wrap.docx   { background: #dbeafe; }
.dok-icon-wrap.xls,
.dok-icon-wrap.xlsx   { background: #d1fae5; }
.dok-icon-wrap.ppt,
.dok-icon-wrap.pptx   { background: #fef3c7; }
.dok-icon-wrap.zip,
.dok-icon-wrap.rar    { background: #f3f4f6; }
.dok-icon-wrap.url    { background: var(--purple-light); }

.dok-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--purple-dark);
  line-height: 1.3;
  margin-bottom: 4px;
}
.dok-card-desc {
  font-size: .8rem;
  color: var(--gray-600);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dok-card-meta {
  padding: 0 20px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.dok-badge {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.dok-badge-akademik      { background: #dbeafe; color: #1d4ed8; }
.dok-badge-administrasi  { background: #d1fae5; color: #065f46; }
.dok-badge-kerjasama     { background: #fef3c7; color: #92400e; }
.dok-badge-kemahasiswaan { background: #ede9fe; color: #5b21b6; }
.dok-badge-penelitian    { background: #fce7f3; color: #be185d; }
.dok-badge-lainnya       { background: #f3f4f6; color: #4b5563; }

.dok-card-year {
  font-size: .75rem;
  color: var(--gray-400);
  margin-left: auto;
}
.dok-card-type {
  font-size: .72rem;
  font-weight: 700;
  color: var(--gray-600);
  background: var(--gray-100);
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.dok-card-footer {
  margin-top: auto;
  padding: 14px 20px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.dok-download-count {
  font-size: .75rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 4px;
}
.dok-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-mid) 100%);
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .22s;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  box-shadow: 0 2px 8px rgba(91,33,182,.2);
}
.dok-download-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(91,33,182,.3);
  color: var(--white);
}
.dok-download-btn.url-btn {
  background: linear-gradient(135deg, var(--gold) 0%, #7a5c00 100%);
  box-shadow: 0 2px 8px rgba(176,141,60,.25);
}

/* Loading state */
.dok-loading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 60px 24px;
  color: var(--gray-400);
  font-size: .9rem;
}
.dok-loading-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--purple-light);
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.dok-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
  color: var(--gray-400);
}
.dok-empty-icon { font-size: 3rem; margin-bottom: 12px; }
.dok-empty-text { font-size: 1rem; color: var(--gray-600); }

/* ── PAGINATION ─────────────────────────────────── */
.dok-pagination-wrap {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.dok-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.dok-page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
}
.dok-page-btn:hover:not(:disabled):not(.active) {
  border-color: var(--purple);
  color: var(--purple);
  background: var(--purple-light);
}
.dok-page-btn.active {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(91,33,182,.3);
}
.dok-page-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.dok-page-btn.prev-next {
  padding: 0 16px;
  gap: 4px;
  font-size: .82rem;
}
.dok-page-info {
  font-size: .8rem;
  color: var(--gray-400);
  text-align: center;
}
.dok-page-ellipsis {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: .875rem;
  cursor: default;
}

/* Responsive */
@media (max-width: 768px) {
  .dok-grid { grid-template-columns: 1fr; gap: 14px; }
  .dok-search-bar { padding: 14px 16px; gap: 8px; }
  .dok-filter-select { min-width: 120px; }
}
@media (max-width: 480px) {
  .dok-pagination { gap: 4px; }
  .dok-page-btn { min-width: 36px; height: 36px; font-size: .8rem; }
}

/* ============================================================
   KERJASAMA SECTION — Homepage partner logos
   ============================================================ */
.kerjasama-section {
  padding: 80px 0;
  background: var(--gray-100);
}
.ks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 8px;
}
.ks-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  transition: all var(--transition);
  min-height: 130px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.ks-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.ks-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--purple-light);
}
.ks-card:hover::before { transform: scaleX(1); }

.ks-logo-wrap {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ks-logo-wrap img {
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter var(--transition);
}
.ks-card:hover .ks-logo-wrap img { filter: grayscale(0%); }
.ks-logo-placeholder {
  font-size: 2.2rem;
  color: var(--gray-400);
}
.ks-name {
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-700);
  line-height: 1.4;
}
.ks-badge {
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--purple-light);
  color: var(--purple);
}
.ks-loading { text-align: center; padding: 40px; color: var(--gray-400); font-size: .875rem; }

@media (max-width: 768px) {
  .ks-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 480px) {
  .ks-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   KERJASAMA — Infinite auto-scroll marquee (1 baris)
   ============================================================ */
.kerjasama-section { padding: 72px 0; background: var(--gray-100); overflow: hidden; }
.ks-marquee-wrap {
  position: relative;
  overflow: hidden;
  padding: 8px 0 20px;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.ks-marquee-wrap::before,
.ks-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ks-marquee-wrap::before { left: 0;  background: linear-gradient(to right, var(--gray-100) 0%, transparent 100%); }
.ks-marquee-wrap::after  { right: 0; background: linear-gradient(to left,  var(--gray-100) 0%, transparent 100%); }

.ks-marquee {
  display: flex;
  gap: 20px;
  animation: ksScroll 28s linear infinite;
  width: max-content;
}
.ks-marquee:hover { animation-play-state: paused; }
@keyframes ksScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Each partner card in marquee */
.ks-marquee-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  width: 180px;
  flex-shrink: 0;
  transition: all .22s;
}
.ks-marquee-card:hover {
  box-shadow: 0 6px 24px rgba(91,33,182,.12);
  transform: translateY(-3px);
  border-color: var(--purple-light);
}
.ks-marquee-logo {
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ks-marquee-logo img {
  max-width: 130px;
  max-height: 48px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter .22s;
}
.ks-marquee-card:hover .ks-marquee-logo img { filter: none; }
.ks-marquee-logo-icon { font-size: 1.8rem; color: var(--gray-400); }
.ks-marquee-name {
  font-size: .78rem;
  font-weight: 600;
  color: var(--gray-700);
  line-height: 1.3;
  max-width: 150px;
}
.ks-marquee-badge {
  font-size: .67rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--purple-light);
  color: var(--purple);
}

/* ============================================================
   TESTIMONI SECTION — Slider with dots
   ============================================================ */
.testimoni-section {
  padding: 80px 0;
  background: linear-gradient(160deg, #faf8ff 0%, #f3f0ff 50%, #faf8ff 100%);
  position: relative;
  overflow: hidden;
}
.testimoni-section::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18rem;
  color: var(--purple-light);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  opacity: .4;
}

.testi-slider-wrap {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  z-index: 1;
}
.testi-slider {
  overflow: hidden;
  border-radius: 20px;
}
.testi-slide {
  display: none;
  animation: tFadeIn .5s ease;
}
.testi-slide.active { display: block; }
@keyframes tFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Testimoni card */
.testi-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 44px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(91,33,182,.1);
  border: 1px solid rgba(91,33,182,.08);
}

.testi-photo-wrap {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 4px solid var(--purple-light);
  box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--purple-light);
}
.testi-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.testi-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  font-weight: 700;
}

.testi-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--gray-700);
  line-height: 1.85;
  margin-bottom: 28px;
  position: relative;
}

.testi-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  border-radius: 2px;
  margin: 0 auto 20px;
}

.testi-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--purple-dark);
  margin-bottom: 4px;
}
.testi-angkatan { color: var(--purple); font-weight: 600; font-size: .85rem; }
.testi-institusi {
  font-size: .82rem;
  color: var(--gray-500);
  margin-top: 4px;
}

/* Controls */
.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}
.testi-prev, .testi-next {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--purple-light);
  background: var(--white);
  color: var(--purple);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .22s;
}
.testi-prev:hover, .testi-next:hover {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}
.testi-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--purple-light);
  border: none;
  cursor: pointer;
  transition: all .22s;
  padding: 0;
}
.testi-dot.active {
  background: var(--purple);
  width: 22px;
  border-radius: 4px;
}

.testi-loading {
  text-align: center;
  padding: 60px 24px;
  color: var(--gray-400);
  font-size: .9rem;
}

@media (max-width: 768px) {
  .testi-card { padding: 28px 22px; }
  .testi-quote { font-size: 1rem; }
  .ks-marquee { animation-duration: 20s; }
}

/* ============================================================
   GOLD HERO — for Sambutan page
   ============================================================ */
.gold-hero {
  background: linear-gradient(135deg, var(--gold-dark, #7a5c00) 0%, var(--gold, #b08d3c) 50%, #8b6914 100%);
}
.gold-hero .breadcrumb span,
.gold-hero .breadcrumb { color: rgba(255,255,255,.7); }
.gold-hero h1, .gold-hero p { color: var(--white); }

/* ============================================================
   SAMBUTAN DEKAN PAGE
   ============================================================ */
.sambutan-wrap {
  max-width: 1060px;
  margin: 0 auto;
}

.sambutan-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: flex-start;
  padding: 48px 0;
}

/* Photo column */
.sambutan-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: sticky;
  top: 96px;
}

.sambutan-photo-wrap {
  width: 220px;
  height: 260px;
  border-radius: 20px;
  overflow: hidden;
  border: 4px solid var(--purple-light);
  box-shadow: 0 16px 48px rgba(91,33,182,.18);
  background: var(--purple-light);
}
.sambutan-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
.sambutan-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  background: linear-gradient(135deg, var(--purple-light) 0%, #f5f3ff 100%);
}

.sambutan-identity { text-align: center; }
.sambutan-dekan-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 4px;
  line-height: 1.3;
}
.sambutan-dekan-role {
  font-size: .82rem; font-weight: 600;
  color: var(--purple); margin-bottom: 2px;
}
.sambutan-dekan-instansi {
  font-size: .78rem; color: var(--gray-500);
}

/* Text column */
.sambutan-text-col { position: relative; }

.sambutan-ornament {
  color: var(--purple);
  margin-bottom: -12px;
}

.sambutan-greeting {
  font-size: 1rem; font-weight: 600;
  color: var(--purple);
  margin-bottom: 20px;
  font-style: italic;
}

.sambutan-content {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--gray-700);
}
.sambutan-content p {
  margin-bottom: 16px;
  text-align: justify;
}

.sambutan-signature {
  margin-top: 36px;
  padding-top: 20px;
}
.sambutan-sig-line {
  width: 80px; height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  border-radius: 2px;
  margin-bottom: 16px;
}
.sambutan-sig-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 3px;
}
.sambutan-sig-role { font-size: .82rem; color: var(--gray-500); }

@media (max-width: 768px) {
  .sambutan-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 0;
  }
  .sambutan-photo-col { position: static; }
  .sambutan-photo-wrap { width: 160px; height: 190px; }
}

/* ============================================================
   FOOTER SOCIAL ICONS
   ============================================================ */
.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.social-icon-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: all .22s;
  border: 1.5px solid rgba(255,255,255,.15);
}
.social-icon-btn:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.4); }
.social-icon-btn svg { width: 18px; height: 18px; fill: var(--white); }
.si-instagram { background: linear-gradient(135deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }
.si-tiktok    { background: #010101; }
.si-facebook  { background: #1877f2; }
.si-youtube   { background: #ff0000; }
.si-website   { background: var(--purple); }

/* ============================================================
   ABOUT SECTION — enhanced text formatting
   ============================================================ */
.about-desc-highlight {
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--gold);
  font-style: italic;
  color: var(--purple-dark);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ============================================================
   ABOUT SECTION — Rich description block
   ============================================================ */
.about-desc-block {
  max-width: 780px;
  margin: 0 auto 40px;
  text-align: center;
}
.about-desc-body {
  font-size: .975rem;
  line-height: 1.85;
  color: var(--gray-700);
  margin-bottom: 14px;
}
.about-desc-tagline {
  font-size: 1rem;
  color: var(--purple);
  line-height: 1.7;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
}
.about-desc-highlight {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--purple-dark);
  padding: 16px 24px;
  background: var(--purple-light);
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
  text-align: left;
  margin-bottom: 20px;
  line-height: 1.6;
}
