:root {
    --primary-color: #3B9C7E;
    --primary-dark: #2d7a62;
    --primary-light: #e8f5f0;
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e9ecef;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

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

.navbar {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-brand:hover {
    color: var(--primary-dark);
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-white) 100%);
    padding: 5rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-image {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.section {
    padding: 5rem 0;
}

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 1rem auto 0;
}

.card-custom {
    background: var(--bg-white);
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-custom img {
    border-radius: 12px 12px 0 0;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-custom .card-body {
    padding: 1.5rem;
}

.card-custom h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card-custom p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.info-box {
    background: var(--primary-light);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 2rem 0;
}

.info-box h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.info-box p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.disclaimer-box {
    background: #fff9e6;
    border: 1px solid #f0e6cc;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.disclaimer-box h3 {
    color: #856404;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.disclaimer-box p {
    color: #856404;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.two-column-layout.reverse {
    direction: rtl;
}

.two-column-layout.reverse > * {
    direction: ltr;
}

.content-image {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.list-styled {
    list-style: none;
    padding: 0;
}

.list-styled li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
}

.list-styled li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.nutrient-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.nutrient-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--primary-color);
}

.nutrient-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.nutrient-card ul {
    margin-bottom: 0;
}

.faq-section .card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-section .card-header {
    background: var(--bg-white);
    border: none;
    padding: 0;
}

.faq-section .btn-link {
    width: 100%;
    text-align: left;
    padding: 1.25rem;
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-section .btn-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.faq-section .btn-link::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-section .btn-link[aria-expanded="true"]::after {
    content: '-';
}

.faq-section .card-body {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-muted);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.cta-section p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--bg-white);
}

.btn-outline-custom {
    background-color: transparent;
    border: 2px solid var(--bg-white);
    color: var(--bg-white);
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

.contact-section {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

.contact-form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form .form-control {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 156, 126, 0.1);
}

.contact-info {
    padding: 2rem 0;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info-item .icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-info-item p {
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

footer {
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 4rem 0 2rem;
}

footer h4 {
    color: var(--bg-white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

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

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-dark);
    color: var(--bg-white);
    padding: 1rem;
    z-index: 9999;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-banner p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.cookie-banner .btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-white) 100%);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.content-page {
    padding: 4rem 0;
}

.content-page h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-page h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content-page ul, .content-page ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.content-page li {
    margin-bottom: 0.5rem;
}

.diagram-container {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.diagram-container img {
    max-width: 100%;
    border-radius: 8px;
}

@media (max-width: 991px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-section {
        padding: 3rem 0;
        min-height: auto;
    }

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

    .section {
        padding: 3rem 0;
    }

    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .two-column-layout.reverse {
        direction: ltr;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero-section {
        padding: 2rem 0;
    }

    .hero-section h1 {
        font-size: 1.75rem;
    }

    .section {
        padding: 2.5rem 0;
    }

    .card-custom img {
        height: 180px;
    }

    .contact-form {
        padding: 1.5rem;
    }

    footer {
        padding: 3rem 0 1.5rem;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }
}

@media (max-width: 575px) {
    .nutrient-grid {
        grid-template-columns: 1fr;
    }

    .btn-primary-custom,
    .btn-outline-custom {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }
}
