/* ==== GENERAL ==== */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #0f1123;
  color: #ffffff;
  scroll-behavior: smooth;
}

section {
  padding: 100px 20px;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  color: #7b6cf6;
  margin-bottom: 50px;
}

/* ==== NAVBAR ==== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #131738;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}
.logo span {
  color: #7b6cf6;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #ccc;
  font-size: 1rem;
  transition: color 0.3s;
}
.nav-links li a:hover {
  color: #7b6cf6;
}

/* ==== HOME SECTION ==== */
.home {
  background: linear-gradient(145deg, #101428, #191c3c);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.intro {
  max-width: 700px;
}

.intro h1 {
  font-size: 2.5rem;
  color: #fff;
}

.intro h1 span {
  color: #7b6cf6;
}

.intro h2 {
  font-size: 1.5rem;
  color: #bbb;
  margin-bottom: 20px;
}

.intro p {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.btn {
  background-color: #7b6cf6;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}
.btn:hover {
  background-color: #5e52c7;
}

/* ==== SKILLS ==== */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.skill {
  background-color: #1a1d3f;
  padding: 25px;
  border-radius: 15px;
  transition: transform 0.3s;
}
.skill:hover {
  transform: translateY(-5px);
}

/* ==== PROJECTS ==== */
.project-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.project-card {
  background-color: #1a1d3f;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}
.project-card:hover {
  transform: translateY(-5px);
}

/* ==== CONTACT ==== */
.contact-info {
  margin-top: 30px;
}
.contact-info a {
  color: #7b6cf6;
  text-decoration: none;
}
.contact-info a:hover {
  text-decoration: underline;
}

/* ==== FOOTER ==== */
footer {
  background-color: #131738;
  padding: 15px;
  text-align: center;
  color: #888;
  font-size: 0.9rem;
}
/* ==== SCROLL FADE-IN ANIMATIONS ==== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
