* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #121212;
  color: #f5f5f5;
  line-height: 1.6;
  scroll-behavior: smooth;
}

h1, h2, h3 {
  font-weight: 600;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: #1e1e1e;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00adb5;
}

.logo span {
  color: #ff5722;
}

.navbar nav a {
  margin: 0 1rem;
  font-weight: 400;
  transition: color 0.3s ease;
}

.navbar nav a:hover {
  color: #00adb5;
}

#themeToggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #f5f5f5;
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 5%;
  min-height: 90vh;
}

.hero-text {
  max-width: 50%;
}

.hero-text h1 {
  font-size: 2.5rem;
}

.hero-text h1 span {
  color: #00adb5;
}

.hero-text p {
  margin: 1rem 0;
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: #00adb5;
  color: #fff;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #007b7f;
}

.mine-img {
  max-width: 300px;
  border-radius: 50%;
  border: 4px solid #00adb5;
}


.section {
  padding: 4rem 5%;
  text-align: center;
}

.section.dark {
  background: #1e1e1e;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #00adb5;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.skills-grid span {
  background: #00adb5;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.skills-grid span:hover {
  transform: scale(1.1);
}

.projects, .experience {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.card {
  background: #2a2a2a;
  padding: 1.5rem;
  border-radius: 10px;
  width: 280px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  background: #333;
}


#contactForm {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}

#contactForm input, 
#contactForm textarea {
  padding: 0.8rem;
  border: none;
  border-radius: 5px;
  outline: none;
  background: #2a2a2a;
  color: #fff;
}

#contactForm button {
  border: none;
  cursor: pointer;
}

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.icon-link {
  font-size: 1.5rem;
  color: #00adb5;
  transition: color 0.3s ease;
}

.icon-link:hover {
  color: #ff5722;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #1e1e1e;
  color: #aaa;
  margin-top: 2rem;
}


.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .mine-img {
    margin-top: 2rem;
  }

  .projects, .experience {
    flex-direction: column;
    align-items: center;
  }
}
