/* Global Styles */
:root {
    --primary-color: #2e7d32; /* Dark Green */
    --secondary-color: #81c784; /* Light Green */
    --accent-color: #1b5e20; /* Darker Green */
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --text-color: #333333;
    --urdu-font: 'Noto Nastaliq Urdu', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

section {
    padding: 4rem 0;
}

.urdu {
    font-family: var(--urdu-font);
    text-align: right;
    direction: rtl;
}

/* Special Offer Section */
#special-offer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

#special-offer h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 1.5rem;
}

.countdown-item {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 15px 20px;
    min-width: 100px;
}

.countdown-item span {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.countdown-item p {
    font-size: 1rem;
    margin-bottom: 0;
}

.countdown-separator {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

/* Product Description Section */
#product-description {
    background-color: var(--white);
    text-align: center;
}

#product-description h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.product-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.product-text {
    flex: 1;
    text-align: left;
}

.product-video {
    flex: 1;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* Benefits Section */
#benefits {
    background-color: var(--light-gray);
}

#benefits h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.benefits-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefits-english, .benefits-urdu {
    flex: 1;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.benefits-urdu {
    text-align: right;
    direction: rtl;
}

.benefits-english h3, .benefits-urdu h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.benefits-english ul, .benefits-urdu ul {
    list-style: none;
}

.benefits-english li, .benefits-urdu li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.benefits-english li i, .benefits-urdu li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.benefits-urdu li i {
    margin-right: 0;
    margin-left: 10px;
}

/* How to Use Section */
#how-to-use {
    background: linear-gradient(135deg, var(--white), var(--secondary-color) 70%);
    text-align: center;
}

#how-to-use h2 {
    margin-bottom: 3rem;
}

.steps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    background-color: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.step-number {
    background-color: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

.step-content p {
    margin-bottom: 0.5rem;
}

.step-content .urdu {
    margin-top: 0.5rem;
}

/* FAQ Section */
#faq {
    background-color: var(--white);
}

#faq h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.faq-english, .faq-urdu {
    flex: 1;
}

.faq-urdu {
    text-align: right;
    direction: rtl;
}

.accordion {
    width: 100%;
}

.accordion-item {
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-header {
    background-color: var(--light-gray);
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.accordion-content {
    background-color: var(--white);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 1rem 1.5rem;
    max-height: 500px;
}

#faq .btn-primary {
    display: block;
    max-width: 200px;
    margin: 2rem auto 0;
}

/* Testimonials Section */
#testimonials {
    background-color: var(--light-gray);
    text-align: center;
}

#testimonials h2 {
    margin-bottom: 3rem;
}

.testimonials-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonial {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.testimonial.urdu {
    text-align: right;
}

.stars {
    color: #ffc107;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-source {
    font-weight: 600;
    color: var(--primary-color);
}

/* Trust Badges Section */
#trust-badges {
    background-color: var(--white);
    text-align: center;
    padding: 3rem 0;
}

.badges-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.badge {
    text-align: center;
    padding: 1rem;
    flex: 1;
    min-width: 150px;
}

.badge i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.badge p {
    font-weight: 600;
    margin-bottom: 0;
}

/* Order Form Section */
#order-form {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    text-align: center;
}

#order-form h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.free-delivery {
    margin-bottom: 2rem;
}

.free-delivery h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

#nijat-order-form {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

#submit-order {
    width: 100%;
}

#submit-order:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Footer */
footer {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section p {
    margin-bottom: 0.8rem;
}

.footer-section i {
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (min-width: 768px) {
    .product-content {
        flex-direction: row;
        align-items: center;
    }
    
    .benefits-container {
        flex-direction: row;
    }
    
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-container {
        flex-direction: row;
    }
    
    .testimonials-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .testimonials-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Animation for Accordion */
.accordion-header::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.faq-urdu .accordion-header::after {
    right: auto;
    left: 1.5rem;
}

.accordion-item.active .accordion-header::after {
    content: '-';
}

/* Popup Styles */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
    transform: translateY(-50px);
    transition: all 0.3s ease;
}

.popup.active .popup-content {
    transform: translateY(0);
}

.popup h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.popup p {
    margin-bottom: 1.5rem;
}

.popup i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
} 