/* ==============================
   🌌 BASE STYLES
============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, #0f0f0f, #1a1a2e, #0d1b2a);
  color: #fff;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: #00d4ff;
}

/* ==============================
   🌠 STAR BACKGROUND
============================== */
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0.5;
  animation: twinkle 3s infinite;
}

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

/* ==============================
   🧭 NAVBAR
============================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  padding: 1rem 2rem;
  z-index: 999;
  transition: background 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: #00d4ff;
  font-family: "Fira Code", monospace;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
}

/* ==============================
   🦸 HERO SECTION
============================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding-top: 6rem;
}

.hero-content {
  max-width: 900px;
  padding: 0 2rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  background: linear-gradient(90deg, #00d4ff, #ff6b6b, #4ecdc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
  }
  to {
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
  }
}

.hero p {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  opacity: 0.85;
  line-height: 1.8;
}

.cta-button {
  margin-top: 2.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(45deg, #00d4ff, #4ecdc4);
  color: #000;
  font-weight: bold;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
}

.cta-button:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 212, 255, 0.6);
}

/* ==============================
   📦 REUSABLE SECTIONS
============================== */
.section {
  padding: 5rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #00d4ff;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  height: 3px;
  width: 60px;
  background: #00d4ff;
  margin: 1rem auto 0 auto;
  border-radius: 2px;
}

/* ===== Section Layouts ===== */
.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
  color: #ffffff;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: auto;
  padding: 1rem;
}

.skill-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.05);
  color: #eee;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.skill-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.skill-tags {
  margin-top: 0.75rem;
}

.tag {
  display: inline-block;
  background: #3f51b5;
  color: #fff;
  padding: 0.3rem 0.6rem;
  margin: 0.2rem;
  border-radius: 8px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.profile-pic {
  width: 160px;
  border-radius: 50%;
  margin-right: 2rem;
  box-shadow: 0 0 0 3px #3f51b5;
}

.about {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1000px;
  margin: auto;
  color: #eee;
  flex-wrap: wrap;
}

.about-text {
  max-width: 600px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #ddd;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.social-links a {
  color: #90caf9;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid #90caf9;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  transition: all 0.2s ease-in-out;
}
.social-links a:hover {
  background-color: #90caf9;
  color: #121212;
}

.section-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #90caf9;
}
