html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', Arial, sans-serif;
  color: #333;
  background-color: #f8f9fa;
}


/* ------------------ Hero Section ------------------ */
.hero {
  background: linear-gradient(to bottom right, #6a11cb, #2575fc);
  height: 94vh;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-img {
  width: 250px;
  height: 300px;
  object-fit: cover;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 1.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #f8f9fa;
  opacity: 0.9;
}

.hero .btn {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  border: 2px solid #fff;
  color: #fff;
  padding: 10px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.hero .btn:hover {
  background-color: #fff;
  color: #2575fc;
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ------------------ Section Headings ------------------ */
section h2 {
  font-size: 1.7rem;
  font-weight: 700;
  text-align: center;
  color: #343a40;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 30px;
  position: relative;
}

section h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: #2575fc;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ------------------ About Section ------------------ */
#about {
  background-color: #ffffff;
  padding: 60px 0;
}

#about p {
  font-size: 1.1rem;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

#about .btn {
  background: linear-gradient(to right, #2575fc, #6a11cb);
  border: none;
  color: #fff;
  border-radius: 50px;
  padding: 10px 25px;
  transition: all 0.3s ease;
}

#about .btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ------------------ Skills Section ------------------ */
#skills {
  background-color: #f4f4f4;
  padding: 60px 0;
}

#skills .card {
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#skills .card:hover {
  transform: translateY(-12px);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
}

#skills .card-body p strong {
  color: #007bff;
}

/* ------------------ Internship Section ------------------ */
#internship .card {
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 25px;
}

#internship ul {
  list-style-type: "✔️ ";
  padding-left: 20px;
}

/* ------------------ Projects Section ------------------ */
#projects {
  padding: 60px 0;
}

#projects .card {
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#projects .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

#projects .card-title {
  font-size: 1.2rem;
  color: #007bff;
}

/* ------------------ Education Section ------------------ */
#education .card {
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#education .card:hover {
  transform: translateY(-8px);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
}

#education .card-title {
  font-size: 1.25rem;
  font-weight: 700;
}

/* ------------------ Achievements Section ------------------ */
#achievements ul {
  max-width: 800px;
  margin: 0 auto;
}

#achievements li {
  background-color: #fff;
  border-radius: 10px;
  padding: 15px 20px;
  margin-bottom: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

#achievements li:hover {
  transform: translateY(-5px);
}

/* ------------------ Contact Section ------------------ */
#contact {
  background: linear-gradient(to right, #6a11cb, #2575fc);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

#contact a {
  color: #fff;
  font-weight: 600;
}

#contact .btn {
  border-radius: 50px;
  transition: all 0.3s ease;
}

#contact .btn:hover {
  transform: scale(1.05);
}

/* ------------------ Footer ------------------ */
footer {
  background-color: #212529;
  color: #ccc;
  text-align: center;
  padding: 15px 0;
}

footer a {
  color: #2575fc;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}
