body {
    font-family: 'Arial', sans-serif;
    color: #33131A;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

* {
    overflow-x: hidden;
}

/* Download App Section */
.download-app-section {
    position: relative;
    text-align: center;
}

.download-app-section .section-image {
    content: url("../images/section-1.png");
    width: 100%;
    height: auto;
    display: block;
}

.qr-codes-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: -20px; 
    position: absolute; 
    bottom: 26%; 
    left: 50%; 
    width: 43%; 
    z-index: 1; 
}

.qr-code-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-code-item img {
    max-width: 105px; 
    height: auto;
    margin-bottom: 6px;
}

.qr-code-item img:nth-child(2) {
    max-width: 160px; 
    height: auto;
    margin-top: 4px; 
}

.promo-label {
    display: none;
}

.download-btn {
    position: absolute;
    bottom: 15%; 
    left: 72%; 
    transform: translateX(-50%); 
    background-color: #4A2F2A;
    color: #E5B274;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    border: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease; 
}

.download-btn:hover {
    transform: translateX(-50%) scale(1.05); 
    background-color: #4A2F2A;
    color: #E5B274;
}

.centered-section {
    display: none;
}

/* Coffee Section */
.coffee-section {
    overflow-y: hidden;
    position: relative;
    text-align: center;
}

.coffee-section .background-image {
    content: url('../images/section-2.png');
    width: 100%;
    height: 100%;
    display: block;
}

.coffee-cups {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.coffee-1 {
    content: url('../images/coffee-1.png');
    top: 5%;
    left: -7%;
    width: 100%;
}

.coffee-2 {
    content: url('../images/coffee-2.png');
    top: 37%;
    left: 26%;
    width: 50%;
}

.coffee-3 {
    content: url('../images/coffee-3.png');
    left: 20%;
    top: 60%;
    width: 75%;
}

.coffee-cup {
    position: absolute;
    opacity: 0;
    transition: all 1s cubic-bezier(0.25, 0.1, 0.25, 1); /* Bezier for smooth slide */
}

.active-1 {
    animation: slideInRight 1.5s forwards;
}
.active-2 {
    animation: slideInLeft 1.5s 1.5s forwards;
}
.active-3 {
    animation: slideInRight 1.5s 3s forwards;
}

.reverse-active-3 {
    animation: slideInRight 1.5s forwards;
}
.reverse-active-2 {
    animation: slideInLeft 1.5s 1.5s forwards;
}
.reverse-active-1 {
    animation: slideInRight 1.5s 3s forwards;
}

.deactive-1 {
    animation: slideOutRight 1.5s forwards;
}
.deactive-2 {
    animation: slideOutLeft 1.5s 1.5s forwards;
}
.deactive-3 {
    animation: slideOutRight 1.5s 3s forwards;
}

.deactive-reverse-3 {
    animation: slideOutRight 1.5s forwards;
}
.deactive-reverse-2 {
    animation: slideOutLeft 1.5s 1.5s forwards;
}
.deactive-reverse-1 {
    animation: slideOutRight 1.5s 3s forwards;
}

/* Slide In from the Right */
@keyframes slideInRight {
    0% {
        transform: translateX(200%);
        opacity: 0;
    }
    80% {
        transform: translateX(-3%);
        opacity: 1;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Slide In from the Left */
@keyframes slideInLeft {
    0% {
        transform: translateX(-200%);
        opacity: 0;
    }
    80% {
        transform: translateX(3%);
        opacity: 1;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Slide Out to the Right */
@keyframes slideOutRight {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    20% {
        transform: translateX(-3%);
        opacity: 1;
    }
    100% {
        transform: translateX(200%);
        opacity: 0;
    }
}

/* Slide Out to the Left */
@keyframes slideOutLeft {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    20% {
        transform: translateX(3%);
        opacity: 1;
    }
    100% {
        transform: translateX(-200%);
        opacity: 0;
    }
}

/* Food Section */
.food-section {
    width: 100%;
    text-align: center;
    padding: 0;
}

.food-section .food-image {
    content: url('../images/section-3.jpg');
    width: 100%;
    height: auto;
}

.instant-features-section {
    padding: 60px 0 0 0;
    text-align: center;
    background-color: #FFFFFF;
}

.instant-features-section .title img {
    max-width: 40%;
    height: auto;
}

.features {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 10px; 
    transition: transform 0.5s ease; /* Smooth transition for sliding */
}

.feature {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
}

.feature video {
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.feature img {
    max-width: 100%;
    height: 90px;
    margin: 0 auto;
}

.order img {
    content: url('../images/order-description.png');
}

.special img {
    content: url('../images/special-deals-description.png');
}

.seamless img {
    content: url('../images/seamless-payment-description.png');
}

.new-user-perks-section {
    position: relative; /* Important for absolute children */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Prevent section from extending due to absolute positioning */
    padding-bottom: 20px; /* Space for dots or other elements */
    max-width: 100%;
}


.new-user-perks-section .section-image {
    content: url('../images/section-5.png');
    max-width: 100%;
    height: auto;
    display: block;
}

.perk-slider {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

.perk-slide {
    position: absolute;
    margin-bottom: 30px;
    transform: translate(-50%, -50%);
    transition: transform 0.4s ease-in-out, left 0.4s ease-in-out;
}

.perk-slide.left {
    width: 100%;
    left: -30%; /* Left position for left perk */
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 1;
}

.perk-slide:nth-child(1).left {
    top: 42%;
}

.perk-slide:nth-child(2).left {
    top: 35%;
}

.perk-slide:nth-child(3).left {
    display: none;
    top: 37%;
}

.perk-slide.right {
    width: 100%;
    left: 80%; /* Right position for right perk */
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 1;
}

.perk-slide:nth-child(1).right {
    display: none;
    top: 42%;
}

.perk-slide:nth-child(2).right {
    top: 35%;
}

.perk-slide:nth-child(3).right {
    top: 37%;
}

.perk-slide.active {
    width: 100%;
    left: 0%; /* Centered position */
    transform: translate(-50%, -50%) scale(1.1);
    z-index: 2;
    text-align: center;
}

.perk-slide:nth-child(1).active {
    top: 33%;
}

.perk-slide:nth-child(2).active {
    top: 26%;
}

.perk-slide:nth-child(3).active {
    top: 27%;
}

.perk-dots {
    display: block;
    text-align: center;
    margin-top: 90px;
    margin-bottom: 40px;
}

.perk-dot {
    height: 15px;
    width: 15px;
    margin: 0 15px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
}

.perk-dot.active {
    background-color: #000;
}

.download-now-section {
    position: relative;
    text-align: center;
}

.download-now-section .section-image {
    content: url('../images/section-6.png');
}

.download-now-section img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.qr-codes-container-2 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: -20px; 
    position: absolute; 
    bottom: 31%; 
    left: 28.5%; 
    width: 43%; 
    z-index: 1; 
}

.qr-code-item-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-code-item-2 img {
    max-width: 105px; 
    height: auto;
    margin-bottom: 6px;
}

.qr-code-item-2 img:nth-child(2) {
    max-width: 160px; 
    height: auto;
    margin-top: 4px; 
}

.download-now-btn {
    position: absolute;
    bottom: 20%; 
    left: 50%;
    transform: translateX(-50%); 
    background-color: #4A2F2A;
    color: #E5B274;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    border: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease; 
}

.download-now-btn:hover {
    transform: translateX(-50%) scale(1.05);
    background-color: #4A2F2A;
    color: #E5B274;
}

