/* General Styles */
:root {
    --red-color: #FF0000;
    --white-color: #FFFFFF;
    --black-color: #1A1A1A; /* Slightly softer black */
    --gray-light: #f5f5f5;
    --gray-dark: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body a{
    text-decoration: none;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--black-color);
    background-color: var(--white-color);
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: var(--black-color);
    color: var(--white-color);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* New: Logo Image container and style */
.logo-img-container {
    display: flex; /* To center the image if needed */
    align-items: center;
    height: 40px; /* Control height of the logo container */
}

.header-logo {
    height: 80px; /* Adjust based on your logo's aspect ratio and desired size */
    width: auto;
    display: block;
    filter: brightness(1.2); /* Make the logo pop a bit against black */
    border-radius: 10px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--white-color);
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    transition: color 0.3s ease;
    justify-content: center;
}

.nav-links a:hover {
    color: var(--red-color);
}

.btn {
    display: inline-block;
    padding: 16px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-download {
    background-color: var(--red-color);
    color: var(--white-color);
    border: 2px solid var(--red-color);
}

.btn-download:hover {
    background-color: var(--white-color);
    color: var(--red-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

/* Hero Section */
.hero-section {
    /* Dynamic background with gradients and abstract shapes */
    background: 
        radial-gradient(circle at 10% 20%, rgba(255,0,0,0.2) 0%, rgba(255,0,0,0.05) 20%, transparent 80%),
        radial-gradient(circle at 90% 80%, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 20%, transparent 80%),
        linear-gradient(135deg, var(--black-color) 0%, var(--red-color) 100%);
    color: var(--white-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px; /* Offset for fixed header */
    position: relative;
    overflow: hidden; /* For image animations */
}

.hero-section .container {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: left;
    text-align: left;
    z-index: 1;
}

.hero-content h1 {
    font-size: 2.2rem; /* Slightly larger for impact */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Add subtle shadow */
}

.hero-content p {
    font-size: 1.0rem; /* Slightly larger */
    margin-bottom: 30px;
    max-width: 400px;
    opacity: 0.95; /* Make slightly more opaque */
}

.hero-content .sub-headline {
    font-size: 1.0rem; /* Slightly larger */
    margin-top: -15px;
    margin-bottom: 50px; /* More space before buttons */
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: left;
    flex-wrap: wrap;
}

/* Removed app-store-btn styles as it's no longer in use */
.app-store-btn { /* Keeping the class to prevent errors, but it's display: none */
    display: none;
}

.play-store-btn {
    background-color: var(--white-color);
    color: var(--black-color);
    font-size: 1.2rem; /* Slightly larger */
    padding: 15px 35px; /* More padding */
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); /* Stronger shadow */
    transition: all 0.3s ease;
}

.play-store-btn:hover {
    background-color: var(--red-color);
    color: var(--white-color);
    transform: translateY(-7px) scale(1.03); /* More pronounced hover */
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.5); /* Stronger red shadow */
}

.play-store-btn i {
    font-size: 1.8rem; /* Larger icon */
}

.hero-image {
    position: absolute;
    bottom: 5%; /* Adjusted positioning */
    right: 5%;
    display: flex;
    gap: 30px; /* More gap between phones */
    transform: translateY(100px); /* Start off-screen */
    opacity: 0; /* Hidden initially */
    transition: all 1s ease-out;
    perspective: 1000px; /* For 3D transforms */
}

.hero-image img {
    width: 280px; /* Larger phone mockups */
    height: auto;
    border-radius: 20px; /* More rounded corners */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5); /* Stronger shadow */
    transform: rotateY(18deg) rotateX(8deg) translateY(10px); /* More pronounced 3D effect */
    transition: transform 0.6s ease-out, box-shadow 0.3s ease;
    border: 5px solid rgba(255, 255, 255, 0.1); /* Subtle border to pop */
}

.hero-image img:first-child {
    transform: rotateY(-18deg) rotateX(-8deg) translateY(-10px); /* Opposite 3D effect */
}

.hero-image img:hover {
    transform: scale(1.05) translateY(-20px) !important; /* General hover for both */
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}


/* Sections General */
section {
    padding: 100px 0;
    text-align: center;
    background-color: var(--white-color);
}

section:nth-of-type(even) {
    background-color: var(--gray-light);
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 25px;
    font-weight: 700;
    color: var(--black-color);
}

.section-description {
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: var(--gray-dark);
}

/* About Section */
.about-section {
    padding-top: 80px; /* More space due to fixed header */
    padding-bottom: 30px;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: px;
}

.fa-cart-shopping{
    color: #FF0000;
    font-size: 2.0rem;
}

.feature-item {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--red-color);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--black-color);
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--gray-dark);
}

/* How It Works Section */
.how-it-works-section .steps-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}

.step-item {
    background-color: var(--white-color);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.step-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    background-color: var(--red-color);
    color: var(--white-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
    border: 3px solid var(--white-color);
}

.step-icon {
    font-size: 4rem;
    color: var(--red-color);
    margin-bottom: 25px;
    margin-top: 20px; /* Space for step number */
}

.step-item h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--black-color);
}

.step-item p {
    font-size: 1rem;
    color: var(--gray-dark);
}


/* Testimonials Section */
.testimonials-section {
    background-color: var(--black-color);
    color: var(--white-color);
}

.testimonials-section .section-title {
    color: var(--white-color);
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
    height: 150px; /* Adjust height based on content */
    overflow: hidden;
}

.testimonial-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    text-align: center;
    transform: scale(0.9);
    pointer-events: none; /* Allows clicks through inactive slides */
}

.testimonial-item.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.testimonial-item p {
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--white-color);
    line-height: 1.5;
}

.testimonial-item cite {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--red-color);
    display: block;
    margin-top: 10px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    height: 12px;
    width: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background-color: var(--red-color);
    transform: scale(1.2);
}

/* Download Section */
.download-section {
    background-color: var(--red-color);
    color: var(--white-color);
    padding: 80px 0;
}

.download-section .section-title {
    color: var(--white-color);
    margin-bottom: 20px;
}

.download-section .section-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.download-section .cta-buttons .btn {
    background-color: var(--white-color);
    color: var(--red-color);
    font-size: 1.3rem; /* Slightly larger */
    padding: 20px 40px; /* More padding */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); /* Stronger shadow */
}

.download-section .cta-buttons .btn:hover {
    background-color: var(--black-color);
    color: var(--white-color);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    transform: translateY(-5px); /* More pronounced hover */
}


/* Contact Section */
.contact-section {
    background-color: var(--white-color);
}

.contact-info {
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: var(--gray-dark);
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-info i {
    color: var(--red-color);
    font-size: 1.4rem;
}

.contact-info a {
    color: var(--red-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--red-color);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.2);
    outline: none;
}

.contact-form .send-message-btn {
    background-color: var(--red-color);
    color: var(--white-color);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 15px 30px;
}

.contact-form .send-message-btn:hover {
    background-color: var(--black-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background-color: var(--black-color);
    color: var(--white-color);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer p {
    margin-bottom: 10px;
}

.footer a {
    color: var(--red-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    text-decoration: underline;
}

/* --- Animations --- */

/* Keyframe for bounce effect */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.animate-bounce {
    animation: bounce 2s infinite ease-in-out;
}

/* Initial hidden state for on-scroll animations */
.animate-fade-in,
.animate-slide-up,
.animate-slide-up-small,
.animate-scale-up,
.animate-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hero-section .animate-text {
    transform: translateY(0); /* Override initial for hero text */
    opacity: 1;
    animation: text-appear 1s ease-out forwards;
}

@keyframes text-appear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section .animate-text:nth-child(1) { animation-delay: 0.3s; }
.hero-section .animate-text:nth-child(2) { animation-delay: 0.6s; }
.hero-section .animate-text:nth-child(3) { animation-delay: 0.9s; }


/* Classes added by JavaScript when element is in view */
.animated.animate-fade-in {
    opacity: 1;
    transform: translateY(0);
}

.animated.animate-slide-up {
    opacity: 1;
    transform: translateY(0);
}

.animated.animate-slide-up-small {
    opacity: 1;
    transform: translateY(0);
}

.animated.animate-scale-up {
    opacity: 1;
    transform: scale(1);
}

/* Specific animations for Hero Images */
.hero-section.active .hero-image {
    opacity: 1;
    transform: translateY(0);
}


/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .header-logo {
        height: 35px;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-content p {
        font-size: 1.2rem;
    }
    .hero-image {
        flex-direction: row; /* Keep side-by-side if space allows */
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 50px;
        justify-content: center;
        gap: 20px;
    }
    .hero-image img {
        width: 200px;
        height: auto;
        transform: none !important; /* Reset 3D transform on smaller screens for better stacking */
        border-radius: 15px;
    }
    .hero-image img:hover {
        transform: scale(1.05) translateY(-10px) !important; /* Simplified hover */
    }
    .features-grid, .steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        justify-content: center;
    }
    .step-item {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }
    .header-logo {
        height: 30px;
    }
    .nav-links {
        display: none; /* Hide for mobile for simplicity, could add a hamburger menu */
    }
    .btn-download {
        font-size: 0.9rem;
        padding: 8px 18px;
    }
    .hero-section {
        min-height: 90vh; /* Adjust height for mobile */
        padding-bottom: 50px; /* Ensure space for content */
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .play-store-btn {
        font-size: 1.1rem;
        padding: 12px 28px;
    }
    .hero-image {
        flex-direction: column; /* Stack phones vertically */
        align-items: center;
        gap: 15px;
    }
    .hero-image img {
        width: 180px;
    }
    .section-title {
        font-size: 2rem;
    }
    .section-description {
        font-size: 1rem;
    }
    .testimonial-item p {
        font-size: 1.2rem;
    }
    .download-section .cta-buttons .btn {
        font-size: 1.1rem;
        padding: 15px 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .hero-image img {
        width: 150px;
    }
    .section-title {
        font-size: 1.7rem;
    }
    .feature-item h3, .step-item h3 {
        font-size: 1.4rem;
    }
    .feature-item p, .step-item p {
        font-size: 0.9rem;
    }
    .testimonial-item p {
        font-size: 1rem;
    }
}