/* ==========================================================================
   PRIYAL JAIN PORTFOLIO - STYLING SHEET
   Theme: Executive Dark Slate & Luxury Gold Accent
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- Root Variables --- */
:root {
  --bg-primary: #090D16;
  --bg-secondary: #111827;
  --bg-card: rgba(17, 24, 39, 0.6);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-hover: rgba(230, 194, 128, 0.3);

  --accent-gold: #E6C280;
  --accent-gold-dark: #C5A059;
  --gold-glow: rgba(230, 194, 128, 0.2);
  --gold-gradient: linear-gradient(135deg, #F3E0B5 0%, #C5A059 50%, #907137 100%);
  --gold-gradient-hover: linear-gradient(135deg, #FFFFFF 0%, #E6C280 60%, #C5A059 100%);
  --accent-cyan: #22D3EE;

  --text-primary: #F3F4F6;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;

  --container-max: 1200px;
}

/* --- Base Reset & Scrollbar --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
  border: 2px solid var(--bg-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold-dark);
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

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

/* --- Layout Utilities --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0 4rem 0;
  position: relative;
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Glassmorphic Panels --- */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2.5rem;
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 10px 30px -10px var(--gold-glow);
  transform: translateY(-5px);
}

/* --- Golden Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.2rem;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--gold-gradient);
  color: #0c0f16;
  border: none;
  box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-primary:hover {
  background: var(--gold-gradient-hover);
  box-shadow: 0 8px 25px var(--gold-glow);
  transform: scale(1.03) translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
}

.btn-secondary:hover {
  background: rgba(230, 194, 128, 0.08);
  border-color: #fff;
  color: #fff;
  transform: scale(1.03) translateY(-1px);
}

/* --- Custom Text Styles --- */
.gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Navigation Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(9, 13, 22, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.header.scrolled {
  padding: 0.5rem 0;
  background: rgba(9, 13, 22, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.logo {
  font-size: 1.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo span {
  font-weight: 300;
  color: var(--accent-gold);
}

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

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-gold);
}

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

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.8rem;
  cursor: pointer;
}

/* --- Hero Section --- */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 700px;
}

.hero-greeting {
  font-size: 1.1rem;
  color: var(--accent-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  display: inline-block;
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.8rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 1.5rem;
  min-height: 2.7rem;
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  background-color: var(--accent-gold);
  margin-left: 4px;
  animation: blink 0.8s infinite;
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

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

/* Hero Graphical Element (Profile Frame Wrapper) */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.profile-frame-container {
  position: relative;
  width: 340px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-card-wrapper {
  position: relative;
  width: 300px;
  height: 360px;
  border-radius: 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  padding: 6px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  transition: var(--transition-smooth);
  z-index: 10;
}

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

.profile-fallback-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-gradient);
  color: #0c0f16;
  font-size: 3.5rem;
  font-weight: 800;
  border-radius: 18px;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 0.55rem 1.1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  animation: badgeFloat 4s ease-in-out infinite;
  z-index: 12;
}

.badge-ta {
  top: 8%;
  left: -45px;
  color: var(--accent-cyan);
  border-color: rgba(34, 211, 238, 0.25);
  animation-delay: 0s;
}

.badge-mandates {
  bottom: 10%;
  right: -55px;
  color: var(--accent-gold);
  border-color: rgba(230, 194, 128, 0.25);
  animation-delay: 2s;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Rotating Decorative Rings */
.orbital-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(230, 194, 128, 0.15);
  pointer-events: none;
}

.ring-outer {
  width: 440px;
  height: 440px;
  animation: rotate 60s linear infinite;
  border-color: rgba(230, 194, 128, 0.08);
}

.ring-inner {
  width: 365px;
  height: 365px;
  animation: rotate-reverse 35s linear infinite;
  border-color: rgba(34, 211, 238, 0.12);
}

@keyframes rotate-reverse {
  100% { transform: rotate(-360deg); }
}

/* Profile hover zoom */
.profile-frame-container:hover .profile-card-wrapper {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(230, 194, 128, 0.3);
  box-shadow: 0 30px 60px -15px rgba(230, 194, 128, 0.25);
}

/* --- About & Competencies Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: flex-start;
}

.about-summary p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.about-summary strong {
  color: var(--text-primary);
}

.domain-expertise {
  margin-top: 2rem;
}

.domain-expertise-title {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  color: var(--accent-gold);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.5rem;
}

.domain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.domain-tag {
  background: rgba(230, 194, 128, 0.03);
  border: 1px solid var(--glass-border);
  padding: 0.45rem 1.2rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.domain-tag:hover {
  background: rgba(230, 194, 128, 0.08);
  border-color: var(--accent-gold);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 194, 128, 0.15);
}

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

.competency-card {
  padding: 2rem 1.5rem;
  text-align: center;
}

.competency-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--accent-gold);
}

.competency-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.competency-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* --- Timeline Section --- */
.timeline-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold-gradient);
  color: #0c0f16;
  border-color: transparent;
  box-shadow: 0 4px 12px var(--gold-glow);
}

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

.timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-gold) 0%, var(--accent-cyan) 60%, rgba(255, 255, 255, 0.02) 100%);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: 4rem;
  position: relative;
  width: 100%;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 2rem;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold);
  z-index: 5;
  transition: var(--transition-smooth);
}

.timeline-item[data-category="education"] .timeline-dot {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.timeline-item:hover .timeline-dot {
  background: var(--accent-gold);
  box-shadow: 0 0 18px var(--accent-gold);
  transform: translateX(-50%) scale(1.35);
}

.timeline-item[data-category="education"]:hover .timeline-dot {
  background: var(--accent-cyan);
  box-shadow: 0 0 18px var(--accent-cyan);
  transform: translateX(-50%) scale(1.35);
}

.timeline-side {
  width: 50%;
  padding: 0 3rem;
}

.timeline-content-wrapper {
  display: flex;
  justify-content: flex-end;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-content-wrapper {
  justify-content: flex-start;
}

.timeline-card {
  width: 100%;
  max-width: 420px;
  padding: 2rem;
}

.timeline-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  border: 1px solid var(--glass-border);
}

.badge-exp {
  background: rgba(230, 194, 128, 0.1);
  color: var(--accent-gold);
  border-color: rgba(230, 194, 128, 0.2);
}

.badge-edu {
  background: rgba(34, 211, 238, 0.1);
  color: var(--accent-cyan);
  border-color: rgba(34, 211, 238, 0.2);
}

.timeline-date {
  font-size: 0.9rem;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-role {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.timeline-org {
  font-size: 1.05rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.timeline-loc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.timeline-bullets {
  list-style: none;
}

.timeline-bullets li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.timeline-bullets li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-size: 0.8rem;
}

/* --- Skills Section --- */
.skills-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.skills-category-title {
  font-size: 1.4rem;
  margin-bottom: 1.8rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.skills-category-title i {
  color: var(--accent-gold);
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skill-item {
  width: 100%;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.skill-name {
  color: var(--text-primary);
}

.skill-percentage {
  color: var(--accent-gold);
}

.skill-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.skill-bar-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 10px;
  width: 0;
  /* Animated via JS or Intersection Observer */
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}

.tool-card {
  text-align: center;
  padding: 1.5rem;
}

.tool-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  color: var(--accent-gold);
  transition: var(--transition-fast);
}

.tool-card:hover .tool-icon {
  transform: scale(1.15) rotate(5deg);
  color: #fff;
}

.tool-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* --- Recruitment Impact KPI Section --- */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.kpi-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.kpi-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.kpi-icon-wrapper.gold {
  background: rgba(230, 194, 128, 0.08);
  border: 1px solid rgba(230, 194, 128, 0.15);
  color: var(--accent-gold);
}

.kpi-icon-wrapper.cyan {
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.15);
  color: var(--accent-cyan);
}

.kpi-card:hover .kpi-icon-wrapper.gold {
  background: var(--gold-gradient);
  color: #0c0f16;
  border-color: transparent;
  box-shadow: 0 0 15px var(--gold-glow);
  transform: scale(1.1) rotate(-5deg);
}

.kpi-card:hover .kpi-icon-wrapper.cyan {
  background: linear-gradient(135deg, #67e8f9 0%, #22d3ee 50%, #06b6d4 100%);
  color: #0c0f16;
  border-color: transparent;
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.3);
  transform: scale(1.1) rotate(5deg);
}

.kpi-content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-align: left;
}

.kpi-value-container {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.kpi-value {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  font-family: var(--font-heading);
  background: #fff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.kpi-card:hover .kpi-value {
  background: var(--gold-gradient-hover);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.kpi-card:nth-child(even):hover .kpi-value {
  background: linear-gradient(135deg, #ffffff 0%, #22d3ee 70%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.currency-tag {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-right: 0.1rem;
}

.lpa-unit {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-left: 0.3rem;
}

.kpi-text {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.kpi-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.kpi-card:nth-child(even) .kpi-label {
  color: var(--accent-cyan);
}

.kpi-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Animations */
@keyframes pulseRadar {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 40px var(--gold-glow);
  }

  50% {
    transform: scale(1.02);
    box-shadow: 0 0 60px rgba(230, 194, 128, 0.35);
  }
}

/* --- Contact Section --- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-intro-title {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.contact-intro-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.contact-method-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.5rem;
}

.contact-method-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(230, 194, 128, 0.08);
  border: 1px solid rgba(230, 194, 128, 0.15);
  color: var(--accent-gold);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.contact-method-card:hover .contact-method-icon {
  background: var(--gold-gradient);
  color: #0c0f16;
  transform: scale(1.1);
}

.contact-method-details h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.contact-method-details p {
  font-weight: 600;
  font-size: 1.05rem;
}

/* Contact Form styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.form-group {
  position: relative;
  width: 100%;
}

.form-input {
  width: 100%;
  padding: 1rem 0.5rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--glass-border);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-bottom-color: var(--accent-gold);
}

.form-label {
  position: absolute;
  left: 0.5rem;
  top: 1rem;
  color: var(--text-muted);
  font-size: 1rem;
  pointer-events: none;
  transition: var(--transition-fast);
}

/* Floating Label Effects */
.form-input:focus~.form-label,
.form-input:not(:placeholder-shown)~.form-label {
  top: -0.8rem;
  font-size: 0.8rem;
  color: var(--accent-gold);
  font-weight: 600;
}

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

.form-feedback {
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  display: none;
  text-align: center;
}

.form-feedback.success {
  display: block;
  background: rgba(34, 211, 238, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.form-feedback.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* --- Footer --- */
.footer {
  background: #06090F;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 0 2rem 0;
  margin-top: 4rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.social-link:hover {
  background: var(--gold-gradient);
  color: #0c0f16;
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-copyright {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Animations & Effects --- */
@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes scanNode {

  0%,
  100% {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
  }

  50% {
    background: rgba(230, 194, 128, 0.08);
    color: var(--accent-gold);
    border-color: rgba(230, 194, 128, 0.5);
  }
}

@keyframes stampIn {
  0% {
    transform: scale(3) rotate(-15deg);
    opacity: 0;
  }

  100% {
    transform: scale(1) rotate(-3deg);
    opacity: 1;
  }
}

@keyframes pulseCyan {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.4);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(34, 211, 238, 0);
  }
}

/* Scroll reveal initial states */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* --- Media Queries (Responsive Design) --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

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

  .simulator-layout {
    grid-template-columns: 1fr;
  }

  .timeline-wrapper::before {
    left: 2rem;
  }

  .timeline-item {
    flex-direction: column !important;
    align-items: flex-start;
    padding-left: 4rem;
  }

  .timeline-side {
    width: 100%;
    padding: 0;
  }

  .timeline-content-wrapper {
    justify-content: flex-start !important;
  }

  .timeline-dot {
    left: 2rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 6rem 0 3rem 0;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.4rem;
  }

  .competency-cards {
    grid-template-columns: 1fr;
  }

  .skills-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-primary);
    flex-direction: column;
    padding: 3rem 0;
    gap: 2rem;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--glass-border);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
  }

  .nav-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-nav-toggle {
    display: block;
  }

  .footer-grid {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

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

@media (max-width: 480px) {
  .profile-frame-container {
    width: 280px;
    height: 320px;
  }

  .profile-card-wrapper {
    width: 240px;
    height: 290px;
  }

  .ring-outer {
    width: 320px;
    height: 320px;
  }

  .ring-inner {
    width: 275px;
    height: 275px;
  }

  .badge-ta {
    left: -10px;
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }

  .badge-mandates {
    right: -15px;
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }

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

  .kpi-card {
    padding: 1.5rem;
    gap: 1rem;
  }

  .kpi-value {
    font-size: 2.2rem;
  }

  .kpi-text {
    font-size: 1.5rem;
  }

  .timeline-filters {
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }
}