@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* ── TOKENS ── */
:root {
  --blue-900:   #02314f;
  --blue-800:   #103458;
  --blue-700:   #1a4f82;
  --blue-600:   #1d6fa8;
  --blue-500:   #2390d4;
  --blue-400:   #4aabea;
  --blue-50:    #eef6fd;

  --teal-600:   #0d7c6f;
  --teal-500:   #0fa38c;
  --teal-400:   #2ec4b6;
  --teal-50:    #edfaf8;

  --amber-500:  #feb400;
  --amber-300:  #daa00f;
  --amber-50:   #fffbeb;

  --slate-900:  #0f172a;
  --slate-700:  #334155;
  --slate-500:  #64748b;
  --slate-400:  #94a3b8;
  --slate-200:  #e2e8f0;
  --slate-100:  #f1f5f9;
  --slate-50:   #f8fafc;
  --white:      #ffffff;

  --font-display: 'Poppins', sans-serif;
  --font-body:    'Poppins', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-xs:  0 1px 2px rgba(0,0,0,.05);
  --shadow-sm:  0 2px 8px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
  --shadow:     0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-md:  0 8px 28px rgba(0,0,0,.10), 0 3px 10px rgba(0,0,0,.05);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.12), 0 6px 16px rgba(0,0,0,.06);

  --transition: .22s cubic-bezier(.4,0,.2,1);
}

/* ── BASE ── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: var(--font-body);
  background:  var(--white);
  color:       var(--slate-700);
  font-size:   15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color:       var(--slate-900);
  line-height: 1.2;
  font-weight: 700;
}

a { text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-600); }

img { max-width: 100%; height: auto; display: block; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--slate-100); }
::-webkit-scrollbar-thumb { background: var(--blue-400); border-radius: 3px; }

/* ================================================================
   NAVBAR
   ================================================================ */
#mainNav {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow var(--transition), background var(--transition);
  padding: 0;
}
#mainNav.scrolled {
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.98);
}

.navbar-brand-logo {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-500));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .7rem;
  color: var(--white);
  letter-spacing: .05em;
  flex-shrink: 0;
}
.navbar-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.navbar-brand-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .88rem;
  color: var(--slate-900);
}
.navbar-brand-sub {
  font-family: var(--font-mono);
  font-size: .6rem;
  color: var(--slate-400);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nav-link-custom {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .78rem;
  color: var(--slate-500);
  padding: .5rem .8rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
  letter-spacing: .01em;
}
.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--blue-700);
  background: var(--blue-50);
}

/* mobile nav */
.navbar-toggler {
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: .35rem .55rem;
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(29,111,168,.15); }
.toggler-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}
.toggler-icon span {
  display: block;
  height: 2px;
  background: var(--slate-500);
  border-radius: 1px;
  transition: all var(--transition);
}

/* Hero */
.hero-section {
  background:
    linear-gradient(160deg, var(--blue-900) 0%, var(--blue-800) 55%, var(--blue-900) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

/* subtle pattern overlay */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(45,144,212,.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(46,196,182,.12) 0%, transparent 40%);
  pointer-events: none;
}

/* grid pattern */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: .35rem .9rem;
  font-family: var(--font-mono);
  font-size: .65rem;
  color: rgba(255,255,255,.8);
  letter-spacing: .15em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--teal-400);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.7); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.hero-title .accent {
  color: var(--teal-400);
  font-style: italic;
}

.hero-desc {
  color: rgba(255,255,255,.72);
  font-size: .95rem;
  line-height: 1.8;
  max-width: 500px;
}

/* stat strip */
.hero-stat {
  padding: 1.1rem 1.5rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  text-align: center;
  flex: 1;
  min-width: 100px;
  transition: background var(--transition);
}
.hero-stat:hover { background: rgba(255,255,255,.12); }
.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.hero-stat-label {
  font-family: var(--font-mono);
  font-size: .6rem;
  color: rgba(255,255,255,.6);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: .25rem;
}

/* hero visual card */
.hero-visual {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(10px);
}
.hero-visual-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
}
.window-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .82rem;
  padding: .75rem 1.6rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(29,111,168,.35);
  text-decoration: none;
  letter-spacing: .01em;
}
.btn-primary-custom:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29,111,168,.45);
}
.btn-primary-custom:active { transform: translateY(0); }

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: rgba(255,255,255,.85);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .82rem;
  padding: .75rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,.28);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-outline-custom:hover {
  color: var(--white);
  border-color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.08);
}

.btn-blue {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--blue-700);
  color: var(--white);
  font-weight: 700;
  font-size: .82rem;
  padding: .7rem 1.4rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-blue:hover {
  background: var(--blue-800);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-teal {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--teal-500);
  color: var(--white);
  font-weight: 700;
  font-size: .82rem;
  padding: .7rem 1.4rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-teal:hover {
  background: var(--teal-600);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* ================================================================
   SECTIONS — shared
   ================================================================ */
.section-py { padding: 88px 0; }
.section-py-sm { padding: 64px 0; }

.section-label {
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue-600);
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .75rem;
}
.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--blue-500);
  border-radius: 1px;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.2;
  letter-spacing: -.02em;
}
.section-title span { color: var(--blue-700); }

.section-desc {
  color: var(--slate-500);
  font-size: .92rem;
  line-height: 1.8;
  max-width: 580px;
}

/* ================================================================
   CARDS
   ================================================================ */
/* info card */
.info-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.info-card:hover {
  border-color: var(--blue-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.info-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}
.icon-blue  { background: var(--blue-50);  }
.icon-teal  { background: var(--teal-50);  }
.icon-amber { background: var(--amber-50); }

.info-card h5 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: .5rem;
}
.info-card p {
  font-size: .83rem;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 0;
}

/* lab card */
.lab-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  height: 100%;
}
.lab-card:hover {
  border-color: var(--blue-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.lab-card-header {
  padding: 1.4rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-bottom: 1px solid var(--slate-100);
}
.lab-badge {
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 500;
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid rgba(29,111,168,.18);
  padding: .25rem .6rem;
  border-radius: 4px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.lab-card-body { padding: 1.25rem 1.5rem; }
.lab-tag {
  font-family: var(--font-mono);
  font-size: .58rem;
  background: var(--slate-100);
  color: var(--slate-500);
  border-radius: 4px;
  padding: .2rem .5rem;
  display: inline-block;
}
.lab-card-footer {
  padding: 1rem 1.5rem;
  /* background: var(--slate-50); */
  border-top: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pc-count {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--blue-700);
  line-height: 1;
}

/* ================================================================
   TEAM
   ================================================================ */
.team-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition);
  height: 100%;
}
.team-card:hover {
  border-color: var(--blue-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--amber-300), var(--amber-500));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  position: relative;
}
.team-avatar-plp {
  background: linear-gradient(135deg, var(--teal-600), var(--teal-400));
}
.team-avatar-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(white,white) padding-box,
              linear-gradient(135deg, var(--teal-400), var(--blue-500)) border-box;
}
.team-role {
  font-family: var(--font-mono);
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .22rem .7rem;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: .65rem;
}
.role-koordinator {
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid rgba(29,111,168,.2);
}
.role-plp {
  background: var(--teal-50);
  color: var(--teal-600);
  border: 1px solid rgba(13,124,111,.2);
}
.team-name {
  font-size: .92rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: .2rem;
}
.team-lab {
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--slate-400);
  letter-spacing: .05em;
}

/* PLP featured card */
.plp-card {
  background: linear-gradient(135deg, var(--amber-300) 0%, var(--amber-500) 100%);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.plp-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  border: 3px solid rgba(255,255,255,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  flex-shrink: 0;
}
.plp-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  padding: .28rem .75rem;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .1em;
  margin-bottom: .6rem;
}

/* ================================================================
   SCHEDULE / JADWAL
   ================================================================ */
.schedule-table th {
  background: var(--blue-900);
  color: rgba(255,255,255,.9);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: none;
  padding: .9rem 1.1rem;
  font-weight: 500;
}
.schedule-table td {
  font-size: .82rem;
  color: var(--slate-700);
  border-color: var(--slate-200);
  padding: .8rem 1.1rem;
  vertical-align: middle;
}
.schedule-table tbody tr:hover td {
  background: var(--blue-50);
}
.schedule-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--font-mono);
  font-size: .62rem;
  padding: .22rem .7rem;
  border-radius: 999px;
  font-weight: 500;
}
.pill-available   { background: #dcfce7; color: #15803d; }
.pill-occupied    { background: #fee2e2; color: #b91c1c; }
.pill-reserved    { background: #fef9c3; color: #854d0e; }
.pill-maintenance { background: var(--slate-100); color: var(--slate-500); }

/* ================================================================
   PEMINJAMAN / LOAN FLOW
   ================================================================ */
.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .75rem;
  position: relative;
  flex: 1;
  min-width: 120px;
}
.flow-number {
  width: 48px; height: 48px;
  background: var(--blue-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--white);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(26,79,130,.35);
  flex-shrink: 0;
}
.flow-connector {
  flex: 1;
  height: 2px;
  background: var(--slate-200);
  position: relative;
  top: 24px;
}
.flow-connector::after {
  content: '';
  position: absolute;
  right: -5px; top: -4px;
  border: 5px solid transparent;
  border-left-color: var(--slate-300);
}
.flow-title {
  font-weight: 700;
  font-size: .83rem;
  color: var(--slate-900);
}
.flow-desc {
  font-size: .75rem;
  color: var(--slate-500);
  line-height: 1.6;
  max-width: 140px;
}

/* ================================================================
   TATA TERTIB
   ================================================================ */
.rule-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--slate-100);
}
.rule-item:last-child { border-bottom: none; }
.rule-number {
  width: 28px; height: 28px;
  background: var(--blue-900);
  color: white;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .1rem;
}
.rule-text {
  font-size: .85rem;
  color: var(--slate-700);
  line-height: 1.7;
}
.rule-category {
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-600);
  font-weight: 600;
  margin-bottom: .3rem;
  display: block;
}

/* ================================================================
   KARYA / SHOWCASE
   ================================================================ */
.karya-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  height: 100%;
}
.karya-card:hover {
  border-color: var(--blue-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.karya-thumb {
  height: 140px;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}
.karya-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 20px 20px;
}
.karya-body { padding: 1.25rem; }
.karya-type {
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-600);
  font-weight: 600;
  margin-bottom: .4rem;
}
.karya-title {
  font-size: .88rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.4;
  margin-bottom: .4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.karya-meta {
  font-size: .75rem;
  color: var(--slate-400);
}

/* ================================================================
   INVENTARIS
   ================================================================ */
.inv-table th {
  background: var(--slate-50);
  color: var(--slate-600);
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-color: var(--slate-200);
  padding: .75rem 1rem;
  font-weight: 500;
}
.inv-table td {
  font-size: .82rem;
  border-color: var(--slate-200);
  padding: .75rem 1rem;
  vertical-align: middle;
}
.inv-table tbody tr:hover td {
  background: var(--blue-50);
}
.inv-badge {
  font-family: var(--font-mono);
  font-size: .6rem;
  padding: .2rem .55rem;
  border-radius: 4px;
  font-weight: 500;
}
.badge-good    { background: #dcfce7; color: #15803d; }
.badge-fair    { background: #fef9c3; color: #854d0e; }
.badge-needs   { background: #fee2e2; color: #b91c1c; }

/* ================================================================
   LAYOUT PC (Visual)
   ================================================================ */
.layout-room {
  background: var(--slate-50);
  border: 2px dashed var(--slate-300);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
}
.layout-room-label {
  font-family: var(--font-mono);
  font-size: .6rem;
  color: var(--slate-400);
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.pc-grid {
  display: grid;
  gap: 6px;
}
.pc-unit {
  aspect-ratio: 1.4;
  background: var(--blue-700);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: .45rem;
  color: rgba(255,255,255,.7);
  cursor: default;
  transition: all var(--transition);
  position: relative;
}
.pc-unit:hover {
  background: var(--blue-500);
  transform: scale(1.1);
  z-index: 2;
}
.pc-unit.empty {
  background: var(--slate-200);
}
.instructor-desk {
  background: var(--teal-500);
  border-radius: var(--radius-sm);
  padding: .5rem .9rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-mono);
  font-size: .65rem;
  color: white;
  font-weight: 500;
}

/* ================================================================
   SPEC TABLE
   ================================================================ */
.spec-block {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.spec-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1.25rem;
  border-bottom: 1px solid var(--slate-200);
  transition: background var(--transition);
}
.spec-row:last-child { border-bottom: none; }
.spec-row:hover { background: var(--blue-50); }
.spec-key {
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--slate-400);
  letter-spacing: .08em;
  text-transform: uppercase;
  width: 140px;
  flex-shrink: 0;
}
.spec-val {
  font-weight: 600;
  font-size: .85rem;
  color: var(--slate-800);
  flex: 1;
}
.spec-bar {
  width: 80px;
  height: 4px;
  background: var(--slate-200);
  border-radius: 2px;
  overflow: hidden;
}
.spec-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-500), var(--teal-400));
  border-radius: 2px;
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-card:hover {
  border-color: var(--blue-400);
  box-shadow: var(--shadow);
}
.contact-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer-main {
  background: var(--blue-900);
  color: rgba(255,255,255,.75);
  padding: 60px 0 32px;
}
.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .25rem;
}
.footer-brand-sub {
  font-family: var(--font-mono);
  font-size: .6rem;
  color: rgba(255,255,255,.4);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer-heading {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .05em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.footer-link {
  color: rgba(255,255,255,.55);
  font-size: .82rem;
  display: block;
  padding: .25rem 0;
  transition: color var(--transition);
}
.footer-link:hover { color: var(--teal-400); }
.footer-divider {
  border-color: rgba(255,255,255,.08);
  margin: 1.5rem 0;
}
.footer-bottom {
  font-family: var(--font-mono);
  font-size: .65rem;
  color: rgba(255,255,255,.35);
}

/* ================================================================
   UTILITIES
   ================================================================ */
.text-blue   { color: var(--blue-700) !important; }
.text-teal   { color: var(--teal-600) !important; }
.text-muted-custom { color: var(--slate-500); }
.bg-blue-light { background: var(--blue-50); }
.bg-teal-light { background: var(--teal-50); }
.bg-section    { background: var(--slate-50); }
.bg-dark-section { background: var(--blue-900); }

.divider-with-text {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--slate-400);
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.divider-with-text::before,
.divider-with-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--slate-200);
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fade-up .7s cubic-bezier(.4,0,.2,1) both; }
.anim-d1 { animation-delay: .1s; }
.anim-d2 { animation-delay: .25s; }
.anim-d3 { animation-delay: .4s; }
.anim-d4 { animation-delay: .55s; }
.anim-d5 { animation-delay: .7s; }

/* scroll to top button */
#scrollTop {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 42px; height: 42px;
  background: var(--blue-700);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 999;
  font-size: 1rem;
}
#scrollTop.visible { opacity: 1; pointer-events: auto; }
#scrollTop:hover { background: var(--blue-800); transform: translateY(-2px); }

/* accordion custom */
.accordion-custom .accordion-button {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .88rem;
  color: var(--slate-800);
  background: var(--white);
  box-shadow: none;
}
.accordion-custom .accordion-button:not(.collapsed) {
  color: var(--blue-700);
  background: var(--blue-50);
}
.accordion-custom .accordion-button:focus { box-shadow: none; }
.accordion-custom .accordion-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius) !important;
  margin-bottom: .5rem;
  overflow: hidden;
}
.accordion-custom .accordion-button::after {
  background-size: 14px;
  opacity: .5;
}

/* tabs custom */
.nav-tabs-custom {
  border-bottom: 2px solid var(--slate-200);
  gap: .25rem;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.nav-tabs-custom .nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .8rem;
  color: var(--slate-500);
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: .7rem 1.1rem;
  white-space: nowrap;
  transition: all var(--transition);
  margin-bottom: -2px;
}
.nav-tabs-custom .nav-link:hover { color: var(--blue-700); }
.nav-tabs-custom .nav-link.active {
  color: var(--blue-700);
  border-bottom-color: var(--blue-700);
  background: transparent;
}

/* pills nav */
.nav-pills-custom .nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .78rem;
  color: var(--slate-500);
  border-radius: var(--radius-sm);
  padding: .5rem 1rem;
  transition: all var(--transition);
}
.nav-pills-custom .nav-link:hover  { background: var(--blue-50); color: var(--blue-700); }
.nav-pills-custom .nav-link.active { background: var(--blue-700); color: white; }

/* alert banner */
.alert-info-custom {
  background: linear-gradient(135deg, var(--blue-50), #e0f2fe);
  border: 1px solid rgba(29,111,168,.2);
  border-left: 4px solid var(--blue-500);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: .85rem;
  color: var(--blue-800);
}
.alert-warning-custom {
  background: var(--amber-50);
  border: 1px solid rgba(245,158,11,.25);
  border-left: 4px solid var(--amber-500);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: .85rem;
  color: #7c4d00;
}

/* table-responsive override */
.table-clean { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--slate-200); }
.table-clean table { margin: 0; }
