/* ============================================
   ANTIGRAVITY PORTFOLIO — Cyber-Industrial Theme
   Azihanafi Mohd Dakir
   ============================================ */

/* ===== DESIGN TOKENS ===== */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #121218;
  --bg-tertiary: #1a1a24;
  --bg-card: rgba(18, 18, 30, 0.6);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(0, 240, 255, 0.12);
  --border-glass-hover: rgba(0, 240, 255, 0.4);

  --cyan: #00F0FF;
  --cyan-rgb: 0, 240, 255;
  --cyan-dim: rgba(0, 240, 255, 0.3);
  --cyan-glow: 0 0 20px rgba(0, 240, 255, 0.3), 0 0 40px rgba(0, 240, 255, 0.1);
  --blue: #0066FF;
  --purple: #7B68EE;
  --red: #E31937;
  --gold: #FFD700;
  --green: #22C55E;

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #475569;

  --font-heading: 'Orbitron', monospace, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --glass-blur: 20px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(var(--cyan-rgb), 0.3);
  color: #fff;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--cyan-dim);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-spinner::before,
.loading-spinner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.loading-spinner::before {
  inset: 0;
  border: 2px solid var(--border-glass);
  border-top-color: var(--cyan);
  animation: spin 1s linear infinite;
}

.loading-spinner::after {
  inset: 8px;
  border: 2px solid transparent;
  border-top-color: rgba(var(--cyan-rgb), 0.4);
  animation: spin 1.5s linear infinite reverse;
}

.loading-text {
  position: absolute;
  bottom: -2rem;
  font-family: var(--font-heading);
  font-size: 0.6rem;
  color: var(--cyan-dim);
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* ===== BACKGROUND LAYERS ===== */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(var(--cyan-rgb), 0.03) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.scan-lines {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(0deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.015) 2px,
      rgba(0, 0, 0, 0.015) 4px);
  pointer-events: none;
  z-index: 1;
}

/* Ambient glow orbs */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.ambient-glow-1 {
  width: 500px;
  height: 500px;
  background: rgba(var(--cyan-rgb), 0.06);
  top: -10%;
  right: -10%;
}

.ambient-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(102, 51, 238, 0.04);
  bottom: 20%;
  left: -10%;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition-smooth);
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.88);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--border-glass);
  padding: 0.75rem 0;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cyan);
  text-decoration: none;
  letter-spacing: 3px;
  transition: var(--transition-fast);
}

.nav-logo:hover {
  text-shadow: var(--cyan-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width 0.3s ease;
  box-shadow: 0 0 8px rgba(var(--cyan-rgb), 0.4);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cyan);
}

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

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-fast);
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 0 1.5rem;
}

/* Profile Photo + Name Row */
.hero-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 1.5rem;
}

.hero-photo {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}

.hero-photo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(var(--cyan-rgb), 0.4);
  box-shadow:
    0 0 30px rgba(var(--cyan-rgb), 0.2),
    0 0 60px rgba(var(--cyan-rgb), 0.08);
  position: relative;
  z-index: 2;
}

.hero-photo-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--cyan);
  border-right-color: rgba(var(--cyan-rgb), 0.3);
  animation: spin 4s linear infinite;
  z-index: 1;
}

.hero-photo-ring::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-bottom-color: rgba(var(--cyan-rgb), 0.2);
  border-left-color: rgba(var(--cyan-rgb), 0.1);
  animation: spin 6s linear infinite reverse;
}

.hero-text {
  text-align: left;
}

.hero-name {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 7vw, 4.5rem);
  font-weight: 900;
  letter-spacing: 8px;
  color: var(--text-primary);
  text-shadow:
    0 0 40px rgba(var(--cyan-rgb), 0.25),
    0 0 80px rgba(var(--cyan-rgb), 0.08);
  margin-bottom: 0.5rem;
  animation: glitch 10s ease-in-out infinite;
  line-height: 1.1;
}

.hero-name .accent {
  color: var(--cyan);
  text-shadow:
    0 0 30px rgba(var(--cyan-rgb), 0.6),
    0 0 60px rgba(var(--cyan-rgb), 0.3);
}

.hero-title {
  font-size: clamp(0.7rem, 1.5vw, 1rem);
  color: var(--text-secondary);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 0;
  font-weight: 300;
}

.hero-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

/* CTA button */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 38px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 100%);
  color: var(--bg-primary);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.hero-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(var(--cyan-rgb), 0.35);
}

.hero-cta:hover::before {
  width: 300px;
  height: 300px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: bounce 2.5s ease-in-out infinite;
}

.scroll-indicator .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
}

/* ===== SECTION COMMON ===== */
.section {
  position: relative;
  padding: 120px 0;
  z-index: 2;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  color: var(--cyan);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 3px;
  line-height: 1.3;
}

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

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--cyan), transparent);
  margin: 1.5rem auto 0;
  border-radius: 2px;
}

/* ===== GLASSMORPHISM CARD ===== */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--border-glass-hover);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(var(--cyan-rgb), 0.05);
}

/* ===== ABOUT / STATS ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.9;
}

.about-text p+p {
  margin-top: 1.2rem;
}

/* Digitalization Initiatives List */
.digital-initiatives {
  list-style: none;
  margin: 1rem 0 1.2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.digital-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  background: rgba(var(--cyan-rgb), 0.03);
  border: 1px solid rgba(var(--cyan-rgb), 0.08);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--cyan);
  transition: var(--transition-fast);
}

.digital-item:hover {
  background: rgba(var(--cyan-rgb), 0.06);
  border-color: rgba(var(--cyan-rgb), 0.15);
}

.digital-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.digital-dept {
  display: block;
  font-size: 0.82rem;
  color: var(--cyan);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
}

.digital-desc {
  font-size: 0.85rem;
  color: var(--text-primary);
  line-height: 1.6;
}

/* Cisco Badge Section */
.cisco-badge-section {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: rgba(var(--cyan-rgb), 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(var(--cyan-rgb), 0.1);
}

.cisco-badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.cisco-badge-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 1rem;
}

.cisco-badge {
  width: 50px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(var(--cyan-rgb), 0.3));
}

.cisco-cert-name {
  font-size: 0.8rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.3;
}

.cisco-certs {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cisco-cert-item {
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 500;
}


.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--cyan);
  display: block;
  text-shadow: 0 0 20px rgba(var(--cyan-rgb), 0.3);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.7rem;
}

/* ===== FLOATING SKILL ORBS ===== */
.skills-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

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

.skill-group-label {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  color: var(--cyan);
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 8px 24px;
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  display: inline-block;
  background: var(--bg-card);
  margin-bottom: 1.5rem;
}

.skill-orbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.skill-orb {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  cursor: default;
  transition: var(--transition-smooth);
  position: relative;
}

.skill-orb::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 60%, var(--orb-color, var(--cyan)) 100%);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
}

.skill-orb:hover::before {
  opacity: 1;
  animation: spin 3s linear infinite;
}

.skill-orb:hover {
  transform: scale(1.15) !important;
  border-color: var(--orb-color, var(--cyan));
  box-shadow:
    0 0 30px rgba(var(--cyan-rgb), 0.15),
    inset 0 0 20px rgba(var(--cyan-rgb), 0.03);
}

.skill-orb-name {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  padding: 0 10px;
  line-height: 1.3;
}

.skill-orb-level {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  color: var(--orb-color, var(--cyan));
  margin-top: 4px;
  opacity: 0.8;
}

/* ===== EXPERIENCE TIMELINE ===== */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--cyan), rgba(var(--cyan-rgb), 0.1));
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 1.8rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--border-glass);
  transform: translateX(-5px);
  z-index: 2;
  transition: var(--transition-fast);
}

.timeline-item.featured .timeline-dot {
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(var(--cyan-rgb), 0.5);
}

.timeline-card {
  padding: 1.8rem 2rem;
  transition: var(--transition-smooth);
  cursor: default;
  overflow: hidden;
  position: relative;
}

.timeline-item.featured .timeline-card {
  border-left: 3px solid var(--cyan);
}

.timeline-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateX(4px);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.timeline-meta {
  text-align: right;
  flex-shrink: 0;
}

.bento-company {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  color: var(--cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.bento-role {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.bento-duration {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.bento-location {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.bento-description {
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.bento-highlights {
  list-style: none;
  margin-bottom: 1.5rem;
}

.bento-highlights li {
  font-size: 0.83rem;
  color: var(--text-primary);
  padding: 0.35rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.bento-highlights li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: 0.85rem;
}

.bento-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tech-badge {
  font-size: 0.68rem;
  padding: 4px 14px;
  background: rgba(var(--cyan-rgb), 0.07);
  border: 1px solid rgba(var(--cyan-rgb), 0.15);
  border-radius: 50px;
  color: var(--cyan);
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition-fast);
}

.tech-badge:hover {
  background: rgba(var(--cyan-rgb), 0.15);
  border-color: rgba(var(--cyan-rgb), 0.3);
}

/* ===== EDUCATION CARDS ===== */
.education-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.education-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
}

.education-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.education-degree {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.education-institution {
  font-size: 0.85rem;
  color: var(--cyan);
  margin-bottom: 0.2rem;
}

.education-field {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.education-year {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-top: 0.5rem;
}

/* ===== CERTIFICATIONS ===== */
.certs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
}

.cert-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.cert-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.cert-issuer {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ===== AWARDS CAROUSEL ===== */
.awards-wrapper {
  position: relative;
  overflow: hidden;
}

.awards-track {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  scroll-behavior: smooth;
}

.awards-track::-webkit-scrollbar {
  display: none;
}

.awards-track:active {
  cursor: grabbing;
}

.award-card {
  min-width: 360px;
  max-width: 420px;
  padding: 2.5rem;
  scroll-snap-align: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.award-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.award-medal {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 25px rgba(255, 215, 0, 0.25);
  animation: float 6s ease-in-out infinite;
}

.award-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.award-event {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.award-project {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 3px;
  margin-bottom: 1rem;
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgba(var(--cyan-rgb), 0.2);
  border-radius: 4px;
  background: rgba(var(--cyan-rgb), 0.05);
}

.award-description {
  font-size: 0.83rem;
  color: var(--text-primary);
  line-height: 1.8;
}

.award-year-bg {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.02);
  position: absolute;
  bottom: 0.5rem;
  right: 1.5rem;
  letter-spacing: 4px;
  pointer-events: none;
  line-height: 1;
}

/* Awards scroll hint */
.awards-hint {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.6;
}

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  padding: 2rem 0;
}

.contact-info-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.contact-info-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  background: var(--bg-card);
}

.contact-form {
  padding: 2.5rem;
}

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

.form-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-secondary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  transition: var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(var(--cyan-rgb), 0.08);
  background: rgba(var(--cyan-rgb), 0.02);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 100%);
  color: var(--bg-primary);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(var(--cyan-rgb), 0.3);
}

.form-submit:active {
  transform: translateY(0);
}

.form-submit.sending {
  pointer-events: none;
  opacity: 0.6;
}

.form-message {
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  font-size: 0.82rem;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--green);
}

.form-message.error {
  display: block;
  background: rgba(227, 25, 55, 0.1);
  border: 1px solid rgba(227, 25, 55, 0.3);
  color: var(--red);
}

/* ===== SOCIAL LINKS ===== */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
  background: var(--bg-card);
}

.social-link:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(var(--cyan-rgb), 0.2);
}

/* ===== SECURITY WIDGET ===== */
.security-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 50px;
  cursor: default;
  transition: var(--transition-smooth);
}

.security-widget:hover {
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 0 25px rgba(34, 197, 94, 0.1);
}

.security-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-green 2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.security-text {
  font-family: var(--font-heading);
  font-size: 0.58rem;
  color: var(--green);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.security-icon {
  font-size: 0.85rem;
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid var(--border-glass);
  position: relative;
  z-index: 2;
}

.footer-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.footer-text a {
  color: var(--cyan);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-text a:hover {
  text-shadow: 0 0 8px rgba(var(--cyan-rgb), 0.4);
}

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes glitch {

  0%,
  100% {
    text-shadow:
      0 0 40px rgba(var(--cyan-rgb), 0.25),
      0 0 80px rgba(var(--cyan-rgb), 0.08);
  }

  2% {
    text-shadow: -2px 0 var(--cyan), 2px 0 var(--red);
  }

  4% {
    text-shadow: 0 0 40px rgba(var(--cyan-rgb), 0.25), 0 0 80px rgba(var(--cyan-rgb), 0.08);
  }

  41% {
    text-shadow: 0 0 40px rgba(var(--cyan-rgb), 0.25), 0 0 80px rgba(var(--cyan-rgb), 0.08);
  }

  43% {
    text-shadow: 3px 0 var(--cyan), -3px 0 var(--blue);
  }

  45% {
    text-shadow: 0 0 40px rgba(var(--cyan-rgb), 0.25), 0 0 80px rgba(var(--cyan-rgb), 0.08);
  }

  90% {
    text-shadow: 0 0 40px rgba(var(--cyan-rgb), 0.25), 0 0 80px rgba(var(--cyan-rgb), 0.08);
  }

  92% {
    text-shadow: -1px 0 var(--red), 1px 0 var(--cyan);
  }

  94% {
    text-shadow: 0 0 40px rgba(var(--cyan-rgb), 0.25), 0 0 80px rgba(var(--cyan-rgb), 0.08);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-12px);
  }
}

@keyframes pulse-green {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
  }

  50% {
    opacity: 0.4;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.8);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== REVEAL ANIMATIONS (handled by GSAP) ===== */
/* Initial states are set by JavaScript — no CSS opacity:0 needed */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
  /* GSAP sets opacity:0 + transform on init, then animates to visible */
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .timeline-header {
    flex-direction: column;
    gap: 0.3rem;
  }

  .timeline-meta {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid var(--border-glass);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-top {
    flex-direction: column;
    gap: 1.5rem;
  }

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

  .hero-photo {
    width: 110px;
    height: 110px;
  }

  .education-grid,
  .certs-grid {
    grid-template-columns: 1fr;
  }

  .hero-name {
    letter-spacing: 4px;
  }

  .section {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .award-card {
    min-width: 290px;
  }

  .security-widget {
    bottom: 1rem;
    right: 1rem;
    padding: 8px 14px;
  }

  .contact-form {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-name {
    letter-spacing: 2px;
  }

  .hero-title {
    letter-spacing: 3px;
  }

  .hero-photo {
    width: 90px;
    height: 90px;
  }

  .skill-orb {
    width: 95px;
    height: 95px;
  }

  .skill-orb-name {
    font-size: 0.55rem;
  }

  .award-card {
    min-width: 260px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .stat-value {
    font-size: 2rem;
  }

  .timeline {
    padding-left: 1.2rem;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .hero-name {
    animation: none;
    text-shadow: 0 0 30px rgba(var(--cyan-rgb), 0.3);
  }

  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }
}