
.project-highlight {
    padding: 100px 0;
    background: #000;
    overflow: hidden;
}

.highlight-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 25px;
    background: #1b1b1b;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.highlight-btn:hover {
    background: #333;
    color: #fff;
}

.highlight-btn i {
    transition: transform 0.3s ease;
}

.highlight-btn:hover i {
    transform: translateX(5px);
}

/* Full Width Image */

.highlight-full-image {
    width: 100%;
    height: 500px;
    margin-top: 80px;
    overflow: hidden;
}

.highlight-full-image img {
    width: auto;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.highlight-full-image:hover img {
    transform: scale(1.02);
}


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

@media (max-width: 991px) {

    .project-highlight {
        padding: 70px 0;
    }

    .highlight-content {
        padding-right: 0;
    }

    .highlight-content h2 {
        font-size: 38px;
    }

    .highlight-image {
        height: 450px;
    }

    .highlight-full-image {
        height: 350px;
        margin-top: 50px;
    }
}

@media (max-width: 575px) {

    .project-highlight {
        padding: 50px 0;
    }

    .highlight-content h2 {
        font-size: 32px;
    }

    .highlight-content p {
        font-size: 14px;
    }

    .highlight-image {
        height: 350px;
    }

    .highlight-full-image {
        height: 250px;
        margin-top: 40px;
    }
}

.highlight-row {
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
}

.highlight-content {
    flex-shrink: 0;
    text-align: left;
}

.highlight-image {
    width: 60%;
    height: 550px;
    overflow: hidden;
}

.highlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.highlight-subtitle {
    display: block;
    font-size: 18px;
    margin-bottom: 20px;
    color: #c9c7c7;
}

.highlight-content h2 {
    font-size: 45px;
    line-height: 1.15;
    margin-bottom: 25px;
    color: #f2f2f2;
}

.highlight-content h2 span {
    display: block;
}

.highlight-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #dad8d8;
    max-width: 500px;
}


/* Mobile */
@media (max-width: 991px) {

    .highlight-row {
        flex-direction: column;
        gap: 40px;
    }

    .highlight-content,
    .highlight-image {
        width: 100%;
    }

    .highlight-image {
        height: 450px;
    }
}

@media (max-width: 575px) {

    .highlight-content h2 {
        font-size: 32px;
    }

    .highlight-image {
        height: 250px;
    }
}
.highlight-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    width: 100%;
    margin-top: 70px;
}

.gallery-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-image:hover img {
    transform: scale(1.03);
}


/* Mobile */
@media (max-width: 767px) {

    .highlight-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .gallery-image {
        height: 170px;
    }
}

.image-popup {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.image-popup.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.popup-image-wrapper {
    width: 85%;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 50px;
    height: 50px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
    z-index: 1000000;
}

.popup-prev,
.popup-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 25px;
    cursor: pointer;
    z-index: 1000000;

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

    transition: 0.3s ease;
}

.popup-prev:hover,
.popup-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.popup-prev {
    left: 25px;
}

.popup-next {
    right: 25px;
}

@media (max-width: 767px) {

    .popup-image-wrapper {
        width: 90%;
        height: 75vh;
    }

    .popup-prev,
    .popup-next {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .popup-prev {
        left: 10px;
    }

    .popup-next {
        right: 10px;
    }

    .popup-close {
        top: 10px;
        right: 10px;
        font-size: 35px;
    }
}
.highlight-image img,
.gallery-image img {
    cursor: pointer;
}

/* ================================
   PROJECT SECTION
================================ */

.projects-section {
    padding: 80px 0;
}

.projects-heading {
    text-align: center;
    margin-bottom: 40px;
}

.projects-heading span {
    display: block;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.projects-heading h2 {
    font-size: 38px;
    margin: 0;
}

/* 3 Images in One Row */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-card {
    position: relative;
    overflow: hidden;
    height: 450px;
    border-radius: 5px;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* Dark Gradient */
.project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75),
        rgba(0, 0, 0, 0.05) 60%
    );
    z-index: 1;
}

/* Project Name */
.project-overlay {
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 0px;
    z-index: 2;
    color: #fff;
}

.project-overlay h3 {
    margin: 0 0 5px;
    font-size: 25px;
    color: #fff;
}

.project-overlay p {
    margin: 0;
    font-size: 14px;
    color: #fff;
}

/* Hover */
.project-card:hover img {
    transform: scale(1.06);
}


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

@media (max-width: 767px) {

    .projects-section {
        padding: 50px 15px;
    }

    .projects-heading {
        margin-bottom: 25px;
    }

    .projects-heading h2 {
        font-size: 28px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-card {
        height: 380px;
    }

    .project-overlay {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .project-overlay h3 {
        font-size: 21px;
    }

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

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.project-card {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.arrow-buttons {
    position: relative;
    width: 100%;
    margin-top: 40px;
}

.arrow-btn {
    width: 50px;
    height: 50px;
    border: 1px solid #fff !important;
    background: transparent !important;
    color: #fff !important;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    font-size: 25px;
    line-height: 1;
    transition: all 0.3s ease;
    position: absolute;
}

.arrow-btn:first-child {
    left: 40px;
}

.arrow-btn:last-child {
    right: 40px;
}

.arrow-btn:hover {
    background: #fff !important;
    color: #000 !important;
}
.arrow-left span {
    position: absolute;
    left: 60px;
    white-space: nowrap;
    color: #fff;
    font-size: 14px;
}

.arrow-right span {
    position: absolute;
    right: 60px;
    white-space: nowrap;
    color: #fff;
    font-size: 14px;
}
@media (max-width: 767px) {

    .highlight-row {
        display: flex;
        flex-direction: column;
        gap: 25px;
        width: 100%;
    }

    .highlight-content {
        width: 100%;
    }

    .highlight-content h2 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .highlight-content p {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 0;
    }

    .highlight-image {
        width: 100%;
        max-width: 100%;
    }

    .highlight-image iframe {
        display: block;
        width: 100% !important;
        height: 220px !important;
        max-width: 100%;
        border: 0;
    }

}
@media (max-width: 767px) {

    .projects-section {
        padding: 50px 0;
    }

    .projects-heading {
        text-align: center;
        margin-bottom: 30px;
    }

    .projects-heading h2 {
        font-size: 28px;
        line-height: 1.2;
    }

    .projects-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .projects-grid > a {
        display: block;
        width: 100%;
    }

    .project-card {
        width: 100%;
        height: 280px;
        overflow: hidden;
        position: relative;
    }

    .project-card img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

    .project-overlay {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 15px;
    }

    .project-overlay h3 {
        font-size: 18px;
        line-height: 1.3;
        margin: 0;
    }

}
