* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

h1, h2, h3, h4, h5, h6, nav, .subtitle {
    font-family: 'Montserrat', sans-serif;
}

h1, h2, h3 {
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: #fff;
    border-top: 4px solid #4b9cd3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 20px 0;
    margin-bottom: 30px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    color: #333;
    margin-bottom: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    header h1 {
        margin-bottom: 15px;
    }
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
}

nav ul li {
    margin-right: 24px;
    margin-bottom: 0;
}

nav ul li:last-child {
    margin-right: 0;
}

nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    padding: 5px 0;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a:hover, nav ul li a.active {
    color: #4b9cd3;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #4b9cd3;
    transition: width 0.3s ease;
}

nav ul li a:hover::after, nav ul li a.active::after {
    width: 100%;
}

.content-wrapper {
    display: flex;
    gap: 30px;
}

.profile-sidebar {
    flex: 0 0 280px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
    height: fit-content;
    position: sticky;
    top: 30px;
}

.profile-image {
    text-align: center;
    margin-bottom: 20px;
}

.profile-image img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #4b9cd3;
}

.profile-info h2 {
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

.subtitle {
    color: #666;
    font-size: 0.92em;
    margin-bottom: 8px;
    text-align: center;
}

.contact-details {
    margin: 10px 0;
}

.contact-details p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.contact-details i {
    width: 20px;
    color: #4b9cd3;
    margin-right: 10px;
}

.contact-details a {
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
    color: #4b9cd3;
}

.social-links {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    margin: 0 5px;
    color: #555;
    font-size: 1.2em;
    background-color: #f5f5f5;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #fff;
    background-color: #4b9cd3;
    transform: translateY(-3px);
}

.main-content {
    flex: 1;
}

.home-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.home-content h2 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4b9cd3;
}

.journey, .research-interests {
    margin-bottom: 30px;
}

.journey h3, .research-interests h3 {
    color: #4b9cd3;
    margin-bottom: 15px;
}

.journey p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.research-interests ul {
    padding-left: 20px;
}

.research-interests li {
    margin-bottom: 12px;
}
.intro-paragraph {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.15rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 2rem;
    border-left: 3px solid #4285f4; 
    padding-left: 1rem;
    font-weight: 300; 
    max-width: 95%;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.intro-paragraph {
    animation: fadeIn 0.8s ease-in-out;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

@media (max-width: 900px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .profile-sidebar {
        position: static;
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    nav ul {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

.cv-section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.cv-section h2 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.cv-block {
    margin-bottom: 30px;
}

.cv-block h3 {
    color: #4b9cd3;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.cv-block h3 i {
    margin-right: 10px;
}

.cv-item {
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 3px solid #f0f0f0;
}

.cv-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.cv-item-header h4 {
    color: #444;
    font-weight: 600;
}

.cv-date {
    color: #666;
    font-weight: normal;
}

.cv-institution {
    color: #555;
    font-weight: 500;
    margin-bottom: 5px;
}

.publication-list li {
    margin-bottom: 15px;
}

.publication-list a {
    display: block;
    color: #4b9cd3;
    text-decoration: none;
    font-size: 0.9em;
    margin-top: 3px;
}

.publication-list a:hover {
    text-decoration: underline;
}

.publications-section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.publications-section h2 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.publication-filters {
    margin-bottom: 25px;
}

.filter-btn {
    background-color: #f5f5f5;
    border: none;
    padding: 8px 15px;
    margin-right: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: #4b9cd3;
    color: white;
}

.publication-item {
    display: flex;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.publication-year {
    flex: 0 0 70px;
    font-weight: bold;
    color: #4b9cd3;
    padding-top: 5px;
}

.publication-content {
    flex: 1;
}

.publication-content h3 {
    color: #333;
    margin-bottom: 5px;
    font-size: 1.2em;
}

.publication-authors {
    color: #555;
    margin-bottom: 5px;
}

.publication-journal {
    color: #666;
    font-style: italic;
    margin-bottom: 10px;
}

.publication-links {
    margin-bottom: 10px;
}

.publication-link {
    display: inline-block;
    background-color: #f5f5f5;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    margin-right: 10px;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.publication-link:hover {
    background-color: #4b9cd3;
    color: white;
}

.abstract-toggle {
    background: none;
    border: none;
    color: #4b9cd3;
    cursor: pointer;
    padding: 0;
    font-size: 0.9em;
}

.abstract-toggle i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.abstract-content {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.abstract-content.show {
    display: block;
}

@media (max-width: 768px) {
    .publication-item {
        flex-direction: column;
    }
    
    .publication-year {
        margin-bottom: 10px;
    }
    
    .filter-btn {
        margin-bottom: 10px;
    }
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #f8f9fa;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        padding: 10px 0;
        width: 100%;
    }
}


p {
    line-height: 1.8;
}

h1, h2, h3 {
    letter-spacing: -0.02em;
}

.subtitle {
    letter-spacing: 0.02em;
}

nav ul li a {
    letter-spacing: 0.01em;
}

.publication-item {
    display: flex;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 2rem;
}

.publication-year {
    min-width: 60px;
    font-weight: bold;
    margin-right: 1rem;
}

.publication-journal-cover {
    width: 100px;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.publication-journal-cover img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.publication-journal-cover img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.publication-content {
    flex: 1;
}

@media (max-width: 768px) {
    .publication-item {
        flex-direction: column;
    }
    
    .publication-journal-cover {
        width: 80px;
        margin-bottom: 1rem;
        align-self: center;
    }
    
    .publication-year {
        margin-bottom: 0.5rem;
    }
}

.certificates-section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.certificates-section h2 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}


.certificate-filters {
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    background-color: #f5f5f5;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    color: #555;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #4b9cd3;
    color: white;
}

.certificate-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.certificate-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.certificate-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.certificate-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.certificate-title h4 {
    color: #333;
    font-weight: 600;
    margin: 0;
    font-size: 1.1em;
}

.provider-logo {
    width: 40px;
    height: auto;
}

.certificate-date {
    color: #666;
    font-size: 0.85em;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 5px;
}

.certificate-date i {
    color: #888;
}

.certificate-issuer {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 12px;
}

.certificate-description {
    margin-bottom: 15px;
    line-height: 1.6;
}

.certificate-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.certificate-link {
    display: inline-flex;
    align-items: center;
    background-color: #4b9cd3;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s ease;
    gap: 5px;
}

.certificate-link:hover {
    background-color: #3a7ca8;
    transform: translateY(-2px);
}

.description-toggle {
    background: none;
    border: none;
    color: #4b9cd3;
    cursor: pointer;
    padding: 0;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 5px;
}

.description-toggle:hover {
    text-decoration: underline;
}

.description-content {
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
}

.description-content.show {
    height: auto;
    opacity: 1;
    margin-top: 15px;
}

.description-inner {
    background-color: #f0f5fa;
    padding: 15px;
    border-radius: 5px;
    border-left: 3px solid #4b9cd3;
}

.description-inner h5 {
    color: #333;
    margin-bottom: 10px;
    font-size: 0.95em;
}

.description-inner ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.description-inner li {
    margin-bottom: 5px;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .certificate-header {
        flex-direction: column;
    }

    .certificate-date {
        margin-top: 5px;
    }

    .certificate-title {
        margin-bottom: 10px;
    }

    .certificate-links {
        flex-direction: column;
        gap: 10px;
    }

    .certificate-link,
    .description-toggle {
        width: 100%;
        justify-content: center;
    }
}

.cv-download {
    margin-bottom: 25px;
    text-align: center;
}

.cv-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #4b9cd3;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(75, 156, 211, 0.3);
}

.cv-download-btn:hover {
    background-color: #3a7ca8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(75, 156, 211, 0.4);
}

.cv-download-btn i {
    font-size: 1.2em;
}

@media (max-width: 768px) {
    .cv-download {
        text-align: center;
    }
}

.cv-block h3.accordion-toggle {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    transition: all 0.3s ease;
  }
  
.cv-block h3.accordion-toggle:hover {
    color: #2c3e50;
  }
  
.cv-block h3.accordion-toggle {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    transition: all 0.3s ease;
    text-align: left;
}
  
.cv-block h3.accordion-toggle i.fas {
    margin-right: 10px;
    text-align: left;
}
  
.cv-block h3.accordion-toggle:hover {
    color: #2c3e50;
}
  
.cv-block h3.accordion-toggle {
  cursor: pointer;
  padding: 10px 0;
  transition: all 0.3s ease;
  text-align: left;
  width: 100%;
  position: relative;
  padding-right: 30px;
}

.cv-block h3 i.fas:first-child {
  margin-right: 10px;
}

.cv-block h3.accordion-toggle:hover {
  color: #2c3e50;
}

.accordion-icon {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8em;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  width: 100%;
}

.accordion-content.open {
  max-height: 2000px;
  transition: max-height 0.6s ease;
}

.cv-block {
  display: block;
  margin-bottom: 15px;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 15px;
  width: 100%;
}

.cv-item, .cv-item-header, .cv-institution, .publication-list,
.accordion-content p, .accordion-content ul, .accordion-content li, 
.accordion-content h4 {
  display: block;
  text-align: left;
  margin-left: 0;
  width: 100%;
}
