/* Base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background-color: #121212;
  color: #e0e0e0;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  padding-top: 60px; /* Adjust for fixed nav height */
}

  html {
    scroll-behavior: smooth;
  }
  



a {
  color: #90caf9;
  text-decoration: none;
}
header.hero {
  text-align: center;
  padding: 4rem 1rem;
  background-color: #161515;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.hero .btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: #90caf9;
  color: #000;
  border-radius: 4px;
  font-weight: bold;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}
.hero-text {
  flex: 1 1 55%;
}
.hero-image {
  flex: 1 1 40%;
  text-align: right;
}
.hero-image img {
  max-width: 300px;
  width: 100%;
  border-radius: 10px;
  opacity: 0.9;
}

.skill {
  margin-bottom: 1.5rem;
}
.skill span {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}
.skill-bar {
  background-color: #2e2e2e;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  background-color: #64ffda;
  width: 0;
  animation: fillSkill 1.5s ease forwards;
  border-radius: 5px;
}
@keyframes fillSkill {
  from { width: 0; }
}

.section {
  padding: 3rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #333;
  display: inline-block;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.project-card {
  background: #1e1e1e;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  transition: transform 0.3s;
}
.project-card:hover {
  transform: translateY(-5px);
}
.project-card img {
  max-width: 100%;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.skills-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.skills-list li {
  background: #333;
  padding: 0.5rem 1rem;
  border-radius: 20px;
}


.section-title {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 1s ease-out forwards;
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




footer {
  text-align: center;
  padding: 2rem;
  background: #1e1e1e;
  color: #888;
}