/* ===========================
   🔹 GLOBAL STYLES
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

:root {
  --navy-1: #050612;
  --navy-2: #0b0f2a;
  --purple: #120036;
  --cyan: #00c8ff;
  --magenta: #ff43c5;
  --text-light: #f1e5d8;
  --text-dim: #cccccc;
}

html, body {
  height: 100%;
  color: var(--text-light);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* ===========================
   🔹 DYNAMIC BACKGROUND
=========================== */
body {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(120deg, var(--navy-1), var(--navy-2), var(--purple));
  background-size: 400% 400%;
  animation: gradientShift 20s ease infinite;
  overflow-x: hidden;
  color: var(--text-light);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Animated floating neon layer */
body::before {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    rgba(0,200,255,0.2),
    rgba(255,67,197,0.2),
    rgba(0,200,255,0.2),
    rgba(255,67,197,0.2)
  );
  animation: rotateGlow 25s linear infinite;
  opacity: 0.25;
  z-index: 0;
}

@keyframes rotateGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Bring content above animation */
header, .container, footer {
  position: relative;
  z-index: 2;
}



/* ===========================
   🔹 CONTAINER & SECTIONS
=========================== */
.container {
  max-width: 1100px;
  margin: 60px auto;
  padding: 20px;
}

.section {
  background: rgba(255,255,255,0.05);
  padding: 25px;
  border-radius: 15px;
  margin-bottom: 40px;
  box-shadow: 0 0 15px rgba(0,234,255,0.15);
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(0,234,255,0.25);
}

.section h2, .section h3 {
  color: var(--cyan);
  margin-bottom: 15px;
}

ul {
  padding-left: 20px;
  color: #ddd;
  line-height: 1.8;
}

/* ===========================
   🔹 PROJECTS SECTION (your hover style)
=========================== */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 60px auto;
  max-width: 1000px;
  position: relative;
  z-index: 2;
}

.project-card {
  background: rgba(255,255,255,0.07);
  padding: 25px;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 10px rgba(0,200,255,0.1);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0,200,255,0.3);
}

.project-card h3 {
  color: var(--cyan);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.project-card p {
  color: #ddd;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===========================
   🔹 TECH TAGS
=========================== */
.tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech span {
  background: #00eaff25;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  color: var(--cyan);
  border: 1px solid #00eaff50;
}