/* Base styling */
body {
  font-family: "Inter", sans-serif; /* Clean modern font */
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #fdfdfd; /* Light background */
  color: #333; /* Dark text */
}

/* Header styling */
header {
  background-color: #d2042d; /* Light blue bar */
  color: white;
  padding: 20px;
  text-align: center;
}

/* Navigation links in the header */
nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* Section spacing */
section {
  padding: 40px 20px;
  max-width: 800px;
  margin: auto;
}

/* Project styling */
.project {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  background-color: #f5faff;
}

.project a {
  color: #d2042d;
  text-decoration: none;
}

.project a:hover {
  text-decoration: underline;
}

/* Footer styling */
footer {
  background-color: #f0f0f0;
  text-align: center;
  padding: 15px;
  font-size: 0.9em;
  color: #555;
}

/* CV Download Button */
.cv-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #d2042d;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cv-button:hover {
  background-color: #005fa3;
}

#socials {
  padding: 40px 20px;
  background-color: #f4f4f4;
  text-align: center;
}

.social-links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.social-links a img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-links a:hover img {
  transform: scale(1.2);
  opacity: 0.8;
}

#skills {
  padding: 40px 20px;
  background-color: #e8f0fe;
}

.skill {
  margin-bottom: 20px;
}

.skill span {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.skill-bar {
  background-color: #ddd;
  height: 20px;
  border-radius: 10px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background-color: #007acc;
  width: 0;
  border-radius: 10px 0 0 10px;
  transition: width 0.5s ease;
}

/* Skill section styling */
#skills {
  padding: 40px 20px;
  background-color: #e8f0fe;
}

.skill-category {
  margin-bottom: 40px;
}

.skill-category h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 2px solid;
}

/* Technical - Blue */
.skill-category.technical h3 {
  color: #007acc;
  border-color: #007acc;
}

.skill-category.technical .skill-fill {
  background-color: #007acc;
}

/* Research - Cherry Red */
.skill-category.research h3 {
  color: #cc0033;
  border-color: #cc0033;
}

.skill-category.research .skill-fill {
  background-color: #cc0033;
}

/* Shared skill bar styles */
.skill {
  margin-bottom: 20px;
}

.skill span {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.skill-bar {
  background-color: #ddd;
  height: 20px;
  border-radius: 10px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  width: 0;
  border-radius: 10px 0 0 10px;
  transition: width 1s ease-in-out;
}

/* Awards Section */
#awards {
  padding: 40px 20px;
  background-color: #ffe5ec;
  color: #333;
  text-align: center;
}

#awards h2 {
  font-size: 2em;
  margin-bottom: 30px;
  color: #cc0033;
}

.award-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.award-card {
  background-color: #fff;
  border-left: 5px solid #cc0033;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 20px;
  max-width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.award-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.award-card h3 {
  margin-top: 0;
  color: #007acc;
}

.award-card p {
  font-size: 0.95em;
  margin-bottom: 0;
}

.project {
  background-color: #ffffff62;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}
