.story-interactive {
    background: #faf7f3;
    padding: 90px 0;
}

.story-heading {
    font-size: 2.4rem;
    font-weight: 700;
    color: #3e2723;
    margin-bottom: 50px;
}

.story-card-wrapper {
    display: flex;
    justify-content: center;
    perspective: 1200px;
}

.story-card {
    width: 750px;
    height: 420px;
    position: relative;
    transform-style: preserve-3d;
    transition: 1s;
}

.story-card.flip {
    transform: rotateY(180deg);
}

/* front */

.story-front {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.story-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-front-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
}

/* back */

.story-back {
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    padding: 40px;
    border-radius: 20px;
    transform: rotateY(180deg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-back p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* floating animation */

.story-card {
    animation: floatCard 2s ease;
}

@keyframes floatCard {
    0% {
        transform: translateY(30px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* mobile */

@media(max-width:768px) {

    .story-card {
        width: 100%;
        height: auto;
    }

    .story-back {
        padding: 25px;
    }

}

.story-card-wrapper {
    display: flex;
    justify-content: center;
    perspective: 1200px;
}

.story-card {
    width: 750px;
    height: 420px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s ease;
}

/* flip trigger */

.story-card.flip {
    transform: rotateY(180deg);
}


/* FRONT */

.story-front {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    transform: rotateY(0deg);
}

.story-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* BACK */

.story-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: white;
    padding: 40px;

    transform: rotateY(180deg);

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-back p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}


/* floating effect */

.story-card {
    animation: storyFloat 2s ease;
}

@keyframes storyFloat {
    0% {
        transform: translateY(20px)
    }

    50% {
        transform: translateY(-8px)
    }

    100% {
        transform: translateY(0)
    }
}

.story-cinematic {
    background: #faf7f3;
    padding: 100px 0;
    overflow: hidden;
}

/* IMAGE */

.story-image-cinematic {
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.story-image-cinematic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 1.8s ease;
}

/* TEXT */

.story-text-cinematic {
    opacity: 0;
    transform: translateX(60px);
    transition: all 1.2s ease;
}

.story-text-cinematic h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3e2723;
    margin-bottom: 20px;
}

.story-text-cinematic p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

/* ACTIVE STATE */

.story-cinematic.active .story-image-cinematic img {
    transform: scale(1.15);
}

.story-cinematic.active .story-text-cinematic {
    opacity: 1;
    transform: translateX(0);
}

/* MOBILE */

@media (max-width:768px) {

    .story-text-cinematic {
        transform: translateY(40px);
    }

    .story-cinematic.active .story-text-cinematic {
        transform: translateY(0);
    }

    .story-text-cinematic h2 {
        font-size: 1.8rem;
        text-align: center;
    }
    .story-text-cinematic  p{
        text-align: left;
    }

    .story-text-cinematic p {
        text-align: justify;
    }

}

/*new*/
.story-cinematic {
    background: #faf7f3;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}


/* IMAGE */

.story-image-cinematic {
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.story-image-cinematic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 1.8s ease;
}


/* TEXT */

.story-text-cinematic {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 1.2s ease;
    position: relative;
    z-index: 2;
}

.story-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3e2723;
    margin-bottom: 20px;
    position: relative;
}

/* GOLD UNDERLINE */

.story-title::after {
    content: "";
    width: 70px;
    height: 4px;
    background: #c49b63;
    display: block;
    margin-top: 10px;
    border-radius: 6px;
}

/* PARAGRAPH */

.story-text-cinematic p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}


/* SCROLL ACTIVE */

.story-cinematic.active .story-image-cinematic img {
    transform: scale(1.15);
}

.story-cinematic.active .story-text-cinematic {
    opacity: 1;
    transform: translateX(0);
}


/* COFFEE WATERMARK */

/* .story-text-cinematic::before{
content:"\f7b6";
font-family:"Bootstrap-icons";
position:absolute;
font-size:240px;
color:#694006;
opacity:0.05;
top:50%;
left:50%;
transform:translate(-50%,-50%);
pointer-events:none;
z-index:-1;
} */
.story-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 220px;
    color: #694006;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

/* MOBILE */

@media (max-width:768px) {

    .story-text-cinematic {
        transform: translateY(40px);
        text-align: center;
    }

    .story-cinematic.active .story-text-cinematic {
        transform: translateY(0);
    }

    .story-title {
        font-size: 1.8rem;
    }

    .story-title::after {
        margin: auto;
    }

    .story-text-cinematic::before {
        font-size: 160px;
    }
    .founder-text-block p{
        text-align: justify;
    }

}

/*new*/

/*Who we are animated*/

/*Propeitor CSS*/
.founder-spotlight {
    background: #d7c0a4;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}


/* watermark */

.founder-spotlight::before {
    content: "";
    position: absolute;

    width: 380px;
    height: 380px;

    background: url("../assets/images/coffee-bean.svg") center/contain no-repeat;

    opacity: 0.06;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%) rotate(15deg);

    pointer-events: none;

    animation: beanRotate 40s linear infinite;
}


/* ripple */

.founder-ripple {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, #c49b63 0%, transparent 70%);
    opacity: 0;
    transform: scale(.6);
}


/* avatar */

.founder-avatar-wrapper {
    position: relative;
    display: inline-block;
}

.founder-avatar {
    /* width: 260px; */
    /* height: 260px; */
    width: 225px;
    height: 225px;
    border-radius: 50%;
    border: 8px solid #a0713a;
    overflow: hidden;
    transform: scale(.6) rotate(-10deg);
    opacity: 0;
    transition: 1s cubic-bezier(.22, 1, .36, 1);
}

.founder-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* heading */

.founder-heading {
    font-size: 2.4rem;
    font-weight: 700;
    color: #3e2723;
    opacity: 0;
    transform: translateY(40px);
    transition: .8s;
}

.founder-sub {
    font-weight: 600;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(40px);
    transition: .8s;
}


/* paragraph animation */

.reveal-line {
    opacity: 0;
    transform: translateY(30px);
    transition: .8s;
}


/* ACTIVE */

.founder-spotlight.active .founder-avatar {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.founder-spotlight.active .founder-ripple {
    opacity: .4;
    transform: scale(1.2);
    transition: 1.4s;
}

.founder-spotlight.active .founder-heading,
.founder-spotlight.active .founder-sub {
    opacity: 1;
    transform: translateY(0);
}

.founder-spotlight.active .reveal-line {
    opacity: 1;
    transform: translateY(0);
}


/* stagger */

.reveal-line:nth-child(3) {
    transition-delay: .2s
}

.reveal-line:nth-child(4) {
    transition-delay: .4s
}

.reveal-line:nth-child(5) {
    transition-delay: .6s
}


/* watermark rotate */

@keyframes rotateBeans {
    from {
        transform: translate(-50%, -50%) rotate(0deg)
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg)
    }
}

@keyframes beanRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@media (max-width:768px) {

    .founder-spotlight::before {
        width: 220px;
        height: 220px;
        opacity: 0.05;
    }

}

/*Propritor CSS*/

/*Why Choose Us*/
/* flip card */

.flip-card {
    perspective: 1000px;
    height: 100%;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s;
}

/* .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
} */

.flip-card.flipped .flip-card-inner{
transform:rotateY(180deg);
}


/* front */

.flip-card-front {
    backface-visibility: hidden;
    border-radius: 16px;
}


/* back */

.flip-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotateY(180deg);
    backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
}


/* image */

.flip-card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* text overlay */

.card-back-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.8),
            transparent);
    color: white;
}


/* bullet list */

.card-back-content ul {
    padding-left: 18px;
    margin: 0;
    font-size: 14px;
}

@media (hover:hover ){
    .flip-card{
transition:transform .25s ease;
}
}


.flip-card:active{
transform:scale(.96);
}

.flip-card-back{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
transform:rotateY(180deg);
border-radius:16px;
overflow:hidden;
}

.flip-card-back img{
width:100%;
height:100%;
object-fit:cover;
}


/* gradient overlay */



/* list */

.card-back-points{
list-style:none;
padding:0;
margin:0;
}

.card-back-points li{
display:flex;
align-items:center;
font-size:14px;
margin-bottom:6px;
font-weight:500;
letter-spacing:.3px;
}


/* premium bullet */

.point-dot{
width:8px;
height:8px;
background:#c49b63;
border-radius:50%;
margin-right:10px;
box-shadow:0 0 8px rgba(196,155,99,0.8);
}

.flip-card-back{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
transform:rotateY(180deg);
border-radius:16px;
overflow:hidden;
}

.flip-card-back img{
width:100%;
height:100%;
object-fit:cover;
}


/* gradient overlay */




/* list */

.card-back-points{
list-style:none;
padding:0;
margin:0;
}

.card-back-points li{
display:flex;
align-items:center;
font-size:14px;
margin-bottom:6px;
font-weight:500;
letter-spacing:.3px;
}


/* premium bullet */

.point-dot{
width:8px;
height:8px;
background:#c49b63;
border-radius:50%;
margin-right:10px;
box-shadow:0 0 8px rgba(196,155,99,0.8);
}

.premium-points{
display:inline-block;
padding:14px 18px;

/* background:rgba(0,0,0,0.45); */
/* backdrop-filter:blur(6px); */

/* border-radius:10px; */
/* border:1px solid rgba(255,255,255,0.2); */

/* box-shadow:0 8px 25px rgba(0,0,0,0.4); */
width:80%;
}

.point-dot{
width:14px;
height:14px;
background:url("../assets/images/coffee-bean.svg") center/contain no-repeat;
margin-right:10px;
}

.card-back-points li{
color:white;
font-size:14px;
font-weight:500;
letter-spacing:.3px;
text-shadow:0 2px 6px rgba(0,0,0,0.6);
}

.flip-card-back img{
transition:transform 0.8s ease;
}

.flip-card.flipped img{
transform:scale(1.1);
}

.card-back-points{
list-style:none;
padding:0;
margin:0;
}

.card-back-points li{
display:flex;
align-items:flex-start;

font-size:15px;
font-weight:500;
color:white;

margin-bottom:12px;

line-height:1.6;

text-align:justify;
}

.card-back-points{
list-style:none;
padding:0;
margin:0;
}

.card-back-points li{
display:flex;
align-items:flex-start;

font-size:15px;
font-weight:500;
color:white;

margin-bottom:12px;

line-height:1.6;

text-align:justify;
}



.card-back-overlay{
position:absolute;
bottom:0;
left:0;

width:100%;
height:50%;

padding:35px 35px;

display:flex;
align-items:flex-end;
justify-content:flex-start;

background:linear-gradient(
to top,
rgba(0,0,0,0.85),
rgba(0,0,0,0.55),
rgba(0,0,0,0)
);

backdrop-filter:blur(4px);
}

.card-back-points{
margin:0;
padding-left:18px;

color:white;

font-size:15px;
font-weight:500;
line-height:1.8;
text-align:left;
}

.card-back-points li{
margin-bottom:6px;
text-shadow:0 2px 8px rgba(0,0,0,0.7);
}

.card-back-points li::marker{
color:#c49b63;
font-size:12px;
}


/* flip card back image */

.flip-card-back{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
transform:rotateY(180deg);
border-radius:16px;
overflow:hidden;
}

.flip-card-back img{
width:100%;
height:100%;
object-fit:cover;
transition:transform .8s ease;
}

.flip-card.flipped img{
transform:scale(1.1);
}


/* overlay */

.card-back-overlay{
position:absolute;
bottom:0;
left:0;
width:100%;
height:50%;

padding:30px 30px;

display:flex;
align-items:flex-end;

background:linear-gradient(
to top,
rgba(0,0,0,0.85),
rgba(0,0,0,0.55),
rgba(0,0,0,0)
);
}


/* bullet list */

.card-back-points{
margin:0;
padding-left:18px;

color:white;

font-size:15px;
font-weight:500;

line-height:1.7;

text-align:left;
}


/* bullet spacing */

.card-back-points li{
margin-bottom:6px;
text-shadow:0 2px 8px rgba(0,0,0,0.7);
}


/* bullet color */

.card-back-points li::marker{
    list-style-type: circle;
color:#c49b63;
font-size:12px;
}
/*Why Choose Us*/

/* GLASS OVERLAY */
.card-back-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    padding: 30px 35px; /* Keeps content well inside the glass */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Pushes list to the bottom part of the glass */
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.6), transparent);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* LIST CONTAINER */
.card-back-points {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px; /* Consistent vertical spacing between points */
}

/* LIST ITEMS */
.card-back-points li {
    display: flex;
    align-items: center; /* Centers the dot vertically with the text */
    justify-content: flex-start; /* Aligns everything firmly to the left */
    color: white;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    text-shadow: 0 2px 6px rgba(0,0,0,0.8);
    margin: 0; 
}

/* SMALLER, PERFECTLY ALIGNED BULLET POINTS */
.point-dot {
    width: 8px; /* Smaller size */
    height: 8px;
    min-width: 8px; /* Prevents the dot from squishing if text wraps */
    min-height: 8px;
    background: #c49b63;
    border-radius: 50%; /* Keeps it circular */
    margin-right: 12px; /* Space between dot and text */
    box-shadow: 0 0 8px rgba(196,155,99,0.8);
    flex-shrink: 0; /* Ensures the dot never shrinks */
    
    /* Optional: Uncomment below if you strictly want to use your coffee bean SVG */
    /* background: url("../assets/images/coffee-bean.svg") center/contain no-repeat; */
    /* background-color: transparent; */
    /* box-shadow: none; */
}


.flip-card{
perspective:1000px;
height:260px;
}
.flip-card-inner{
position:relative;
width:100%;
height:100%;
transform-style:preserve-3d;
transition:transform .8s;
}
.flip-card-front{
position:absolute;
width:100%;
height:100%;
top:0;
left:0;

backface-visibility:hidden;
z-index:2;
}
.flip-card-back{
position:absolute;
width:100%;
height:100%;
top:0;
left:0;

transform:rotateY(180deg);
backface-visibility:hidden;
}
.flip-card-back{
position:absolute;
width:100%;
height:100%;
top:0;
left:0;

transform:rotateY(180deg);
backface-visibility:hidden;
}
.flip-card{
transform:none;
}

.feature-card-box{
transform:none;
}

body{
-webkit-font-smoothing:antialiased;
-moz-osx-font-smoothing:grayscale;
}
@media (max-width:768px){

.story-image-cinematic{
margin-top:0;
}

.story-image-cinematic img{
width:100%;
height:auto;
display:block;
}

}
.story-image-buttons a{
padding:8px 22px;
font-size:14px;
border-radius:30px;
}
@media (max-width:768px){

.story-image-buttons{
flex-direction:column;
gap:10px;
left:50%;
transform:translateX(-50%);
width:80%;
}

.story-image-buttons a{
width:100%;
text-align:center;
}

}
.story-image-cinematic{
position:relative;
overflow:hidden;
}
