:root {
    --primary: #f57c00;
    --secondary: #2e7d32;
    --success: #4caf50;
    --info: #2196f3;
    --warning: #ff9800;
    --danger: #f44336;
    --light: #f8f9fa;
    --dark: #212529;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #f57c00, #ff9800);
    --gradient-secondary: linear-gradient(135deg, #2e7d32, #4caf50);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.2);
    --border-radius: 12px;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    scroll-behavior: smooth;
}

/* Navigation - Fixed Overlapping */
.navbar {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.98);
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--secondary);
    text-decoration: none;
    font-size: 1.25rem;
}

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

.logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    margin: 0 5px;
    padding: 10px 18px !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background: var(--gradient-primary);
    color: white !important;
    transform: translateY(-2px);
}

.btn-book-nav {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-book-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* Hero Section - Proper Spacing */
.hero {
    background: var(--gradient-secondary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="80" r="2" fill="white" opacity="0.1"/><circle cx="40" cy="60" r="1" fill="white" opacity="0.1"/><circle cx="60" cy="30" r="1.5" fill="white" opacity="0.1"/></svg>');
    animation: float 20s infinite linear;
    pointer-events: none;
}

@keyframes float {
    0% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(10px) translateY(-10px); }
    50% { transform: translateX(-5px) translateY(-20px); }
    75% { transform: translateX(-10px) translateY(-10px); }
    100% { transform: translateX(0) translateY(0); }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero .highlight {
    color: var(--warning);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
}

.hero .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--warning);
    border-radius: 2px;
}

.hero .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.95;
}

.price-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: 700;
    display: inline-block;
    margin: 25px 0;
    box-shadow: var(--shadow-md);
    animation: pulse 2s infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245,124,0,0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(245,124,0,0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245,124,0,0); }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-hero {
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
}

.btn-hero.primary {
    background: var(--warning);
    color: white;
    border: 2px solid var(--warning);
}

.btn-hero.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.btn-hero.primary:hover {
    background: #e65100;
    border-color: #e65100;
    color: white;
}

.btn-hero.secondary:hover {
    background: white;
    color: var(--secondary);
}

.hero-chart {
    position: relative;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Section Spacing Fix */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 20px;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-title .lead {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Interactive Tools Section */
.tools-section {
    background: var(--light);
}

.tool-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.tool-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.tool-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-sm);
}

.tool-card h4 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

.calculator {
    background: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 25px;
    margin-top: 20px;
}

.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(245,124,0,0.25);
    outline: none;
}

.btn-calculate {
    background: var(--gradient-secondary);
    border: none;
    color: white;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-calculate:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.result-display {
    background: var(--gradient-secondary);
    color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 20px;
    box-shadow: var(--shadow-sm);
}

.result-display h5 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Nutrition Information Section */
.nutrition-section {
    background: white;
}

.nutrition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.nutrition-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.nutrition-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.nutrition-card:hover::before {
    transform: translateX(0);
}

.nutrition-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.nutrition-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.8rem;
    box-shadow: var(--shadow-sm);
}

.nutrition-card h5 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 700;
}

.nutrition-card p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.nutrition-card .food-examples {
    background: var(--light);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.nutrition-card .food-examples strong {
    color: var(--secondary);
}

/* Chart Container */
.chart-container {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
    position: relative;
    min-height: 400px;
}

.chart-container h4 {
    color: var(--secondary);
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
}

/* Sidebar Tools */
.sidebar-tool {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.sidebar-tool:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.sidebar-tool h4 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-weight: 700;
}

.tip-item {
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    border-left: 4px solid var(--primary);
}

.tip-item i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.tip-item strong {
    color: var(--secondary);
}

.health-assessment {
    background: #f8f9fa;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 20px;
}

.health-assessment label {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 10px;
    display: block;
}

.form-range {
    margin-bottom: 20px;
}

.range-value {
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.9rem;
}

.meal-timing .meal-time {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.meal-time strong {
    color: var(--secondary);
    display: block;
    margin-bottom: 8px;
}

.meal-time p {
    margin-bottom: 5px;
    color: #666;
}

.meal-time small {
    color: #888;
    font-style: italic;
}

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

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    transform: translate(50%, -50%);
    opacity: 0.1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-left-width: 8px;
}

.service-card .nutrition-icon {
    margin-bottom: 25px;
}

.service-card h4 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 30px;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li i {
    position: absolute;
    left: 0;
    top: 12px;
    font-size: 1rem;
}

.service-price {
    background: var(--gradient-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 700;
    display: inline-block;
    margin-top: 20px;
}

/* Testimonials Section */
.testimonials-section {
    background: white;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 30px;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.3;
    font-weight: bold;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-sm);
}

.stars {
    color: var(--warning);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 1.1rem;
}

.testimonial-author {
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 5px;
}

.testimonial-location {
    color: #888;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    background: var(--light);
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    background: white;
    border: none;
    padding: 25px 30px;
    width: 100%;
    text-align: left;
    font-weight: 600;
    color: var(--secondary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

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

.faq-question:hover {
    background: #f8f9fa;
}

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

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

.faq-answer.active {
    padding: 0 30px 25px;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="3" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="2" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="2" fill="white" opacity="0.1"/></svg>');
    animation: float 25s infinite linear;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
}

.cta-section .lead {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-highlight {
    background: rgba(255,255,255,0.2);
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: 700;
    display: inline-block;
    margin: 30px 0;
    box-shadow: var(--shadow-md);
    animation: pulse 2s infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.btn-cta {
    padding: 18px 40px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
}

.btn-cta.primary {
    background: white;
    color: var(--primary);
    border-color: white;
}

.btn-cta.secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.btn-cta.primary:hover {
    background: #f5f5f5;
    color: var(--primary);
}

.btn-cta.secondary:hover {
    background: white;
    color: var(--primary);
}

.cta-features {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 500;
}

.cta-feature i {
    font-size: 1.2rem;
    color: var(--warning);
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section h5 {
    color: var(--primary);
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 1.3rem;
    position: relative;
}

.footer-section h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-section p {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.footer-section ul li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.footer-section ul li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.8rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #ccc;
}

.contact-info li i {
    width: 20px;
    color: var(--primary);
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #999;
}

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

/* Floating Elements */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37,211,102,0.4);
    z-index: 1500;
    animation: bounce 2s infinite;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 12px 35px rgba(37,211,102,0.6);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.floating-scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.floating-scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.floating-scroll-top:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .section-title h2 { font-size: 2.5rem; }
    .cta-section h2 { font-size: 3rem; }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero h1 { 
        font-size: 2.2rem; 
        margin-bottom: 20px;
    }
    
    .hero .lead { 
        font-size: 1.1rem; 
        margin-bottom: 25px;
    }
    
    .price-badge { 
        font-size: 1.2rem; 
        padding: 12px 25px; 
        margin: 20px 0;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .section-title h2 { 
        font-size: 2rem; 
    }
    
    .cta-section h2 { 
        font-size: 2.2rem; 
    }
    
    .cta-buttons { 
        flex-direction: column; 
        align-items: center; 
    }
    
    .btn-cta {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .tool-card,
    .nutrition-card,
    .service-card,
    .testimonial-card {
        margin-bottom: 30px;
    }
    
    .nutrition-grid,
    .service-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .chart-container {
        min-height: 300px;
        padding: 20px;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
    
    .floating-scroll-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .hero h1 { font-size: 1.8rem; }
    .section { padding: 60px 0; }
    .section-title { margin-bottom: 40px; }
    .section-title h2 { font-size: 1.7rem; }
    .tool-card,
    .nutrition-card,
    .service-card { 
        padding: 25px 20px; 
    }
}

/* Loading Animation */
.loading {
    display: none;
    text-align: center;
    padding: 30px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Advanced Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Focus States for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .floating-whatsapp,
    .floating-scroll-top,
    .cta-section {
        display: none !important;
    }
    
    .hero {
        background: white !important;
        color: black !important;
    }
    
    * {
        box-shadow: none !important;
    }
}

/* Advanced Modal Styles */
.modal-xl {
    max-width: 95%;
}

.modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    background: var(--gradient-primary);
    color: white;
    border-bottom: none;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.modal-title {
    font-weight: 700;
    font-size: 1.3rem;
}

.btn-close {
    filter: invert(1);
}

/* Food Suggestions */
.food-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.food-suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background 0.2s ease;
}

.food-suggestion-item:hover {
    background: var(--light);
}

.food-suggestion-item:last-child {
    border-bottom: none;
}

/* Food Log */
.food-log {
    max-height: 300px;
    overflow-y: auto;
    background: var(--light);
    border-radius: 8px;
    padding: 15px;
}

.food-log-item {
    background: white;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.food-log-item:last-child {
    margin-bottom: 0;
}

.food-log-item .food-info {
    flex-grow: 1;
}

.food-log-item .food-name {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 5px;
}

.food-log-item .food-details {
    font-size: 0.9rem;
    color: #666;
}

.food-log-item .remove-btn {
    background: var(--danger);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
}

/* Meal Planner */
.weekly-meal-plan {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.day-plan {
    background: var(--light);
    border-radius: var(--border-radius);
    padding: 15px;
    min-height: 400px;
}

.day-plan h6 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.meal-item {
    background: white;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 3px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.meal-item .meal-type {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.meal-item .meal-food {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

.meal-item .meal-calories {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: 5px;
}

/* Progress Charts */
.progress-chart-container {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.progress-chart-container:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.progress-chart-container h6 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
}

.progress-summary-content {
    background: var(--light);
    border-radius: var(--border-radius);
    padding: 20px;
}

.progress-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.progress-stat:last-child {
    border-bottom: none;
}

.progress-stat .stat-label {
    font-weight: 600;
    color: var(--secondary);
}

.progress-stat .stat-value {
    font-weight: 700;
    color: var(--primary);
}

.progress-stat .stat-trend {
    font-size: 0.9rem;
    margin-left: 10px;
}

.trend-up {
    color: var(--success);
}

.trend-down {
    color: var(--danger);
}

.trend-stable {
    color: #666;
}

/* Food Database */
.food-database-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.food-database-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.food-database-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.food-database-item .food-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.food-database-item .food-category {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nutrition-facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.nutrition-fact {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--light);
    border-radius: 6px;
    font-size: 0.9rem;
}

.nutrition-fact .fact-label {
    color: #666;
}

.nutrition-fact .fact-value {
    font-weight: 600;
    color: var(--secondary);
}

.view-recipe-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.view-recipe-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Recipe Modal Content */
.recipe-content {
    line-height: 1.7;
}

.recipe-content .recipe-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.recipe-content .recipe-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.recipe-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
}

.recipe-meta-item i {
    color: var(--primary);
}

.recipe-ingredients {
    background: var(--light);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.recipe-ingredients h6 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 700;
}

.recipe-ingredients ul {
    list-style: none;
    padding: 0;
}

.recipe-ingredients li {
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
    position: relative;
    padding-left: 20px;
}

.recipe-ingredients li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.recipe-ingredients li:last-child {
    border-bottom: none;
}

.recipe-instructions {
    margin-bottom: 20px;
}

.recipe-instructions h6 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 700;
}

.recipe-instructions ol {
    padding-left: 20px;
}

.recipe-instructions li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.recipe-nutrition {
    background: var(--gradient-secondary);
    color: white;
    padding: 20px;
    border-radius: var(--border-radius);
}

.recipe-nutrition h6 {
    margin-bottom: 15px;
    font-weight: 700;
}

.recipe-nutrition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.recipe-nutrition-item {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 8px;
}

.recipe-nutrition-item .value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.recipe-nutrition-item .label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Mobile Responsive for Modals */
@media (max-width: 768px) {
    .modal-xl {
        max-width: 98%;
        margin: 10px;
    }
    
    .weekly-meal-plan {
        grid-template-columns: 1fr;
    }
    
    .food-database-results {
        grid-template-columns: 1fr;
    }
    
    .nutrition-facts {
        grid-template-columns: 1fr;
    }
    
    .recipe-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .recipe-nutrition-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Advanced Button Styles */
.btn-primary, .btn-success, .btn-info, .btn-warning {
    border-radius: 25px;
    padding: 10px 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary:hover, .btn-success:hover, .btn-info:hover, .btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Loading Animation for Modals */
.modal-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    flex-direction: column;
}

.modal-loading .spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.modal-loading .loading-text {
    color: #666;
    font-weight: 500;
}