/* ------------------------------
   BASE RESET AND TYPOGRAPHY
------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f3f2ef;
  color: #1b1f23;
  line-height: 1.6;
}

/* ------------------------------
   TOP BAR / BANNER
------------------------------ */
.top-bar {
  height: 50px;
  background-color: #0a66c2;
}

.banner {
  height: 180px;
  background: linear-gradient(to right, #0a66c2, #004182);
}

/* ------------------------------
   PROFILE CONTAINER
------------------------------ */
.profile-container {
  max-width: 900px;
  margin: -90px auto 50px;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

/* ------------------------------
   PROFILE MAIN SECTION
------------------------------ */
.profile-main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 20px;
  margin-top: 60px;
}

.profile-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid #fff;
  object-fit: cover;
  margin-right: 30px;
  margin-top: -60px;
}

.profile-info {
  flex: 1;
  min-width: 240px;
}

.profile-info h1 {
  font-size: 26px;
  margin-bottom: 5px;
}

.headline {
  color: #666;
  font-size: 14px;
}

.location {
  font-size: 14px;
  color: #888;
}

/* ------------------------------
   BUTTONS & LINKS
------------------------------ */
.linkedin-link {
  display: inline-block;
  margin-top: 10px;
  background-color: #0a66c2;
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.linkedin-link:hover {
  background-color: #004182;
}

/* ------------------------------
   SECTION STYLING
------------------------------ */
section, 
.about-section,
.experience-section,
.education-section,
.certifications-section,
.publications-section,
.honors-section,
.languages-section,
.skills-section {
  margin-top: 30px;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
}

/* Headings */
h2 {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
}

/* ------------------------------
   EXPERIENCE SECTION
------------------------------ */
.experience-item {
  background-color: #f9f9f9;
  padding: 15px;
  border-left: 4px solid #0a66c2;
  margin-bottom: 15px;
  border-radius: 4px;
}

.experience-item h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.experience-item .company,
.experience-item .duration {
  font-size: 14px;
  color: #666;
}

/* ------------------------------
   ABOUT SECTION
------------------------------ */
.about-section {
  border-left: 4px solid #0a66c2;
}

#aboutText {
  font-size: 15px;
  color: #333;
}

#moreText {
  display: none;
}

#readMoreLink {
  color: #0a66c2;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}

/* ------------------------------
   EDUCATION & CERTIFICATIONS
------------------------------ */
.education-item,
.certification-item {
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}

.education-item:last-child,
.certification-item:last-child {
  border-bottom: none;
}

/* ------------------------------
   PUBLICATIONS
------------------------------ */
.publication-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 10px 0;
}

.publication-link {
  display: inline-block;
  margin: 8px 0;
  padding: 6px 14px;
  border: 1px solid #0a66c2;
  border-radius: 20px;
  color: #0a66c2;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.publication-link:hover {
  background-color: #0a66c2;
  color: white;
}

/* ------------------------------
   HONORS, LANGUAGES, SKILLS
------------------------------ */
.honor-item {
  margin-bottom: 20px;
}

.languages-section ul {
  list-style: disc;
  padding-left: 20px;
}

.languages-section li {
  margin-bottom: 5px;
}

/* ------------------------------
   SKILLS SECTION
------------------------------ */
.skills-section {
  background-color: #f9f9f9;
}

.skill-item {
  margin-bottom: 20px;
}

.skill-item h3 {
  margin-bottom: 5px;
  font-size: 16px;
}

.skill-item p {
  font-size: 14px;
  color: #444;
}

.skills-section ul {
  list-style: none;
  padding: 0;
}

.skills-section li {
  background: #e1ecf4;
  color: #0a66c2;
  display: inline-block;
  padding: 6px 12px;
  margin: 4px;
  border-radius: 4px;
  font-size: 14px;
}

/* ------------------------------
   LINK STYLES
------------------------------ */
.show-all-link {
  display: inline-block;
  margin-top: 10px;
  color: #0a66c2;
  font-weight: 500;
  text-decoration: none;
}

.show-all-link:hover {
  text-decoration: underline;
}

/* ------------------------------
   RESPONSIVE DESIGN
------------------------------ */
@media screen and (max-width: 768px) {
  .profile-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-img {
    margin: 0 0 20px 0;
  }

  .profile-info {
    margin-top: 10px;
  }

  .linkedin-link {
    width: 100%;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  body {
    padding: 10px;
  }

  .profile-img {
    width: 100px;
    height: 100px;
  }

  .profile-info h1 {
    font-size: 20px;
  }

  h2 {
    font-size: 18px;
  }

  .headline,
  .location,
  .experience-item .company,
  .experience-item .duration {
    font-size: 13px;
  }

  .skill-item h3,
  .skill-item p {
    font-size: 13px;
  }

  .publication-link {
    padding: 4px 10px;
    font-size: 13px;
  }
}
