/* ==========================================================================
   MUHAMMAD RIDHO HAFIDZ - SYSTEM & CLOUD ENGINEER PORTFOLIO
   Design System & Styling (Dark High-Tech Cloud & Engineering Theme)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette - Dark Slate & Cyber Glow */
  --bg-dark: #090d16;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-header: rgba(9, 13, 22, 0.85);
  --bg-terminal: #0d1117;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 254, 0.3);
  --border-active: #00f2fe;

  /* Accent Colors */
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-purple: #7000ff;
  --accent-emerald: #00e676;
  --accent-orange: #ff9f43;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --grad-accent: linear-gradient(135deg, #00e676 0%, #00f2fe 100%);
  --grad-purple: linear-gradient(135deg, #7000ff 0%, #00f2fe 100%);
  --grad-dark-card: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.005) 100%);

  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-link: #38bdf8;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

  /* Shadows & Glassmorphism */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 242, 254, 0.1);
  --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.25);
  --glass-blur: blur(12px);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(0, 242, 254, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 85% 60%, rgba(112, 0, 255, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(0, 230, 118, 0.03) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Background Grid Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -1;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Container Utility */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section Header Utility */
.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title i {
  -webkit-text-fill-color: initial;
  color: var(--accent-cyan);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

/* --------------------------------------------------------------------------
   3. HEADER NAVIGATION (STICKY GLASSMORPHIC MODERN HEADER)
   -------------------------------------------------------------------------- */
.header-nav {
  position: sticky;
  top: 0;
  width: 100%;
  height: 72px;
  z-index: 1000;
  background: rgba(9, 13, 22, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: var(--transition);
}

.brand-logo .prompt {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

.brand-logo:hover {
  color: var(--accent-cyan);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.mobile-drawer,
.nav-backdrop,
.mobile-nav-toggle {
  display: none;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  position: relative;
  padding: 0.45rem 0.2rem;
  text-decoration: none;
  transition: all 0.25s ease;
  font-family: var(--font-sans);
  display: inline-flex;
  align-items: center;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--grad-primary);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.6);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-nav-toggle {
  font-size: 1.25rem;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0.5rem;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

/* --------------------------------------------------------------------------
   4. HERO SECTION WITH CLI TERMINAL WIDGET
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: 3rem;
  padding-bottom: 4rem;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.35rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
  min-height: 2.2rem;
  display: flex;
  align-items: center;
}

.typed-cursor {
  display: inline-block;
  width: 10px;
  height: 1.4rem;
  background: var(--accent-cyan);
  margin-left: 4px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

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

.hero-description p {
  margin-bottom: 0.75rem;
}

.hero-description p:last-child {
  margin-bottom: 0;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  background: var(--grad-primary);
  color: #090d16;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.5);
  color: #000;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-weight: 600;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  backdrop-filter: var(--glass-blur);
  transition: var(--transition);
}

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

.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.15rem;
  transition: var(--transition);
}

.social-icon:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-3px);
}

/* CLI Terminal Card */
.terminal-card {
  background: var(--bg-terminal);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}

.terminal-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.terminal-header {
  background: rgba(255, 255, 255, 0.04);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.terminal-body {
  padding: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.7;
  max-height: 380px;
  overflow-y: auto;
}

.t-prompt {
  color: var(--accent-cyan);
  font-weight: bold;
}
.t-cmd {
  color: var(--text-primary);
}
.t-output {
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
  padding-left: 0.5rem;
}
.t-success {
  color: var(--accent-emerald);
}
.t-warning {
  color: var(--accent-orange);
}
.t-info {
  color: var(--accent-blue);
}

.terminal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border-color);
}

.t-chip {
  padding: 0.25rem 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.t-chip:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* --------------------------------------------------------------------------
   5. STATS OVERVIEW BAR
   -------------------------------------------------------------------------- */
.stats-section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.015);
  margin-bottom: 3rem;
}

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

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  backdrop-filter: var(--glass-blur);
  transition: var(--transition);
}

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

.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   6. TECHNICAL SKILLS MATRIX WITH FILTER TABS
   -------------------------------------------------------------------------- */
.skills-section {
  padding: 4rem 0;
}

.skill-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.skill-tab {
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.skill-tab:hover, .skill-tab.active {
  background: var(--grad-primary);
  color: #090d16;
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

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

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  backdrop-filter: var(--glass-blur);
  transition: var(--transition);
}

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

.skill-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.skill-card-header i {
  font-size: 1.35rem;
  color: var(--accent-cyan);
}

.skill-card-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-primary);
  transition: var(--transition);
}

.skill-tag:hover {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* --------------------------------------------------------------------------
   7. WORK EXPERIENCE TIMELINE
   -------------------------------------------------------------------------- */
.experience-section {
  padding: 4rem 0;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

/* Vertical Timeline Bar */
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-cyan) 0%, var(--accent-purple) 70%, transparent 100%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-left: 70px;
  margin-bottom: 3.5rem;
}

.timeline-marker {
  position: absolute;
  top: 0;
  left: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 15px var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--accent-cyan);
  z-index: 2;
}

.timeline-item.current .timeline-marker {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 20px var(--accent-emerald);
  color: var(--accent-emerald);
}

.experience-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: var(--glass-blur);
  transition: var(--transition);
}

.experience-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg);
}

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

.exp-company {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.exp-location {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.exp-tenure-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
}

/* Positions inside Company */
.position-block {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.position-block:last-child {
  margin-bottom: 0;
}

.role-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.role-date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-cyan);
}

.role-badge {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}
.role-badge.current {
  background: rgba(0, 230, 118, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(0, 230, 118, 0.3);
}
.role-badge.advancement {
  background: rgba(112, 0, 255, 0.15);
  color: #b57cff;
  border: 1px solid rgba(112, 0, 255, 0.3);
}

.duties-list {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.6rem;
}

.duty-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.duty-item i {
  color: var(--accent-cyan);
  font-size: 0.75rem;
  margin-top: 0.35rem;
}

/* --------------------------------------------------------------------------
   8. CERTIFICATIONS GRID WITH CATEGORY FILTERS
   -------------------------------------------------------------------------- */
.cert-section {
  padding: 4rem 0;
}

.cert-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.cert-filter-btn {
  padding: 0.5rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: var(--transition);
}

.cert-filter-btn:hover, .cert-filter-btn.active {
  background: var(--accent-cyan);
  color: #090d16;
  font-weight: 700;
  border-color: var(--accent-cyan);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  backdrop-filter: var(--glass-blur);
  transition: var(--transition);
}

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

.cert-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.cert-card.aws .cert-icon { background: rgba(255, 153, 0, 0.15); color: #ff9900; }
.cert-card.redhat .cert-icon { background: rgba(238, 0, 0, 0.15); color: #ee0000; }
.cert-card.cpanel .cert-icon { background: rgba(255, 110, 0, 0.15); color: #ff6e00; }
.cert-card.acronis .cert-icon { background: rgba(0, 114, 206, 0.15); color: #0072ce; }
.cert-card.fortinet .cert-icon { background: rgba(204, 0, 0, 0.15); color: #cc0000; }
.cert-card.mikrotik .cert-icon { background: rgba(0, 168, 224, 0.15); color: #00a8e0; }

.cert-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.cert-category-tag {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.cert-date {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  margin-top: 0.25rem;
  display: block;
}

/* --------------------------------------------------------------------------
   9. EDUCATION & HONORS
   -------------------------------------------------------------------------- */
.edu-awards-section {
  padding: 4rem 0;
}

.edu-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
}

.edu-card, .award-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: var(--glass-blur);
  height: 100%;
}

.edu-gpa-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(0, 230, 118, 0.15);
  border: 1px solid rgba(0, 230, 118, 0.4);
  border-radius: var(--radius-full);
  color: var(--accent-emerald);
  font-weight: 800;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  margin: 0.75rem 0;
}

.thesis-box {
  margin-top: 1.25rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-left: 3px solid var(--accent-cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   10. CONTACT SECTION & FOOTER
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 5rem 0 3rem;
}

.contact-box {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 250px;
  transition: var(--transition);
}

.contact-card:hover {
  background: rgba(0, 242, 254, 0.08);
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
}

.contact-card i {
  font-size: 1.4rem;
  color: var(--accent-cyan);
}

.contact-card-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.contact-card-text strong {
  font-size: 0.95rem;
  color: var(--text-primary);
}

/* Footer */
footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--bg-terminal);
  border: 1px solid var(--accent-cyan);
  color: var(--text-primary);
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glow);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 2000;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid var(--border-glow);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--accent-cyan);
  color: #090d16;
  box-shadow: 0 0 15px var(--accent-cyan);
}

/* --------------------------------------------------------------------------
   10. GET CV / RESUME BUTTONS & INTERACTIVE CV MODAL
   -------------------------------------------------------------------------- */
/* CV Glow Button (Hero Primary CTA) */
.btn-cv-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #00c6ff 100%);
  background-size: 200% 200%;
  color: #090d16;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 22px rgba(0, 242, 254, 0.4), 0 0 15px rgba(79, 172, 254, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
}

.btn-cv-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 242, 254, 0.6), 0 0 25px rgba(79, 172, 254, 0.5);
  color: #000;
}

.btn-cv-glow .btn-cv-tag {
  background: rgba(9, 13, 22, 0.85);
  color: #00f2fe;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.18rem 0.45rem;
  border-radius: 4px;
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
  border: 1px solid rgba(0, 242, 254, 0.4);
  margin-left: 0.15rem;
}

/* Nav CV Button */
.nav-btn-cv {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.18) 0%, rgba(79, 172, 254, 0.1) 100%);
  border: 1px solid rgba(0, 242, 254, 0.5);
  border-radius: var(--radius-full);
  color: #00f2fe;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-mono);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.15);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
}

.nav-btn-cv:hover {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #090d16;
  border-color: #00f2fe;
  box-shadow: 0 0 22px rgba(0, 242, 254, 0.55);
  transform: translateY(-1px);
}

.nav-btn-cv i {
  font-size: 0.9rem;
}

/* Contact Section CV Card */
.contact-card.cv-contact-card {
  border-color: rgba(0, 242, 254, 0.35);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.1) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.contact-card.cv-contact-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.3);
  transform: translateY(-4px);
}

.contact-card.cv-contact-card i {
  color: var(--accent-cyan);
}

/* CV Preview Modal Viewer */
.cv-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 7, 13, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cv-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.cv-modal-box {
  width: 100%;
  max-width: 1040px;
  height: 92vh;
  background: #0d121f;
  border: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 242, 254, 0.2);
  transform: scale(0.96) translateY(12px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.cv-modal-backdrop.active .cv-modal-box {
  transform: scale(1) translateY(0);
}

.cv-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  background: #080c14;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 1rem;
  flex-shrink: 0;
}

.cv-modal-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.cv-modal-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.cv-modal-name {
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.cv-modal-sub {
  font-size: 0.74rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.cv-modal-ctrls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.cv-modal-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.2s ease;
  text-decoration: none;
  font-family: var(--font-sans);
  line-height: 1;
}

.cv-modal-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.cv-modal-btn-primary {
  background: var(--grad-primary);
  color: #090d16;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 12px rgba(0, 242, 254, 0.35);
}

.cv-modal-btn-primary:hover {
  color: #000;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.6);
  transform: translateY(-1px);
}

.cv-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cv-modal-close:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.6);
  color: #ef4444;
}

.cv-modal-body {
  flex: 1;
  width: 100%;
  height: calc(100% - 64px);
  background: #080b13;
  overflow: hidden;
  position: relative;
}

.cv-modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

