body {
    margin: 60px auto;
    width: 70%;
}

nav ul,
footer ul {
    font-family: 'Helvetica', 'Arial', 'Sans-Serif';
    color: #87CEFA;
    padding: 0px;
    list-style: none;
    /* font-weight: bold; */
}

nav ul li,
footer ul li {
    color: #87CEFA;
    display: inline;
    margin-right: 20px;
}

a {
    text-decoration: none;
    color: #1772d0;
}

a:hover {
    text-decoration: underline;
}

h1 {
    font-size: 2.5em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    font-size: 1.2em;
    line-height: 1.6em;
    color: #2d3748;
    font-weight: 400;
    letter-spacing: -0.01em;
}

footer {
    border-top: 1px solid #87CEFA;
    font-size: 0.7em;
}

ul.posts {
    margin: 20px auto 40px;
    font-size: 1em;
}

ul.posts li {
    list-style: none;
}

/* Media query for mobile devices */
@media (max-width: 767px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 3em;
    }

    p {
        font-size: 1.5em;
    }

    footer {
        font-size: 0.8em;
    }

    ul.posts {
        font-size: 1em;
    }
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAUi-qNiXg7eU0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAXC-qNiXg7Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_FQftx9897sxZ.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_Gwftx9897g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjx4wXiWtFCc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwaPGQ3q5d0N7w.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

a {
  color: #1772d0;
  text-decoration: none;
}

a:focus,
a:hover {
  color: #f09228;
  text-decoration: none;
}

body,
td,
th,
tr,
p,
a {
  font-family: 'Inter', 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: -0.01em;
}

p {
  font-size: 14px;
  line-height: 1.7;
  color: #2d3748;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Update strong/bold styling */
strong {
  font-family: 'Inter', 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1a202c;
}

heading {
  font-family: 'Inter', 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

name {
  font-family: 'Inter', 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

papertitle {
  font-family: 'Inter', 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.one {
  width: 160px;
  height: 160px;
  position: relative;
}

.two {
  width: 160px;
  height: 160px;
  position: absolute;
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

.fade {
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

span.highlight {
  background-color: #ffffd0;
}
/* For name change stuff */
p#namechange span#a {
  display: inline;
}
p#namechange:hover span#a {
  display: none;
}
p#namechange span#b {
  display: none;
}
p#namechange:hover span#b {
  display: inline;
}

.shining-background {
  background-image: linear-gradient(45deg, #ff0000, #ff9900, #ffff00, #00ff00, #00ffff, #0000ff, #9900ff);
  background-size: 400% 400%;
  animation: shining-animation 10s ease infinite;
}

@keyframes shining-animation {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* ===== Home page styles (moved from index.html) ===== */
    .button {
      display: inline-block;
      background-color: #87CEFA;
      border: none;
      color: white;
      text-align: center;
      font-size: 18px;
      padding: 10px;
      width: 120px;
      transition: all 0.3s;
      cursor: pointer;
      border-radius: 5px;
      text-decoration: none;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
      margin: 5px;
      border: 2px solid #00008B;
    }

    .button:hover {
      background: linear-gradient(to bottom, #87CEFA, #00008B);
       color: white;
    }
    
    #myimg {
      width: 100%;
      max-width: 100%;
      border-radius: 50%;
      border: 1px solid #ddd;
      padding: 5px;
    }

    p {
      line-height: 22px;
      font-size: 15px;
    }

    ul li {
      font-size: 15px;
    }
    
    .heading-container {
      display: flex;
      align-items: center;
    }
    
    .book-heading {
      padding: 10px;
      background-color: #f2f2f2;
      border-radius: 5px;
      cursor: pointer;
      margin-right: 20px;
    }
    
    .book-heading::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(-45deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 60%);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s;
    }
    
    .book-heading:hover::after {
      opacity: 1;
    }
    
    .book-content {
      opacity: 0;
      max-height: 0;
      overflow: hidden;
      transition: opacity 0.5s, max-height 0.5s;
    }
    
    .book-content.show {
      opacity: 1;
      max-height: 1000px;
      transition: opacity 0.5s, max-height 0.5s;
    }
h1 {
      margin-top: 0;
      margin-bottom: 0;
    }
@media (max-width: 767px) {
  h1 {
margin-top: 0;
      margin-bottom: 0;
  }
}



/* ===== Academic page ===== */
.academic-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.academic-header {
    text-align: center;
    margin-bottom: 40px;
}

.academic-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #00008B;
    margin-bottom: 10px;
}

.academic-timeline {
    position: relative;
    margin: 40px 0;
}

.academic-item {
    position: relative;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 35px 35px 35px 35px;
    border-left: 6px solid #87CEFA;
    box-shadow: 0 4px 15px rgba(135, 206, 250, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    margin-left: 15px;
}

.academic-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #87CEFA, #00008B);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.academic-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(135, 206, 250, 0.2);
}

.academic-item:hover::before {
    transform: scaleX(1);
}

.position-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.position-title {
    font-size: 1.3em;
    font-weight: 700;
    color: #00008B;
    margin: 0;
    line-height: 1.3;
}

.position-duration {
    background: linear-gradient(135deg, #87CEFA, #00008B);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    white-space: nowrap;
}

.institution {
    font-size: 1.1em;
    color: #333;
    margin: 8px 0 15px 0;
    font-weight: 500;
}

.position-type {
    display: inline-block;
    background: rgba(135, 206, 250, 0.2);
    color: #00008B;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 600;
    margin-bottom: 15px;
}

.description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.responsibilities {
    background: rgba(135, 206, 250, 0.05);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #87CEFA;
}

.responsibilities-title {
    font-weight: 600;
    color: #00008B;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.responsibilities-list {
    color: #555;
    font-size: 0.95em;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .academic-item {
        padding: 30px 30px 30px 45px;
        margin-bottom: 25px;
    }

    .position-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .position-title {
        font-size: 1.2em;
    }
}

.section-label {
    font-size: 0.8em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #87CEFA;
    margin: 35px 0 10px 15px;
}

.research-group {
    border: 2px solid rgba(135, 206, 250, 0.4);
    border-radius: 14px;
    padding: 5px 5px;
    margin-bottom: 30px;
    background: rgba(135, 206, 250, 0.03);
}

.research-group .academic-item {
    margin-left: 0;
    border-left-color: #00008B;
    margin-bottom: 8px;
}

.research-group .academic-item:last-child {
    margin-bottom: 0;
}

.conference-reviewer-item {
    position: relative;
    margin-bottom: 30px;
    background: rgba(255, 215, 0, 0.04);
    border-radius: 12px;
    padding: 35px;
    border-left: 6px solid #DAA520;
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    margin-left: 15px;
}

.conference-reviewer-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #DAA520, #00008B);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.conference-reviewer-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(218, 165, 32, 0.2);
}

.conference-reviewer-item:hover::before {
    transform: scaleX(1);
}

.reviewer-badge {
    background: linear-gradient(135deg, #DAA520, #B8860B);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    white-space: nowrap;
}


/* ===== Programming page ===== */
.programming-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.programming-header {
    text-align: center;
    margin-bottom: 40px;
}

.programming-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #00008B;
    margin-bottom: 10px;
}

.leetcode-badge-container {
    text-align: center;
    margin-bottom: 30px;
}

.leetcode-badge-container img {
    transition: transform 0.3s ease;
}

.leetcode-badge-container img:hover {
    transform: scale(1.05);
}

.programming-timeline {
    position: relative;
    margin: 40px 0;
}

.programming-item {
    position: relative;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 35px 35px 35px 35px;
    border-left: 6px solid #87CEFA;
    box-shadow: 0 4px 15px rgba(135, 206, 250, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    margin-left: 15px;
}

.programming-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #87CEFA, #00008B);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.programming-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(135, 206, 250, 0.2);
}

.programming-item:hover::before {
    transform: scaleX(1);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.category-title {
    font-size: 1.3em;
    font-weight: 700;
    color: #00008B;
    margin: 0;
    line-height: 1.3;
}

.problem-badge {
    background: linear-gradient(135deg, #87CEFA, #00008B);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    white-space: nowrap;
}

.skills-content {
    background: rgba(135, 206, 250, 0.05);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #87CEFA;
}

.skill-list {
    color: #555;
    font-size: 0.95em;
    line-height: 1.8;
    list-style: none;
    padding: 0;
}

.skill-list li {
    padding: 5px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-list li::before {
    content: "▹";
    color: #87CEFA;
    font-weight: bold;
    margin-right: 10px;
}

.skill-name {
    flex: 1;
}

.skill-count {
    color: #666;
    font-size: 0.9em;
    background: rgba(135, 206, 250, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
}

.difficulty-section {
    margin-top: 20px;
}

.difficulty-title {
    font-weight: 600;
    color: #00008B;
    margin-bottom: 12px;
    font-size: 0.95em;
}

.difficulty-bars {
    display: grid;
    gap: 8px;
}

.difficulty-bar {
    padding: 12px 15px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 0.9em;
    transition: transform 0.2s ease;
}

.difficulty-bar:hover {
    transform: translateX(5px);
}

.difficulty-easy {
    background: linear-gradient(135deg, #00b894, #00a383);
}

.difficulty-medium {
    background: linear-gradient(135deg, #fdcb6e, #e8b553);
}

.difficulty-hard {
    background: linear-gradient(135deg, #d63031, #c0292a);
}

.github-section {
    margin-top: 15px;
    padding: 15px;
    background: rgba(36, 41, 46, 0.03);
    border-radius: 8px;
}

.github-title {
    font-weight: 600;
    color: #00008B;
    margin-bottom: 10px;
    font-size: 0.95em;
}

.github-description {
    color: #555;
    font-size: 0.95em;
    margin-bottom: 12px;
    line-height: 1.6;
}

.github-link {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #24292e, #1a1d21);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.github-link:hover {
    background: linear-gradient(135deg, #2c3e50, #24292e);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.github-features {
    list-style: none;
    padding: 0;
    color: #555;
    font-size: 0.9em;
}

.github-features li {
    padding: 4px 0;
    display: flex;
    align-items: center;
}

.github-features li::before {
    content: "✓";
    color: #00b894;
    font-weight: bold;
    margin-right: 8px;
}

@media (max-width: 768px) {
    .programming-item {
        padding: 30px 30px 30px 30px;
        margin-bottom: 25px;
    }

    .category-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-title {
        font-size: 1.2em;
    }
}


/* ===== Education page ===== */
.education-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.education-header {
    text-align: center;
    margin-bottom: 40px;
}

.education-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #00008B;
    margin-bottom: 10px;
}

.education-item {
    position: relative;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 35px 35px 35px 35px;
    border-left: 6px solid #87CEFA;
    box-shadow: 0 4px 15px rgba(135, 206, 250, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    margin-left: 15px;
}

.education-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #87CEFA, #00008B);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.education-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(135, 206, 250, 0.2);
}

.education-item:hover::before {
    transform: scaleX(1);
}

.education-header-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.education-info {
    flex: 1;
    min-width: 300px;
}

.institution-name {
    font-size: 1.3em;
    font-weight: 700;
    color: #00008B;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.degree-info {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 15px;
    font-weight: 500;
}

.duration {
    background: linear-gradient(135deg, #87CEFA, #00008B);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.institution-logo {
    flex-shrink: 0;
}

.institution-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 12px;
    border: 2px solid rgba(135, 206, 250, 0.2);
    padding: 8px;
    background: white;
}

.education-details {
    display: grid;
    gap: 15px;
}

.detail-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.detail-item {
    background: rgba(135, 206, 250, 0.05);
    padding: 15px 20px;
    border-radius: 12px;
    border-left: 4px solid #87CEFA;
    flex: 1;
    min-width: 250px;
}

.detail-label {
    font-weight: 600;
    color: #00008B;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.detail-value {
    color: #333;
    font-size: 0.95em;
    line-height: 1.5;
}

.academic-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
    padding: 25px;
    background: rgba(135, 206, 250, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(135, 206, 250, 0.2);
}

.academic-button {
    display: inline-block;
    background: linear-gradient(135deg, #87CEFA, #00008B);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(135, 206, 250, 0.3);
}

.academic-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(135, 206, 250, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
}

.research-focus {
    background: rgba(0, 0, 139, 0.03);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 139, 0.1);
    margin-top: 15px;
}

.research-title {
    font-weight: 600;
    color: #00008B;
    margin-bottom: 12px;
    font-size: 1em;
}

.research-description {
    color: #555;
    line-height: 1.6;
    font-size: 0.95em;
}

.coursework {
    background: rgba(135, 206, 250, 0.05);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(135, 206, 250, 0.2);
    margin-top: 15px;
}

.coursework-title {
    font-weight: 600;
    color: #00008B;
    margin-bottom: 12px;
    font-size: 1em;
}

.coursework-list {
    color: #555;
    line-height: 1.6;
    font-size: 0.95em;
}

@media (max-width: 768px) {
    .education-item {
        padding: 30px 30px 30px 30px;
        margin-bottom: 25px;
        margin-left: 10px;
    }

    .education-header-section {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .education-info {
        min-width: unset;
    }

    .institution-logo {
        align-self: center;
    }

    .detail-row {
        flex-direction: column;
    }

    .detail-item {
        min-width: unset;
    }

    .institution-name {
        font-size: 1.2em;
    }
}


/* ===== Job page ===== */
.work-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.work-header {
    text-align: center;
    margin-bottom: 40px;
}

.work-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #00008B;
    margin-bottom: 10px;
}

.work-item {
    position: relative;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 35px 35px 35px 35px;
    border-left: 6px solid #87CEFA;
    box-shadow: 0 4px 15px rgba(135, 206, 250, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    margin-left: 15px;
}

.work-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #87CEFA, #00008B);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.work-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(135, 206, 250, 0.2);
}

.work-item:hover::before {
    transform: scaleX(1);
}

.work-header-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 10px;
    margin-bottom: 20px;
    gap: 20px;
}

.work-info {
    flex: 1;
    min-width: 300px;
}

.company-name {
    font-size: 1.3em;
    font-weight: 700;
    color: #00008B;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.position-title {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}

.work-duration {
    background: linear-gradient(135deg, #87CEFA, #00008B);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
}

.work-location {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 8px;
}

.work-type {
    background: rgba(135, 206, 250, 0.2);
    color: #00008B;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.company-logo {
    flex-shrink: 0;
}

.company-logo img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 12px;
    border: 2px solid rgba(135, 206, 250, 0.2);
    padding: 8px;
    background: white;
}

.work-description {
    background: rgba(135, 206, 250, 0.05);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #87CEFA;
    margin-top: 15px;
}

.work-description-title {
    font-weight: 600;
    color: #00008B;
    margin-bottom: 12px;
    font-size: 1em;
}

.work-description-text {
    color: #555;
    line-height: 1.6;
    font-size: 0.95em;
}

@media (max-width: 768px) {
    .work-item {
        padding: 30px 30px 30px 30px;
        margin-bottom: 25px;
        margin-left: 10px;
    }

    .work-header-section {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .work-info {
        min-width: unset;
    }

    .company-logo {
        align-self: center;
    }

    .company-name {
        font-size: 1.2em;
    }
}
