/* Product Showcase Styles */
.product-showcase {
    padding: 6rem 4rem;
    background-color: #ffffff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to top, rgba(255, 235, 230, 0.95), rgba(255, 245, 242, 0) 100%);
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 250px;
    position: relative;
    margin-bottom: 1.5rem;
    z-index: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info {
    position: relative;
    padding: 1rem;
    color: #333;
    text-align: center;
    z-index: 1;
}

.product-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
}

.product-info p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.view-btn {
    position: relative;
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: transparent;
    border: 1px solid #0066cc;
    color: #0066cc;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background-color: #0066cc;
    color: white;
    border-color: #0066cc;
}

.product-showcase h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 4rem;
    letter-spacing: 0.5px;
}

/* Responsive Design for Product Showcase */
@media screen and (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .product-image {
        height: 220px;
    }
}

@media screen and (max-width: 768px) {
    .product-showcase {
        padding: 4rem 2rem;
    }

    .product-showcase h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
}

@media screen and (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-showcase {
        padding: 3rem 1.5rem;
    }

    .product-showcase h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .product-card {
        padding: 1.5rem;
    }
    
    .product-image {
        height: 200px;
    }
}

/* Articles and Recipes Section */
.articles-section {
    padding: 5rem;
    background-color: #ffffff;
}

.articles-container {
    max-width: 1400px;
    margin: 0 auto;
}

.articles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.articles-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.5px;
}

.slider-controls {
    display: flex;
    gap: 1rem;
}

.prev-btn,
.next-btn {
    width: 48px;
    height: 48px;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    background: white;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.prev-btn.disabled,
.next-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.prev-btn:not(.disabled):hover,
.next-btn:not(.disabled):hover {
    border-color: #0066cc;
    color: #0066cc;
    transform: scale(1.05);
}

.articles-slider {
    display: flex;
    gap: 2rem;
    position: relative;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem;
}

.articles-slider::-webkit-scrollbar {
    display: none;
}

.article-card {
    flex: 0 0 35%;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
}

.article-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0) 100%);
    color: white;
    text-align: left;
}

.article-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.read-now-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid white;
    color: white;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 25px;
}

.read-now-btn:hover {
    transform: scale(1.1);
}

/* Responsive Design for Articles Section */
@media screen and (max-width: 1200px) {
    .article-card {
        flex: 0 0 500px;
        height: 500px;
    }
}

@media screen and (max-width: 768px) {
    .article-card {
        flex: 0 0 400px;
        height: 400px;
    }
}

@media screen and (max-width: 480px) {
    .article-card {
        flex: 0 0 300px;
        height: 300px;
    }
}

/* Animation for cards */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Lifestyle Section Styles */
.lifestyle-section h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.lifestyle-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: linear-gradient(to right, #1a1a1a 50%, #fff 50%);
}

.lifestyle-content {
    color: #fff;
    padding: 80px;
    position: relative;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.lifestyle-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: -1;
}

.lifestyle-info {
    max-width: 700px;
    margin: 0 auto;
}

.lifestyle-label {
    color: #e94724;
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.lifestyle-content h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin: 10px 0;
}

.lifestyle-content .highlight {
    color: #e94724;
}

.lifestyle-category {
    margin-top: 40px;
}

.lifestyle-category h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.lifestyle-category p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #ccc;
}

.category-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.button-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-btn {
    width: 40px;
    height: 40px;
    background: #e94724;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-btn i {
    font-size: 1rem;
    transform: rotate(45deg);
    transition: all 0.3s ease;
    color: #FFFFFF;
}

.category-text {
    color: #FFFFFF;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.category-btn:hover {
    background: #FFFFFF;
    transform: scale(1.05);
}

.category-btn:hover i {
    transform: rotate(-45deg);
    color: #000000;
}

.lifestyle-image {
    width: 100%;
    height: 100%;
    min-height: 600px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media screen and (max-width: 992px) {
    .lifestyle-container {
        grid-template-columns: 1fr;
    }

    .lifestyle-image {
        min-height: 400px;
    }
}

@media screen and (max-width: 768px) {
    .lifestyle-content {
        padding: 40px 20px;
    }

    .category-buttons {
        grid-template-columns: 1fr;
    }
}

/* Related Products Section */
.related-products {
    background-color: #ffffff;
    margin-bottom: 5rem;
    margin-top: 5rem;
}

.related-products h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2rem;
    max-width: 1400px;
    margin: 0 auto 2rem;
}

.related-grid {
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    height: auto;
}

.related-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 600px;
    overflow: hidden;
}

.related-card:nth-child(1) .related-content {
    background-color: #bfd6ee; /* Light blue background for content */
}

.related-card:nth-child(1) .related-image {
    background-color: #f5f5f5; /* Cream color for image */
}

.related-card:nth-child(2) .related-content {
    background-color: #fcdbc7; /* Light orangey background for content */
}

.related-card:nth-child(2) .related-image {
    background-color: #f5f5f5; /* Cream color for image */
}

.related-image {
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    height: 100%;
}

.related-image img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.related-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.related-content h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.divider {
    width: 40px;
    height: 3px;
    background-color: #333;
    margin-bottom: 1.5rem;
}

.related-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #000;
    margin-bottom: 2rem;
}

.explore-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #d9ebd9;
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 25px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.explore-btn:hover {
    background-color: #c5e0c5;
}

/* Responsive Design for Related Products */
@media screen and (max-width: 1200px) {
    .related-grid {
        grid-template-columns: 1fr;
    }

    .related-card {
        height: 500px;
    }
}

@media screen and (max-width: 768px) {
    .related-products {
        padding: 0;
        margin-bottom: 3rem;
        margin-top: 3rem;
    }

    .related-products h2 {
        padding: 0 2rem;
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    .articles-header h2 {
        font-size: 2rem;
    }

    .related-card {
        height: auto;
        grid-template-columns: 1fr;
    }

    .related-content {
        padding: 2rem;
        order: 2;
    }

    .related-image {
        padding: 2rem;
        height: 300px;
        order: 1;
    }

    .related-image img {
        width: 60%;
        height: auto;
        max-height: 100%;
    }

    .related-content h3 {
        font-size: 1.5rem;
    }

    .related-content p {
        font-size: 0.95rem;
    }
    .product-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .related-products {
        padding: 0;
    }

    .related-products h2 {
        padding: 0 1.5rem;
        font-size: 1.5rem;
    }

    .related-content {
        padding: 1.5rem;
    }

    .related-image {
        padding: 1.5rem;
        height: 250px;
    }

    .related-image img {
        width: 80%;
    }

    .related-content h3 {
        font-size: 1.3rem;
    }

    .related-content p {
        font-size: 0.9rem;
    }
}

/* FAQ Section Styles */
.faq-section {
    padding-top: 8rem;
    padding-bottom: 8rem;
    background-color: #ffffff;
}

.faq-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-container h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 3rem;
}

.faq-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.faq-item {
    background: #fff;
    padding: 2rem;
    border-bottom: 1px solid #eee;
}

.faq-item h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.faq-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

/* Responsive Design for FAQ Section */
@media screen and (max-width: 768px) {
    .faq-section {
        padding: 4rem 2rem;
    }

    .faq-container h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .faq-item {
        padding: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .faq-section {
        padding: 3rem 1.5rem;
    }

    .faq-container h1 {
        font-size: 1.75rem;
    }

    .faq-item h2 {
        font-size: 1.1rem;
    }

    .faq-item p {
        font-size: 0.95rem;
    }
}

/* Quiz Specific Styles */
.quiz-intro {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quiz-option {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    padding: 0.5rem 0;
}

.quiz-option:hover {
    background-color: transparent;
    transform: none;
}

/* Results section styling */
.results-section {
    margin-top: 2rem;
}

.quiz-results {
    margin-top: 1rem;
}

.quiz-results h3 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.quiz-results h3:first-child {
    margin-top: 0;
}

.quiz-results p {
    color: #333;
    line-height: 1.6;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.quiz-results p:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

/* Calculator Specific Styles */
.calculator-section {
    margin-top: 2rem;
}

.formula-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.formula-list li {
    color: #333;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.calculator-section ol {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.calculator-section ol li {
    color: #333;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.example-calculation {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.example-calculation p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.example-calculation ul {
    list-style: none;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.example-calculation ul li {
    color: #333;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    position: relative;
}

.example-calculation ul li::before {
    content: "•";
    position: absolute;
    left: -1.5rem;
    color: #333;
}

.formula-list {
    list-style: none;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.formula-list li {
    color: #333;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    position: relative;
}

.formula-list li::before {
    content: "•";
    position: absolute;
    left: -1.5rem;
    color: #333;
}

/* Add these styles to your existing styles.css file */

.faq-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 1.5rem 0 1rem;
}

.faq-item ul {
    list-style: none;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.faq-item ul li {
    color: #333;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    position: relative;
}

.faq-item ul li::before {
    content: "•";
    position: absolute;
    left: -1.5rem;
    color: #333;
    font-weight: bold;
}

.faq-item ul.ul-check > li::before {
    content: '✅';
}

.faq-item p {
    margin-bottom: 1.5rem;
}

/* FAQ Header Styles */
.faq-header {
    text-align: center;
    padding: 2rem 0;
}

.faq-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.faq-header p {
    font-size: 1.2rem;
    color: #333;
    max-width: 1400px;
    line-height: 1.6;
    text-align: center;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .faq-header h1 {
        font-size: 2rem;
    }

    .faq-header p {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .faq-header h1 {
        font-size: 1.75rem;
    }

    .faq-header p {
        font-size: 1rem;
    }
}

/* Add these to your existing styles */
.faq-item ul li strong {
    color: #333;
    font-weight: 600;
    margin-right: 0.5rem;
}

.faq-item ol {
    list-style: decimal;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.faq-item ol li {
    color: #333;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
}

.faq-item ol li strong {
    color: #333;
    font-weight: 600;
    margin-right: 0.5rem;
}

/* Add these responsive styles */

/* Large devices (desktops, less than 1200px) */
@media screen and (max-width: 1450px) {
    .lifestyle-section h1 {
        margin-left: 2rem;
    }
    .related-products h2 {
        margin-left: 2rem;
    }
    .faq-section {
        padding-top: 10rem;
    }
}

@media screen and (max-width: 1200px) {
    .faq-header h1 {
        font-size: 2.2rem;
    }

    .faq-header p {
        font-size: 1.1rem;
    }

    .faq-item h2 {
        font-size: 1.4rem;
    }

    .faq-item h3 {
        font-size: 1.1rem;
    }

    .faq-item p, 
    .faq-item ul li, 
    .faq-item ol li {
        font-size: 0.95rem;
    }

    .faq-container {
        padding: 0 3rem;
    }
}

/* Medium devices (tablets, less than 992px) */
@media screen and (max-width: 992px) {
    .faq-header h1 {
        font-size: 2rem;
    }

    .faq-header p {
        font-size: 1rem;
    }

    .faq-item h2 {
        font-size: 1.3rem;
    }

    .faq-item h3 {
        font-size: 1rem;
    }

    .faq-item {
        padding: 1.5rem;
    }

    .faq-container {
        padding: 0 2rem;
    }

    .faq-section {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
    .related-image img {
        width: 100%;
        height: 100%;
    }
    .related-content {
        padding: 2rem;
    }
    .lifestyle-section h1 {
        font-size: 2rem;
    }
    .faq-section {
        padding-top: 10rem;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media screen and (max-width: 768px) {
    .faq-header {
        padding: 0;
    }
    .faq-header h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .faq-header p {
        font-size: 0.95rem;
    }

    .faq-item h2 {
        font-size: 1.2rem;
    }

    .faq-item h3 {
        font-size: 0.95rem;
        margin: 1rem 0 0.8rem;
    }

    .faq-item p, 
    .faq-item ul li, 
    .faq-item ol li {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .faq-item {
        padding: 1.25rem;
    }

    .faq-container {
        padding: 0 1.5rem;
    }

    .faq-section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .faq-item ul, 
    .faq-item ol {
        padding-left: 1.2rem;
    }
    .articles-section {
        padding: 3rem;
    }
    .faq-section {
        padding-top: 10rem;
    }
}

/* Extra small devices (phones, less than 576px) */
@media screen and (max-width: 576px) {
    .faq-header {
        padding: 0;
    }
    .faq-header h1 {
        font-size: 1.6rem;
    }

    .faq-header p {
        font-size: 0.9rem;
    }

    .faq-item h2 {
        font-size: 1.1rem;
    }

    .faq-item h3 {
        font-size: 0.9rem;
    }

    .faq-item p, 
    .faq-item ul li, 
    .faq-item ol li {
        font-size: 0.85rem;
    }

    .faq-item {
        padding: 1rem;
    }

    .faq-container {
        padding: 0 1rem;
    }

    .faq-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .faq-item ul, 
    .faq-item ol {
        padding-left: 1rem;
        margin: 0.8rem 0;
    }

    .faq-item ul li, 
    .faq-item ol li {
        margin-bottom: 0.6rem;
    }
    .faq-section {
        padding-top: 8rem;
    }
}