.h3-border {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.h3-border h3 {
    padding: 0 40px;
}

.h3-border::before,
.h3-border::after {
    content: "";
    flex: 1;
    height: 4px;
    background-color: #C99E48;
}

.homeowner-gallery .gallery-wrapper {
    margin-top: 40px;
}

.homeowner-gallery .gallery-term {
    margin-bottom: 60px;
}

.gallery-item.hidden {
    display: none;
}

.btn-load {
    display: block;
    margin: 20px auto 0;
    padding: 15px 25px;
    background-color: #0A303E;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    font-weight: 700;
    margin-top: 50px;
}

.btn-load:hover {
    background-color: #C99E48;
}

.homeowner-gallery .gallery-title {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

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

.homeowner-gallery .gallery-item {
    overflow: hidden;
    border-radius: 6px;
    padding: 0;
    position: relative;
    max-width: 536px;
    width: 100% !important;
    max-height: 408px !important;
    height: 408px !important;
}

.homeowner-gallery .gallery-item img {
    object-fit: cover;
    width: 100% !important;
    height: 100% !important;
}

.homeowner-gallery .gallery-item .gallery-title {
    position: absolute;
    padding: 18px 25px;
    background-color: rgba(255, 255, 255, 0.79);
    z-index: 1111;
    bottom: 0;
    right: 0;
    margin: 0;
    font-size: 18px;
}

.homeowner-gallery .gallery-item  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

/* Tablet */
@media (max-width: 992px) {
    .homeowner-gallery .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .homeowner-gallery .gallery-item {
        height: 356px !important;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .homeowner-gallery .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 1100px) {
    h1 {
        font-size: 37px !important;
    }
    .x-section {
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }


}

.sec-btn {
    font-weight: 600 !important;
    color: #fff !important;
}

.sec-btn:hover {
    background-color: #C99E47 !important;
    border-color: #C99E47 !important;
}