/* ============================================================
   PROJECTS SECTION
   ============================================================ */

.projects {
    padding: 100px 7%;
    background: #0b0f14;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.projects-container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}


/* ============================================================
   PROJECT SECTION HEADING
   ============================================================ */

.projects .section-heading {
    width: 100%;
    margin-bottom: 35px;
}

.projects .section-subtitle {
    display: block;
    text-align: center;

    color: #c89b3c;

    font-size: 15px;
    font-weight: 600;

    letter-spacing: 5px;
    text-transform: uppercase;

    margin: 0 0 18px;
}

.projects .section-heading h2 {
    text-align: center;

    color: #fff;

    font-size: 58px;
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;

    line-height: 1.15;

    margin: 0;
}

.projects .section-heading h2 span {
    color: #c89b3c;
}


/* ============================================================
   PROJECT FILTER TABS
   ============================================================ */

.project-tabs {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 16px;

    margin: 0 0 42px;
}

.project-tab {
    appearance: none;

    background: transparent;

    border: 1px solid rgba(255, 255, 255, 0.20);

    color: #fff;

    padding: 14px 34px;

    border-radius: 10px;

    cursor: pointer;

    font-family: inherit;
    font-size: 15px;
    font-weight: 500;

    transition:
        background 0.35s ease,
        border-color 0.35s ease,
        color 0.35s ease,
        transform 0.35s ease;
}

.project-tab:hover {
    background: #c89b3c;
    border-color: #c89b3c;
    color: #fff;
}

.project-tab.active {
    background: #c89b3c;
    border-color: #c89b3c;
    color: #fff;
}


/* ============================================================
   PROJECT CAROUSEL
   ============================================================ */

.projects-carousel {
    position: relative;

    width: 100%;

    display: flex;
    align-items: center;

    margin-top: 10px;
}


/* ============================================================
   CAROUSEL VIEWPORT
   ============================================================ */

.projects-carousel-viewport {
    width: 100%;

    overflow: hidden;

    position: relative;

    padding: 10px 0 25px;

    box-sizing: border-box;
}


/* ============================================================
   PROJECT TRACK
   ============================================================ */

.projects-track {
    display: flex;

    flex-direction: row;
    flex-wrap: nowrap;

    align-items: stretch;

    gap: 22px;

    width: max-content;

    margin: 0;
    padding: 0;

    will-change: transform;

    transform: translate3d(0, 0, 0);

    box-sizing: border-box;
}


/* ============================================================
   PROJECT CARD
   ============================================================ */

.projects-track .project-card {
    position: relative;

    flex: 0 0 310px;

    width: 310px;
    min-width: 310px;

    min-height: 410px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #11161c;

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 18px;

    cursor: pointer;

    box-sizing: border-box;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.projects-track .project-card:hover {
    transform: translateY(-8px);

    border-color: rgba(200, 155, 60, 0.55);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.35);
}


/* ============================================================
   PROJECT IMAGE
   ============================================================ */

.projects-track .project-image {
    position: relative;

    width: 100%;

    height: 315px;

    overflow: hidden;

    background: #151515;

    flex-shrink: 0;
}

.projects-track .project-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.55s ease;
}

.projects-track .project-card:hover
.project-image img {
    transform: scale(1.07);
}


/* ============================================================
   PROJECT INFORMATION
   ============================================================ */

.projects-track .project-info {
    position: relative;

    flex: 1;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 18px 18px 20px;

    box-sizing: border-box;
}


/* ============================================================
   PROJECT TEXT
   ============================================================ */

.projects-track .project-info > div {
    min-width: 0;
}

.projects-track .project-category {
    display: block;

    color: #c89b3c;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 2.5px;

    margin-bottom: 7px;
}

.projects-track .project-info h3 {
    color: #fff;

    font-size: 22px;
    font-weight: 600;

    line-height: 1.2;

    margin: 0 0 7px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.projects-track .project-info p {
    color: #bfc3c8;

    font-size: 13px;
    font-weight: 400;

    line-height: 1.4;

    margin: 0;
}


/* ============================================================
   PROJECT ARROW
   ============================================================ */

.projects-track .project-arrow {
    width: 45px;
    height: 45px;
    flex: 0 0 47px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100%;
    color: #fff;

    font-size: 24px;   /* ← 22px se 16px */
    line-height: 1;
    text-decoration: none;
}

.projects-track .project-card:hover
.project-arrow {
    background: #c89b3c;

    border-color: #c89b3c;

    transform: translateX(3px);
}


/* ============================================================
   CAROUSEL ARROWS
   ============================================================ */

.project-carousel-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 20;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.88);

    color: #fff;

    font-size: 30px;
    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.35);

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.project-carousel-arrow:hover {
    background: #c89b3c;

    color: #fff;

    transform:
        translateY(-50%)
        scale(1.08);
}

.project-carousel-prev {
    left: 12px;
}

.project-carousel-next {
    right: 12px;
}


/* ============================================================
   HIDE SCROLLBAR
   ============================================================ */

.projects-carousel-viewport::-webkit-scrollbar {
    display: none;
}


/* ============================================================
   PROJECT POPUP
   ============================================================ */

.project-popup {
    position: fixed;

    inset: 0;

    width: 100vw;
    height: 100dvh;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 28px;

    box-sizing: border-box;

    background: rgba(0, 0, 0, 0.78);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    z-index: 999999;

    overflow-y: auto;
}

.project-popup.active {
    display: flex;
}


/* ============================================================
   POPUP BOX
   ============================================================ */

.project-popup-box {
    position: relative;

   width: min(1300px, 92vw);

    height: min(82vh, 840px);

    min-height: 0;

    display: grid;

    grid-template-columns: 57% 43%;

    background: #f7f7f5;

    border-radius: 26px;

    overflow: hidden;

    box-sizing: border-box;

    box-shadow:
        0 25px 90px rgba(0, 0, 0, 0.45);
}


/* ============================================================
   POPUP CLOSE
   ============================================================ */

.popup-close {
    position: absolute;

    top: 20px;
    right: 24px;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;

    background: transparent;

    color: #111;

    font-size: 30px;

    cursor: pointer;

    z-index: 100;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.popup-close:hover {
    transform: rotate(90deg);
}


/* ============================================================
   POPUP GALLERY
   ============================================================ */

.popup-gallery-section {
    width: 100%;
    height: 100%;

    display: grid;

    grid-template-rows:
        minmax(0, 1fr)
        118px;

    gap: 18px;

    padding: 56px 38px 32px;

    box-sizing: border-box;

    min-width: 0;

    overflow: hidden;
}


/* ============================================================
   POPUP MAIN IMAGE
   ============================================================ */

.popup-main-image-wrapper {
    position: relative;

    width: 100%;
    height: 100%;

    min-height: 0;

    overflow: hidden;

    background: #ddd;

    border-radius: 16px;
}

.popup-main-image-wrapper img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain !important;
    object-position: center;

    cursor: pointer;
}


/* ============================================================
   POPUP IMAGE NAVIGATION
   ============================================================ */

.project-nav {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.94);

    color: #222;

    font-size: 21px;

    cursor: pointer;

    z-index: 10;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.project-nav:hover {
    background: #c9911b;

    color: #fff;

    transform:
        translateY(-50%)
        scale(1.08);
}

.project-prev {
    left: 28px;
}

.project-next {
    right: 28px;
}


/* ============================================================
   IMAGE COUNTER
   ============================================================ */

.image-counter {
    position: absolute;

    left: 50%;
    bottom: 18px;

    transform: translateX(-50%);

    padding: 10px 20px;

    border-radius: 14px;

    background: rgba(20, 20, 20, 0.75);

    color: #fff;

    font-size: 17px;
    font-weight: 600;

    z-index: 10;
}


/* ============================================================
   POPUP THUMBNAILS
   ============================================================ */

/* ============================================================
   POPUP THUMBNAILS
   ============================================================ */

/* ============================================================
   POPUP THUMBNAILS
   ============================================================ */

.popup-thumbnails {
    width: 100%;
    height: 90px;

    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;

    box-sizing: border-box;
}


/* ============================================================
   POPUP THUMB
   ============================================================ */

/* ============================================================
   POPUP THUMBNAILS
   ============================================================ */

.popup-thumbnails {
    width: 100% !important;
    height: 90px !important;

    display: grid !important;

    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;

    gap: 8px !important;

    box-sizing: border-box !important;
}


/* ============================================================
   POPUP THUMB
   ============================================================ */

.popup-thumbnails {
    width: 100%;
    height: 85px;

    display: flex;
    flex-wrap: nowrap;
    gap: 8px;

    padding: 10px 12px 12px;

    box-sizing: border-box;

    background: transparent;

    overflow-x: hidden;
    overflow-y: hidden;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: thin;
}


.popup-thumb:hover {
    transform: translateY(-4px);
}

.popup-thumb.active-thumb {
    border-color: #c9911b;
}


.popup-thumb img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

/* ============================================================
   POPUP DETAILS
   ============================================================ */

.popup-details-section {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;

    justify-content: center;

    padding: 62px 58px 28px 40px;

    box-sizing: border-box;

    min-width: 0;
    min-height: 0;

    overflow: hidden;
}


/* ============================================================
   POPUP LABEL
   ============================================================ */

.popup-label {
    display: block;

    color: #a97822;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 5px;

    margin-bottom: 20px;
}


/* ============================================================
   POPUP TITLE
   ============================================================ */

.popup-details-section h2 {
    margin: 0 0 25px;

    color: #202020;

    font-size: clamp(42px, 4vw, 60px);

    line-height: 1;

    font-weight: 800;

    letter-spacing: 1px;
}


/* ============================================================
   POPUP META
   ============================================================ */

.popup-meta {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 18px;

    margin-bottom: 24px;
}

.popup-meta-item {
    display: flex;

    align-items: center;

    gap: 10px;

    color: #555;

    font-size: 16px;

    font-weight: 500;
}

.popup-meta-item i {
    color: #b9821f;

    font-size: 19px;
}

.popup-meta-divider {
    width: 1px;
    height: 25px;

    background: #d7d7d7;
}


/* ============================================================
   POPUP DESCRIPTION
   ============================================================ */

.popup-description {
    margin: 0;

    color: #555;

    font-size: 17px;

    line-height: 1.65;

    max-width: 600px;
}


/* ============================================================
   POPUP DIVIDER
   ============================================================ */

.popup-line {
    width: 100%;
    height: 1px;

    margin: 24px 0;

    background: #ddd;

    flex-shrink: 0;
}


/* ============================================================
   POPUP FEATURES
   ============================================================ */

.popup-features {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    column-gap: 35px;

    row-gap: 26px;
}

.popup-feature {
    display: flex;

    align-items: flex-start;

    gap: 14px;

    min-width: 0;
}

.popup-feature > i {
    color: #b9821f;

    font-size: 28px;

    min-width: 34px;

    margin-top: 3px;
}

.popup-feature h4 {
    margin: 0 0 6px;

    color: #262626;

    font-size: 17px;

    font-weight: 700;
}

.popup-feature p {
    margin: 0;

    color: #666;

    font-size: 15px;

    line-height: 1.55;
}


/* ============================================================
   POPUP BOTTOM LINE
   ============================================================ */

.bottom-line {
    width: 100%;

    margin: 28px 0 22px;

    flex-shrink: 0;
}


/* ============================================================
   GET STARTED BUTTON
   ============================================================ */

.popup-start-btn {
    width: 100%;

    min-height: 72px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 20px;

    padding: 12px;

    box-sizing: border-box;

    background: linear-gradient(
        135deg,
        #c78918,
        #e3aa35
    );

    color: #fff;

    text-decoration: none;

    border-radius: 13px;

    font-size: 20px;
    font-weight: 700;

    flex-shrink: 0;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.popup-start-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 25px
        rgba(190, 130, 25, 0.35);
}

.popup-start-btn i {
    transition:
        transform 0.3s ease;
}

.popup-start-btn:hover i {
    transform: translateX(8px);
}


/* ============================================================
   GENERAL LIGHTBOX
   ============================================================ */

.lightbox {
    position: fixed;

    inset: 0;

    width: 100%;
    height: 100vh;

    display: none;

    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.92);

    z-index: 999999;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 92%;
    max-height: 90vh;

    border-radius: 12px;

    object-fit: contain;

    transition:
        transform 0.2s ease;
}


/* ============================================================
   LIGHTBOX CLOSE
   ============================================================ */

.lightbox .close {
    position: absolute;

    top: 25px;
    right: 35px;

    font-size: 48px;
    font-weight: 300;

    color: #fff;

    cursor: pointer;

    z-index: 10000;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.lightbox .close:hover {
    color: #d4af37;

    transform: scale(1.15);
}


/* ============================================================
   LIGHTBOX PREVIOUS / NEXT
   ============================================================ */

.lightbox .prev,
.lightbox .next {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.18);

    color: #fff;

    font-size: 28px;

    cursor: pointer;

    backdrop-filter: blur(6px);

    transition:
        background 0.3s ease,
        color 0.3s ease;
}

.lightbox .prev {
    left: 25px;
}

.lightbox .next {
    right: 25px;
}

.lightbox .prev:hover,
.lightbox .next:hover {
    background: #d4af37;

    color: #000;
}


/* ============================================================
   LAPTOP
   ============================================================ */

@media (max-width: 1400px) {

    .projects {
        padding-left: 5%;
        padding-right: 5%;
    }

    .projects-track .project-card {
        flex-basis: 300px;

        width: 300px;
        min-width: 300px;
    }

    .projects-track .project-image {
        height: 300px;
    }

}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1000px) {

    .projects {
        padding: 80px 5%;
    }

    .projects .section-heading h2 {
        font-size: 46px;
    }

    .project-tabs {
        justify-content: flex-start;

        flex-wrap: nowrap;

        overflow-x: auto;

        padding-bottom: 8px;

        scrollbar-width: none;

        -ms-overflow-style: none;
    }

    .project-tabs::-webkit-scrollbar {
        display: none;
    }

    .project-tab {
        flex: 0 0 auto;

        white-space: nowrap;
    }

    .projects-track {
        gap: 18px;
    }

    .projects-track .project-card {
        flex: 0 0 290px;

        width: 290px;
        min-width: 290px;

        min-height: 390px;
    }

    .projects-track .project-image {
        height: 290px;
    }


    /* Popup */

    .project-popup {
        padding: 20px;
    }

    .project-popup-box {
        width: 96vw;

        height: auto;

        max-height: 90vh;

        grid-template-columns: 1fr;

        overflow-y: auto;
    }

    .popup-gallery-section {
        height: auto;

        padding: 55px 25px 25px;
    }

    .popup-main-image-wrapper {
        height: 420px;
        object-fit: contain !important;
    }

    .popup-details-section {
        height: auto;

        padding: 35px;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 768px) {

    .projects {
        padding: 65px 20px;
    }

    .projects .section-heading {
        margin-bottom: 28px;
    }

    .projects .section-subtitle {
        text-align: center;

        font-size: 13px;

        letter-spacing: 3px;

        margin-bottom: 12px;
    }

    .projects .section-heading h2 {
        text-align: center;

        font-size: 34px;
    }


    /* Tabs */

    .project-tabs {
        gap: 10px;

        margin-bottom: 25px;
    }

    .project-tab {
        padding: 12px 22px;

        font-size: 14px;
    }


    /* Carousel */

    .projects-carousel-viewport {
        padding-bottom: 15px;
    }

    .projects-track {
        gap: 16px;
    }

    .projects-track .project-card {
        flex: 0 0 280px;

        width: 280px;
        min-width: 280px;

        min-height: 365px;

        border-radius: 16px;
    }

    .projects-track .project-image {
        height: 275px;
    }

    .projects-track .project-info {
        padding: 15px;
    }

    .projects-track .project-info h3 {
        font-size: 20px;
    }

    .projects-track .project-info p {
        font-size: 12px;
    }

    .projects-track .project-arrow {
        width: 40px;
        height: 40px;

        flex-basis: 40px;

        font-size: 19px;
    }


    /* Carousel arrows */

    .project-carousel-arrow {
        width: 42px;
        height: 42px;

        font-size: 24px;
    }

    .project-carousel-prev {
        left: 5px;
    }

    .project-carousel-next {
        right: 5px;
    }


    /* Popup */

    .project-popup {
        padding: 10px;

        align-items: flex-start;

        overflow-y: auto;
    }

    .project-popup-box {
        width: 100%;

        max-width: 460px;

        height: auto;

        max-height: none;

        min-height: 0;

        display: flex;

        flex-direction: column;

        border-radius: 20px;

        overflow: hidden;
    }

    .popup-gallery-section {
        width: 100%;

        height: auto;

        display: flex;

        flex-direction: column;

        gap: 0;

        padding: 0;
    }

    .popup-main-image-wrapper {
        width: 100%;

        height: 55vw;

        min-height: 200px;

        max-height: 320px;

        border-radius: 0;
    }

    .popup-main-image-wrapper img {
        object-fit: cover;
        object-fit: contain !important;
    }

    .project-nav {
        width: 40px;
        height: 40px;

        font-size: 15px;
    }

    .project-prev {
        left: 10px;
    }

    .project-next {
        right: 10px;
    }

    .image-counter {
        bottom: 10px;

        padding: 7px 13px;

        font-size: 12px;

        border-radius: 10px;
    }


    /* Thumbnails */




    .popup-thumbnails {
        width: 100% !important;
        height: 85px !important;

        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;

        gap: 10px !important;

        padding: 10px 12px 12px !important;
        box-sizing: border-box !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        background: #f7f7f5 !important;

        -webkit-overflow-scrolling: touch;
        touch-action: pan-x !important;

        scrollbar-width: thin;
        scrollbar-color: #999 #f7f7f5;
    }

    .popup-thumbnails::-webkit-scrollbar {
        display: block;
        height: 6px;
    }

    .popup-thumbnails::-webkit-scrollbar-track {
        background: #f7f7f5;
    }

    .popup-thumbnails::-webkit-scrollbar-thumb {
        background: #999;
        border-radius: 10px;
    }

    .popup-thumbnails .popup-thumb {
        position: relative !important;

        /* IMPORTANT: JS controls which thumbnails are shown */
        display: none;

        flex: 0 0 110px !important;
        width: 110px !important;
        min-width: 110px !important;
        max-width: 110px !important;

        height: 63px !important;
        min-height: 63px !important;
        max-height: 63px !important;

        flex-shrink: 0 !important;
        flex-grow: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        box-sizing: border-box !important;
    }

    .popup-thumbnails .popup-thumb img {
        width: 100% !important;
        height: 100% !important;

        display: block !important;

        object-fit: cover !important;
    }


    /* Details */

    .popup-details-section {
        width: 100%;

        height: auto;

        padding: 20px 18px 25px;

        display: flex;

        flex-direction: column;

        justify-content: flex-start;

        overflow: visible;

        box-sizing: border-box;
    }

    .popup-label {
        font-size: 9px;

        letter-spacing: 3px;

        margin-bottom: 9px;
    }

    .popup-details-section h2 {
        font-size: clamp(30px, 9vw, 44px);

        line-height: 1;

        margin: 0 0 14px;
    }

    .popup-meta {
        gap: 10px;

        margin-bottom: 14px;
    }

    .popup-meta-item {
        font-size: 11px;

        gap: 6px;
    }

    .popup-meta-item i {
        font-size: 14px;
    }

    .popup-description {
        font-size: 13px;

        line-height: 1.5;
    }

    .popup-line {
        margin: 14px 0;
    }


    /* Features */

    .popup-features {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 8px;
    }

    .popup-feature {
        min-width: 0;

        min-height: 75px;

        padding: 9px;

        gap: 7px;

        border: 1px solid #dedede;

        border-radius: 10px;

        background: #fafafa;
    }

    .popup-feature > i {
        font-size: 19px;

        min-width: 22px;

        margin-top: 0;
    }

    .popup-feature h4 {
        font-size: 11px;

        line-height: 1.15;

        margin: 0 0 3px;
    }

    .popup-feature p {
        font-size: 8px;

        line-height: 1.3;
    }

    .bottom-line {
        margin: 12px 0;
    }

    .popup-start-btn {
        min-height: 50px;

        height: 50px;

        font-size: 16px;

        border-radius: 10px;
    }

    .popup-close {
        width: 36px;
        height: 36px;

        top: 9px;
        right: 9px;

        border-radius: 50%;

        background: rgba(255, 255, 255, 0.95);

        font-size: 18px;
    }


    /* Lightbox */

    .lightbox img {
        max-width: 95%;
        max-height: 85vh;
    }

    .lightbox .close {
        top: 15px;
        right: 18px;

        font-size: 38px;
    }

    .lightbox .prev,
    .lightbox .next {
        width: 42px;
        height: 42px;

        font-size: 22px;
    }

    .lightbox .prev {
        left: 12px;
    }

    .lightbox .next {
        right: 12px;
    }

}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 480px) {

    .projects {
        padding: 55px 15px;
    }

    .projects .section-heading h2 {
        font-size: 29px;
    }

    .projects-track .project-card {
        flex: 0 0 270px;

        width: 270px;
        min-width: 270px;

        min-height: 350px;

        border-radius: 14px;
    }

    .projects-track .project-image {
        height: 255px;
    }

    .projects-track .project-info {
        padding: 13px;
    }

    .projects-track .project-info h3 {
        font-size: 18px;
    }

    .projects-track .project-info p {
        font-size: 11px;
    }

    .projects-track .project-arrow {
        width: 36px;
        height: 36px;

        flex-basis: 36px;

        font-size: 17px;
    }

    .project-carousel-arrow {
        width: 38px;
        height: 38px;

        font-size: 21px;
    }


    /* Popup */

    .project-popup {
        padding: 6px;
    }

    .project-popup-box {
        border-radius: 17px;
    }

    .popup-main-image-wrapper {
        height: 52vw;

        min-height: 180px;
    }

    .popup-details-section {
        padding: 18px 14px 20px;
    }

    .popup-details-section h2 {
        font-size: 28px;

        margin-bottom: 12px;
    }

    .popup-description {
        font-size: 12px;

        line-height: 1.45;
    }

    .popup-feature {
        min-height: 68px;

        padding: 7px;

        gap: 6px;
    }

    .popup-feature > i {
        font-size: 17px;

        min-width: 19px;
    }

    .popup-feature h4 {
        font-size: 10px;
    }

    .popup-feature p {
        font-size: 8px;
    }

    .popup-start-btn {
        height: 46px;

        min-height: 46px;

        font-size: 15px;
    }

}


/* ============================================================
   EXTRA SMALL PHONES
   ============================================================ */

@media (max-width: 360px) {

    .projects-track .project-card {
        flex: 0 0 255px;

        width: 255px;
        min-width: 255px;
    }

    .projects-track .project-image {
        height: 240px;
    }

    .project-tab {
        padding: 10px 18px;

        font-size: 13px;
    }

    .popup-main-image-wrapper {
        min-height: 165px;
    }

    .popup-feature {
        min-height: 62px;

        padding: 6px;
    }

    .popup-feature h4 {
        font-size: 9px;
    }

    .popup-feature p {
        font-size: 7px;
    }

}

.projects-carousel-viewport {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.projects-carousel-viewport.is-dragging {
    cursor: grabbing;
}

.projects-track .project-card {
    user-select: none;
    -webkit-user-select: none;
}

.projects-track .project-card img {
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

/* ============================================================
   FINAL PROJECT POPUP FIX
   PERFECT FIT AT 100% CHROME ZOOM
   ============================================================ */

.project-popup {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100dvh;

    padding: 20px;

    display: none;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    background: rgba(0, 0, 0, 0.78);

    z-index: 999999;

    overflow: hidden;
}

.project-popup.active {
    display: flex;
}


/* ============================================================
   POPUP BOX
   ============================================================ */

.project-popup-box {

    width: min(1450px, 96vw);

    /*
       IMPORTANT:
       Never allow the popup to become taller
       than the browser viewport.
    */
    height: min(700px, calc(100dvh - 40px));

    min-height: 0;

    max-height: calc(100dvh - 40px);

    display: grid;

    grid-template-columns: 56% 44%;

    background: #f7f7f5;

    border-radius: 26px;

    overflow: hidden;

    box-sizing: border-box;

    position: relative;

    box-shadow:
        0 25px 90px rgba(0, 0, 0, 0.45);
}


/* ============================================================
   CLOSE BUTTON
   ============================================================ */

.project-popup .popup-close {

    position: absolute;

    top: 18px;
    right: 20px;

    width: 46px;
    height: 46px;

    border: none;

    background: transparent;

    color: #111;

    font-size: 30px;

    cursor: pointer;

    z-index: 100;
}


/* ============================================================
   LEFT GALLERY
   ============================================================ */

.project-popup .popup-gallery-section {

    min-width: 0;
    min-height: 0;

    padding: 35px 30px 25px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 15px;

    box-sizing: border-box;

    overflow: hidden;
}


/* ============================================================
   MAIN IMAGE
   ============================================================ */

.project-popup .popup-main-image-wrapper {

    width: 100%;

    /*
       Smaller than old 540px so it fits
       properly at 100% browser zoom.
    */
    height: min(390px, 45vh);

    min-height: 0;

    border-radius: 16px;

    overflow: hidden;

    background: #ddd;

    position: relative;

    flex-shrink: 1;
}


.project-popup .popup-main-image-wrapper img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    cursor: pointer;
    object-fit: contain;
}


/* ============================================================
   THUMBNAILS
   ============================================================ */

.project-popup .popup-thumbnails {

    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;

    flex-shrink: 0;
}


.project-popup .popup-thumb {

    width: 100%;

    height: 75px;

    border-radius: 12px;

    overflow: hidden;

    cursor: pointer;

    border: 3px solid transparent;

    background: #ddd;

    box-sizing: border-box;

    transition: 0.3s;
}


.project-popup .popup-thumb img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


.project-popup .popup-thumb.active-thumb {

    border-color: #c9911b;
}


/* ============================================================
   PREVIOUS / NEXT IMAGE BUTTONS
   ============================================================ */

.project-popup .project-nav {

    width: 54px;
    height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    border: none;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.92);

    color: #222;

    font-size: 22px;

    cursor: pointer;

    z-index: 10;

    transition: 0.3s;
}


.project-popup .project-prev {
    left: 20px;
}


.project-popup .project-next {
    right: 20px;
}


.project-popup .project-nav:hover {

    background: #d59a20;

    color: #fff;

    transform:
        translateY(-50%)
        scale(1.06);
}


/* ============================================================
   RIGHT DETAILS
   ============================================================ */

.project-popup .popup-details-section {

    min-width: 0;
    min-height: 0;

    padding: 45px 45px 30px 35px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    box-sizing: border-box;

    overflow-y: auto;

    overflow-x: hidden;
}


/* ============================================================
   SMALL LABEL
   ============================================================ */

.project-popup .popup-label {

    display: block;

    color: #a97822;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 4px;

    margin-bottom: 12px;
}


/* ============================================================
   PROJECT TITLE
   ============================================================ */

.project-popup .popup-details-section h2 {

    margin: 0 0 18px 0;

    color: #202020;

    font-size: clamp(32px, 3.2vw, 48px);

    line-height: 1.05;

    font-weight: 800;

    letter-spacing: 0;

    overflow-wrap: break-word;
}


/* ============================================================
   META
   ============================================================ */

.project-popup .popup-meta {

    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 18px;

    flex-wrap: wrap;
}


.project-popup .popup-meta-item {

    display: flex;

    align-items: center;

    gap: 9px;

    color: #4c4c4c;

    font-size: 15px;

    font-weight: 500;
}


.project-popup .popup-meta-item i {

    color: #b9821f;

    font-size: 19px;
}


.project-popup .popup-meta-divider {

    width: 1px;

    height: 22px;

    background: #d7d7d7;
}


/* ============================================================
   DESCRIPTION
   ============================================================ */

.project-popup .popup-description {

    margin: 0;

    color: #555;

    font-size: 16px;

    line-height: 1.55;

    max-width: 560px;
}


/* ============================================================
   DIVIDER
   ============================================================ */

.project-popup .popup-line {

    width: 100%;

    height: 1px;

    background: #ddd;

    margin: 18px 0;
}


/* ============================================================
   FEATURES
   ============================================================ */

.project-popup .popup-features {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    column-gap: 30px;

    row-gap: 20px;
}


.project-popup .popup-feature {

    display: flex;

    align-items: flex-start;

    gap: 12px;

    min-width: 0;
}


.project-popup .popup-feature > i {

    color: #b9821f;

    font-size: 25px;

    min-width: 34px;

    margin-top: 3px;
}


.project-popup .popup-feature h4 {

    margin: 0 0 5px 0;

    color: #262626;

    font-size: 16px;

    font-weight: 700;

    line-height: 1.3;
}


.project-popup .popup-feature p {

    margin: 0;

    color: #666;

    font-size: 13px;

    line-height: 1.45;
}


/* ============================================================
   BOTTOM LINE
   ============================================================ */

.project-popup .bottom-line {

    margin-top: 20px;

    margin-bottom: 18px;
}


/* ============================================================
   GET STARTED
   ============================================================ */

.project-popup .popup-start-btn {

    width: 100%;

    min-height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    background:
        linear-gradient(
            135deg,
            #c78918,
            #e3aa35
        );

    color: #fff;

    text-decoration: none;

    border-radius: 10px;

    font-size: 17px;

    font-weight: 700;

    transition: 0.3s;

    box-sizing: border-box;
}


/* ============================================================
   SHORT LAPTOP SCREEN
   ============================================================ */

@media (max-height: 800px) and (min-width: 901px) {

    .project-popup {
        padding: 12px;
    }


    .project-popup-box {

        height: calc(100dvh - 24px);

        max-height: calc(100dvh - 24px);

        width: min(1450px, 97vw);
    }


    .project-popup .popup-gallery-section {

        padding: 25px 25px 20px;

        gap: 12px;
    }


   .project-popup .popup-main-image-wrapper {

    height: 450px !important;

    min-height: 0 !important;
    max-height: 450px !important;
}


    .project-popup .popup-thumb {

        height: 65px;
    }


    .project-popup .popup-details-section {

        padding: 30px 35px 25px 25px;
    }


    .project-popup .popup-details-section h2 {

        font-size: 40px;

        margin-bottom: 14px;
    }


    .project-popup .popup-meta {

        margin-bottom: 14px;
    }


    .project-popup .popup-description {

        font-size: 14px;

        line-height: 1.45;
    }


    .project-popup .popup-line {

        margin: 14px 0;
    }


    .project-popup .popup-features {

        row-gap: 14px;

        column-gap: 25px;
    }


    .project-popup .popup-feature > i {

        font-size: 22px;

        min-width: 30px;
    }


    .project-popup .popup-feature h4 {

        font-size: 14px;
    }


    .project-popup .popup-feature p {

        font-size: 12px;
    }


    .project-popup .bottom-line {

        margin-top: 14px;

        margin-bottom: 12px;
    }


    .project-popup .popup-start-btn {

        min-height: 48px;

        font-size: 15px;
    }
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 900px) {

    .project-popup {

        padding: 10px;

        align-items: flex-start;

        overflow-y: auto;
    }


    .project-popup-box {

        width: 100%;

        height: auto;

        max-height: none;

        display: grid;

        grid-template-columns: 1fr;

        margin: 10px 0;

        overflow: visible;
    }


    .project-popup .popup-gallery-section {

        padding: 35px 20px 15px;

        overflow: visible;
    }


    .project-popup .popup-main-image-wrapper {

        height: 55vw;

        max-height: 400px;

        min-height: 220px;
    }


    .project-popup .popup-details-section {

        padding: 25px 20px 30px;

        overflow: visible;
    }


    .project-popup .popup-features {

        grid-template-columns: 1fr;

    }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 600px) {

    .project-popup {

        padding: 7px;
    }


    .project-popup-box {

        border-radius: 18px;
    }


    .project-popup .popup-gallery-section {

        padding: 30px 14px 12px;

        gap: 10px;
    }


    .project-popup .popup-main-image-wrapper {

        height: 58vw;

        min-height: 180px;

        max-height: 280px;

        border-radius: 12px;
    }


    .project-popup .popup-thumbnails {

        gap: 7px;
    }


    .project-popup .popup-thumb {

        height: 58px;

        border-radius: 8px;
    }


    .project-popup .popup-details-section {

        padding: 20px 15px 25px;
    }


    .project-popup .popup-details-section h2 {

        font-size: 28px;
    }


    .project-popup .popup-description {

        font-size: 13px;
    }


    .project-popup .popup-features {

        gap: 18px;
    }


    .project-popup .popup-feature h4 {

        font-size: 13px;
    }


    .project-popup .popup-feature p {

        font-size: 10px;
    }
}

/* ============================================================
   DESKTOP POPUP IMAGE - FULL IMAGE
   THUMBNAILS ALWAYS VISIBLE
============================================================ */

@media (min-width: 901px) {

    .project-popup .popup-gallery-section {
        min-height: 0 !important;
        overflow: hidden !important;
    }

.project-popup .popup-main-image-wrapper {
    width: 100% !important;

    height: min(450px, 52vh) !important;

    min-height: 0 !important;
    max-height: 450px !important;

    overflow: hidden !important;

    background: transparent !important;

    flex: 0 1 auto !important;
}

    .project-popup .popup-main-image-wrapper img {
        width: 100% !important;
        height: 100% !important;

        display: block !important;

        object-fit: contain !important;
        object-position: center center !important;
    }

    .project-popup .popup-thumbnails {
        height: 75px !important;

        flex-shrink: 0 !important;

        display: grid !important;

        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;

        gap: 8px !important;
    }

}






/* ============================================================
   VERY SMALL PHONES
   ============================================================ */

@media (max-width: 380px) {

    .project-popup {
        padding: 5px !important;
    }

    .project-popup-box {
        width: calc(100vw - 10px) !important;
        max-height: calc(100dvh - 10px) !important;
    }

    .project-popup .popup-gallery-section {
        padding: 25px 12px 8px !important;
    }

    .project-popup .popup-details-section {
        padding: 12px 11px 13px !important;
    }

    .project-popup .popup-details-section h2 {
        font-size: 22px !important;
    }

    .project-popup .popup-feature {
        min-height: 64px !important;
        padding: 8px !important;
    }

    .project-popup .popup-feature h4 {
        font-size: 8px !important;
    }

    .project-popup .popup-feature p {
        font-size: 6.5px !important;
    }
}


/* ============================================================
   FINAL MOBILE PROJECT POPUP
   ============================================================ */

@media (max-width: 900px) {

    /* OVERLAY */
    .project-popup {
        position: fixed !important;
        inset: 0 !important;

        width: 100% !important;
        height: 100dvh !important;

        padding: 6px !important;

        display: none;

        align-items: center !important;
        justify-content: center !important;

        overflow: hidden !important;

        box-sizing: border-box !important;
    }

    .project-popup.active {
        display: flex !important;
    }


    /* ========================================================
       POPUP BOX
       ======================================================== */

    .project-popup-box {
        width: calc(100vw - 12px) !important;
        max-width: none !important;

        /*
           Mobile screen ke andar fit
        */
height: auto !important;
max-height: calc(100dvh - 16px) !important;
min-height: 0 !important;
flex: 0 0 auto !important;

        display: flex !important;
        flex-direction: column !important;

        margin: 0 !important;

        border-radius: 18px !important;

        overflow: hidden !important;

        background: #f7f7f5 !important;

        box-sizing: border-box !important;
    }


    /* ========================================================
       GALLERY
       ======================================================== */

    .project-popup .popup-gallery-section {
        width: 100% !important;

        height: auto !important;

        padding: 25px 14px 8px !important;

        display: flex !important;
        flex-direction: column !important;

        gap: 7px !important;

        box-sizing: border-box !important;

        overflow: visible !important;

        flex-shrink: 0 !important;
    }


    /* ========================================================
       MAIN IMAGE
       ======================================================== */

    .project-popup .popup-main-image-wrapper {
        position: relative !important;

        width: 100% !important;
        height: auto !important;

        aspect-ratio: 2.18 / 1 !important;

        min-height: 0 !important;
        max-height: none !important;

        border-radius: 10px !important;

        overflow: visible !important;

        background: transparent !important;

        flex-shrink: 0 !important;
    }

    .project-popup .popup-main-image-wrapper img {
        width: 100% !important;
        height: 100% !important;

        display: block !important;

        object-fit: cover !important;
        object-position: center !important;

        background: transparent !important;

        border-radius: 10px !important;
    }


    /* ========================================================
       ARROWS
       ======================================================== */

    .project-popup .project-nav {
        position: absolute !important;

        top: 50% !important;

        width: 34px !important;
        height: 34px !important;

        display: flex !important;

        align-items: center !important;
        justify-content: center !important;

        transform: translateY(-50%) !important;

        border: none !important;
        border-radius: 50% !important;

        background: #fff !important;

        color: #222 !important;

        font-size: 15px !important;

        z-index: 9999 !important;

        opacity: 1 !important;
        visibility: visible !important;

        box-shadow: 0 3px 10px rgba(0,0,0,.25) !important;
    }

    .project-popup .project-prev {
        left: -17px !important;
    }

    .project-popup .project-next {
        right: -17px !important;
    }


    /* ========================================================
       THUMBNAILS
       ======================================================== */

    .project-popup .popup-thumbnails {
        width: 100% !important;

        height: 58px !important;

        display: flex !important;
        flex-direction: row !important;

        gap: 7px !important;

        padding: 0 2px 6px !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        scrollbar-width: none !important;

        box-sizing: border-box !important;

        flex-shrink: 0 !important;
    }

    .project-popup .popup-thumbnails::-webkit-scrollbar {
        display: none !important;
    }

    .project-popup .popup-thumb {
        flex: 0 0 76px !important;

        width: 76px !important;
        min-width: 76px !important;

        height: 50px !important;

        border-radius: 7px !important;

        overflow: hidden !important;

        box-sizing: border-box !important;
    }

    .project-popup .popup-thumb img {
        width: 100% !important;
        height: 100% !important;

        display: block !important;

        object-fit: cover !important;
    }


    /* ========================================================
       DETAILS
       ======================================================== */

    .project-popup .popup-details-section {
        width: 100% !important;

        /*
           Remaining space automatically
        */
   flex: 0 0 auto !important;
min-height: 0 !important;
height: auto !important;

        padding: 12px 14px 12px !important;

        display: flex !important;
        flex-direction: column !important;

        justify-content: flex-start !important;

        /*
           Agar content thoda zyada ho,
           sirf details ke andar scroll hoga
        */
        overflow-y: auto !important;
        overflow-x: hidden !important;

        box-sizing: border-box !important;
    }


    /* LABEL */

    .project-popup .popup-label {
        font-size: 8px !important;

        letter-spacing: 2.5px !important;

        margin-bottom: 4px !important;
    }


    /* TITLE */

    .project-popup .popup-details-section h2 {
        font-size: 23px !important;

        line-height: 1 !important;

        margin: 0 0 7px !important;
    }


    /* META */

    .project-popup .popup-meta {
        gap: 7px !important;

        margin-bottom: 7px !important;
    }

    .project-popup .popup-meta-item {
        font-size: 9px !important;

        gap: 4px !important;
    }

    .project-popup .popup-meta-item i {
        font-size: 11px !important;
    }

    .project-popup .popup-meta-divider {
        height: 15px !important;
    }


    /* DESCRIPTION */

    .project-popup .popup-description {
        font-size: 9px !important;

        line-height: 1.3 !important;

        max-width: 100% !important;

        margin: 0 !important;
    }


    /* LINE */

    .project-popup .popup-line {
        margin: 7px 0 !important;
    }


    /* ========================================================
       FEATURES - 2 x 2
       ======================================================== */

    .project-popup .popup-features {
        width: 100% !important;

        display: grid !important;

        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: 6px !important;

        flex-shrink: 0 !important;
    }

    .project-popup .popup-feature {
        width: 100% !important;

        min-width: 0 !important;

        min-height: 58px !important;

        padding: 7px !important;

        display: flex !important;

        align-items: flex-start !important;

        gap: 5px !important;

        border: 1px solid #dedede !important;

        border-radius: 8px !important;

        background: #fafafa !important;

        box-sizing: border-box !important;
    }

    .project-popup .popup-feature > i {
        font-size: 15px !important;

        min-width: 17px !important;

        margin-top: 0 !important;
    }

    .project-popup .popup-feature h4 {
        font-size: 8px !important;

        line-height: 1.15 !important;

        margin: 0 0 2px !important;
    }

    .project-popup .popup-feature p {
        font-size: 6.5px !important;

        line-height: 1.2 !important;

        margin: 0 !important;
    }


    /* ========================================================
       BOTTOM LINE
       ======================================================== */

    .project-popup .bottom-line {
        margin: 6px 0 !important;
    }


    /* ========================================================
       GET STARTED
       ======================================================== */

    .project-popup .popup-start-btn {
        width: 100% !important;

        height: 38px !important;
        min-height: 38px !important;

        font-size: 12px !important;

        border-radius: 8px !important;

        flex-shrink: 0 !important;
    }


    /* ========================================================
       CLOSE BUTTON
       ======================================================== */

    .project-popup .popup-close {
        top: 6px !important;
        right: 6px !important;

        width: 30px !important;
        height: 30px !important;

        font-size: 17px !important;

        border-radius: 50% !important;

        background: rgba(255,255,255,.95) !important;

        z-index: 10000 !important;
    }
}


/* ============================================================
   VERY SMALL PHONES
   ============================================================ */

@media (max-width: 380px) {

    .project-popup {
        padding: 4px !important;
    }

    .project-popup-box {
        width: calc(100vw - 8px) !important;

        height: calc(100dvh - 8px) !important;
        max-height: calc(100dvh - 8px) !important;
    }

    .project-popup .popup-gallery-section {
        padding: 23px 11px 7px !important;
    }

    .project-popup .popup-details-section {
        padding: 11px 10px 10px !important;
    }

    .project-popup .popup-details-section h2 {
        font-size: 21px !important;
    }

    .project-popup .popup-feature {
        min-height: 55px !important;

        padding: 6px !important;
    }

    .project-popup .popup-feature h4 {
        font-size: 7.5px !important;
    }

    .project-popup .popup-feature p {
        font-size: 6px !important;
    }

    .project-popup .popup-start-btn {
        height: 36px !important;
        min-height: 36px !important;
    }
}
/* ============================================================
   FINAL MOBILE FIX
   VIVO / REDMI / SAMSUNG
   ============================================================ */

@media screen and (max-width: 1050px) {

    /* =========================
       POPUP OVERLAY
       ========================= */

    .project-popup {
        position: fixed !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100dvh !important;
        padding: 6px !important;

        display: none !important;
        align-items: center !important;
        justify-content: center !important;

        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .project-popup.active {
        display: flex !important;
    }


    /* =========================
       POPUP CARD
       ========================= */

    .project-popup-box {
        width: calc(100vw - 12px) !important;
        max-width: none !important;

        height: auto !important;
        min-height: 0 !important;
        max-height: calc(100dvh - 12px) !important;

        display: flex !important;
        flex-direction: column !important;

        margin: 0 !important;

        border-radius: 18px !important;
        overflow: hidden !important;

        box-sizing: border-box !important;
    }


    /* =========================
       GALLERY SECTION
       ========================= */

    .project-popup .popup-gallery-section {
        width: 100% !important;
        height: auto !important;

        padding: 24px 12px 7px !important;

        display: flex !important;
        flex-direction: column !important;

        gap: 7px !important;

        box-sizing: border-box !important;

        overflow: visible !important;

        flex: 0 0 auto !important;
    }


    /* =========================
       MAIN IMAGE
       ========================= */

    .project-popup .popup-main-image-wrapper {
        position: relative !important;

        width: 100% !important;
        height: auto !important;

        aspect-ratio: 2.18 / 1 !important;

        min-height: 0 !important;
        max-height: none !important;

        border-radius: 9px !important;

        overflow: visible !important;

        background: transparent !important;

        flex: 0 0 auto !important;
    }

    .project-popup .popup-main-image-wrapper img {
        width: 100% !important;
        height: 100% !important;

        display: block !important;

        object-fit: cover !important;
        object-position: center !important;

        border-radius: 9px !important;

        background: transparent !important;
    }


    /* =========================
       LEFT / RIGHT ARROWS
       ========================= */

    .project-popup .project-nav {
        position: absolute !important;

        top: 50% !important;

        width: 34px !important;
        height: 34px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        transform: translateY(-50%) !important;

        border: none !important;
        border-radius: 50% !important;

        background: #fff !important;
        color: #222 !important;

        font-size: 15px !important;

        opacity: 1 !important;
        visibility: visible !important;

        z-index: 9999 !important;

        box-shadow: 0 3px 10px rgba(0,0,0,.25) !important;
    }

    .project-popup .project-prev {
        left: -17px !important;
    }

    .project-popup .project-next {
        right: -17px !important;
    }


    /* =========================
       THUMBNAILS
       ========================= */

    .project-popup .popup-thumbnails-wrap {
        position: relative !important;

        width: 100% !important;

        flex: 0 0 auto !important;
    }

    .project-popup .popup-thumbnails {
        width: 100% !important;
        height: 55px !important;

        display: flex !important;
        flex-direction: row !important;

        gap: 7px !important;

        padding: 0 2px 6px !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        scrollbar-width: none !important;

        box-sizing: border-box !important;
    }

    .project-popup .popup-thumbnails::-webkit-scrollbar {
        display: none !important;
    }

    .project-popup .popup-thumb {
        flex: 0 0 74px !important;

        width: 74px !important;
        min-width: 74px !important;

        height: 48px !important;

        border-radius: 7px !important;

        overflow: hidden !important;

        box-sizing: border-box !important;
    }

    .project-popup .popup-thumb img {
        width: 100% !important;
        height: 100% !important;

        display: block !important;

        object-fit: cover !important;
    }


    /* =========================
       ALWAYS VISIBLE THUMBNAIL BAR
       ========================= */

    .project-popup .popup-thumbnails-wrap::after {
        content: "" !important;

        position: absolute !important;

        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;

        height: 3px !important;

        background: #dedede !important;

        border-radius: 10px !important;

        pointer-events: none !important;
    }

    .project-popup .thumbnail-scroll-thumb {
        position: absolute !important;

        left: 0 !important;
        bottom: 0 !important;

        width: 35% !important;
        height: 3px !important;

        background: #b9821f !important;

        border-radius: 10px !important;

        pointer-events: none !important;

        z-index: 10 !important;
    }


    /* =========================
       DETAILS
       ========================= */

    .project-popup .popup-details-section {
        width: 100% !important;

        height: auto !important;
        min-height: 0 !important;

        padding: 11px 12px 11px !important;

        display: flex !important;
        flex-direction: column !important;

        justify-content: flex-start !important;

        overflow-y: auto !important;
        overflow-x: hidden !important;

        box-sizing: border-box !important;

        flex: 0 1 auto !important;
    }


    /* =========================
       PROJECT LABEL
       ========================= */

    .project-popup .popup-label {
        font-size: 7px !important;

        letter-spacing: 2.3px !important;

        margin-bottom: 4px !important;
    }


    /* =========================
       PROJECT TITLE
       ========================= */

    .project-popup .popup-details-section h2 {
        font-size: 23px !important;

        line-height: 1 !important;

        margin: 0 0 7px !important;
    }


    /* =========================
       META
       ========================= */

    .project-popup .popup-meta {
        gap: 7px !important;

        margin-bottom: 6px !important;
    }

    .project-popup .popup-meta-item {
        font-size: 9px !important;

        gap: 4px !important;
    }

    .project-popup .popup-meta-item i {
        font-size: 11px !important;
    }

    .project-popup .popup-meta-divider {
        height: 15px !important;
    }


    /* =========================
       DESCRIPTION
       ========================= */

    .project-popup .popup-description {
        font-size: 9px !important;

        line-height: 1.3 !important;

        max-width: 100% !important;

        margin: 0 !important;
    }

    .project-popup .popup-line {
        margin: 7px 0 !important;
    }


    /* =========================
       FEATURES - 2 COLUMNS
       ========================= */

    .project-popup .popup-features {
        width: 100% !important;

        display: grid !important;

        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: 6px !important;

        flex: 0 0 auto !important;
    }

    .project-popup .popup-feature {
        width: 100% !important;

        min-width: 0 !important;

        min-height: 56px !important;

        height: 56px !important;

        padding: 6px !important;

        display: flex !important;
        align-items: flex-start !important;

        gap: 5px !important;

        border: 1px solid #dedede !important;

        border-radius: 8px !important;

        box-sizing: border-box !important;
    }

    .project-popup .popup-feature > i {
        font-size: 14px !important;

        min-width: 16px !important;

        margin-top: 0 !important;
    }

    .project-popup .popup-feature h4 {
        font-size: 8px !important;

        line-height: 1.1 !important;

        margin: 0 0 2px !important;
    }

    .project-popup .popup-feature p {
        font-size: 6px !important;

        line-height: 1.15 !important;

        margin: 0 !important;
    }


    /* =========================
       BOTTOM LINE
       ========================= */

    .project-popup .bottom-line {
        margin: 6px 0 !important;
    }


    /* =========================
       GET STARTED BUTTON
       ========================= */

    .project-popup .popup-start-btn {
        width: 100% !important;

        height: 37px !important;
        min-height: 37px !important;

        font-size: 11px !important;

        border-radius: 8px !important;

        flex: 0 0 auto !important;
    }


    /* =========================
       CLOSE BUTTON
       ========================= */

    .project-popup .popup-close {
        top: 6px !important;
        right: 6px !important;

        width: 30px !important;
        height: 30px !important;

        font-size: 17px !important;

        border-radius: 50% !important;

        background: rgba(255,255,255,.95) !important;

        z-index: 10000 !important;
    }
}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media screen and (max-width: 500px) {

    .project-popup {
        padding: 5px !important;
    }

    .project-popup-box {
        width: calc(100vw - 10px) !important;

        max-height: calc(100dvh - 10px) !important;
    }

    .project-popup .popup-gallery-section {
        padding: 23px 10px 6px !important;
    }

    .project-popup .popup-main-image-wrapper {
        aspect-ratio: 2.18 / 1 !important;
    }

    .project-popup .popup-thumbnails {
        height: 52px !important;
    }

    .project-popup .popup-thumb {
        flex-basis: 70px !important;
        width: 70px !important;
        min-width: 70px !important;
        height: 45px !important;
    }

    .project-popup .popup-details-section {
        padding: 10px 10px 10px !important;
    }

    .project-popup .popup-details-section h2 {
        font-size: 21px !important;
    }

    .project-popup .popup-feature {
        height: 54px !important;
        min-height: 54px !important;
        padding: 6px !important;
    }

    .project-popup .popup-feature h4 {
        font-size: 7.5px !important;
    }

    .project-popup .popup-feature p {
        font-size: 5.8px !important;
    }

    .project-popup .popup-start-btn {
        height: 36px !important;
        min-height: 36px !important;
    }
}




/* ============================================================
   FINAL MOBILE SIZE FIX
   ============================================================ */

@media screen and (max-width: 500px) {

    /* =========================
       THUMBNAILS
       ========================= */

    .project-popup .popup-thumbnails {
        height: 58px !important;
        gap: 7px !important;
        padding: 0 2px 5px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    .project-popup .popup-thumb {
        flex: 0 0 78px !important;
        width: 78px !important;
        min-width: 78px !important;
        max-width: 78px !important;

        height: 50px !important;
        min-height: 50px !important;
        max-height: 50px !important;

        border-radius: 7px !important;
    }


    /* =========================
       REMOVE EXTRA SPACE
       ========================= */

    .project-popup .popup-thumbnails-wrap {
        height: 58px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .project-popup .popup-gallery-section {
        gap: 5px !important;
        padding-bottom: 3px !important;
    }


    /* =========================
       4 FEATURE CARDS SMALLER
       ========================= */

    .project-popup .popup-features {
        gap: 5px !important;
    }

    .project-popup .popup-feature {
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;

        padding: 5px !important;
        gap: 4px !important;

        border-radius: 7px !important;
    }

    .project-popup .popup-feature > i {
        font-size: 13px !important;
        min-width: 15px !important;
    }

    .project-popup .popup-feature h4 {
        font-size: 7px !important;
        line-height: 1.05 !important;
        margin: 0 0 1px !important;
    }

    .project-popup .popup-feature p {
        font-size: 5.5px !important;
        line-height: 1.1 !important;
        margin: 0 !important;
    }


    /* =========================
       LESS GAP AROUND DETAILS
       ========================= */

    .project-popup .popup-line {
        margin: 5px 0 !important;
    }

    .project-popup .bottom-line {
        margin: 5px 0 !important;
    }
}


/* ============================================================
   iPHONE 14 PRO MAX ONLY — 430 x 932
   ============================================================ */

@media screen and (width: 430px) and (height: 932px) {

    .project-popup {
        padding: 5px !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
    }

    .project-popup-box {
        width: 420px !important;
        height: 922px !important;
        max-height: 922px !important;

        display: flex !important;
        flex-direction: column !important;

        overflow: hidden !important;
        margin: 0 !important;
        border-radius: 18px !important;
    }

    /* IMAGE AREA */
    .project-popup .popup-gallery-section {
        padding: 23px 10px 3px !important;
        gap: 4px !important;

        flex: 0 0 auto !important;
        height: auto !important;
        overflow: hidden !important;
    }

    .project-popup .popup-main-image-wrapper {
        width: 100% !important;
        height: 192px !important;

        aspect-ratio: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        border-radius: 9px !important;
        overflow: hidden !important;
    }

    .project-popup .popup-main-image-wrapper img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    /* ARROWS */
    .project-popup .project-nav {
        width: 34px !important;
        height: 34px !important;
        font-size: 15px !important;
    }

    .project-popup .project-prev {
        left: -17px !important;
    }

    .project-popup .project-next {
        right: -17px !important;
    }

    /* THUMBNAILS */
    .project-popup .popup-thumbnails {
        height: 48px !important;

        gap: 7px !important;
        padding: 0 2px !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        flex: 0 0 48px !important;
    }

    .project-popup .popup-thumb {
        flex: 0 0 78px !important;

        width: 78px !important;
        min-width: 78px !important;
        max-width: 78px !important;

        height: 45px !important;
        min-height: 45px !important;
        max-height: 45px !important;
    }

    /* DETAILS */
    .project-popup .popup-details-section {
        padding: 8px 10px 8px !important;

        height: auto !important;
        min-height: 0 !important;

        flex: 1 1 auto !important;

        overflow: hidden !important;
    }

    .project-popup .popup-label {
        font-size: 7px !important;
        letter-spacing: 2px !important;
        margin-bottom: 3px !important;
    }

    .project-popup .popup-details-section h2 {
        font-size: 22px !important;
        line-height: 1 !important;
        margin: 0 0 6px !important;
    }

    .project-popup .popup-meta {
        gap: 6px !important;
        margin-bottom: 5px !important;
    }

    .project-popup .popup-meta-item {
        font-size: 9px !important;
        gap: 4px !important;
    }

    .project-popup .popup-meta-item i {
        font-size: 11px !important;
    }

    .project-popup .popup-description {
        font-size: 9px !important;
        line-height: 1.25 !important;
        max-width: 100% !important;
    }

    .project-popup .popup-line {
        margin: 5px 0 !important;
    }

    /* FEATURE BOXES */
    .project-popup .popup-features {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 5px !important;
    }

    .project-popup .popup-feature {
        height: 52px !important;
        min-height: 52px !important;
        max-height: 52px !important;

        padding: 5px !important;
        gap: 4px !important;
        border-radius: 7px !important;
    }

    .project-popup .popup-feature > i {
        font-size: 13px !important;
        min-width: 15px !important;
    }

    .project-popup .popup-feature h4 {
        font-size: 7px !important;
        line-height: 1.05 !important;
        margin: 0 0 1px !important;
    }

    .project-popup .popup-feature p {
        font-size: 5.5px !important;
        line-height: 1.1 !important;
    }

    /* BUTTON */
    .project-popup .bottom-line {
        margin: 5px 0 !important;
    }

    .project-popup .popup-start-btn {
        width: 100% !important;

        height: 38px !important;
        min-height: 38px !important;

        font-size: 11px !important;
        border-radius: 8px !important;
    }

    /* CLOSE */
    .project-popup .popup-close {
        top: 6px !important;
        right: 6px !important;

        width: 30px !important;
        height: 30px !important;

        font-size: 17px !important;
    }
}


/* ============================================================
   iPHONE 14 PRO MAX — MOVE POPUP UP
   430 x 932 ONLY
   ============================================================ */

@media screen and (width: 430px) and (height: 932px) {

    .project-popup-box {
        height: auto !important;
        max-height: calc(100dvh - 20px) !important;

        /* CARD KO UP LE JAO */
        transform: translateY(-85px) !important;
    }

    .project-popup .popup-details-section {
        overflow-y: auto !important;
    }
}


/* ============================================================
   iPHONE 14 PRO MAX ONLY
   EXACT: 430 x 932
   ============================================================ */

@media only screen and (width: 430px) and (height: 932px) {

    .project-popup {
        padding: 5px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
    }

    .project-popup-box {
        width: 420px !important;

        /* card ko viewport ke andar fit rakho */
        max-height: calc(100dvh - 10px) !important;
        height: auto !important;

        margin: 0 !important;

        display: flex !important;
        flex-direction: column !important;

        overflow: hidden !important;
    }

    /* IMAGE */
    .project-popup .popup-gallery-section {
        padding: 22px 10px 4px !important;
        gap: 4px !important;
        flex-shrink: 0 !important;
    }

    .project-popup .popup-main-image-wrapper {
        height: 185px !important;
        aspect-ratio: auto !important;
        overflow: hidden !important;
    }

    /* THUMBNAILS */
    .project-popup .popup-thumbnails {
        height: 48px !important;
        flex-shrink: 0 !important;
        gap: 6px !important;
        padding: 0 2px !important;
    }

    .project-popup .popup-thumb {
        width: 76px !important;
        min-width: 76px !important;
        height: 44px !important;
        min-height: 44px !important;
    }

    /* DETAILS */
    .project-popup .popup-details-section {
        padding: 8px 10px 8px !important;

        flex: 1 1 auto !important;
        min-height: 0 !important;

        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    .project-popup .popup-label {
        font-size: 7px !important;
        margin-bottom: 3px !important;
    }

    .project-popup .popup-details-section h2 {
        font-size: 22px !important;
        margin-bottom: 5px !important;
    }

    .project-popup .popup-meta {
        gap: 6px !important;
        margin-bottom: 5px !important;
    }

    .project-popup .popup-meta-item {
        font-size: 9px !important;
    }

    .project-popup .popup-description {
        font-size: 9px !important;
        line-height: 1.25 !important;
    }

    .project-popup .popup-line {
        margin: 5px 0 !important;
    }

    /* 4 BOXES */
    .project-popup .popup-features {
        gap: 5px !important;
    }

    .project-popup .popup-feature {
        height: 50px !important;
        min-height: 50px !important;
        max-height: 50px !important;

        padding: 5px !important;
    }

    .project-popup .popup-feature h4 {
        font-size: 7px !important;
    }

    .project-popup .popup-feature p {
        font-size: 5.5px !important;
    }

    /* GET STARTED */
    .project-popup .bottom-line {
        margin: 5px 0 !important;
    }

    .project-popup .popup-start-btn {
        height: 38px !important;
        min-height: 38px !important;

        font-size: 11px !important;
    }
}


/* ============================================================
   FINAL DESKTOP POPUP - RIGHT CONTENT ALIGNMENT
   ============================================================ */

@media (min-width: 901px) {

    /* Popup overall */
    .project-popup-box {
        width: min(1450px, 96vw);
        height: min(700px, calc(100dvh - 40px));

        grid-template-columns: 58% 42%;

        background: #f7f7f5;
        border-radius: 26px;
        overflow: hidden;
    }

    /* =========================
       LEFT SIDE
       ========================= */

    .project-popup .popup-gallery-section {
        padding: 35px 30px 25px;
        gap: 15px;

        justify-content: center;
    }

    .project-popup .popup-main-image-wrapper {
        width: 100%;
        height: 450px;
        max-height: 450px;
        min-height: 0;

        border-radius: 0;
        background: transparent;
    }

    .project-popup .popup-main-image-wrapper img {
        width: 100%;
        height: 100%;

        object-fit: contain !important;
        object-position: center !important;
    }

    /* Thumbnails */
    .project-popup .popup-thumbnails {
        height: 75px !important;

        display: grid !important;
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;

        gap: 10px !important;
    }

    .project-popup .popup-thumb {
        width: 100%;
        height: 75px;

        border-radius: 12px;
    }


    /* =========================
       RIGHT SIDE
       ========================= */

    .project-popup .popup-details-section {

        /* Main alignment */
        justify-content: flex-start;

        /* More balanced spacing */
        padding: 52px 48px 35px 38px;

        overflow: hidden;

        box-sizing: border-box;
    }


    /* PROJECT DETAILS */
    .project-popup .popup-label {
        font-size: 13px;
        letter-spacing: 5px;

        margin-bottom: 18px;
    }


    /* MASABA */
    .project-popup .popup-details-section h2 {
        font-size: 48px;

        line-height: 1;

        margin: 0 0 22px;

        letter-spacing: 1px;
    }


    /* LOCATION + SIZE */
    .project-popup .popup-meta {
        gap: 16px;

        margin-bottom: 20px;
    }

    .project-popup .popup-meta-item {
        font-size: 16px;
        gap: 9px;
    }

    .project-popup .popup-meta-item i {
        font-size: 19px;
    }


    /* DESCRIPTION */
    .project-popup .popup-description {
        font-size: 15px;

        line-height: 1.55;

        max-width: 100%;
    }


    /* LINE */
    .project-popup .popup-line {
        width: 100%;

        margin: 20px 0;
    }


    /* =========================
       FEATURES
       ========================= */

    .project-popup .popup-features {

        grid-template-columns: repeat(2, minmax(0, 1fr));

        column-gap: 35px;

        row-gap: 24px;
    }

    .project-popup .popup-feature {
        gap: 12px;
    }

    .project-popup .popup-feature > i {
        font-size: 25px;

        min-width: 34px;

        margin-top: 2px;
    }

    .project-popup .popup-feature h4 {
        font-size: 16px;

        margin: 0 0 5px;
    }

    .project-popup .popup-feature p {
        font-size: 13px;

        line-height: 1.45;
    }


    /* =========================
       BOTTOM LINE
       ========================= */

    .project-popup .bottom-line {
        margin-top: 22px;
        margin-bottom: 18px;
    }


    /* =========================
       GET STARTED BUTTON
       ========================= */

    .project-popup .popup-start-btn {

        width: 100%;

        min-height: 58px;

        height: 58px;

        font-size: 18px;

        border-radius: 11px;

        gap: 15px;
    }

}



/* ============================================================
   FINAL DESKTOP POPUP ALIGNMENT
   THUMBNAILS + GET STARTED SAME BOTTOM LINE
   ============================================================ */

@media (min-width: 901px) {

    /* POPUP */
    .project-popup-box {
        width: min(1450px, 96vw);
        height: min(700px, calc(100dvh - 40px));

        grid-template-columns: 58% 42%;

        background: #f7f7f5;
        overflow: hidden;
    }


    /* ========================================================
       LEFT GALLERY
       ======================================================== */

    .project-popup .popup-gallery-section {
        padding: 55px 30px 55px !important;

        display: flex !important;
        flex-direction: column !important;

        justify-content: flex-start !important;

        gap: 20px !important;

        box-sizing: border-box;
    }


    /* MAIN IMAGE */

    .project-popup .popup-main-image-wrapper {
        width: 100% !important;

        height: 430px !important;
        max-height: 430px !important;

        min-height: 0 !important;

        border-radius: 0 !important;

        background: transparent !important;

        flex-shrink: 0 !important;
    }

    .project-popup .popup-main-image-wrapper img {
        width: 100% !important;
        height: 100% !important;

        object-fit: contain !important;
        object-position: center !important;
    }


    /* ========================================================
       THUMBNAILS
       ======================================================== */

    .project-popup .popup-thumbnails {
        width: 100% !important;

        height: 75px !important;

        display: grid !important;

        grid-template-columns:
            repeat(6, minmax(0, 1fr)) !important;

        gap: 10px !important;

        padding: 0 !important;

        flex-shrink: 0 !important;

        box-sizing: border-box !important;
    }

    .project-popup .popup-thumb {
        width: 100% !important;

        height: 75px !important;

        min-width: 0 !important;

        border-radius: 11px !important;

        overflow: hidden !important;
    }

    .project-popup .popup-thumb img {
        width: 100% !important;
        height: 100% !important;

        object-fit: cover !important;
    }


    /* ========================================================
       RIGHT DETAILS
       ======================================================== */

    .project-popup .popup-details-section {

        /* IMPORTANT */
        justify-content: flex-start !important;

        padding: 65px 48px 55px 38px !important;

        box-sizing: border-box !important;

        overflow: hidden !important;

        display: flex !important;
        flex-direction: column !important;
    }


    /* LABEL */

    .project-popup .popup-label {
        font-size: 13px !important;

        letter-spacing: 5px !important;

        margin-bottom: 20px !important;
    }


    /* TITLE */

    .project-popup .popup-details-section h2 {
        font-size: 48px !important;

        line-height: 1 !important;

        margin: 0 0 24px !important;
    }


    /* META */

    .project-popup .popup-meta {
        gap: 16px !important;

        margin-bottom: 22px !important;
    }

    .project-popup .popup-meta-item {
        font-size: 16px !important;

        gap: 9px !important;
    }


    /* DESCRIPTION */

    .project-popup .popup-description {
        font-size: 15px !important;

        line-height: 1.55 !important;

        max-width: 100% !important;
    }


    /* DIVIDER */

    .project-popup .popup-line {
        width: 100% !important;

        margin: 22px 0 !important;
    }


    /* ========================================================
       FEATURES
       ======================================================== */

    .project-popup .popup-features {
        display: grid !important;

        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        column-gap: 35px !important;

        row-gap: 24px !important;
    }

    .project-popup .popup-feature {
        gap: 12px !important;
    }

    .project-popup .popup-feature > i {
        font-size: 25px !important;

        min-width: 34px !important;
    }

    .project-popup .popup-feature h4 {
        font-size: 16px !important;

        margin: 0 0 5px !important;
    }

    .project-popup .popup-feature p {
        font-size: 13px !important;

        line-height: 1.45 !important;
    }


    /* ========================================================
       GET STARTED
       ======================================================== */

   .project-popup .bottom-line {
    margin-top: 27px !important;
    margin-bottom: 0 !important;
}

    .project-popup .popup-start-btn {

        width: 100% !important;

        height: 58px !important;
        min-height: 58px !important;

        font-size: 18px !important;

        border-radius: 11px !important;

        flex-shrink: 0 !important;
    }

}

/* ============================================================
   FEATURE BOXES - EXACT 2 x 2 STYLE
   ============================================================ */

@media (min-width: 901px) {

    .project-popup .popup-features {
        display: grid !important;

        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

        column-gap: 14px !important;
        row-gap: 14px !important;

        width: 100% !important;

        margin: 0 !important;
    }


    /* EACH BOX */

    .project-popup .popup-feature {

        width: 100% !important;

        height: 112px !important;
        min-height: 112px !important;
        max-height: 112px !important;

        display: flex !important;

        align-items: center !important;

        gap: 15px !important;

        padding: 16px 18px !important;

        box-sizing: border-box !important;

        border: 1px solid #dedede !important;

        border-radius: 13px !important;

        background: #fafafa !important;

        overflow: hidden !important;
    }


    /* ICON */

    .project-popup .popup-feature > i {

        flex: 0 0 34px !important;

        width: 34px !important;
        min-width: 34px !important;

        font-size: 27px !important;

        color: #c58b19 !important;

        text-align: center !important;

        margin: 0 !important;
    }


    /* TEXT WRAPPER */

    .project-popup .popup-feature > div {

        min-width: 0 !important;

        flex: 1 !important;
    }


    /* HEADING */

    .project-popup .popup-feature h4 {

        margin: 0 0 6px !important;

        font-size: 16px !important;

        line-height: 1.2 !important;

        font-weight: 700 !important;

        color: #252525 !important;
    }


    /* DESCRIPTION */

    .project-popup .popup-feature p {

        margin: 0 !important;

        font-size: 13px !important;

        line-height: 1.4 !important;

        color: #666 !important;
    }

}


/* ===== ONLY 4 RIGHT FEATURE BOXES - SMALLER ===== */

@media (min-width: 901px) {

    .project-popup .popup-feature {
        height: 85px !important;
        min-height: 85px !important;
        max-height: 85px !important;

        padding: 12px 14px !important;
        gap: 12px !important;

        border-radius: 11px !important;
    }

    .project-popup .popup-feature > i {
        flex: 0 0 28px !important;
        width: 28px !important;
        min-width: 28px !important;

        font-size: 22px !important;
    }

    .project-popup .popup-feature h4 {
        font-size: 14px !important;
        margin: 0 0 4px !important;
    }

    .project-popup .popup-feature p {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }

    .project-popup .popup-features {
        column-gap: 12px !important;
        row-gap: 10px !important;
    }
}

/* ================================
   TABLET VIEW
================================ */
@media (min-width: 768px) and (max-width: 1024px) {

    .section-heading {
        text-align: center;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .project-tabs {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

}