/* ===== GALLERY DETAILS PAGE ===== */
.gallery-heading-section {
    overflow: hidden;
    padding-top: var(--padding-box-normal);
    padding-bottom: var(--padding-box-normal);
}

.gallery-heading-container .gallery-features .gallery-feature-item {
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-small-box);
    padding: 2px 14px;
}


.gallery-heading-image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-heading-image-sub-item {
    overflow: hidden;
    border-radius: var(--radius-small-box);
}

.gallery-heading-image-sub-item.gallery-small-img {
    height: 242px;
}

.gallery-heading-image-sub-item.gallery-large-img {
    height: 500px;
}

.gallery-heading-image-sub-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .gallery-heading-section {
        padding-top: var(--padding-mobile-box-normal);
        padding-bottom: var(--padding-mobile-box-normal);
    }

    .gallery-heading-container .gallery-features .gallery-feature-item {
        border-radius: var(--radius-mobile-small-box);
        padding: 2px 8px;
    }

    .gallery-heading-image-item:last-child {
        grid-column: span 2;
        flex-direction: row !important;
    }

    .gallery-heading-image-item:last-child .gallery-heading-image-sub-item {
        flex: 0.5;
    }

    .gallery-heading-image-sub-item {
        border-radius: var(--radius-mobile-small-box);
    }

    .gallery-heading-image-sub-item.gallery-small-img {
        height: 124px;
    }

    .gallery-heading-image-sub-item.gallery-large-img {
        height: 260px;
    }

    .gallery-heading-image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ===== GALLERY DETAILS SECTION ===== */
.gallery-details-section {
    padding-top: var(--padding-box-normal);
    padding-bottom: var(--padding-box-normal);
}

@media (max-width: 768px) {
    .gallery-details-section {
        padding-top: var(--padding-mobile-box-normal);
        padding-bottom: var(--padding-mobile-box-normal);
    }
}

/* ===== STEPS IMPLEMENT PROJECT SECTION ===== */
.steps-implement-project-section {
    padding-top: var(--padding-box-normal);
    padding-bottom: var(--padding-box-normal);
}

.steps-implement-project-step-item {
    position: relative;
}

.steps-implement-project-step-item:not(:first-child)::after {
    content: "";
    position: absolute;
    top: 30%;
    left: 0;
    width: calc(100% + 150px);
    height: 4px;
    background-color: var(--secondary);
    transform: translateY(-50%);
    z-index: -1;
}

.steps-implement-project-step-item:last-child::after {
    left: 50%;
}

.steps-implement-project-step-icon {
    width: 44px;
    height: 44px;
    padding: 6px;
    border-radius: 50%;
    background-color: var(--primary-50);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--surface-bg);
}

.steps-implement-project-step-icon img {
    width: 100%;
    height: 100%;
}

.steps-implement-project-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap-sm-3);
}

.steps-implement-project-image-sub-item {
    overflow: hidden;
    border-radius: var(--radius-small-box);
}

.steps-implement-project-image-item:nth-child(2) .steps-implement-project-image-sub-item.steps-implement-project-small-img {
    height: 242px;
}

.steps-implement-project-image-sub-item.steps-implement-project-large-img,
.steps-implement-project-image-item:nth-child(3) .steps-implement-project-image-sub-item.steps-implement-project-small-img {
    height: 500px;
}

.steps-implement-project-image-sub-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .steps-implement-project-section {
        padding-top: var(--padding-mobile-box-normal);
        padding-bottom: var(--padding-mobile-box-normal);
    }

    .steps-implement-project-image-grid {
        gap: var(--gap-mobile-sm-3);
    }

    .steps-implement-project-image-sub-item {
        border-radius: var(--radius-mobile-small-box);
    }

    .steps-implement-project-image-sub-item.steps-implement-project-small-img {
        height: 124px !important;
    }

    .steps-implement-project-image-sub-item.steps-implement-project-large-img {
        height: 260px !important;
    }

    .steps-implement-project-image-item:nth-child(3) {
        flex-direction: column !important;
    }

    .steps-implement-project-steps {
        flex-direction: column !important;
    }

    .steps-implement-project-steps .steps-implement-project-step-item {
        flex-direction: row !important;
    }

    .steps-implement-project-step-item:not(:first-child)::after {
        width: 4px;
        height: calc(100% + 80px);
        right: 20px;
        top: 40px;
    }

    .steps-implement-project-step-item:last-child::after {
        display: none;
    }
}

/* ===== PACKAGE CONTAIN SECTION ===== */
.package-contain-section {
    overflow: hidden;
    padding-bottom: var(--padding-box-normal);
}

.package-contain-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap-sm-3);
}

@media (max-width: 768px) {
    .package-contain-section {
        padding-bottom: var(--padding-mobile-box-normal);
    }

    .package-contain-details-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: var(--gap-mobile-sm-3);
    }
}