@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #1f242d;
  color: white;
}

a {
  color: #fff;
  text-decoration: none;
}

section {
  padding: 80px 9%;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 25px 9%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1f242d;
  z-index: 100;
}

.navbar .logo {
  font-size: 30px;
  font-weight: 700;
  color: #7cf03d;
}

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

.navbar ul li a {
  font-size: 18px;
  font-weight: 500;
  transition: 0.3s;
}

.navbar ul li:hover a,
.navbar ul li.active a {
  color: #7cf03d;
}

.home {
  display: flex;
  align-items: center;
  height: 100vh;
  padding-top: 120px;
}

.home-info {
  max-width: 600px;
}

.home-info h1 {
  font-size: 55px;
}

.home-info h2 {
  font-size: 30px;
  margin-top: -8px;
}

.home-info p {
  margin: 15px 0 25px;
}

.home-img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  margin-left: 30px;
  object-fit: cover;
  border: 3px solid #3df0d5;
  display: block;
  margin: 2rem auto;
  box-shadow: 0 0 5px #09d1df;

}

.sci a {
  display: inline-flex;
  padding: 8px;
  border: 2px solid #7cf03d;
  border-radius: 50%;
  margin: 0 8px;
  font-size: 20px;
  color: #7cf03d;
  transition: 0.3s;
}

.sci a:hover {
  background: #7cf03d;
  color: #1f242d;
}

/* --------- Reusable Section Style --------- */
.section-title {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #7cf03d;
  background: #1f1f1f;
  border-left: 4px solid #00f0ff;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  border-radius: 4px;
}

.about, .academic, .certifications, .projects, .contact, .resume {
  background: #1f1f2e;
  margin-top: 30px;
  border-radius: 10px;
  padding: 30px;
 
}

.certifications-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.certifications-gallery .certifications {
  background: #2e323e;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  transition: 0.3s;
}

.certifications-gallery .certifications:hover {
  background: #3d414d;
 
}


.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.project-gallery .project {
  background: #2e323e;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  transition: 0.3s;
}

.project-gallery .project:hover {
  background: #3d414d;
 
}

.contact__form {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 0, 230, 0.3);
}

.contact__content {
  margin-bottom: 1.5rem;
}

.content__label {
  display: block;
  margin-bottom: 0.5rem;
  color: #00f0ff;
}

.contact__input {
  width: 100%;
  padding: 0.5rem;
  border: none;
  border-radius: 5px;
  background: #333;
  color: #fff;
}

/* --------- Resume Section Style --------- */
.resume {
  text-align: center;
  
}

.download-btn {
  display: inline-flex;
  padding: 1px 2px;
  border: 2px solid #7cf03d;
  border-radius: 62px;
  margin: 0 8px;
  font-size: 20px;
  color: #7cf03d;
  transition: 0.3s;
}

.download-btn:hover {
  background: #6bd336;
  color: #1f242d;
}

footer {
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  animation: fadeIn 1s ease-in-out;
}

footer p {
  font-size: 1em;
}

/* Generic fade-in-up animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title {
  font-size: 36px;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease forwards;
}

section {
  padding: 80px 9%;
  background: #1f242d;
  color: #fff;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
}

.resume .download-btn,
.contact-form button {
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.5s;
}

.project-gallery img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(124, 240, 61, 0.6);
}
