/* CSS Variables & Design System */
:root {
    /* Colors - NutriHealth Palette */
    --primary: #22c55e;
    /* Green 500 */
    --primary-foreground: #ffffff;
    --primary-dark: #16a34a;
    /* Green 600 */
    --primary-light: #ecfdf5;
    /* Green 50 */

    --secondary: #efefef;
    /* Yellow/Beige Light */
    --secondary-foreground: #3f3f46;

    --background: #ffffff;
    --foreground: #0f172a;
    /* Slate 900 */

    --muted: #f1f5f9;
    /* Slate 100 */
    --muted-foreground: #64748b;
    /* Slate 500 */

    --border: #e2e8f0;
    --input: #e2e8f0;
    --ring: #22c55e;

    --radius: 0.75rem;
    /* 12px for modern rounded look */

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-padding: 1.5rem;
    --header-height: 80px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    font-weight: 700;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

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

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    /* Pill shape */
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    width: 100%;
    margin-top: 1.5rem;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-symbol {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 8px;
    /* Slightly rounded square */
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.3);
}

.logo-text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

.logo-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--foreground);
    letter-spacing: -0.01em;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.desktop-nav {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-switch {
    background: none;
    border: none;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    color: var(--muted-foreground);
    display: flex;
    gap: 0.25rem;
}

.lang-active {
    color: var(--primary);
}

.lang-inactive {
    color: var(--muted-foreground);
}

.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--foreground);
    display: block;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: white;
    z-index: 1001;
    padding: 1.5rem;
    transition: right 0.3s ease-in-out;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu.open {
    right: 0;
}

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

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-links a {
    font-size: 1.25rem;
    font-weight: 500;
}

.close-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 4rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-image: url('https://images.unsplash.com/photo-1490645935967-10de6ba17061?q=80&w=2053&auto=format&fit=crop');
    /* Placeholder Healthy Food Image */
    background-size: cover;
    background-position: center;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    max-width: 500px;
}

/* Stats Cards (Floating under Hero) */
.hero-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

.stat-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: var(--foreground);
}

.stat-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.stat-icon-wrapper.success {
    background-color: var(--primary-light);
    color: var(--primary);
}

.stat-icon-wrapper.people {
    background-color: var(--secondary);
    color: #eab308;
    /* Yellow 500 */
}

.stat-info strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-info span {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Media Queries */
@media (min-width: 768px) {
    .hero-text h1 {
        font-size: 3.5rem;
    }

    .desktop-nav {
        display: flex;
        gap: 2rem;
        font-weight: 500;
    }

    .mobile-menu-btn {
        display: none;
    }

    .sm-hidden {
        display: inline-flex !important;
    }

    .hero-bg-overlay {
        background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1));
    }

    .hero-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .hero-text {
        max-width: 50%;
    }

    .hero-stats {
        flex-direction: row;
        margin-top: 0;
        gap: 2rem;
    }

    .btn-whatsapp {
        width: auto;
    }
}

/* Sections Common */
.section {
    padding: 5rem 0;
}

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

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.section-header p {
    color: var(--muted-foreground);
    font-size: 1.125rem;
}

/* About Section */
.about-section {
    background-color: var(--secondary);
    position: relative;
    overflow: hidden;
}

/* Decorative Background Element */
.about-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(34, 197, 94, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.about-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
    border: 4px solid white;
}

.about-image-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content {
    text-align: center;
}

.expert-name {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--foreground);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.expert-bio {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

.expert-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    justify-content: center;
}

.tag {
    background-color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-dark);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: none;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--foreground);
    color: var(--foreground);
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    cursor: pointer;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--foreground);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services-section {
    background-color: var(--background);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.service-image {
    height: 200px;
    width: 100%;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-icon {
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.service-content p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    flex: 1;
}

.btn-link {
    background: none;
    border: none;
    padding: 0;
    font-weight: 600;
    color: var(--foreground);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
    align-self: flex-start;
}

/* Media Queries for New Sections */
@media (min-width: 768px) {
    .about-container {
        flex-direction: row;
        align-items: flex-start;
    }

    .about-image-wrapper {
        flex: 1;
    }

    .about-content {
        flex: 1;
        padding-left: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Testimonials */
.testimonials-section {
    background-color: var(--secondary);
}

.testimonials-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.stars {
    color: #eab308;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--secondary-foreground);
    min-height: 80px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author div {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: var(--foreground);
    font-weight: 600;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--muted-foreground);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(to bottom, var(--background), var(--secondary));
}

.contact-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card,
.newsletter-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.icon-box {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--foreground);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--input);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-light);
}

.w-full {
    width: 100%;
}

/* Newsletter Card */
.newsletter-card {
    background-color: var(--primary);
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.newsletter-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.newsletter-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.newsletter-card p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    padding: 1rem;
    border-radius: var(--radius);
    border: none;
    width: 100%;
}

.btn-dark {
    background-color: #0f172a;
    color: white;
    padding: 1rem;
}

.btn-dark:hover {
    background-color: #1e293b;
}

.newsletter-footer {
    font-size: 0.75rem;
    margin-top: 1.5rem;
    opacity: 0.7;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background-color: white;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--muted-foreground);
    margin: 1rem 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--muted);
    color: var(--foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
}

.footer-info h4 {
    margin-bottom: 1rem;
}

.footer-info p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--muted-foreground);
}

.footer-bottom {
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

/* Whatsapp Float */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.notification-dot {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 12px;
    height: 12px;
    background-color: red;
    border-radius: 50%;
    border: 2px solid #25D366;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 500px;
    padding: 2rem;
    border-radius: 1rem;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.open .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted-foreground);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Desktop Media Queries */
@media (min-width: 768px) {
    .about-container {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }

    .about-image-wrapper {
        flex: 1;
        max-width: 450px;
    }

    .about-content {
        flex: 1;
        text-align: left;
    }

    .expert-tags {
        justify-content: flex-start;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-container {
        flex-direction: row;
        align-items: flex-start;
    }

    .contact-card {
        flex: 3;
    }

    .newsletter-card {
        flex: 2;
        padding: 3rem;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        text-align: left;
    }

    .social-links,
    .footer-info p {
        justify-content: flex-start;
    }
}
/* --- New Button Styles (Modern) --- */

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn-service {
    margin-top: auto; /* Push to bottom if flex container */
    align-self: flex-start;
    border-color: var(--border);
    color: var(--foreground);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-service:hover {
    background-color: var(--foreground);
    color: #ffffff;
    border-color: var(--foreground);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-icon-right {
    margin-left: 0.25rem;
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s ease;
}

.btn-service:hover .btn-icon-right {
    transform: translateX(4px);
}
