body {
    font-family: 'Poppins', sans-serif;
    color: #333;
}

header {
    background: linear-gradient(45deg, #4682B4, #00CED1);
    padding: 100px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.creative-visual {
    height: 400px;
    background-color: #f0f0f0;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.node {
    fill: #007bff;
    transition: fill 0.3s, transform 0.3s;
}

.link {
    stroke: #4682B4;
    stroke-width: 2;
    transition: stroke-width 0.3s;
}

.node:hover {
    fill: #0056b3;
}

.node:active {
    transform: scale(1.5);
}

.link:hover {
    stroke-width: 4;
}

#featured-work, #publications, #projects {
    background-color: #f8f9fa;
}

#quote-showcase {
    background-color: #4682B4;
    color: white;
    padding: 3rem 1rem;
}

.quote-text {
    position: relative;
    min-height: 300px; /* Adjusted for content without embeds */
}

.quote-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.quote-item.active {
    opacity: 1;
}

.quote-item p {
    font-size: 1.25rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 1rem;
    padding: 0 15px;
}

.quote-item .btn {
    background-color: white;
    color: #4682B4;
    border: none;
    padding: 10px 20px;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
}

.quote-item .btn:hover {
    background-color: #f0f0f0;
    color: #30597e;
}

@media (max-width: 768px) {
    .quote-item p {
        font-size: 1rem;
    }
    
    .quote-text {
        min-height: 250px; /* Adjusted for mobile */
    }
}

.btn {
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 600;
}

#experience-hero {
    background: linear-gradient(45deg, #00CED1, #4682B4);
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    padding: 20px 30px;
    border-left: 2px solid #4682B4;
    position: relative;
    margin-bottom: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #4682B4;
    left: -9px;
    top: 20px;
}

.timeline-content {
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.card {
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .quote-text {
        font-size: 1rem;
        min-height: 200px;
    }
}