 

.project-hero {
    background:
        linear-gradient(
            135deg,
            #eff6ff 0%,
            #ffffff 50%,
            #dbeafe 100%
        );
}

.project-badge {
    display: inline-block;

    padding: 9px 18px;

    border-radius: 999px;

    background: #dbeafe;

    color: #1d4ed8;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 0.04em;
}


/* =========================================================
   PROJECT SECTIONS
========================================================= */

.project-section {
    padding: 50px 0 80px;

    background: #ffffff;
}

.project-section-alt {
    background: #f8fafc;
}


/* =========================================================
   PROJECT CONTAINER
========================================================= */

.project-container {
    width: min(
        1150px,
        calc(100% - 40px)
    );

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    align-items: center;

    gap: 50px;
}


/* =========================================================
   PROJECT CONTENT
========================================================= */

.project-content {
    max-width: 520px;
}

.project-number {
    display: inline-block;

    color: #2563eb;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 0.12em;
}

.project-title {
    margin-top: 12px;

    color: #0f172a;

    font-size:
        clamp(
            30px,
            4vw,
            46px
        );

    line-height: 1.12;

    font-weight: 800;
}

.project-description {
    margin-top: 22px;

    color: #64748b;

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================================
   PROJECT DETAILS
========================================================= */

.project-details {
    margin-top: 28px;

    display: grid;

    gap: 18px;
}

.project-details strong {
    display: block;

    margin-bottom: 5px;

    color: #0f172a;

    font-size: 14px;

    font-weight: 700;
}

.project-details p {
    margin: 0;

    color: #64748b;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   PROJECT BUTTON
========================================================= */

.project-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-top: 30px;

    padding: 13px 21px;

    border: none;

    border-radius: 9px;

    background: #2563eb;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    box-shadow:
        0 8px 20px
        rgba(37, 99, 235, 0.18);

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

.project-button:hover {
    background: #1d4ed8;

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px
        rgba(37, 99, 235, 0.25);
}

.project-button span {
    transition:
        transform 0.25s ease;
}

.project-button:hover span {
    transform: translateX(4px);
}


/* =========================================================
   PROJECT IMAGE SLIDER
========================================================= */

.project-slider {
    position: relative;

    width: 100%;

    height: 430px;

    overflow: hidden;

    border-radius: 20px;

    background: #e2e8f0;

    box-shadow:
        0 18px 45px
        rgba(15, 23, 42, 0.12);
}


/* Slides */

.project-slide {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0;

    transition:
        opacity 0.8s ease;
}

.project-slide.active {
    opacity: 1;
}


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.project-slider::after {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            to top,
            rgba(15, 23, 42, 0.38),
            transparent 40%
        );
}


/* =========================================================
   SLIDER DOTS
========================================================= */

.slider-dots {
    position: absolute;

    left: 50%;

    bottom: 18px;

    transform:
        translateX(-50%);

    z-index: 10;

    display: flex;

    align-items: center;

    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;

    padding: 0;

    border: none;

    border-radius: 50%;

    background:
        rgba(
            255,
            255,
            255,
            0.65
        );

    cursor: pointer;

    transition:
        width 0.25s ease,
        background-color 0.25s ease;
}

.dot.active {
    width: 24px;

    border-radius: 999px;

    background: #ffffff;
}


/* =========================================================
   PROJECT CTA
========================================================= */

.project-cta {
    padding: 80px 0;

    background:
        linear-gradient(
            120deg,
            #1d4ed8,
            #172554
        );
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .project-container {
        gap: 40px;
    }

    .project-title {
        font-size: 38px;
    }

    .project-slider {
        height: 370px;
    }
}


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 900px) {

    .project-section {
        padding: 45px 0 70px;
    }

    .project-container {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .project-content {
        max-width: none;
    }

    .project-slider {
        height: 380px;
    }

    .project-section-alt .project-container {
        display: flex;

        flex-direction: column;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .project-section {
        padding: 40px 0 60px;
    }

    .project-container {
        width:
            calc(100% - 28px);

        gap: 30px;
    }

    .project-title {
        font-size: 31px;

        line-height: 1.15;
    }

    .project-description {
        margin-top: 18px;

        font-size: 15px;

        line-height: 1.7;
    }

    .project-details {
        margin-top: 22px;

        gap: 15px;
    }

    .project-button {
        width: 100%;

        margin-top: 25px;
    }

    .project-slider {
        height: 270px;

        border-radius: 15px;
    }

    .slider-dots {
        bottom: 14px;
    }

    .project-cta {
        padding: 60px 0;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .project-title {
        font-size: 28px;
    }

    .project-slider {
        height: 235px;
    }

    .project-number {
        font-size: 12px;
    }

    .project-details p {
        font-size: 13px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .project-slide,
    .project-button,
    .project-button span,
    .dot {
        transition: none;
    }
}