/* ------------------------------
   General Reset
------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ------------------------------
   Body Styling
------------------------------ */
body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #f4f4f9;
  color: #333;
}

/* ------------------------------
   Container
------------------------------ */
.container {
  width: 85%;
  margin: auto;
  padding: 20px 0;
}

/* ------------------------------
   Header
------------------------------ */
header {
  background: #2c3e50;
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

header h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

header p {
  font-size: 1.2em;
  margin-bottom: 15px;
}

header nav a {
  color: #fff;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
}

header nav a:hover {
  color: #f39c12;
}

/* ------------------------------
   About Section
------------------------------ */
#about {
  text-align: center;
  margin-top: 40px;
}

.profile-pic {
  width: 220px;        /* Larger image */
  height: 220px;
  border-radius: 50%;  /* Circular */
  margin: 30px 0;
  border: 4px solid #2c3e50;
  object-fit: cover;   /* Keep aspect ratio */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}

.profile-pic:hover {
  transform: scale(1.05);
}

/* Resume Button in About */
#about a {
  display: inline-block;
  background: #2c3e50;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 15px;
  transition: background 0.3s ease-in-out;
}

#about a:hover {
  background: #f39c12;
}

/* ------------------------------
   Projects Section
------------------------------ */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.project-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.2s ease-in-out;
}

.project-card:hover {
  transform: scale(1.05);
}

/* ------------------------------
   Contact Section
------------------------------ */
#contact {
  text-align: center;
  margin: 50px 0;
}

#contact a {
  color: #2c3e50;
  text-decoration: none;
}

#contact a:hover {
  color: #f39c12;
}

/* ------------------------------
   Publications Section
------------------------------ */
#publications {
  margin: 50px auto;
}

#publications h2 {
  text-align: center;
  margin-bottom: 20px;
}

.publications-list {
  list-style-type: none;
  padding: 0;
}

.publications-list li {
  background: #fff;
  margin: 10px 0;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
}

.publications-list li:hover {
  transform: scale(1.02);
}

.publications-list a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: bold;
}

.publications-list a:hover {
  color: #f39c12;
}

/* ------------------------------
   Footer
------------------------------ */
footer {
  background: #2c3e50;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 30px;
}

/* ------------------------------
   Responsive Image for Small Screens
------------------------------ */
@media (max-width: 600px) {
  .profile-pic {
    width: 160px;
    height: 160px;
  }
}

