@import url(https://db.onlinewebfonts.com/c/33d2ace98dd5231182427e6acc4bc372?family=Right+Grotesk+Medium);

.projects-hero {
    position: relative;
    width: 100%;
    min-height: 580px;
    overflow: hidden;
    background-color: #0a0e27;
}

/* Background image */
.projects-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?auto=format&fit=crop&w=1800&q=80');
    background-size: cover;
    background-position: center top;
}

/* Dark overlay: solid navy on the right fading to transparent on the left */
.projects-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(270deg,
            #0a0e27 0%,
            rgba(10, 14, 39, 0.92) 22%,
            rgba(10, 14, 39, 0.55) 42%,
            rgba(10, 14, 39, 0.15) 62%,
            rgba(10, 14, 39, 0) 78%);
}

/* ===== Hero content ===== */
.projects-hero-content {
    position: relative;
    z-index: 5;
    max-width: 1300px;
    margin: 0 auto;
    padding: 90px 54px 108px;
    display: flex;
    justify-content: flex-end;
    margin-top: 5%;
}

.projects-hero-text {
    text-align: right;
    max-width: 520px;
}

.projects-hero-text h1 {
    font-weight: 600;
    font-size: 50px;
    line-height: 1.25;
    color: #ffffff;
}

.projects-hero-text p {
    margin-top: 22px;
    margin-top: 22px;
    font-size: 20px;
    line-height: 1.4;
    color: #d7d9e4;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .projects-hero-text h1 {
        font-size: 32px;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 14px 18px;
    }

    .projects-hero-content {
        padding: 70px 20px 80px;
        justify-content: flex-start;
        padding-top: 33%;
    }

    .projects-hero-text {
        text-align: left;
        max-width: 100%;
    }

    .projects-hero-text h1 {
        font-size: 28px;
    }

    .projects-hero-text p {
        font-size: 14.5px;
    }
}

/* **************************** Projects Section  */
/* ================= OUR WORK ================= */

.our-work-section {
    width: 100%;
    background: #0a0e27;
    padding: 30px 4% 60px;
}

.our-work-heading {
    font-family: "Right Grotesk Medium";
    text-align: center;
    color: #fff;
    font-size: 50px;
    font-weight: 600;
    margin-bottom: 20px;
}

.work-carousel {
    max-width: 1400px;
    margin: auto;
    position: relative;
}

.work-slide {
    display: flex !important;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
}

.work-card-text {
    width: 42%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.work-card-text h3 {
    font-family: "Right Grotesk Medium";
    font-size: 50px;
    margin-bottom: 20px;
    color: #11152d;
}

.work-card-text p {
    font-size: 20px;
    line-height: 1.4;
    color: #555;
}

.work-card-image {
    width: 58%;
    height: 100%;
    flex-shrink: 0;
}

.work-card-image-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Slick */

.work-carousel .slick-list,
.work-carousel .slick-track {
    height: 500px;
}

.work-carousel .slick-slide {
    height: 500px;
}

.work-carousel .slick-slide>div {
    height: 100%;
}

.work-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: #ffc928;
    cursor: pointer;
    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: center;
}

.work-arrow-prev {
    left: -26px;
}

.work-arrow-next {
    right: -26px;
}

@media(max-width:991px) {

    .work-slide {
        flex-direction: column;
        height: auto;
    }

    .work-card-text,
    .work-card-image {
        width: 100%;
    }

    .work-card-image {
        height: 260px;
    }

    .work-card-text {
        padding: 30px;
    }

    .work-carousel .slick-list,
    .work-carousel .slick-track,
    .work-carousel .slick-slide {
        height: auto;
    }

}