/* ==========================
   RESET & BASE (PRO MAX)
========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  margin: 0;
  color: white;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top, #0b1220, #0f172a),
    linear-gradient(120deg, rgba(59, 130, 246, 0.08), transparent 60%);
}

/* subtle grid background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.4;
}

/* ==========================
   HEADER
========================== */
header {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #2563eb, #1e3a8a);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  animation: fadeDown 0.8s ease-out;
}

header h1 {
  font-size: 3rem;
  letter-spacing: 1px;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

header p {
  opacity: 0.85;
  margin-top: 10px;
}

/* ==========================
   SECTIONS (GLASS PRO)
========================== */
section {
  padding: 40px;
  max-width: 900px;
  margin: 30px auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  transition: all 0.35s ease;
  animation: fadeUp 0.8s ease;
}

section:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 70px rgba(59, 130, 246, 0.25);
}

h2 {
  border-bottom: 2px solid #2563eb;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================
   SKILLS (PRO ANIMATED)
========================== */
.skill {
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.skill:nth-child(1) {
  animation-delay: 0.1s;
}

.skill:nth-child(2) {
  animation-delay: 0.2s;
}

.skill:nth-child(3) {
  animation-delay: 0.3s;
}

.skill p {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.bar {
  background: rgba(30, 41, 59, 0.8);
  height: 12px;
  border-radius: 50px;
  overflow: hidden;
  position: relative;
}

.bar span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, #3b82f6, #38bdf8, #6366f1);
  animation: fillBar 2s ease forwards;
}

/* ==========================
   EXPERIENCE (CARDS PRO)
========================== */
.job {
  margin-bottom: 20px;
  padding: 18px;
  background: rgba(30, 41, 59, 0.6);
  border-radius: 14px;
  border-left: 4px solid #3b82f6;
  transition: all 0.3s ease;
}

.job:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.25);
}

.mission {
  margin-top: 15px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.75);
  border-left: 3px solid #38bdf8;
  border-radius: 10px;
}

.mission h4 {
  margin-bottom: 6px;
  color: #38bdf8;
}

/* ==========================
   PROJECTS
========================== */
.project {
  padding: 15px;
  background: rgba(30, 41, 59, 0.5);
  border-radius: 14px;
  transition: all 0.3s ease;
}

.project:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

/* ==========================
   LINKS
========================== */
a {
  color: #38bdf8;
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: #60a5fa;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
}

/* ==========================
   ANIMATIONS
========================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fillBar {
  to {
    transform: scaleX(var(--w));
  }
}

/* ==========================
   RESPONSIVE
========================== */
@media (max-width: 768px) {
  header h1 {
    font-size: 2.2rem;
  }

  section {
    padding: 25px;
    margin: 15px;
  }
}