/* -------------------------------------------------------------
 * Adrian Budiasna, S.Kom. - Master Portfolio & Systems Stylesheet
 * High-End Tech Aesthetic: Glassmorphism, Dark Mode, Micro-animations
 * ----------------------------------------------------------- */

:root {
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Color Palette - Dark Tech Default */
  --bg-base: #0a0f1d;
  --bg-surface: #11192e;
  --bg-card: rgba(18, 27, 49, 0.78);
  --bg-glass: rgba(23, 34, 61, 0.65);
  --border-glass: rgba(255, 255, 255, 0.09);
  --border-glow: rgba(59, 130, 246, 0.4);

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-indigo: #6366f1;
  --accent-purple: #a855f7;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-red: #ef4444;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 35px rgba(59, 130, 246, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --header-height: 76px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  --bg-base: #f1f5f9;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-glass: rgba(241, 245, 249, 0.9);
  --border-glass: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(37, 99, 235, 0.3);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.15);
}

/* Reset & Global Constraints */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

a:hover {
  color: var(--accent-cyan);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

/* Ambient Glow Orbs & Subtle Tech Grid */
.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  background-image: radial-gradient(rgba(59, 130, 246, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

[data-theme="light"] .ambient-glow {
  background-image: radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
}

.glow-orb-1 {
  position: absolute;
  top: -100px;
  right: -80px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.16), transparent 70%);
  filter: blur(50px);
}

.glow-orb-2 {
  position: absolute;
  top: 40%;
  left: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12), transparent 70%);
  filter: blur(60px);
}

.glow-orb-3 {
  position: absolute;
  bottom: 5%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1), transparent 70%);
  filter: blur(50px);
}

/* Container & Helpers */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
}

.badge-primary {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.3);
}

.badge-success {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-blue);
  color: var(--text-main);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-cyan);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 1.8rem;
  font-size: 1rem;
}

/* =============================================================
 * Header & Navigation Bar (Refined & Unified Single-Row Layout)
 * =========================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(10, 15, 29, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  z-index: 1000;
  transition: var(--transition);
}

[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(0, 0, 0, 0.07);
}

.nav-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 0.75rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(6, 182, 212, 0.22));
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.15rem;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
  transition: var(--transition);
  flex-shrink: 0;
}

.nav-logo:hover .nav-logo-icon {
  transform: scale(1.05) rotate(3deg);
  border-color: var(--accent-cyan);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}

.logo-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  display: inline-block;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.logo-degree {
  color: var(--accent-cyan);
  font-weight: 700;
}

.logo-title {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.42rem 0.65rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
}

.nav-link i {
  font-size: 0.82rem;
  color: var(--text-dim);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.07);
}

[data-theme="light"] .nav-link:hover {
  background: rgba(0, 0, 0, 0.05);
}

.nav-link:hover i {
  color: var(--accent-cyan);
}

.nav-link.active {
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.12);
  font-weight: 600;
}

.nav-link.active i {
  color: var(--accent-cyan);
}

.highlight-link {
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  font-weight: 600;
}

.highlight-link i {
  color: #38bdf8 !important;
}

.highlight-link:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-tool-btn {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 0.42rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-tool-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.08);
}

.robot-pill {
  background: rgba(16, 185, 129, 0.09);
  border-color: rgba(16, 185, 129, 0.28);
  color: #34d399;
}

.robot-pill:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}

.robot-pill.muted {
  background: rgba(148, 163, 184, 0.08);
  border-color: rgba(148, 163, 184, 0.2);
  color: var(--text-muted);
}

.robot-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  flex-shrink: 0;
}

.robot-pulse-dot.speaking {
  background: #06b6d4;
  box-shadow: 0 0 12px #06b6d4;
  animation: pulseSpeaking 0.5s infinite alternate;
}

@keyframes pulseSpeaking {
  0% { transform: scale(0.85); opacity: 0.6; }
  100% { transform: scale(1.3); opacity: 1; }
}

.theme-toggle-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
}

.theme-toggle-btn:hover {
  color: var(--accent-amber);
  border-color: rgba(245, 158, 11, 0.4);
  transform: rotate(15deg);
}

.admin-btn {
  white-space: nowrap;
  font-size: 0.8rem;
  padding: 0.42rem 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.admin-btn i {
  color: #60a5fa;
  font-size: 0.85rem;
}

.mobile-toggle {
  display: none;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.mobile-toggle:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* =============================================================
 * Hero Section
 * =========================================================== */
.hero-section {
  padding: calc(var(--header-height) + 3.5rem) 0 4rem;
  position: relative;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: #e2e8f0;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.hero-robot-banner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.robot-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(59, 130, 246, 0.2));
  border: 1px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.robot-banner-text {
  flex: 1;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.robot-banner-text strong {
  display: block;
  color: var(--text-main);
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.robot-banner-actions {
  display: flex;
  gap: 0.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.metric-divider {
  width: 1px;
  height: 36px;
  background: var(--border-glass);
}

/* Profile Card in Hero */
.hero-visual {
  display: flex;
  justify-content: center;
}

.profile-card-glass {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  backdrop-filter: blur(18px);
  text-align: center;
  max-width: 380px;
  width: 100%;
}

.profile-img-frame {
  width: 220px;
  height: 275px;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 4px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6);
  background: #0f172a;
  position: relative;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-avatar-crest {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 35%, #1e3a8a 0%, #0f172a 80%);
  color: #ffffff;
  padding-bottom: 2rem;
}

.avatar-initials {
  font-size: 4.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-family: var(--font-main);
  background: linear-gradient(135deg, #ffffff 30%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  text-shadow: 0 4px 20px rgba(56, 189, 248, 0.3);
}

.avatar-degree-sub {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.5rem;
  background: rgba(15, 23, 42, 0.6);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(147, 197, 253, 0.3);
}

.profile-status-ring {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.92);
  padding: 0.35rem 0.5rem;
  font-size: 0.72rem;
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.status-dot-active {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.profile-card-details h3 {
  font-size: 1.35rem;
  margin-bottom: 0.3rem;
}

.profile-role {
  color: var(--accent-cyan);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.profile-loc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.profile-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.tech-tag {
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
}

/* =============================================================
 * Section Headers & Competencies
 * =========================================================== */
.section-header {
  margin-bottom: 3rem;
}

.section-header.text-center {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-header:not(.text-center) {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.about-section {
  padding: 4rem 0;
}

.competencies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.competency-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
}

.competency-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-md);
}

.competency-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

.competency-card .card-icon.blue { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.competency-card .card-icon.emerald { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.competency-card .card-icon.amber { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.competency-card .card-icon.purple { background: rgba(168, 85, 247, 0.15); color: #c084fc; }

.competency-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.competency-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================================
 * Projects Showcase Section
 * =========================================================== */
.projects-section {
  padding: 4rem 0;
}

.projects-counter-badge {
  font-size: 0.82rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
  font-weight: 600;
}

.project-controls-bar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.search-box {
  position: relative;
  width: 100%;
}

.search-box i.fa-magnifying-glass {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
}

.search-box input {
  width: 100%;
  padding: 0.95rem 2.8rem 0.95rem 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.search-box input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.clear-btn {
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 1rem;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-pill {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition);
}

.filter-pill:hover, .filter-pill.active {
  background: var(--accent-blue);
  color: #ffffff;
  border-color: var(--accent-blue);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(59, 130, 246, 0.2);
}

.project-thumb-frame {
  position: relative;
  height: 200px;
  background: #090d16;
  overflow: hidden;
}

.project-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.project-card:hover .project-thumb-img {
  transform: scale(1.04);
}

.project-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 13, 22, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-thumb-overlay {
  opacity: 1;
}

.featured-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.9);
  color: #0f172a;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 2;
}

.project-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.category-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.project-year {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.project-title {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
  cursor: pointer;
  transition: color 0.2s;
}

.project-title:hover {
  color: var(--accent-cyan);
}

.project-client {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.project-summary {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.tech-pill {
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.tech-pill.more {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.project-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-glass);
}

.btn-text-link {
  background: transparent;
  border: none;
  color: var(--accent-blue);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}

.btn-text-link:hover {
  color: var(--accent-cyan);
}

.btn-icon-voice {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  background: var(--bg-surface);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-icon-voice:hover {
  background: var(--accent-cyan);
  color: #0f172a;
}

/* =============================================================
 * Facilities, Rooms & Services Section
 * =========================================================== */
.facilities-section {
  padding: 4rem 0;
  background: rgba(17, 25, 46, 0.4);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.room-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.room-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.room-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.room-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.room-badge.hq { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.room-badge.online { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.room-badge.onsite { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }

.room-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent-cyan);
}

.room-title {
  font-size: 1.3rem;
  margin-bottom: 0.65rem;
}

.room-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.room-features {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.room-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.room-features li i {
  color: #10b981;
  margin-top: 3px;
}

/* =============================================================
 * Reservation & Billing Form Section
 * =========================================================== */
.reservation-section {
  padding: 4rem 0;
}

.reservation-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.reservation-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-glass);
}

.sla-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-label span.req {
  color: #ef4444;
}

.form-control {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 0.8rem 1rem;
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.reservation-form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
  flex-wrap: wrap;
  gap: 1rem;
}

/* =============================================================
 * Map & Contact Sections
 * =========================================================== */
.map-section {
  padding: 4rem 0;
  background: var(--bg-surface);
}

.geo-map-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.leaflet-container {
  width: 100%;
  height: 420px;
}

.geo-info-bar {
  padding: 1.5rem 2rem;
  background: rgba(15, 23, 42, 0.88);
  border-top: 1px solid var(--border-glass);
  display: grid;
  grid-template-columns: 1.2fr 1.2fr auto;
  gap: 1.5rem;
  align-items: center;
}

.geo-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.geo-info-item i {
  color: var(--accent-blue);
  font-size: 1.3rem;
  margin-top: 3px;
}

.geo-info-item strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
}

.geo-info-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.contact-section {
  padding: 4rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 2.5rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-glass);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #60a5fa;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-item a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.contact-item a:hover {
  color: var(--accent-cyan);
}

/* =============================================================
 * Footer Styles
 * =========================================================== */
.app-footer {
  background: #060913;
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0 2rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-glass);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}

.footer-address {
  font-size: 0.82rem !important;
  color: var(--text-dim) !important;
}

.footer-links h4, .footer-credentials h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #f1f5f9;
}

.footer-links ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.88rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-credentials p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-admin-link {
  color: #94a3b8;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
}

.footer-admin-link:hover {
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.4);
}

/* =============================================================
 * Modals & Dialogs
 * =========================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 13, 22, 0.88);
  backdrop-filter: blur(14px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.25s ease;
}

.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  overflow: hidden;
  animation: popIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: var(--accent-red);
}

.modal-body {
  padding: 1.75rem;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  background: rgba(15, 23, 42, 0.4);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Responsive Media Queries */
@media (max-width: 1240px) {
  .nav-container {
    padding: 0 1rem;
    gap: 0.5rem;
  }
  .nav-menu {
    gap: 0.15rem;
  }
  .nav-link {
    padding: 0.38rem 0.5rem;
    font-size: 0.82rem;
    gap: 0.35rem;
  }
  .nav-logo {
    gap: 0.6rem;
  }
  .logo-title {
    font-size: 0.68rem;
  }
}

@media (max-width: 1080px) {
  .logo-title {
    display: none;
  }
  .nav-link span {
    font-size: 0.8rem;
  }
  .nav-actions {
    gap: 0.45rem;
  }
  .admin-btn-label {
    display: none;
  }
  .admin-btn {
    padding: 0.42rem 0.65rem;
  }
}

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .geo-info-bar {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Mobile Navigation Drawer */
  .mobile-toggle {
    display: inline-flex;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-glow);
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    gap: 0.4rem;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
    z-index: 999;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }

  [data-theme="light"] .nav-menu {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  }

  .nav-menu.open {
    display: flex;
    animation: navSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .nav-menu .nav-link {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    border: 1px solid transparent;
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link.active {
    background: rgba(59, 130, 246, 0.12);
    border-color: var(--border-glass);
  }
}

@keyframes navSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 0.85rem;
  }
  .logo-name {
    font-size: 0.95rem;
  }
  .robot-pill-text {
    display: none;
  }
  .robot-pill {
    padding: 0.42rem 0.55rem;
  }
}

/* =============================================================
 * Academic Credentials & Gunadarma Certificate Styling
 * =========================================================== */
.academic-credential-card {
  background: var(--bg-card);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.academic-credential-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #38bdf8, #3b82f6, #818cf8);
}

.academic-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1.5rem;
}

.academic-univ-info h3 {
  font-size: 1.75rem;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.academic-univ-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.academic-status-badges {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.badge-unggul {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.badge-gpa {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.academic-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.spec-box {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
}

.spec-box .spec-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  display: block;
  margin-bottom: 0.3rem;
}

.spec-box .spec-value {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-main);
  font-family: var(--font-mono);
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

.cert-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.15);
}

.cert-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cert-number {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
}

.cert-date {
  font-size: 0.76rem;
  color: var(--text-dim);
}

.cert-title {
  font-size: 1.12rem;
  color: var(--text-main);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.cert-title i {
  color: #3b82f6;
  font-size: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.cert-subjects {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  background: rgba(15, 23, 42, 0.4);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border-left: 2px solid #38bdf8;
  margin-top: 0.75rem;
}

.thesis-card {
  background: var(--bg-card);
  border: 1px solid rgba(129, 140, 248, 0.35);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}

.thesis-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #818cf8, #38bdf8);
}


