* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: #ffffff;
  scroll-behavior: smooth;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background-color: rgba(0, 0, 0, 0.4);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  font-size: 2rem;
}

nav a {
  color: white;
  margin-left: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  color: #00c6ff;
}

.hero {
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.3rem;
  max-width: 800px;
}

.btn {
  margin-top: 30px;
  padding: 12px 28px;
  font-size: 1rem;
  background: #00c6ff;
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: #0072ff;
}

section {
  padding: 80px 50px;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  text-align: center;
  color: #00c6ff;
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.project-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 20px;
  transition: transform 0.3s;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.project-card:hover {
  transform: scale(1.05);
}

.skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.skill {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  border-radius: 10px;
}

.timeline {
  list-style: none;
  padding-left: 0;
  max-width: 800px;
  margin: auto;
}

.timeline li {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-left: 5px solid #00c6ff;
  margin-bottom: 20px;
  border-radius: 5px;
}

.education, .experience {
  padding: 2rem 1rem;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.education h2, .experience h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #00c6ff;
}

.edu-item, .exp-item {
  font-size: 1rem;
  margin: 0.5rem 0;
  color: #ffffff;
}

.exp-item h3 {
  font-size: 1.2rem;
  color: #00c6ff;
}

footer {
  background-color: #00000044;
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
}

a {
  color: #00c6ff;
  text-decoration: none;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    text-align: center;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
  }

  nav a {
    margin: 0;
    font-size: 0.95rem;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
    padding: 0 10px;
  }

  .btn {
    font-size: 0.9rem;
    padding: 10px 20px;
  }

  section {
    padding: 50px 20px;
  }

  h2 {
    font-size: 1.8rem;
  }

  .skills {
    flex-direction: column;
    align-items: center;
  }

  .skill {
    width: 80%;
    text-align: center;
    font-size: 1rem;
  }

  .projects {
    grid-template-columns: 1fr;
  }

  .project-card {
    padding: 20px;
    font-size: 0.95rem;
  }

  .timeline li {
    font-size: 0.95rem;
    padding: 15px;
  }

  .edu-item, .exp-item {
    font-size: 0.95rem;
  }

  .education h2, .experience h2 {
    font-size: 1.5rem;
  }

  footer {
    text-align: center;
    font-size: 0.85rem;
  }
}
.timeline {
  list-style: none;
  padding-left: 0;
  max-width: 800px;
  margin: auto;
}

.timeline li {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-left: 5px solid #00c6ff;
  margin-bottom: 20px;
  border-radius: 5px;
}
.experience-box {
  background: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #00c6ff;
  border-radius: 12px;
  padding: 30px;
  max-width: 800px;
  margin: 0 auto 40px auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.experience-box:hover {
  transform: translateY(-5px);
}

.experience-box h3 {
  font-size: 1.6rem;
  color: #00c6ff;
  margin-bottom: 10px;
}

.experience-box p {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .experience-box {
    padding: 20px;
    font-size: 0.95rem;
  }

  .experience-box h3 {
    font-size: 1.3rem;
  }
}
.image-card {
  background: white; /* or transparent if you want */
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  width: 320px;
  height: 320px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-card:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.image-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}
