/* Progress Bar */
.progress-container {
    position: fixed; top: 57.5px; left: 0; z-index: 10000; width: 100%; height: 2px; background: transparent;
}
.progress-bar {
    height: 100%; background: var(--secondary-blue); width: 0%;
    transition: width 0.1s ease-out; box-shadow: 0 0 10px var(--secondary-blue);
}

/* Doodles */
.hidden-doodle {
    position: fixed; width: 300px; opacity: 0; z-index: 1; pointer-events: none; transition: opacity 0.15s ease-out;
}
.hidden-doodle.br { bottom: 40px; right: 40px; transform: rotate(-10deg); }
.hidden-doodle.tr { top: 40px; right: 40px; transform: rotate(15deg); }

/* Buttons */
.download-button {
    background-color: #4BA4EC; color: white; border: none; border-radius: 50%;
    padding: 10px; display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none; font-size: 1.2em; width: 28px; height: 28px;
    box-shadow: 0px 8px 24px hsla(0, 0%, 0%, 0.15); vertical-align: middle; margin-top : -16px;
}
.download-button:hover { background-color: #3474DF; transform: scale(1.08); }

/* Case Study Internal Elements */
.info-at-a-glance {
    border-radius: 30px; display: flex; justify-content: space-between; max-width: 800px;
    margin: 50px auto; padding: 20px; background-color: var(--card-bg);
    border: 1px solid var(--grid-line); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.info-glance-section { flex: 1; margin: 0 20px; }
.info-tool-logo{ border-radius: 16px; width: 180px; max-height: 100px; }
.info-mechanism { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.info-text-content { flex: 1; }
.info-image-content { flex: 1; display: flex; justify-content: flex-end; }
.info-image-content img { max-width: 100%; height: auto; object-fit: cover; border-radius: 30px; margin: 8px; }
.info-challenge-video { border-radius: 30px; overflow: hidden; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); }
.pdf-links-container{ display: flex; justify-content: space-evenly; align-items: center; gap: 20px; padding: 20px; }
.image-wrapper { display: flex; flex-direction: column; align-items: center; width: calc(33.333% - 13.333px); }
.image-wrapper a { display: block; width: 100%; aspect-ratio: 1 / 1.3; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); }
.image-wrapper img { width: 100%; height: 100%; object-fit: cover; border: 1px solid var(--grid-line); }
.image-wrapper h3 { margin-top: 10px; text-align: center; }
.image-wrapper:hover{ transform: scale(1.08); }
.plan-slider {
    display: flex; aspect-ratio: 16/9; overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-behavior: smooth; box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25); border-radius: 0.5rem;
}
.plan-slider img { flex: 1 0 100%; scroll-snap-align: start; object-fit: cover; }
.plan-slider-nav { display: flex; column-gap: 1rem; position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); z-index: 1; }
.plan-slider-nav a { width: 0.5rem; height: 0.5rem; border-radius: 50%; background-color: #000000; opacity: 0.5; transition: opacity ease 250ms; }
.plan-slider-nav a:hover { opacity: 1; }
.slides-container { position: relative; width: 100%; max-width: 1000px; margin: 2rem auto; padding-top: 56.25%; }
.slides-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.project-outline { position: fixed; top: 120px; right: 20px; z-index: 999; font-size: 14px; font-weight: 400; text-align: right; }
.project-outline ul { list-style: none; padding: 0; margin: 0; }
.project-outline li { margin: 10px 0; }
.outline-link { color: var(--light-gray); text-decoration: none; transition: all 0.3s ease; font-size: 0.95em; }
.outline-link.active { font-weight: 800; color: var(--black); font-size: 1.25em; }
@media screen and (max-width: 768px) { .project-outline { display: none; } }

/* Resume Project Cards */
.project-card {
    display: flex; margin-top: 10px; background: var(--card-bg); border: 1px solid var(--grid-line);
    border-radius: 12px; overflow: hidden; max-width: 95%; box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.project-card:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(0,0,0,0.1); border-color: var(--secondary-blue); }
.project-thumb { width: 130px; min-height: 100px; object-fit: cover; background-color: #f0f0f0; }
.project-details { padding: 12px 16px; display: flex; flex-direction: column; justify-content: center; flex: 1; }
.project-title { font-weight: 800; font-size: 0.95em; color: var(--black); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.project-description { font-size: 0.85em; color: var(--light-gray); margin-bottom: 8px; font-style: italic; }
.project-links { display: flex; flex-wrap: wrap; gap: 12px; font-size: 0.85em; }
.project-links a { text-decoration: none; color: var(--light-gray); display: flex; align-items: center; gap: 6px; font-weight: 500; transition: color 0.2s ease; }
.project-links a:hover { color: var(--secondary-blue); }
@media (max-width: 600px) { .project-card { flex-direction: column; } .project-thumb { width: 100%; height: 140px; } }