/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f9f9fb;
  color: #1c1c1e;
  line-height: 1.6;
}

/* Typography */
h1, h2, h3 {
  font-weight: 700;
  color: #0d1117;
}

p {
  font-weight: 400;
  color: #444;
}

/* Header and Navbar */
header {
  background-color: #0d1117;
  padding: 1.2rem 0;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

nav {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  color: #fff;
}

nav h1 {
  font-size: 2rem;
  color: #58a6ff;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #58a6ff;
  transition: 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Hero Section */
#hero {
  padding: 4rem 1rem;
  background: linear-gradient(145deg, #e0eafc, #cfdef3);
  text-align: center;
}

.hero-content {
  max-width: 850px;
  margin: auto;
}

.profile-img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  object-position: top center; /* You can try: center center, top center, 30% 20%, etc. */
  border-radius: 50%;
  border: 6px solid #58a6ff;
  margin: 1.5rem auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}


.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #0d1117;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  color: #333;
}

.social-links a {
  margin: 0 0.5rem;
  text-decoration: none;
  font-weight: 500;
  color: #0366d6;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #d63384;
}

.btn {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.6rem 1.5rem;
  background-color: #0366d6;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #024cbb;
}

/* Section Headings */
.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
  color: #0d1117;
  position: relative;
}

.section-title::after {
  content: '';
  width: 80px;
  height: 4px;
  background: #58a6ff;
  display: block;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

/* About Section */
#About {
  padding: 3rem 1rem;
  background-color: #ffffff;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

#About p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: auto;
}

/* Highlights Section */
#highlights {
  padding: 3rem 1rem;
  background: linear-gradient(135deg, #f4f9ff, #dbeeff);
}

.highlight-card {
  background: white;
  margin: 1.5rem auto;
  padding: 2rem;
  border-left: 6px solid #0366d6;
  border-radius: 12px;
  max-width: 900px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
}

.highlight-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #0366d6;
}

.highlight-card ul {
  padding-left: 1.5rem;
}

.highlight-card ul li {
  margin-bottom: 0.7rem;
  color: #333;
}

.highlight span {
  color: #d63384;
  font-weight: 600;
}

/* Certifications Section */
#certifications {
  background: linear-gradient(135deg, #fff0f6, #ffe6f0);
  padding: 3rem 1rem;
}

.certification-card {
  background: #fff;
  margin: 1rem auto;
  padding: 1.5rem;
  border-left: 5px solid #d63384;
  border-radius: 10px;
  max-width: 850px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* Projects Section */
#Projects {
  text-align: center;
  padding: 3rem 1rem;
  background: #ffffff;
}

.project {
  background: linear-gradient(to right, #f7f9fc, #eef3fa);
  margin: 1.5rem auto;
  max-width: 850px;
  padding: 2rem;
  border-radius: 16px;
  border-left: 6px solid #0d47a1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.project::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50px;
  width: 200%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(13, 71, 161, 0.05), transparent 60%);
  z-index: 0;
}

.project:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.project h3 {
  color: #0d47a1;
  font-size: 1.6rem;
  margin-bottom: 0.7rem;
  position: relative;
  z-index: 1;
}

.project p {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.project a {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  color: #0d47a1;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border 0.3s ease, color 0.3s ease;
  position: relative;
  z-index: 1;
}

.project a:hover {
  border-color: #0d47a1;
  color: #083177;
}


/* Contact Section */
#contact {
  padding: 4rem 1rem;
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  text-align: center;
}

#contact h2 {
  font-size: 2.2rem;
  color: #0d47a1;
  margin-bottom: 0.5rem;
}

.contact-subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #333;
}

form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  animation: fadeIn 1s ease-in-out;
}

input, textarea {
  padding: 1rem;
  border: 2px solid #90caf9;
  border-radius: 10px;
  font-size: 1rem;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus {
  border-color: #1976d2;
  box-shadow: 0 0 8px rgba(25, 118, 210, 0.2);
  outline: none;
}

.btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  background: #1976d2;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background: #0d47a1;
  transform: scale(1.05);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer */
footer {
  background-color: #0d1117;
  color: white;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
  margin-top: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .highlight-card,
  .project,
  .certification-card {
    padding: 1.2rem;
  }
}
.project-link {
  text-decoration: none;
  color: inherit;
  display: block;
  margin: 1.2rem auto;
  max-width: 850px;
  border-radius: 12px;
}

.project {
  background-color: #f7f9fc;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project:hover {
  transform: scale(1.015);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.project h3 {
  color: #0d47a1;
  margin-bottom: 0.6rem;
  font-size: 1.4rem;
}

