*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:#222;background:#fff;line-height:1.6;font-size:16px}.container{width:min(1100px,92%);margin:auto}.site-header{height:64px;background:#fff;border-bottom:1px solid #ddd;position:sticky;top:0;z-index:20}.nav-wrap{height:64px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#222;font-size:18px;font-weight:600}.brand-mark{width:30px;height:34px;border:2px solid #183b5c;display:grid;place-items:center;color:#183b5c;font-size:11px;font-weight:bold;clip-path:polygon(50% 0,100% 17%,100% 68%,50% 100%,0 68%,0 17%)}nav{display:flex;gap:4px}nav a{color:#333;text-decoration:none;padding:21px 10px;font-size:13px;border-bottom:2px solid transparent}nav a:hover,nav a.active{border-bottom-color:#183b5c}.menu-toggle{display:none;border:0;background:none;font-size:24px}.hero{height:300px;background:linear-gradient(#0006,#0006),url("../images/hero.jpg") center/cover;display:flex;align-items:center}.hero-overlay{width:100%;color:#fff;text-align:center}.hero h1{font-size:38px;line-height:1.2;margin:0 auto 12px;max-width:900px}.hero p{font-size:17px;margin:0}.profile{display:grid;grid-template-columns:1fr 330px;gap:50px;align-items:center;padding:45px 0;border-bottom:1px solid #ddd}.profile h2{margin-top:0}.profile-photo{text-align:center}.profile-photo img{width:220px;height:220px;object-fit:cover;border-radius:50%;border:1px solid #ddd}.socials{display:flex;gap:8px;margin-top:18px}.socials a{width:32px;height:32px;border-radius:50%;background:#222;color:#fff;display:grid;place-items:center;text-decoration:none;font-size:11px;font-weight:bold}.socials a:hover{background:#183b5c}section{padding:28px 0}section h2,.page h1{font-size:24px;color:#222;margin:0 0 16px}.research-grid{display:grid;grid-template-columns:repeat(4,1fr);background:#f5f2eb;padding:25px;gap:28px}.research-grid h3{font-size:14px;margin:0 0 8px}.research-grid p{margin:0;font-size:13px}.news{padding-left:22px}.news li{margin-bottom:10px}.news span{font-weight:bold;margin-right:12px;color:#555}.page{padding:50px 0;min-height:75vh}.intro{color:#666}.publication,.research-detail,.project{border-top:1px solid #ddd;padding:22px 0}.publication h2,.research-detail h2,.project h2{font-size:19px;margin:0 0 5px}.publication a,.project a,a{color:#1d5d8f}.timeline-item{display:grid;grid-template-columns:150px 1fr;gap:25px;padding:25px 0;border-top:1px solid #ddd}.date,.award>span{font-weight:bold;color:#555}.timeline-item h2,.award h2{margin:0;font-size:19px}.award{display:flex;gap:30px;padding:25px 0;border-top:1px solid #ddd}.award>span{min-width:70px}.button{display:inline-block;background:#183b5c;color:#fff!important;text-decoration:none;padding:10px 18px;border-radius:3px;margin:10px 0 25px}.cv-note{border-top:1px solid #ddd;margin-top:20px;padding-top:20px}footer{border-top:1px solid #ddd;color:#777;padding:25px 0;margin-top:20px;font-size:12px}@media(max-width:800px){.site-header{height:auto}.nav-wrap{height:auto;min-height:64px;flex-wrap:wrap}.menu-toggle{display:block}nav{display:none;width:100%;flex-direction:column;padding-bottom:10px}nav.open{display:flex}nav a{padding:10px}.hero{height:240px}.hero h1{font-size:28px}.profile{grid-template-columns:1fr;text-align:center}.profile-photo{grid-row:1}.research-grid{grid-template-columns:1fr 1fr}.timeline-item{grid-template-columns:1fr;gap:5px}}@media(max-width:520px){.research-grid{grid-template-columns:1fr}.hero h1{font-size:24px}.profile-photo img{width:180px;height:180px}}



.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-photo {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  border: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}



/* ================================
   HERO / COVER IMAGE
   ================================ */

.hero {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
}

.hero-cover {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}


/* ================================
   MOBILE
   ================================ */

@media (max-width: 768px) {

  .hero {
    height: 220px;
  }

  .hero-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

}

/* Profile section */
.profile {
  padding: 10px 0;
}/* Profile section */
.profile {
  padding: 10px 0;
}
.profile-photo {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 3.1 / 5;
  overflow: hidden;
  margin: 0;
  margin-left: auto;
  margin-right: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: none;
  border-radius: 0;
  margin: 0;
  padding: 0;
}

.socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  font-size: 18px;
  text-decoration: none;
  border-radius: 50%;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.socials a:hover {
  transform: translateY(-2px);
  opacity: 0.75;
}



footer {
    padding: 20px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-copyright {
    font-size: 0.875rem;
}

.footer-links {
    font-size: 0.875rem;
}

.footer-links a {
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.mx-1 {
    margin-left: 0.25rem;
    margin-right: 0.25rem;
}



/* ================================
   Publication Cards
================================ */

.publication-card {
    margin-bottom: 1rem;
}

.publication-card .card-body {
    padding: 0.75rem;
}

.publication-inner {
    background: transparent !important;
    border-radius: 0 !important;
    display: flex;
    align-items: stretch;
    min-height: 180px;
    overflow: hidden;
}

/* Publication image */

.publication-image {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.publication-image img {
    height: 180px;
    width: 300px;
    object-fit: cover;
    border-radius: 0;
}

/* Publication content */

.publication-content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.publication-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: justify;
    margin-bottom: 0.4rem;
}

.publication-authors {
    font-size: 0.82rem;
    line-height: 1.4;
    text-align: justify;
    margin-bottom: 0.4rem;
}

.publication-venue {
    font-size: 0.82rem;
    line-height: 1.4;
    text-align: justify;
    margin-bottom: 0.6rem;
}

/* Buttons */

.pub-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.25rem;
}

.pub-btn {
    border: none;
    border-radius: 0.35rem;
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.pub-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

/* Button colors */

.pub-btn-abstract {
    background: #0d6efd;
    color: white;
}

.pub-btn-bibtex {
    background: #6c757d;
    color: white;
}

.pub-btn-pdf {
    background: #198754;
    color: white;
}

.pub-btn-paper {
    background: #0dcaf0;
    color: #000;
}

.pub-btn-code {
    background: #ffc107;
    color: #000;
}

/* Toggle sections */

.toggle-section {
    display: none;
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    line-height: 1.6;
    text-align: justify;
}

/* Different toggle box colors */

.toggle-abstract {
    color: #0d6efd;
    border: 1px solid #0d6efd;
    background: rgba(13, 110, 253, 0.05);
}

.toggle-bibtex {
    color: #6c757d;
    border: 1px solid #6c757d;
    background: rgba(108, 117, 125, 0.05);
}

.toggle-pdf {
    color: #198754;
    border: 1px solid #198754;
    background: rgba(25, 135, 84, 0.05);
}

.toggle-paper {
    color: #0a8296;
    border: 1px solid #0dcaf0;
    background: rgba(13, 202, 240, 0.05);
}

.toggle-code {
    color: #856404;
    border: 1px solid #ffc107;
    background: rgba(255, 193, 7, 0.08);
}

.toggle-section p {
    text-align: justify;
    margin-bottom: 0;
}

.toggle-section pre {
    color: #212529;
    background: #f8f9fa;
    padding: 0.75rem;
    border-radius: 0.4rem;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
    text-align: left;
    font-size: 0.7rem;
    margin-top: 0.5rem;
}

/* Links inside toggle boxes */

.toggle-section a {
    font-weight: 600;
    text-decoration: underline;
}

/* Mobile */

@media (max-width: 768px) {

    .publication-inner {
        flex-direction: column;
    }

    .publication-image {
        justify-content: center;
    }

    .publication-image img {
        width: 100%;
        height: 200px;
        border-radius: 0.75rem 0.75rem 0 0;
    }

    .publication-content {
        padding: 0.9rem;
    }

    .publication-title {
        font-size: 0.9rem;
    }

    .publication-authors,
    .publication-venue {
        font-size: 0.78rem;
    }
}












/* Publication buttons */

.pub-btn-abstract {
    background-color: #0d6efd !important;
    color: #fff !important;
    border-color: #0d6efd !important;
}

.pub-btn-bibtex {
    background-color: #6c757d !important;
    color: #fff !important;
    border-color: #6c757d !important;
}

.pub-btn-pdf {
    background-color: #198754 !important;
    color: #fff !important;
    border-color: #198754 !important;
}

.pub-btn-paper {
    background-color: #0dcaf0 !important;
    color: #000 !important;
    border-color: #0dcaf0 !important;
}

.pub-btn-code {
    background-color: #ffc107 !important;
    color: #000 !important;
    border-color: #ffc107 !important;
}


/* Hover effects */

.pub-btn-abstract:hover,
.pub-btn-bibtex:hover,
.pub-btn-pdf:hover,
.pub-btn-paper:hover,
.pub-btn-code:hover {
    opacity: 0.85;
}


/* Toggle content */

.toggle-section {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    color: #212529;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 0.75rem;
    line-height: 1.6;
    text-align: justify;
}

.toggle-section p {
    text-align: justify;
    margin-bottom: 0;
}

.toggle-section pre {
    color: #212529;
    background-color: #ffffff;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
    text-align: left;
    font-size: 0.7rem;
}

.publication-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.publication-card .card-body {
    background: transparent !important;
    border-radius: 0 !important;
}

.publications-page {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
}

.publication-separator {
    height: 1px;
    background-color: #dee2e6;
    margin: 1.25rem 0;
}

.timeline-item .date {
    white-space: nowrap;
}

.skills-container {
    margin-top: 10px;
}

.skill-group {
    margin-bottom: 18px;
}

.skill-group h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.skill-badge {
    display: inline-block;
    padding: 5px 11px;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    background: #f8f9fa;
    font-size: 0.85rem;
    line-height: 1.3;
}

.section-title {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 5px;
}


/* ================================
   CONTACT SECTION
   ================================ */

.contact-section {
    margin-top: 45px;
    margin-bottom: 40px;
}

.contact-section h1 {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 8px;
}

.contact-section h1 i {
    margin-right: 7px;
    font-size: 0.9em;
}

.contact-content {
    width: 100%;
    margin-top: 25px;
}

.contact-intro {
    margin-bottom: 25px;
    line-height: 1.7;
    color: #6c757d;
}

.contact-intro a {
    color: inherit;
    text-decoration: none;
}

.contact-intro a:hover {
    text-decoration: underline;
}

.contact-field {
    margin-bottom: 18px;
}

.contact-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    font-weight: 600;
}

.contact-input {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    background: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    box-sizing: border-box;
    outline: none;
}

.contact-input:focus {
    border-color: #86b7fe;
}

.contact-message {
    min-height: 160px;
    resize: vertical;
}

.contact-submit {
    margin-top: 5px;
}

.contact-submit button {
    padding: 10px 22px;
    border: none;
    border-radius: 8px;
    background: #0d6efd;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
}

.contact-submit button:hover {
    opacity: 0.9;
}




.cv-title {
    font-size: 1.4rem;
    margin: 45px 0 20px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #dee2e6;
}

.cv-title i {
    margin-right: 7px;
    font-size: 0.9em;
}

.cv-description {
    margin-top: 0;
    margin-bottom: 15px;
    color: #6c757d;
}
.cv-button {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 8px;
    background: #0d6efd;
    color: #fff;
    text-decoration: none !important;
    border-bottom: none !important;
    font-size: 0.95rem;
}

.cv-button:hover {
    color: #fff;
    text-decoration: none !important;
    border-bottom: none !important;
    opacity: 0.9;
}

.cv-button i {
    margin-right: 6px;
}

.cv-note {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #6c757d;
}

.cv-note i {
    margin-right: 5px;
}



/* ================================
   NEWS / UPDATES
   ================================ */

.news {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news li {
    display: grid;
    grid-template-columns: 90px 1fr;
    column-gap: 20px;
    margin-bottom: 14px;
    text-align: justify;
    line-height: 1.5;
}

.news .news-date {
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
}

.news .news-content {
    min-width: 0;
}

/* Mobile */
@media (max-width: 600px) {
    .news li {
        grid-template-columns: 75px 1fr;
        column-gap: 12px;
    }
}

.news li.hidden-news {
    display: none !important;
}

.news li.hidden-news.show {
    display: grid !important;
}

.show-more-btn {
    background: none;
    border: none;
    padding: 0;
    margin-top: 5px;
    color: #00a6c7;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.show-more-btn:hover {
    text-decoration: underline;
}
