/* Base Styles */
:root {
    --primary-color: #4CAF50;
    --primary-light: rgba(76, 175, 80, 0.1);
    --secondary-color: #E6C34A;
    --secondary-light: rgba(230, 195, 74, 0.2);
    --text-color: #333;
    --text-light: #666;
    --text-lighter: #999;
    --white: #fff;
    --gray-light: #f5f5f5;
    --gray: #e0e0e0;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bitter', serif;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style-type: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-divider {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #3c9040;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: #d6b43a;
    color: var(--text-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(230, 195, 74, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex: 0 0 auto;
}

.logo a {
    display: block;
}

.nav {
    flex: 1 0 auto;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
}

.nav-item {
    margin: 0 1rem;
    position: relative;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.header-cta {
    flex: 0 0 auto;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 10rem 0 6rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-benefits {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.benefit-item {
    flex: 0 0 calc(33.333% - 1rem);
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem 1rem;
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}

.benefit-item svg {
    margin-bottom: 1rem;
}

.hero-cta {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
}

/* About Section */
.about {
    padding: 5rem 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 0 0 60%;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Bitter', serif;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.about-image {
    flex: 0 0 40%;
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.image-caption {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--gray-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(calc(50% - 1rem), 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Programs Section */
.programs {
    position: relative;
    padding: 5rem 0;
    background-color: var(--primary-light);
}

.programs-wave-top, .programs-wave-bottom {
    position: absolute;
    width: 100%;
    z-index: 1;
}

.programs-wave-top {
    top: 0;
}

.programs-wave-bottom {
    bottom: -2px;
}

.programs-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.program-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    display: flex;
    transition: var(--transition);
    position: relative;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.program-card.featured {
    border: 2px solid var(--secondary-color);
}

.program-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 1;
}

.program-image {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.05);
}

.program-content {
    flex: 0 0 60%;
    padding: 2rem;
}

.program-features {
    margin: 1.5rem 0;
}

.program-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.program-features li::before {
    content: '';
    width: 8px;
    height: 8px;
    margin-right: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
}

.program-price {
    margin: 1.5rem 0;
    display: flex;
    align-items: baseline;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    margin-left: 0.5rem;
    color: var(--text-lighter);
}

/* Eating Guide Section */
.eating-guide {
    padding: 5rem 0;
}

.guide-content {
    display: flex;
    gap: 3rem;
}

.portion-guide, .meal-timeline {
    flex: 1;
}

.portion-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.portion-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.portion-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.portion-icon {
    margin-bottom: 1rem;
}

.portion-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline {
    margin-top: 2rem;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 2rem;
    width: 2px;
    background-color: var(--primary-color);
}

.timeline-item {
    margin-bottom: 2rem;
    position: relative;
    padding-left: 4rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 1.6rem;
    top: 0.75rem;
    width: 1rem;
    height: 1rem;
    background-color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
}

.time {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.meal-type {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.meal-desc {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Diet Comparison Section */
.diet-comparison {
    padding: 5rem 0;
    background-color: var(--gray-light);
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.comparison-table th, .comparison-table td {
    padding: 1.25rem 1.5rem;
    text-align: left;
}

.comparison-table th {
    background-color: var(--primary-color);
    color: var(--white);
}

.comparison-table tr:nth-child(even) {
    background-color: rgba(76, 175, 80, 0.05);
}

.comparison-table tr:nth-child(odd) {
    background-color: var(--white);
}

.diet-name {
    font-weight: 600;
    color: var(--primary-color);
}

/* Reviews Section */
.reviews {
    position: relative;
    padding: 5rem 0;
    background-color: var(--secondary-light);
}

.reviews-wave-top, .reviews-wave-bottom {
    position: absolute;
    width: 100%;
    z-index: 1;
}

.reviews-wave-top {
    top: 0;
}

.reviews-wave-bottom {
    bottom: -2px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.reviewer-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.reviewer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-info h4 {
    margin-bottom: 0.25rem;
}

.review-rating {
    display: flex;
}

.review-content p {
    margin-bottom: 0;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
}

.contact-content {
    display: flex;
    gap: 3rem;
}

.contact-info {
    flex: 0 0 calc(50% - 1.5rem);
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-icon {
    margin-right: 1rem;
    flex: 0 0 auto;
}

.contact-text h4 {
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.contact-form-wrapper {
    flex: 0 0 calc(50% - 1.5rem);
}

.contact-form {
    background-color: var(--gray-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
    flex: 0 0 calc(50% - 0.5rem);
}

.form-group.full-width {
    flex: 0 0 100%;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    font-family: 'Open Sans', sans-serif;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 0.5rem;
}

.checkbox-group label {
    margin-bottom: 0;
}

.form-submit {
    text-align: center;
}

/* Footer Styles */
.footer {
    position: relative;
    padding: 5rem 0 2rem;
    background-color: #222;
    color: var(--white);
}

.footer-wave-top {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.footer-logo {
    grid-column: 1 / 3;
}

.footer-tagline {
    margin-top: 1rem;
    color: var(--text-lighter);
}

.footer h4 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-food {
    grid-column: 4 / 6;
}

.footer-food-image {
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.footer-quote {
    font-style: italic;
    color: var(--text-lighter);
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: var(--border-radius);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.copyright {
    color: var(--text-lighter);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .programs-grid {
        gap: 1.5rem;
    }

    .program-card {
        flex-direction: column;
    }

    .program-image {
        flex: 0 0 200px;
    }

    .guide-content {
        flex-direction: column;
    }

    .contact-content {
        flex-direction: column;
    }

    .contact-info, .contact-form-wrapper {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
    }

    .logo {
        flex: 0 0 100%;
        text-align: center;
        margin-bottom: 1rem;
    }

    .nav {
        order: 3;
        flex: 0 0 100%;
        margin-top: 1rem;
    }

    .nav-list {
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-item {
        margin: 0 0.5rem 0.5rem;
    }

    .header-cta {
        order: 2;
        margin: 0 auto;
    }

    .hero {
        padding: 8rem 0 4rem;
    }

    .hero-benefits {
        flex-direction: column;
    }

    .benefit-item {
        flex: 0 0 100%;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        margin-bottom: 1rem;
    }

    .about-content {
        flex-direction: column;
    }

    .about-text, .about-image {
        flex: 0 0 100%;
    }

    .about-image {
        margin-top: 2rem;
    }

    .about-stats {
        flex-wrap: wrap;
    }

    .stat-item {
        flex: 0 0 calc(50% - 1rem);
        margin-bottom: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portion-items {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-logo, .footer-food {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 0.9rem;
    }

    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .header {
        padding: 0.5rem 0;
    }

    .hero {
        padding: 7rem 0 3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .about, .services, .programs, .eating-guide, .diet-comparison, .reviews, .contact {
        padding: 3rem 0;
    }

    .about-stats {
        flex-direction: column;
    }

    .stat-item {
        flex: 0 0 100%;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-logo, .footer-food {
        grid-column: span 1;
    }
}

@media (max-width: 375px) {
    .hero {
        padding: 6rem 0 2rem;
    }

    .hero-content {
        padding: 0 0.5rem;
    }

    .hero-benefits {
        margin: 1rem 0;
    }

    .benefit-item {
        padding: 1rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}