/* Main content container */
.portfolio-content {
    position: relative;
    width: 100%;
    margin-top: 45vh; /* Position below the animation area */
    background-color: white;
    z-index: 10;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    padding-bottom: 50px;
}

/* Each portfolio section */
.portfolio-section {
    padding: 40px 10%;
    min-height: 50vh;
}

.portfolio-section h2 {
    font-size: 2.5rem;
    color: #846449;
    margin-bottom: 30px;
    position: relative;
}

.portfolio-section h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background-color: #d88948;
}

/* Experience Timeline Styles */
.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #c9b2a3;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: #d88948;
    border: 4px solid #846449;
    top: 20px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    padding: 20px;
    background-color: #f8f5f2;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    color: #d88948;
    margin: 0 0 5px 0;
}

.timeline-content h4 {
    color: #846449;
    font-size: 0.9rem;
    margin: 0 0 15px 0;
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.timeline-content.expanded .expandable-content {
    max-height: 500px;
}

.read-more-btn {
    background: none;
    border: none;
    color: #d88948;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
    padding: 0;
    text-align: left;
}

/* Projects Showcase Styles */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    position: relative;
    background-color: #f8f5f2;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-content {
    padding: 20px;
}

.project-title {
    color: #d88948;
    margin: 0 0 10px 0;
}

.project-org {
    color: #846449;
    font-size: 0.9rem;
    margin: 0 0 10px 0;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 10px 0;
}

.tech-tag {
    background-color: #e9e2dc;
    color: #846449;
    border-radius: 15px;
    padding: 3px 10px;
    font-size: 0.8rem;
}

.project-description {
    margin: 10px 0;
}

/* Publications List Styles */
.publications-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.publication-item {
    background-color: #f8f5f2;
    border-left: 4px solid #d88948;
    padding: 20px;
    border-radius: 5px;
}

.publication-item h3 {
    color: #846449;
    margin: 0 0 10px 0;
}

.publication-meta {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    color: #846449;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.publication-tags {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.publication-tag {
    background-color: #e9e2dc;
    color: #846449;
    border-radius: 15px;
    padding: 3px 10px;
    font-size: 0.8rem;
}

.publication-link {
    color: #d88948;
    text-decoration: none;
}

.publication-link:hover {
    text-decoration: underline;
}

/* Skills Visualization Styles */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.skill-category {
    background-color: #f8f5f2;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.skill-category h3 {
    color: #d88948;
    margin: 0 0 15px 0;
    text-align: center;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skill-item {
    position: relative;
    padding: 5px 0;
}

.skill-name {
    margin-bottom: 5px;
}

.skill-bar {
    height: 8px;
    background-color: #e9e2dc;
    border-radius: 4px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background-color: #d88948;
}

/* Contact Section Styles */
.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: #f8f5f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #d88948;
}

.contact-text {
    color: #846449;
}

.contact-text a {
    color: #d88948;
    text-decoration: none;
}

.contact-text a:hover {
    text-decoration: underline;
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: #f8f5f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d88948;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    background-color: #d88948;
    color: white;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .timeline-container::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item::after {
        left: 21px;
    }
    
    .timeline-item:nth-child(even)::after {
        left: 21px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        flex-direction: column;
    }
}
/* Download Resume Section Styles */
.download-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
}

.download-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background-color: #f8f5f2;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.download-icon {
    font-size: 40px;
    color: #d88948;
    margin-bottom: 20px;
    text-align: center;
}

.download-title {
    font-size: 1.5rem;
    color: #846449;
    margin-bottom: 15px;
    text-align: center;
}

.download-description {
    color: #846449;
    margin-bottom: 20px;
    flex-grow: 1;
}

.download-button {
    display: inline-block;
    background-color: #d88948;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
    font-weight: bold;
    border: none;
    cursor: pointer;
    margin-top: auto;
}

.download-button:hover {
    background-color: #c27a3b;
}

.download-format-options {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.format-option {
    flex: 1;
    padding: 8px;
    background-color: #e9e2dc;
    color: #846449;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.format-option:hover {
    background-color: #d88948;
    color: white;
}