.wy-nav-side p.caption {
  color: #ffffff;
}

.wy-nav-side {
    background-color: #14213d;
    background-image: url('overlay.png');
    background-repeat: repeat;
    background-size: auto;
    background-blend-mode: normal;
}

.wy-nav-side a {
  color: #ffffff;
}

.wy-menu-vertical a:hover {
  color: #ffffff;
}

div.wy-side-nav-search {
background: transparent;
background-color: transparent;
}

div.wy-side-nav-search a{
  color: gray;
}

div.wy-side-nay {
  background: #ffffff;
}

table.field-list td li {
  line-height: 18px;
}

table.docutils td p {
  font-size: 14px !important;
  margin-bottom: 6px;

}

table.docutils td li {
  line-height: 18px;

}

/* override table width restrictions */
@media screen and (min-width: 767px) {

    .wy-table-responsive table td {
        /* !important prevents the common CSS stylesheets from overriding
           this as on RTD they are loaded after this stylesheet */
        white-space: normal !important;
    }
    .wy-table-responsive {
        overflow: visible !important;
    }
}

/* .wy-nav-content { */
   /* max-width: none; */
/* } */

section {
    text-align: justify;
}

.wy-side-nav-search .wy-dropdown > a img.logo, .wy-side-nav-search > a img.logo {
	display: block;
	margin: 0 auto;
	height: auto;
	width: auto;
	border-radius: 100%;
	max-width: 100%;
	background: transparent;
}

.rst-content > div:nth-child(1){
	display:none
}

body {
    color: #14213d;
    background: #14213d;
}

/* html.writer-html5 body.wy-body-for-nav div.wy-grid-for-nav nav.wy-nav-side div.wy-side-scroll div.wy-menu.wy-menu-vertical div.local-toc ul li a.reference.internal.current { */
	/* display:none */
/* } */

/* Social Media Links Styling */
.social-links {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 10px;
    padding: 0 10px;
}

.social-link {
    display: inline-block;
    margin: 0 8px;
    padding: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    display: block;
}

.linkedin-link:hover .social-icon {
    filter: brightness(0) saturate(100%) invert(27%) sepia(95%) saturate(1706%) hue-rotate(183deg) brightness(92%) contrast(85%);
}

.github-link:hover .social-icon {
    filter: brightness(0) saturate(100%) invert(17%) sepia(0%) saturate(0%) hue-rotate(296deg) brightness(94%) contrast(89%);
}

/* Education Section Styling */
.education-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid #e1e4e8;
    margin-bottom: 10px;
}

.education-item:last-child {
    border-bottom: none;
}

.education-degree {
    flex: 1;
    padding-right: 20px;
}

.education-degree h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
    color: #14213d;
}

.education-details {
    text-align: right;
    color: #6a737d;
    font-style: italic;
    font-size: 16px;
}

.education-year {
    font-weight: 500;
    margin-bottom: 2px;
}

.education-institution {
    font-size: 14px;
}

/* Responsive design for education */
@media (max-width: 768px) {
    .education-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .education-degree {
        padding-right: 0;
        margin-bottom: 10px;
    }
    
    .education-details {
        text-align: left;
    }
}

/* Publications Section Styling */
.publications-section {
    margin: 20px 0;
}

.publication-item {
    margin-bottom: 30px;
    padding: 20px;
    border-left: 3px solid #14213d;
    background-color: #fafafa;
    border-radius: 5px;
}

.publication-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    line-height: 1.4;
}

.publication-title a {
    color: #14213d;
    text-decoration: none;
    font-weight: 600;
}

.publication-title a:hover {
    color: #2c5f4f;
    text-decoration: underline;
}

.publication-authors {
    color: #666;
    font-size: 16px;
    margin-bottom: 8px;
    font-style: italic;
}

.publication-details {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
    line-height: 1.5;
}

.publication-details em {
    font-weight: 500;
    color: #14213d;
}

.publication-details strong {
    color: #d4a574;
    font-weight: 600;
}

.abstract-toggle {
    color: #14213d;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    user-select: none;
    margin-bottom: 10px;
    display: inline-block;
    padding: 5px 10px;
    background-color: rgba(20, 33, 61, 0.08);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.abstract-toggle:hover {
    background-color: rgba(20, 33, 61, 0.18);
    transform: translateY(-1px);
}

.abstract-toggle.expanded {
    background-color: #14213d;
    color: white;
}

.abstract-content {
    margin-top: 10px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    border-left: 4px solid #14213d;
    animation: fadeIn 0.3s ease-in;
}

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

/* Responsive design for publications */
@media (max-width: 768px) {
    .publication-item {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .publication-title {
        font-size: 16px;
    }
    
    .publication-authors {
        font-size: 14px;
    }
    
    .publication-details {
        font-size: 13px;
    }
}

/* Hide annoying header links - comprehensive approach */
.headerlink {
    display: none !important;
}

a.headerlink {
    display: none !important;
}

/* Alternative approach - make them invisible */
.rst-content .headerlink {
    visibility: hidden !important;
    opacity: 0 !important;
}

/* More specific RTD theme selectors */
.rst-content h1 .headerlink,
.rst-content h2 .headerlink,
.rst-content h3 .headerlink,
.rst-content h4 .headerlink,
.rst-content h5 .headerlink,
.rst-content h6 .headerlink {
    display: none !important;
}

/* Hide any anchor links with these common symbols */
a[href^="#"]:after {
    content: "" !important;
}

/* Hide pilcrow and other permalink symbols */
.pilcrow,
.permalink,
a.reference.internal > .headerlink,
.rst-content .section .headerlink {
    display: none !important;
    visibility: hidden !important;
}

/* Courses styling - matching the clean design from screenshot */
.courses-section {
    margin: 20px 0;
}

.course-item {
    margin-bottom: 30px;
    padding: 25px;
    background-color: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.course-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.course-title {
    margin: 0 0 15px 0;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
}

.course-title a {
    text-decoration: none;
    color: #2c3e50;
}

.course-title a:hover {
    text-decoration: underline;
    color: #34495e;
}

.course-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 15px;
}

.course-details {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.course-details strong {
    color: #333;
}

.course-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.topic-tag {
    display: inline-block;
    padding: 6px 12px;
    background-color: #3498db;
    color: white;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}