/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Teko:wght@300;400;600;700&display=swap");

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Body */
body {
  font-family: "Poppins", sans-serif;
  background: #ffffff;
  color: #222;
  line-height: 1.6;
}

/* Layout */
.container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 10px 12px;
}

section {
  margin: 25px 0;
}

hr {
  margin: 10px 0 20px;
  border: none;
  border-top: 1px solid #ccc;
}

/* =========================
   Top Section
========================= */

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top .left {
  width: 69%;
  text-align: left;
}

.top .left h3 {
  font-size: 26px;
  font-family: "Poppins", sans-serif;
  margin-bottom: 5px;
}

.top .left p {
  font-size: 14px;
  line-height: 1.6;
  margin: 10px 0;
}

.top .left a {
  text-decoration: none;
  margin: 0 5px;
  color: #0066cc;
  font-size: 14px;
  opacity: 0.9;
}

.links {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 10px;
}

.links a:hover {
  text-decoration: underline;
}

.top .right {
  width: 29%;
  text-align: center;
}

.top .right img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
}

/* =========================
   Section Headings
========================= */

.education h3,
.professional h3,
.publications h3,
.honoursAndAwards h3,
.technicalSkills h3,
.languageProficiency h3,
.organizationalActivities h3,
.courseworkProjects h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 5px;
}

/* =========================
   Info Boxes
========================= */

.informationBox {
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 15px 20px;
  margin-bottom: 18px;

  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;

  transition: all 0.25s ease;
}

/* Hover effect */

.informationBox:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

/* Left side */

.informationBox .left {
  width: 75%;
}

/* Right side */

.informationBox .right {
  width: 22%;
  text-align: right;
}

/* Titles */

.informationBox .left h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.informationBox .left p {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 8px;
}

.informationBox ul {
  margin-top: 5px;
}

.informationBox .left ul li {
  font-size: 14px;
  margin-left: 20px;
  margin-bottom: 6px;
  line-height: 1.5;
}

/* Right section text */

.informationBox .right h5 {
  font-size: 13px;
  margin-bottom: 3px;
}

.informationBox .right p {
  font-size: 13px;
  opacity: 0.7;
}

/* =========================
   Publications Styling
========================= */

.publications .informationBox {
  background: #ffffff;
  border-left: 4px solid #0066cc;
}

.publications .left h3 {
  font-size: 17px;
  font-weight: 600;
}

.publications .left p {
  font-size: 14px;
}

.publications .journal {
  font-style: italic;
  font-size: 13px;
  color: #666;
}

.publications .status {
  font-size: 12px;
  color: #0066cc;
  margin-top: 3px;
}

.publications a {
  color: #0066cc;
  text-decoration: none;
  font-size: 13px;
}

.publications a:hover {
  text-decoration: underline;
}

/* =========================
   Professional Experience
========================= */

.professional .informationBox {
  background: #fcfcfc;
  border-left: 4px solid #444;
}

.professional .left h3 {
  font-size: 18px;
}

.professional .left p {
  font-size: 14px;
  margin-bottom: 6px;
}

.professional .left ul li {
  line-height: 1.5;
}

.professional .right h5 {
  font-size: 13px;
  font-weight: 500;
}

.professional .right p {
  font-size: 12px;
  color: #777;
}

/* =========================
   Coursework Projects
========================= */

.projectContainer {
  margin: 12px 0;
}

.projectContainer h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.projectContainer ul li {
  margin-left: 20px;
  font-size: 14px;
  margin-bottom: 6px;
}

/* =========================
   Responsive Design
========================= */

@media only screen and (max-width: 768px) {

  .top .right img {
    width: 150px;
    height: 150px;
  }

  .top .left h3 {
    font-size: 22px;
  }

  .informationBox {
    flex-direction: column;
  }

  .informationBox .left,
  .informationBox .right {
    width: 100%;
    text-align: left;
  }

  .projectContainer h3 {
    font-size: 16px;
  }

}

@media only screen and (max-width: 450px) {

  .top .left p {
    font-size: 12px;
  }

  .top .right img {
    width: 120px;
    height: 120px;
  }

  .informationBox .left h3 {
    font-size: 15px;
  }

  .informationBox .left ul li {
    font-size: 12px;
  }

  .informationBox .right h5 {
    font-size: 11px;
  }

}
