.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.5),
            transparent);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    100% {
        left: 150%;
    }
}

.counter-bar {
    overflow: hidden;
}

.counter-item {
    text-align: center;
    color: #717171;
    padding: 35px 20px;
}

.counter-item h3 {
    font-size: 42px;
    margin-bottom: 10px;
}

.counter-item p {
    margin: 0;
    opacity: .9;
}

/* blog */
.blog-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 30px;
}

.blog-top-bar .section-title {
    flex: 1;
    margin: 0;
}

.contact-desc {
    margin-bottom: 0;
    max-width: 700px;
}

.blog-nav {
    display: flex;
    gap: 12px;
}

.blog-nav button {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
    transition: .3s;
    cursor: pointer;
    background: #0957633f;
    color: #095763;
}

.blog-nav button:hover {
    background: #095763;
    color: #fff;
    transform: translateY(-2px);
}

.blog-nav i {
    font-size: 18px;
}

@media(max-width:768px) {
    .blog-top-bar {
        flex-direction: column;
        /* align-items: flex-start; */
    }
}

/* product */
.product-list {
    margin-top: 21%;
}

.s-single-services {
    transition: .3s;
    background: #0957633f;
    position: relative;
    display: flex;
    justify-content: center;
    transition: all .4s ease;
}

.s-single-services img {
    height: 100%;
    margin-top: -50px;
    padding-bottom: 25px;
    transition: all .5s ease;
}

.s-single-services:hover {
    transform: translateY(-10px);
}

.s-single-services:hover img {
    transform: scale(1.08);
}

.product-section {
    position: relative;
    overflow: hidden;
}

.reco-card {
    position: relative;
    overflow: hidden;
}

.reco-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(70%) brightness(0.8);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.reco-card:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

.architecture {
    height: 680px;
    margin-right: 1%;
}

.architecture .content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 58%;
    background: white;
    padding: 24px;
    border-top-right-radius: 26px;
}

.architecture .content h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1f1f1f;
    margin-bottom: 8px;
}

.architecture .content p {
    color: #888;
    line-height: 1.7;
}

.right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.small-card {
    height: 328px;
}

.small-card .content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 64%;
    background: white;
    padding: 22px;
    border-top-right-radius: 24px;
}

.interior .content {
    left: auto;
    right: 0;

    border-top-right-radius: 0;
    border-top-left-radius: 24px;
}

.interior .content::before,
.interior .content::after {
    content: "";
    position: absolute;
    width: 48px;
    height: 48px;
}

.interior .content::before {
    left: -48px !important;
    right: auto !important;
    bottom: 0 !important;
    border-bottom-right-radius: 48px !important;
    box-shadow: 18px 18px 0 #fff !important;
}

.interior .content::after {
    content: "";
    position: absolute;
    top: -48px !important;
    right: 0 !important;
    left: auto !important;
    width: 48px !important;
    height: 48px !important;
    border-bottom-right-radius: 48px !important;
    box-shadow: 24px 24px 0 #fff !important;

}

.small-card h2 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #1f1f1f;
}

.small-card p {
    color: #8d8d8d;
    line-height: 1.6;
}

.architecture .content::before,
.small-card .content::before {
    content: "";
    position: absolute;
    width: 48px;
    height: 48px;
    right: -48px;
    bottom: 0;
    background: transparent;
    border-bottom-left-radius: 36px;
    box-shadow: -18px 18px 0 white;
}

.architecture .content::after,
.small-card .content::after {
    content: "";
    position: absolute;
    width: 48px;
    height: 48px;
    left: -1px;
    top: -47px;
    background: transparent;
    border-bottom-left-radius: 36px;
    box-shadow: -18px 18px 0 white;
}

/* Responsive */

@media (max-width:900px) {

    .grid {
        grid-template-columns: 1fr;
    }

    .architecture {
        height: 500px;
    }

    .architecture .content,
    .small-card .content {
        width: 75%;
    }
}

@media (max-width: 576px) {
    .small-card {
        height: 100%;
    }
}

.blog-slider .owl-stage-outer {
    overflow: visible;
}

.blog-slider .owl-item {
    transition: all .5s ease;
    transform: scale(.82);
    opacity: .45;
}

.blog-slider .owl-item.active.center {
    transform: scale(1);
    opacity: 1;
    z-index: 99;
}

.blog-slider .owl-item.active.center .single-post2 {
    box-shadow: 0 25px 60px rgba(0, 0, 0, .18);
}

.blog-slider .single-post2 {
    transition: all .5s ease;
}

.blog-slider .owl-item:not(.center) .single-post2 {
    filter: grayscale(20%);
}

/* recognition */
.cards {
    display: flex;
    gap: 18px;
    height: 580px;
}

.recognition-card {
    position: relative;
    flex: 1 1 0;
    flex-grow: 1;
    border-radius: 26px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    transition:
        flex-grow .8s cubic-bezier(.22, 1, .36, 1),
        transform .6s ease,
        filter .6s ease;
}

.recognition-card.active {
    flex: 4;
}

.recognition-card:hover {
    filter: brightness(1.05);
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgb(0 0 0 / 62%), rgb(0 0 0 / 55%), rgb(0 0 0 / 63%));
}

.card-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 28px;
    color: #fff;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 260px;
    opacity: 0;
    transform: translateY(-35px);
    transition:
        opacity .45s ease .25s,
        transform .65s cubic-bezier(.22, 1, .36, 1) .25s;
}

.tags span {
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, .45);
    padding: 8px 15px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, .08);
}

.bottom {
    transform: translateY(60px);
    opacity: .3;
    transition:
        transform .65s cubic-bezier(.22, 1, .36, 1),
        opacity .45s ease;
}

.bottom h2 {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 170px;
    transition: margin .5s ease;
}

.bottom p {
    opacity: 0;
    transform: translateY(20px);
    max-height: 0;
    overflow: hidden;
    transition:
        opacity .45s ease .45s,
        transform .45s ease .45s,
        max-height .6s ease;
}

.recognition-card.active .tags {
    opacity: 1;
    transform: translateY(0);
}

.recognition-card.active .bottom {
    transform: translateY(0);
    opacity: 1;
}

.recognition-card.active .bottom h2 {
    margin-bottom: 12px;
}

.recognition-card.active .bottom p {
    opacity: 1;
    transform: translateY(0);
    max-height: 250px;
}

.recognition-card:not(.active) .bottom h2 {
    font-size: 22px;
}

.recognition-card:not(.active) .bottom {
    transform: translateY(165px);
}

.recognition-card:hover {
    filter: brightness(1.02);
}

/* Responsive */

@media(max-width:991px) {
    .gallery-section .cards {
        flex-direction: column;
        height: auto;
    }

    .recognition-card {
        height: 120px;
    }

    .recognition-card.active {
        height: 450px;
    }

    .tags {
        margin-bottom: 120px;
    }

    .bottom h2 {
        font-size: 28px;
    }

    .recognition-card:not(.active) .bottom {
        transform: translateY(0);
    }

    .recognition-card:not(.active) .bottom h2 {
        font-size: 22px;
    }
}

/* ==========================
   Mobile & Tablet (<992px)
========================== */
@media (max-width: 991.98px) {

    .cards {
        display: flex;
        flex-direction: column;
        gap: 20px;
        height: auto;
    }

    .recognition-card,
    .recognition-card.active {
        flex: unset;
        width: 100%;
        height: 420px;
        cursor: default;
    }

    .card-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
        padding: 24px;
    }

    /* Always show tags */
    .tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 0;
        opacity: 1;
        transform: translateY(0);
    }

    .tags span {
        font-size: 11px;
        padding: 7px 14px;
    }

    /* Always show content */
    .bottom {
        transform: translateY(0);
    }

    .bottom h2,
    .recognition-card.active .bottom h2,
    .recognition-card:not(.active) .bottom h2 {
        font-size: 32px;
        line-height: 1.15;
        margin-bottom: 14px;
    }

    .bottom p,
    .recognition-card.active .bottom p,
    .recognition-card:not(.active) .bottom p {
        display: block;
        opacity: 1;
        font-size: 17px;
        line-height: 1.7;
        margin-bottom: 0;
        color: rgba(255, 255, 255, .9);
    }

    .recognition-card:not(.active) .bottom {
        transform: translateY(0);
    }
}


/* Small Mobile */
@media (max-width: 576px) {

    .recognition-card,
    .recognition-card.active {
        height: 380px;
        border-radius: 20px;
    }

    .card-content {
        padding: 22px;
    }

    .tags {
        gap: 7px;
    }

    .tags span {
        font-size: 10px;
        padding: 6px 12px;
    }

    .bottom h2 {
        font-size: 24px;
    }

    .bottom p {
        font-size: 15px;
        line-height: 1.6;
    }
}