/* main container to hold the whole staggered area */
.stagger-stage {
    position: relative;
    width: 100%;
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #ffffff;
}

/* inner wrapper for flexible centering */
.stagger-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
}

/* section header matching the image style */
.section-header {
    text-align: center;
    /* font-size: 2.2rem; */
    /* color: #1a446c; */
    /* Elegant deep blue tone */
    margin-bottom: 50px !important; 
    /* font-weight: 500; */
}

/* ---- STAGGERED GRID (default: staircase effect) ---- */
.products-stagger {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 90px 26px;
    flex-wrap: wrap;
    transition: all 0.2s ease;
}

/* each card wrapper with custom margin to create "downward" stagger */
.stagger-card {
    flex: 1;
    min-width: 30%;
    /* max-width: 360px; */
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1), margin 0.3s ease;
    will-change: transform;
    height: auto;
}

/* Staggered vertical offset (Now controlled by GSAP) */
.stagger-card {
    margin-top: 0;
}

/* Card aesthetics matching image layout precisely */
.showcase-card {
    background-color: #16426a;
    /* Deep Navy Blue container from screenshot */
    border-radius: 12px;
    /* overflow: hidden; */
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s, transform 0.3s;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: 0;
    height: 100%;
}

.showcase-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* canvas / 3D area containing your interaction layer */
.canvas-area {
    width: 100%;
    height: 240px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    position: relative;
    cursor: grab;
    background: transparent;
    /* pure white canvas background like image profile frames */
    border-radius: 16px;
    /* rounded inner frames */
    margin-bottom: 20px;
    overflow: hidden;
    margin-top: -40px;
}

.canvas-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.canvas-area:active {
    cursor: grabbing;
}

/* action arrow button integrated into card design */
.action-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
    backdrop-filter: blur(2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.action-btn:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

.action-btn svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #16426a;
    stroke-width: 2.5;
}

/* Information layout panel underneath canvas */
.info-panel {
    width: 100%;
    text-align: center;
    color: #ffffff;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: #ffffff;
    font-family: 'Merriweather';
}

.product-description {
    font-size: 16px !important;
    font-weight: 400;
    color: var(--secondary-color);
    line-height: 1.5 !important;
}

.stagger-stage.ylw .showcase-card {
    background-color: var(--secondary-color);
}

.stagger-stage.ylw .product-title {
    color: var(--blue);
}

.blog_even_odd .stagger-card:nth-child(3n + 2) .showcase-card {
    background-color: var(--secondary-color);
    color: var(--blue);
}

.blog_even_odd .stagger-card:nth-child(3n + 2) .product-title {
    color: var(--blue);
}

/* 3D Box core configurations (Preserving intact geometry layers) */
.box-3d {
    width: 140px;
    height: 140px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-15deg) rotateY(25deg);
    transition: transform 0.05s linear;
}

.face {
    position: absolute;
    backface-visibility: hidden;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 6px;
}


/* Box skin modified to blend beautifully into white canvas frame */
.face {
    background-color: #f7f9fb;
    border: 1px solid rgba(22, 66, 106, 0.12);
    color: #16426a;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.03);
}

.box-3d,
.face.front,
.face.back {
    width: 140px;
    height: 140px;
}

.face.left,
.face.right {
    width: 60px;
    height: 140px;
}

.face.top,
.face.bottom {
    width: 140px;
    height: 60px;
}

.face.front {
    transform: rotateY(0deg) translateZ(30px);
}

.face.back {
    transform: rotateY(180deg) translateZ(30px);
}

.face.left {
    transform: rotateY(-90deg) translateZ(30px);
    left: 40px;
}

.face.right {
    transform: rotateY(90deg) translateZ(110px);
    left: 40px;
}

.face.top {
    transform: rotateX(90deg) translateZ(30px);
    top: 40px;
}

.face.bottom {
    transform: rotateX(-90deg) translateZ(110px);
    top: 40px;
}

.face h4 {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
    margin-bottom: 4px;
}

.box-main-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: #16426a;
    text-align: center;
}

.box-sub-text {
    font-size: 0.42rem;
    opacity: 0.8;
    line-height: 1.3;
    margin-top: 2px;
    text-align: center;
}

.graphic-container {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pill-shape {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #16426a, #2a5d8c);
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
}

.organic-blob {
    width: 48px;
    height: 48px;
    background: #d1ab66;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
}

.leaf-svg {
    width: 24px;
    height: 24px;
    fill: rgba(255, 255, 255, 0.85);
}

.box-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 0.42rem;
    opacity: 0.65;
}

@media (max-width:1199px) {
    .animated-line.Card {
        height: 50vh;
    }

    .products-stagger {
        gap: 90px 6px;
        padding-bottom: 40px;
    }

    .stagger-card {
        min-width: 49%;
        max-width: 49%;
    }
    .listing{
        font-size: 16px;
    }
    .info-panel h3{
        font-size: 2.458vw;
    }
    .contain-hover.ineer-cont .card{
        flex: 33% !important;
        height: calc(50vh - 100px);
    }
    .txt-con {
        position: absolute;
        bottom: 24px;
        left: 24px;
        right: 10px;
    }
}


@media (max-width: 780px) {
    .stagger-wrapper {
        padding: 0 0px;
    }

    .products-stagger {
        flex-direction: column;
        align-items: center;
        gap: 90px;
    }

    .stagger-card {
        max-width: 100%;
        width: 100%;
        margin-top: 0 !important;
    }
}

/* Scroll fade instructions label */
.scroll-hint {
    text-align: center;
    margin-top: 40px;
    font-size: 0.8rem;
    color: #16426a;
    letter-spacing: 0.5px;
    opacity: 0.5;
}



.buld-comnty {
    /* height: 100vh; */
    background: var(--blue);
}

.buld-comnty .testimonial-slider {
    margin-top: 0;
    height: 80vh;
}

.buld-comnty .swiper-wrapper {
    align-items: center;
}

.buld-comnty .swiper-button-prev {
    display: flex;
}

.buld-comnty .testimonial-slider .swiper-slide:after {
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    background: linear-gradient(0deg, #134168, #1c6082, #8ed3f2);
    opacity: .8;
    border-radius: 17px;
    pointer-events: none;
}

.buld-comnty .testimonial-slider .swiper-slide.swiper-slide-active .play-btn {
    opacity: 1;
    bottom: 30px;
    right: 20px;
    background: none;
    box-shadow: none;
    /* font-size: 160px; */
}

.buld-comnty .testimonial-slider .swiper-slide.swiper-slide-active .play-btn embed {
    width: 100%;
}

.buld-comnty .slide-title {
    color: #fff;
    position: absolute;
    bottom: -60px;
    display: flex;
    justify-content: center;
    width: 100%;
    display: none;
    font-size: 1.5rem;
}

.buld-comnty .swiper-horizontal>.swiper-pagination-bullets,
.buld-comnty .swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 0px;
}

.buld-comnty .testimonial-slider .swiper {
    height: 100%;
    padding-bottom: 100px;
}

.buld-comnty .testimonial-slider .swiper-slide.swiper-slide-active {
    overflow: visible;
    border: none;
}

.buld-comnty .testimonial-slider .swiper-slide.swiper-slide-active .slide-title {
    display: block;
}

.buld-comnty .testimonial-slider .swiper-slide.swiper-slide-active .box-section {
    border: 4px solid #fff5e6;
    border-radius: 30px;
    overflow: hidden;
}

.buld-comnty .testimonial-slider .swiper-slide.swiper-slide-active:after {
    display: none;
}

.buld-comnty .testimonial-slider .swiper-slide.swiper-slide-active .box-section:after {
    content: '';
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: .8;
    border-radius: 17px;
    pointer-events: none;
    height: 15px !important;
    top: auto !important;
    bottom: 0 !important;
    background: var(--secondary-color) !important;
    border-radius: 0px 0px 30px 30px;
}

.buld-comnty .slid-cont {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    transition: all 0.8s linear;
    opacity: 0;
}

.buld-comnty .testimonial-slider .swiper-slide.swiper-slide-active:hover .slid-cont {
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    text-align: left;
    color: #fff;
    background: linear-gradient(0deg, #082843, hsl(200deg 77.24% 21.45% / 73%), hsl(199deg 79% 75% / 70%));
    transition: all 0.8s linear;
    opacity: 1;
}

.buld-comnty .swiper-pagination-bullet-active {
    background: var(--secondary-color);
}

.canvas-area {
    perspective: 1000px;
}

.flip-box {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.stagger-card:hover .flip-box {
    transform: rotateY(180deg);
    transition: all 0.5s linear;
}

.flip-front,
.flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
}

.flip-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.flip-back {
    transform: rotateY(180deg);
    transition: all 0.5s linear;
    background: transparent;
    /* customize this — back face color */
}

@media (max-width:1199px) {
    .buld-comnty .box-section .img-section {
        height: 100% !important;
    }

    .buld-comnty .testimonial-slider {
        height: 60vh;
    }
}

@media (max-width:767px) {
    .product-title {
        font-size: 1.3rem;
    }

    .section-header {
        font-size: 6vw;
        margin-bottom: 20px;
    }

    .stagger-stage {
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .showcase-card h3 {
        font-size: 4.458vw;
    }

    .buld-comnty .testimonial-slider .swiper-slide.swiper-slide-active {
        padding: 20px;
    }

    .buld-comnty .slide-title {
        bottom: -30px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        top: 42%
    }

    .buld-comnty .testimonial-slider .swiper {
        padding-bottom: 70px;
    }

    /* reset desktop rule effect (important) */
    .blog_even_odd .stagger-card .showcase-card {
        background-color: var(--blue);
    }

    .blog_even_odd .stagger-card .product-title {
        color: var(--secondary-color);
    }

    /* apply even */
    .blog_even_odd .stagger-card:nth-child(even) .showcase-card {
        background-color: var(--secondary-color);
    }

    .blog_even_odd .stagger-card:nth-child(even) .product-title {
        color: var(--blue);
    }

    .contain-hover.ineer-cont .card{
        margin: 10px 0px;
        height: 300px !important;
        max-height: 300px;
        flex: unset !important;
        width: 100%;
    }
    .contain-hover.ineer-cont .card::before{
        background: linear-gradient(0deg, #134168db 25%, transparent 50%);
    }

}



/* Spacer sections to enable scrolling */
.srui-spacer {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.2rem;
}

/* Main container */
.srui-container {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 40px 20px;
}

/* Row layout - alternating image left/right */
.srui-row {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 80px;
    min-height: 400px;
}

.srui-row.srui-reverse {
    flex-direction: row-reverse;
}

/* Image wrapper */
.srui-img-wrap {
    flex: 1.2;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 3;
    height: 50vh;
}

.srui-img-wrap>.srui-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

/* Card wrapper */
.srui-card-wrap {
    flex: 0.8;
    position: relative;
    z-index: 2;
    margin-left: -60px;
}

.srui-row.srui-reverse>.srui-card-wrap {
    margin-left: 0;
    margin-right: -60px;
}

/* Card styling */
.srui-card {
    background: #D4A84B;
    border-radius: 16px;
    padding: 40px 35px;
    padding-left: 80px;
    color: #1a2a4a;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.srui-reverse .srui-card {
    padding-left: 35px;
    padding-right: 80px;
}

.srui-row:nth-child(2)>.srui-card-wrap>.srui-card {
    background: #1a3a5c;
    color: #fff;
}

.srui-row:nth-child(3)>.srui-card-wrap>.srui-card {
    background: #D4A84B;
    color: #1a2a4a;
}

.srui-card>.h2 {
    font-size: 1.867vw;
    
}

.srui-card>.srui-date {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 14px;
    opacity: 0.9;
}

.srui-card>.srui-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: 20px;
}

/* Arrow button */
.srui-arrow {
    width: 44px;
    height: 44px;
    border: 2px solid currentColor;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
}

.srui-arrow:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.srui-arrow>svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.txt1{
    display: -webkit-box;
-webkit-line-clamp: 2;   /* number of lines */
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}



/* Responsive */
@media (max-width: 768px) {

    .srui-row,
    .srui-row.srui-reverse {
        flex-direction: column;
    }

    .srui-card-wrap,
    .srui-row.srui-reverse>.srui-card-wrap {
        margin-left: 0;
        margin-right: 0;
        margin-top: -30px;
        width: 90%;
    }

    .srui-img-wrap>.srui-img {
        height: 250px;
    }
}



/* Extracted page styles */
.yellow-text {
            color: var(--secondary-color)
        }

        .contain-hover.ineer-cont {
            gap: 0px;
        }
