@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300;400;600;700&family=Source+Code+Pro:wght@400;500&display=swap');

body { font-family: 'Source Sans 3', sans-serif; font-size: 17px; line-height: 1.85; color: #2c3e50; }
h1, h2, h3, h4 { font-weight: 700; color: #2c3e50; }
h2 { margin-top: 2rem; padding-bottom: 0.4rem; border-bottom: 2px solid #18bc9c; }
code, pre { font-family: 'Source Code Pro', monospace; font-size: 0.88em; }
a { color: #2c80b4; text-decoration: none; }
a:hover { color: #18bc9c; text-decoration: underline; }
hr { border: none; border-top: 1px solid #e0e6ed; margin: 2rem 0; }

.navbar { font-weight: 600; font-size: 15px; }
.navbar-brand { font-weight: 700; font-size: 17px; }

.hero-section { padding: 3rem 0 2rem 0; }
.hero-name { font-size: 2.6rem; font-weight: 700; margin-bottom: 0.35rem; border-bottom: none; line-height: 1.2; }
.hero-tagline { font-size: 1.1rem; color: #555; font-weight: 400; margin-bottom: 0.15rem; }
.hero-tagline2 { font-size: 1rem; color: #7f8c8d; font-weight: 300; margin-bottom: 1.3rem; }
.hero-links { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 0.5rem; }
.hero-btn { display: inline-block; padding: 0.45rem 1.1rem; border-radius: 5px; font-size: 0.88rem; font-weight: 600; background-color: #2c3e50; color: #fff !important; text-decoration: none !important; transition: background-color 0.2s ease; }
.hero-btn:hover { background-color: #18bc9c; color: #fff !important; text-decoration: none !important; }
.hero-btn i { margin-right: 0.4rem; }

.interest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.1rem; margin-top: 1rem; }
.interest-card { background: #f8f9fa; border-radius: 8px; padding: 1.2rem 1.1rem; border-left: 4px solid #18bc9c; transition: box-shadow 0.2s ease; }
.interest-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.09); }
.interest-icon { font-size: 1.4rem; color: #18bc9c; margin-bottom: 0.5rem; display: block; }
.interest-card h4 { font-size: 0.93rem; margin: 0.2rem 0 0.35rem 0; border-bottom: none; }
.interest-card p { font-size: 0.86rem; margin: 0; color: #555; line-height: 1.55; }

.news-list { margin-top: 0.75rem; }
.news-item { display: flex; gap: 1.2rem; align-items: baseline; padding: 0.55rem 0; border-bottom: 1px solid #f0f0f0; font-size: 0.93rem; }
.news-item:last-child { border-bottom: none; }
.news-date { font-weight: 700; color: #18bc9c; white-space: nowrap; min-width: 70px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }
.news-text { color: #444; line-height: 1.5; }

.cv-bar { background: #f0f7fb; border-left: 4px solid #2c80b4; padding: 0.8rem 1.2rem; border-radius: 4px; margin-bottom: 1.2rem; font-size: 0.93rem; color: #444; }
.cv-bar i { color: #2c80b4; margin-right: 0.3rem; }
.cv-entry { margin-bottom: 1.4rem; }
.cv-row { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0.3rem; }
.cv-date { font-size: 0.85rem; color: #7f8c8d; white-space: nowrap; font-style: italic; }
.cv-sub { color: #555; font-size: 0.93rem; margin-bottom: 0.3rem; }
.cv-entry ul { margin-top: 0.35rem; padding-left: 1.4rem; }
.cv-entry ul li { margin-bottom: 0.25rem; font-size: 0.93rem; color: #444; }
.award-badge { display: inline-block; background: #fff8e1; color: #e67e22; font-size: 0.78rem; font-weight: 700; padding: 0.15rem 0.55rem; border-radius: 20px; border: 1px solid #f0c060; vertical-align: middle; }
.award-badge i { margin-right: 0.25rem; }

.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin-top: 0.75rem; }
.skill-block { background: #f8f9fa; border-radius: 6px; padding: 1rem; border-top: 3px solid #2c80b4; }
.skill-block h4 { font-size: 0.82rem; margin: 0 0 0.4rem 0; text-transform: uppercase; letter-spacing: 0.06em; color: #2c80b4; border-bottom: none; }
.skill-block p { font-size: 0.875rem; margin: 0; color: #555; line-height: 1.5; }

.project-card { background: #fff; border: 1px solid #e0e6ed; border-radius: 10px; padding: 1.6rem 1.8rem; margin-bottom: 2rem; box-shadow: 0 2px 8px rgba(0,0,0,0.04); transition: box-shadow 0.2s ease; }
.project-card:hover { box-shadow: 0 6px 22px rgba(0,0,0,0.09); }
.project-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.project-title-block h3 { margin: 0 0 0.5rem 0; font-size: 1.15rem; border-bottom: none; }
.project-tag { display: inline-block; background: #eaf4fb; color: #2c80b4; font-size: 0.74rem; font-weight: 600; padding: 0.18rem 0.6rem; border-radius: 20px; margin-right: 0.3rem; margin-bottom: 0.2rem; }
.award-tag { background: #fff8e1 !important; color: #e67e22 !important; border: 1px solid #f0c060; }
.project-links { display: flex; gap: 0.55rem; flex-shrink: 0; }
.project-btn { display: inline-block; padding: 0.35rem 0.9rem; border-radius: 4px; font-size: 0.81rem; font-weight: 600; background-color: #2c3e50; color: #fff !important; text-decoration: none !important; white-space: nowrap; transition: background-color 0.2s ease; }
.project-btn:hover { background-color: #18bc9c; text-decoration: none !important; }
.project-btn-outline { background-color: transparent; color: #2c3e50 !important; border: 1.5px solid #2c3e50; }
.project-btn-outline:hover { background-color: #2c3e50; color: #fff !important; }
.project-btn i { margin-right: 0.35rem; }
.project-meta { margin-top: 1rem; font-size: 0.82rem; color: #7f8c8d; padding-top: 0.75rem; border-top: 1px solid #f0f0f0; }
.project-meta i { color: #18bc9c; margin-right: 0.25rem; }

@media (max-width: 650px) {
  .hero-name { font-size: 1.9rem; }
  .hero-links { flex-direction: column; }
  .project-header { flex-direction: column; }
  .interest-grid, .skills-grid { grid-template-columns: 1fr; }
  .cv-row { flex-direction: column; }
  .news-item { flex-direction: column; gap: 0.2rem; }
}
