/* style.css */
:root {
    --primary-blue: #2c5b8e;
    --secondary-blue: #3a75b5;
    --accent-yellow: #f9c33a;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --text-color: #495057;
    --white: #ffffff;
    --red: #D90429; /* A slightly deeper red for better contrast */
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    background-color: var(--accent-yellow);
    color: var(--dark-gray);
    padding: 15px 30px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    filter: brightness(1.05);
}

/* Keyframes for button animation */
@keyframes pulse-animation {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(45, 45, 45, 0.2);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
}

/* Header & Top Banner */
.top-banner {
    background-color: var(--accent-yellow);
    color: var(--dark-gray);
    font-weight: 700;
}

.top-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 1.2rem;
    color: var(--dark-gray);
    gap: 20px; /* Adds space between text and button */
}

.header-btn {
    background-color: var(--white);
    color: var(--red);
    padding: 8px 18px;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0; /* Prevents button from shrinking */
    animation: pulse-animation 1.5s infinite ease-in-out;
    border: 2px solid var(--dark-gray); /* Added for visibility */
}

/* Hero Section */
.hero {
    padding: 50px 0;
    background-color: var(--white);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-image-wrapper {
    flex: 1;
    text-align: center;
}

.hero-image-wrapper img {
    max-width: 350px;
}

.hero-content h1 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    line-height: 1.3;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.benefits-list {
    list-style: none;
    margin-bottom: 30px;
}

.benefits-list li {
    padding-left: 35px; /* Create space for the checkmark */
    position: relative;   /* Anchor for the pseudo-element */
    margin-bottom: 12px;
}

.benefits-list li::before {
    content: '✅'; /* <-- FIXED aœ… to ✅ */
    position: absolute;
    left: 0;
    top: 4px; /* Fine-tune vertical alignment */
    font-size: 1rem;
}


.rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-weight: 600;
}

.stars {
    color: var(--accent-yellow);
    font-size: 1.5rem;
}

/* Trust Bar */
.trust-bar {
    background-color: var(--primary-blue);
    padding: 20px 0;
}

.trust-bar .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    font-size: 0.9rem;
    text-align: center;
}

.trust-item svg {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    fill: var(--white);
}

/* General Section Styling */
.section {
    padding: 60px 0;
}

.section-light {
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 40px;
}

/* Description Section */
.description-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.description-text p {
    margin-bottom: 20px;
}

.description-images {
    text-align: center;
}

.description-images img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 100%;
    max-width: 300px; /* Control max size of the single image */
}

/* Ingredients Section */
.ingredients-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.ingredients-table {
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    padding: 20px;
    background: var(--white);
}

.ingredients-table table {
    width: 100%;
    border-collapse: collapse;
}

.ingredients-table th, .ingredients-table td {
    text-align: left;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.ingredients-table th:last-child, .ingredients-table td:last-child {
    text-align: right;
}


/* Usage Section */
.usage-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.usage-content .btn {
    margin-top: 30px;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-top: 4px solid var(--accent-yellow);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: 700;
}

/* FAQ Section */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #ddd;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    color: var(--dark-gray);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 10px;
}

.faq-answer p {
    padding-bottom: 20px;
}

.faq-item.active .faq-answer {
     max-height: 300px; /* Adjust as needed */
}

/* Footer */
.footer {
    background-color: var(--primary-blue);
    color: #ccc;
    padding: 50px 0 20px;
    text-align: center;
}

.footer-seals, .footer-payments {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-seals img, .footer-payments img {
    max-height: 40px;
    filter: grayscale(100%) brightness(1.5);
}

.footer-nav {
    margin-bottom: 20px;
}

.footer-nav a {
    color: #ccc;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--white);
}

.copyright {
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .benefits-list {
        display: inline-block;
        text-align: left;
    }

    .description-grid, .ingredients-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .trust-bar .container {
        flex-wrap: wrap;
        gap: 20px;
    }
}

