/* product page css */

.service_about p {
    max-width: 875px;
    margin-left: auto;
    margin-right: auto;
}

.product_project h2.f_56 {
    margin-bottom: 50px;
}

.project_product_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 80px;
    column-gap: 25px;
}


/* =========== divider-section start =========== */

.dividers-banner {
    position: relative;
    top: 0px;
    min-height: 100vh;
    height: 100vh;
    padding: 100px 0px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: sticky;
    /* paralex */
    /* background-attachment: fixed; */
}

.dividers-banner .background_image_cms {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.dividers-banner .background_image_cms .banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.dividers-banner .container {
    position: absolute;
    z-index: 1;
    width: 100%;
    clip: rect(0, auto, auto, 0);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    inset: 0%;
}

.glass-card {
    max-width: 523px;
    background: #000;
    border-radius: 12px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-height:580px;
}

/* Zoom-in animation for first divider banner */
.dividers-banner:first-child .glass-card {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
}

@keyframes zoomIn {
    from {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes zoomOut {
    from {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    to {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
}

.dividers-banner:first-child .glass-card.zoom-in-animate {
    animation: zoomIn 0.8s ease-out forwards;
}

.dividers-banner:first-child .glass-card.zoom-out-animate {
    /* Ensure element starts from zoomed-in state before animating */
    transform: translate(-50%, -50%) scale(1) !important;
    opacity: 1 !important;
    animation: zoomOut 0.8s ease-out forwards;
}

/* Zoom-out animation for last divider banner */
.dividers-banner:last-child .glass-card {
    transform: translate(-50%, -50%) scale(1) !important;
    opacity: 1 !important;
}

.dividers-banner:last-child .glass-card.zoom-out-animate {
    transform: translate(-50%, -50%) scale(1) !important;
    opacity: 1 !important;
    animation: zoomOut 0.8s ease-out forwards;
}

.card_body {
    padding: 40px 40px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #9A9A92;
    padding: 0px 40px;
    height: 55px;
}

.card-header h2 {
    font-size: 15px;
    font-family: "RivieraNights-Regular";
    color: #fff;
}

.slide-count,
.description {
    font-size: 17px;
    font-family: "RivieraNights-Light";
    color: #fff;
}

.discover-link {
    display: inline-block;
    font-size: 16px;
    letter-spacing: 1.2px;
    text-decoration: none;
    color: #fff;
    position: relative;
    font-family: "RivieraNights-Regular";
    padding-bottom: 2px;
    margin-top: 40px;
}

.discover-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #fff;
}

.options {
    margin-top: 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 420px;
}

.options span, .options a {
   
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 100px;
    padding: 0px 16px;
    font-family: "RivieraNights-Regular";
    font-size: 18px;
    height: 35px;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.options span, .options a:hover {
    background: #fff;
    color: #000;
}


/* =========== divider-section end =========== */
.card-link{ color: #fff; text-transform: uppercase; text-decoration: underline; margin: 0; padding: 0;}
.deail_tag { padding: 0; margin: 0;}
.deail_tag li { list-style: none; display: inline-block; margin-bottom: 5px;}
.deail_tag li a{  background: rgba(255, 255, 255, 0.8); display: inline-flex; font-size:15px; color: #000; border-radius: 10px; font-weight: 600; display: inline-block; padding: 5px 15px;}











/* ============ responsive ============ */

@media only screen and (min-width: 1680px) {

    .dividers-banner {
        height: 100vh;
        min-height: 1070px;
    }

    .discover-link {
        font-size: 17px;
    }

    .options span, .options a {
        font-size:16px;
    }

}

@media only screen and (max-width: 1365px) {

    .dividers-banner {
        position: relative;
        padding: 150px 0px;
    }

    .options span, .options a {
        font-size: 16px;
    }
}


@media only screen and (max-width: 991px) {

    .project_product_grid {
        row-gap: 60px;
    }

    .dividers-banner {
        position: relative;
        padding: 80px 0px;
    }

    .project_product_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .glass-card {
        width: 100%;
        min-height: 500px;
    }
}

@media only screen and (max-width: 575px) {

    .project_product_grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .project_product_grid {
        row-gap: 40px;
    }

    .project_product_grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .card-header h2 {
        font-size: 15px;
    }

    .card-header {
        padding: 0px 25px;
    }

    .card_body {
        padding: 30px 25px;
    }

    .options span, .options a {
        font-size: 14px;
        height: 31px;
        padding: 0px 13px;
    }

    .discover-link {
        font-size: 14px;
    }

    .options {
        margin-top: 40px;
    }
	
.product_project h2.f_56 {
    margin-bottom: 50px;
}
}