.project-hero .project-slider-wrapper {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    margin-top: -75px;
}

.project-hero .project-slider-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    object-fit: cover;
    pointer-events: none;
}

.project-hero .before {
    clip-path: inset(0 50% 0 0);
    z-index: 2;
}

.project-hero .after {
    z-index: 1;
}

.project-hero .handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #fff;
    z-index: 3;
    cursor: ew-resize;
    transform: translateX(-2px);
}

.project-hero .handle::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    background: #fff;
    border: 2px solid #333;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.project-title-overlay {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 3.5rem;
    font-weight: bold;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    font-family: "IBM Plex Serif", serif;
    text-align: center;
    white-space: nowrap;
    z-index: 4;
}

.project-description-section {
    padding: 50px 20px;
    text-align: center;
    font-family: "IBM Plex Serif", serif;
}

.project-description {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 900px;
    margin: auto;
    color: #333;
}

.project-description-section {
    padding: 60px 20px;
    background-color: #fff;
    font-family: "IBM Plex Serif", serif;
}

.project-description-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

.project-description {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #333;
    text-align: justify;
    white-space: pre-line;
}

/* === Gallery Styles === */
.project-gallery-section {
    padding: 40px 20px;
    background-color: #fff;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
