/* GLOBAL */

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #0f172a;
  color: white;
}

section {
  padding: 60px 20px;
  text-align: center;
  max-width: 1000px;
  margin: auto;
}

/* NAVBAR */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: #020617;
}

.navbar ul {
  list-style: none;
  display: flex;
}

.navbar li {
  margin-left: 20px;
}

.navbar a {
  text-decoration: none;
  color: white;
}

/* HERO */

.hero {
  text-align: center;
  padding: 120px 20px;
  background: linear-gradient(135deg, #1e3a8a, #0ea5e9);
  position: relative;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.hero h1 {
  font-size: 48px;
}

.tagline {
  font-size: 18px;
  margin-top: 10px;
}

.highlight-line {
  margin-top: 10px;
  font-weight: 500;
  color: #38bdf8;
}

.hero-buttons {
  margin-top: 20px;
}

.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 25px;
  background: white;
  color: black;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
}

.resume-btn {
  background: #00adb5;
  color: white;
  margin-left: 10px;
}

/* PROFILE IMAGE */

.hero-image img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #38bdf8;
}

/* ABOUT */

.about p {
  max-width: 800px;
  margin: 15px auto;
  line-height: 1.7;
  font-size: 17px;
}

/* SKILLS */

.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  max-width: 700px;
  margin: auto;
}

.skill {
  background: #020617;
  padding: 20px;
  border-radius: 12px;
  width: 120px;
  text-align: center;
  transition: 0.3s;
}

.skill i {
  font-size: 30px;
  margin-bottom: 10px;
  color: #38bdf8;
}

.skill:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* PROJECTS */

.projects-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.project-card {
  background: #020617;
  padding: 25px;
  width: 260px;
  border-radius: 12px;
  transition: 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* FEATURED PROJECT (FIXED CENTERING) */

.featured {
  text-align: center;
}

.project-highlight {
  max-width: 750px;
  margin: 30px auto;
  padding: 25px;
  background: #020617;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
}

/* GITHUB */

.github {
  text-align: center;
}

.github p {
  margin: 20px 0;
  font-size: 18px;
}

.github .btn {
  background: #00adb5;
  color: white;
  border-radius: 8px;
  font-weight: 600;
}

.github .btn:hover {
  background: #019ca3;
}

/* CONTACT */

.contact {
  text-align: center;
}

/* PARTICLES */

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

/* LIGHT MODE */

body.light-mode {
  background: #f5f5f5;
  color: #111;
}

body.light-mode .navbar {
  background: #ffffff;
}

body.light-mode .project-card,
body.light-mode .project-highlight {
  background: #ffffff;
  border: 1px solid #ddd;
}

body.light-mode .hero {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
}

/* THEME TOGGLE */

#theme-toggle {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: white;
}
/* ===== ANIMATIONS ===== */

/* Section fade-in */
section {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

section.show {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth hover for buttons */
.btn {
  transition: 0.3s;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Project hover effect */
.project-card {
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px) scale(1.02);
}

/* Featured project animation */
.project-highlight {
  transition: 0.4s ease;
}

.project-highlight:hover {
  transform: scale(1.02);
}

/* Skills hover animation */
.skill {
  transition: all 0.3s ease;
}

.skill:hover {
  transform: translateY(-8px) scale(1.05);
}

/* Profile image glow */
.profile-img {
  transition: 0.4s;
}

.profile-img:hover {
  box-shadow: 0 0 25px rgba(0,255,255,0.6);
}
/* Hero floating animation */

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0px);
  }
}

.hero-content {
  animation: float 4s ease-in-out infinite;
}
.profile-img {
  transition: 0.4s;
  box-shadow: 0 0 20px rgba(0,255,255,0.3);
}

.profile-img:hover {
  box-shadow: 0 0 35px rgba(0,255,255,0.7);
}
.hero h1 {
  text-shadow: 0 0 15px rgba(0,255,255,0.4);
}
.hero {
  background: linear-gradient(270deg, #1e3a8a, #0ea5e9, #38bdf8);
  background-size: 600% 600%;
  animation: gradientMove 10s ease infinite;
}

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