* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, sans-serif;
}

body {
  background-color: #0d1117;
  color: #f0f6fc;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

header {
  background: rgba(22, 27, 34, 0.95);
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  color: #58a6ff;
  font-size: 1.5rem;
}

nav a {
  margin-left: 20px;
  color: #c9d1d9;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #58a6ff;
}

.hero {
  position: relative;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  color: white;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('download.jpg') no-repeat center center/cover;
  opacity: 0.6;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: row-reverse;
}

.hero-text {
  max-width: 550px;
  text-align: left;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #58a6ff;
}

.hero p {
  font-size: 1.2rem;
  color: #c9d1d9;
}

.profile-pic {
  width: 280px;  /* increased from 220px */
  height: 280px; /* increased from 220px */
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #58a6ff;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.profile-pic:hover {
  opacity: 1;
  transform: scale(1.05);
}

main {
  max-width: 1100px;
  margin: auto;
  padding: 60px 20px;
}

section {
  margin-bottom: 60px;
}

h2 {
  color: #58a6ff;
  margin-bottom: 20px;
  border-bottom: 2px solid #30363d;
  display: inline-block;
  padding-bottom: 5px;
}

.about-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

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

.skill {
  background: #161b22;
  padding: 25px;
  text-align: center;
  border-radius: 10px;
  border: 1px solid #30363d;
  transition: 0.3s;
}

.skill:hover {
  background: #21262d;
  transform: translateY(-5px);
}

.skill i {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #58a6ff;
}

.skill h3 {
  margin-bottom: 10px;
  color: #f0f6fc;
}

.skill p {
  font-size: 0.9rem;
  color: #8b949e;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.project {
  background: #161b22;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #30363d;
  transition: 0.3s;
}

.project:hover {
  background: #21262d;
  transform: scale(1.03);
}

.project h3 {
  color: #58a6ff;
  margin-bottom: 10px;
}

#certifications ul {
  list-style: none;
  padding-left: 0;
}

#certifications li {
  margin-bottom: 8px;
  padding-left: 15px;
  position: relative;
}

#certifications li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #58a6ff;
}

.contact-info p {
  margin: 8px 0;
}

.contact-info i {
  margin-right: 10px;
  color: #58a6ff;
}

footer {
  text-align: center;
  padding: 20px;
  background: #161b22;
  color: #8b949e;
  border-top: 1px solid #30363d;
}