@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');




.body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
    background: linear-gradient(135deg, #f7f8fa, #e3e8ee);
    color: #333;
    padding-top: 60px; /* To prevent navbar from covering content */
}







/* Navbar */


.navbar {
    font-family: "Roboto", sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    height: 40px;
    width: 97%;
    background:  #0066f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(11, 122, 213, 0.578);
    border-bottom-left-radius: 3%;
    border-bottom-right-radius: 3%;

}


.navbar .logo {
    position: relative;
    display: inline-block;
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
}

.navbar .menu button {
    padding-right: 10px;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    text-transform: uppercase;
    padding: 5px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.navbar .menu button:hover {
    background: white;
    color: #0066f6;
    box-shadow: 0 4px 6px rgba(9, 54, 255, 0.2);
}













/* Sections */


section {
    min-height: 10vh;
    margin-top: 50px;
    padding: 60px 30px;
    display: flex;
    justify-content: left;
    align-items:baseline;
    text-align:left;
    position: relative;
    height: auto;
    width: auto;
}

.section-heading {
  font-family: 'Roboto', sans-serif;
  color: #0066f6;
  font-weight: 700;
  font-size: 3rem;
  position: absolute;
  top: 0;
  left: 0;
  padding: 1rem;
  margin-bottom: 4rem;
  background: white;
  z-index: 1;
}





#about { background: #ffffff; }
#skills { background: #ffffff; }
#projects { background: #9e9e9e;}
#publications { background: #ffffff; }
#contact { background: #9e9e9e; }
#resume { background: #ffffff; }









/*about*/

.about-card {
    font-family: "Roboto", sans-serif;
  display: flex;
  flex-wrap: wrap;
  background: white;
  border-radius: 24px;
  padding: 50px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  max-width: 1300px;
  width: 100%;
  margin: 40px auto;
  gap: 40px;
  align-items: center;
  transition: transform 0.3s ease;
}

.about-card:hover {
  transform: scale(1.015);
}

.about-profile-pic {
  width: 300px;
  height: 300px;
  border-radius: 5%;
  object-fit: cover;
  border: 5px solid #3b82f6;
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.about-info {
    font-family: "Roboto";
  flex: 1;
  min-width: 300px;
}

.about-name {
    font-family: "Roboto";
  font-size: 42px;
  color: #1f2937;
  margin: 0;
}

.about-title {
    font-family: "Roboto";
  font-size: 22px;
  color: #555;
  margin: 10px 0 25px 0;
  font-weight: 500;
}

.about-skills {
font-family: "Roboto";
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
}

.about-skills span {
    font-family: 'Roboto';
  background: #e0f2fe;
  color: #0369a1;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 500;
}

.about-description {
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 1000px;

}

.about-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.about-btn {
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.about-btn-primary {
  background: #2563eb;
  color: white;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.about-btn-primary:hover {
  background: #1d4ed8;
}

.about-btn-secondary {
  border: 2px solid #2563eb;
  color: #2563eb;
  background: transparent;
}

.about-btn-secondary:hover {
  background: #eff6ff;
}










/*skills*/

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 5%;
  margin-left: 5rem;
  margin-right: 5rem;
  align-items: stretch; /* default for grid */
}

.skill-item {
    margin-bottom: 2%;
  padding: 0.5rem;

  text-align: center;
  background: white;
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%; /* or set fixed height */
}

.skill-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.skill-heading {
    font-family: 'Roboto';
    color: #0066f6;
  font-weight: 700;
  font-size: 2rem;
  margin: 1rem 0 0.8rem;
  margin-bottom: 1.5rem; /* <-- adds spacing */
}

.skill-description {
    font-family: 'Roboto';
    height: auto;
  font-weight: 400;
  font-size: 1.2rem;
  color: #333;
}
