/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
    color: #333;
}

.spinner {
    text-align: center;
    margin-top: 10px;
}

.loader {
    border: 4px solid #f3f3f3; /* Light gray */
    border-top: 4px solid #4CAF50; /* Green */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.spinner p {
    font-size: 0.9rem;
    color: #555;
    margin-top: 5px;
}
/* Hero Section
.hero {
    background: linear-gradient(to right, #ff7eb3, #ff758c);
    text-align: center;
    padding: 60px 20px;
    color: #fff;
}
*/

.hero {
    background: linear-gradient(to right, rgba(255, 126, 179, 0.8), rgba(255, 117, 140, 0.8)), 
                url('../images/product3.png') no-repeat center center/cover;
    text-align: center;
    padding: 60px 20px;
    color: #fff;
}
.hero h1 {
    font-size: 2.5rem;
}

.hero p {
    font-size: 1.2rem;
}

.cta-btn {
    background: #ff4f7b;
    color: #fff;
    border: none;
    padding: 25px 50px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 50px;
    transition: 0.3s ease-in-out;
}

.cta-btn:hover {
    background: #ff2b63;
}

/* Animating Arrow */
.arrow-container {
    position: relative;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.arrow {
    margin-top: 10px;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-left: 5px solid #ff4f7b;
    border-bottom: 5px solid #ff4f7b;
    transform: rotate(-45deg);
    animation: bounce 0.5s infinite;
}

.arrow2 {
    margin-top: 20px;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-left: 5px solid white;
    border-bottom: 5px solid white;
    transform: rotate(-45deg);
    animation: bounce 0.5s infinite;
}

button:disabled {
    cursor: not-allowed;
    background-color: #ccc; /* Faded background for disabled state */
    color: #666; /* Faded text color */
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0) rotate(-45deg);
    }
    50% {
        transform: translateX(-50%) translateY(-10px) rotate(-45deg);
    }
}

/* Pricing Section */
#pricing {
    text-align: center;
    background: #fff;
    padding: 20px;
    margin: 20px 0;
}

#pricing .old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 1.5rem;
}

#pricing .offer-price {
    color: #ff4f7b;
    font-size: 2rem;
    font-weight: bold;
}

/* Product Section */
#product {
    background: #f9f9f9;
    padding: 40px 20px;
    text-align: center;
    margin: 20px 0;
}

#product h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.product-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.product-image {
    width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-description {
    font-size: 1.2rem;
    color: #555;
    max-width: 600px;
    line-height: 1.6;
    text-align: center;
    margin: 0 auto;
}


/* Timer Section */
#timer {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 20px;
    background: #ffebee;
    color: #c62828;
}

/* Benefits Section */
#benefits {
    padding: 40px 20px;
    text-align: center;
    background: #fff;
}

#benefits h2 {
    font-size: 2rem;
}

#benefits ul {
    list-style: none;
    padding: 0;
}

#benefits li {
    font-size: 1.2rem;
    margin: 10px 0;
}

/* Testimonials */
#testimonials {
    background: #ffdde1;
    padding: 40px 20px;
    text-align: center;
}

.testimonial {
    font-size: 1.2rem;
    margin: 10px 0;
}

.testimonial img {
    width: 60%;
    height: auto;
    margin-bottom: 10px;
}

/* Before and After Section */
#before-after {
    background: #fff;
    padding: 40px 20px;
    text-align: center;
}

#before-after h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

#before-after p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.before-after-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.before, .after {
    text-align: center;
    max-width: 100%; /* Adjust as needed */
}

.before img, .after img {
    width: 100%; 

    height: 640px; 
   /* object-fit: cEnsures the image scales proportionally and fills the area */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.before h3, .after h3 {
    font-size: 1.5rem;
    margin: 10px 0;
}
/* Additional Content */
#additional-content {
    background: #fff;
    padding: 20px 10px; /* Reduced padding */
    text-align: center;
    max-width: 1000px; /* Increased width */
    margin: 0 auto; /* Centered */
}

#additional-content h2 {
    font-size: 2rem;
    margin-top: 20px;
}

#additional-content p, #additional-content ul {
    font-size: 1.2rem;
    margin: 10px 0;
}

#additional-content ul {
    list-style: none;
    padding: 0;
}

#additional-content li {
    margin: 10px 0;
}

/* FAQ Section */
.faq {
    text-align: left;
    margin: 10px auto; /* Reduced margin */
    max-width: 800px; /* Increased width */
}

.faq h3 {
    font-size: 1.5rem;
    margin: 10px 0;
}

.faq p {
    font-size: 1.2rem;
    margin: 10px 0;
}

/* Order Form */
#order-form {
    background: #fff;
    padding: 20px 10px; /* Reduced padding */
    text-align: center;
    max-width: 800px; /* Increased width */
    margin: 20px auto; /* Reduced margin */
}

#order-form h2 {
    font-size: 2rem;
}

form {
    max-width: 600px; /* Increased width */
    margin: auto;
    text-align: center;
}
.form-group input, .form-group textarea {
    width: 80%;
    margin: 10px 0;
}

input, textarea {
    width: 100%;
    padding: 15px; /* Increased padding */
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 1rem;
}

.submit-btn {
    background: #ff4f7b;
    color: white;
    padding: 15px;
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #ff2b63;
}

/* Responsive Design */

/* Laptop View */
@media (min-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.5rem;
    }

    .cta-btn {
        font-size: 1.5rem;
        padding: 20px 40px;
    }

    #benefits h2, #testimonials h2, #before-after h2, #additional-content h2 {
        font-size: 2.5rem;
    }

    #benefits li, #additional-content p, #additional-content ul {
        font-size: 1.5rem;
    }

    .testimonial img {
        width: 60%;
    }

    .before img, .after img {
        max-width: 400px;
    }

    .product-container {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .product-image {
        width: 400px;
    }

    .product-description {
        text-align: left;
        max-width: 500px;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-btn {
        font-size: 1rem;
        padding: 10px 20px;
    }

    #benefits h2, #testimonials h2, #before-after h2, #additional-content h2 {
        font-size: 1.8rem;
    }

    #benefits li, #additional-content p, #additional-content ul {
        font-size: 1rem;
    }

    .testimonial img {
        width: 90%;
    }

    .before img, .after img {
        max-width: 100%;
    }

    .before-after-container {
        flex-direction: column;
        align-items: center;
    }

    #order-form {
        max-width: 90%; /* Adjusted for mobile */
    }

    form {
        max-width: 100%; /* Adjusted for mobile */
    }
}