/* Animation setup */

.logo,
img,
.search-bar input,
.menu,
.menu-icon,
.menu-img1,
.menu-img2,
.menu-img3 {
    opacity: 0;
    transform: translateY(-20px) scale(0.8);
    animation: fadeInDown 0.6s ease-out forwards;
}

/* Staggered delays */
.logo {
    animation-delay: 0s;
}
img {
    animation-delay: 0.2s;
}
.search-bar input {
    animation-delay: 0.4s;
}
.menu {
    animation-delay: 0.6s;
}
.menu-icon {
    animation-delay: 0.8s;
}
.menu-img1 {
    animation-delay: 1s;
}
.menu-img2 {
    animation-delay: 1.2s;
}
.menu-img3 {
    animation-delay: 1.4s;
}

/* Corrected Keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


.lines, .line2, .line3, .line4, .line5, .line6, .line7 {
    opacity: 0;
    animation: showLine 0.8s ease forwards;
}

/* Alag-alag delay for each line */
.lines {
    animation-delay: 1.6s;
}

.line2 {
    animation-delay: 2.1s;
}

.line3 {
    animation-delay: 2.9s;
}

.line4 {
    animation-delay: 3.4s;
}

.line5 {
    animation-delay: 3.9s;
}

.line6 {
    animation-delay: 4.4s;
}

.line7 {
    animation-delay: 4.9s;
}

/* Animation keyframes */
@keyframes showLine {
    from {
        opacity: 0;
        transform: scaleX(0.5);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Base animation setup */
.product-name,
.tagline,
.product-details {
    opacity: 0;
    transform: scale(0.8);
    animation: fadeInUp 0.8s ease forwards;
}

.product-name {
    animation-delay: 4.9s;
}

.tagline {
    animation-delay: 5.2s;
}

.product-details {
    animation-delay: 5.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.phone.black,
.phone.white {
    opacity: 0;
    animation: phoneIn 0.8s cubic-bezier(0.25, 1.5, 0.5, 1) forwards;
}

/* Staggered delay */
.phone.black {
    animation-delay: 6.0s;
}

.phone.white {
    animation-delay: 6.5s;
}

/* Animation keyframes */
@keyframes phoneIn {
    from {
        opacity: 0;
        transform: translate(40px, 40px) rotate(-35deg); /* bottom right se aata hua feel */
    }
    to {
        opacity: 1;
        transform: translate(0, 0) rotate(-35deg); /* final position, rotation same */
    }
}

.content{
    position: relative;
    top: 80vh;
    width: 100%;
    height: 100vh;
    /* background-color: red; */
}

