:root {
    --primary-color: #1D7E4A;
    --secondary-color: #9370DB;
    --accent-color: #C0C0C0;
    --dark-color: #222;
    --light-color: #f8f8f8;
    --text-color: #333;
    --transition: all 0.3s ease-in-out;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.btn-primary,
.btn-hero {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary:hover,
.btn-hero:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    border-radius: 25px;
    color: white;
}

.btn-primary:active,
.btn-hero:active {
    transform: translateY(1px);
}

.btn-hero {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
}

.btn-primary:before,
.btn-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover:before,
.btn-hero:hover:before {
    left: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.underline-zigzag {
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 1rem auto;
    position: relative;
}

.underline-zigzag:before {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        45deg,
        var(--secondary-color),
        var(--secondary-color) 5px,
        transparent 5px,
        transparent 10px
    );
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 60px;
    border-radius: 0;
}

.nav {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    gap: 1.5rem;
}

.menu a {
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark-color);
    transition: var(--transition);
}

.hero {
    padding-top: 100px;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 0 6rem;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transform: perspective(800px) rotateY(-8deg);
    transition: var(--transition);
    border: 5px solid white;
}

.hero-image img:hover {
    transform: perspective(800px) rotateY(0);
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    font-size: 2.8rem;
    line-height: 1.2;
}

.hero-content p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: #555;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.wave-divider path {
    fill: #fff;
}

.wavy-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wavy-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.wavy-divider path {
    fill: #fff;
}

.wavy-divider.inverse {
    transform: rotate(180deg);
    bottom: auto;
    top: 0;
}

.zigzag-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.zigzag-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.zigzag-divider path {
    fill: #fff;
}

.about {
    position: relative;
    padding: 6rem 0;
    background-color: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.02);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-text ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.about-text ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.about-text ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.services {
    position: relative;
    padding: 6rem 0;
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(147, 112, 219, 0.1);
}

.service-icon img {
    width: 60%;
    height: auto;
    border-radius: 0;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.nutrition-programs {
    position: relative;
    padding: 6rem 0;
    background-color: #fff;
}

.programs-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.programs-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.programs-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.programs-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.programs-table th,
.programs-table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid #ddd;
}

.programs-table th {
    background-color: var(--primary-color);
    color: white;
}

.programs-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.programs-table tr:hover {
    background-color: #e9e9e9;
}

.programs-table ul {
    margin-left: 1.5rem;
}

.programs-table ul li {
    margin-bottom: 0.3rem;
}

.meal-calendar {
    position: relative;
    padding: 6rem 0;
    background-color: var(--light-color);
}

.calendar-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.calendar-image {
    max-width: 600px;
    margin: 0 auto;
}

.calendar-image img {
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.calendar-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.calendar-table th,
.calendar-table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid #ddd;
}

.calendar-table th {
    background-color: var(--primary-color);
    color: white;
}

.calendar-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.calendar-table tr:hover {
    background-color: #e9e9e9;
}

.testimonials {
    position: relative;
    padding: 6rem 0;
    background-color: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-image {
    height: 200px;
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.testimonial-card:hover .testimonial-image img {
    transform: scale(1.05);
}

.testimonial-content {
    padding: 1.5rem;
}

.testimonial-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.faq {
    position: relative;
    padding: 6rem 0;
    background-color: var(--light-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.contact {
    position: relative;
    padding: 6rem 0;
    background-color: #fff;
}

.contact-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-form-wrapper {
    flex: 1;
}

.contact-form {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(147, 112, 219, 0.2);
}

.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 2rem;
}

.footer-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.footer-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.footer-item:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
}

.footer-item:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
    border-radius: 0;
}

.footer-item h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
}

.footer-item h3:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: #ccc;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #444;
    text-align: center;
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-bottom: 8rem;
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text ul li {
        text-align: left;
    }

    .contact-content {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
    }

    .footer-item:nth-child(1),
    .footer-item:nth-child(2),
    .footer-item:nth-child(3),
    .footer-item:nth-child(4) {
        grid-column: 1;
    }

    .footer-item:nth-child(1) {
        grid-row: 1;
    }

    .footer-item:nth-child(2) {
        grid-row: 2;
    }

    .footer-item:nth-child(3) {
        grid-row: 3;
    }

    .footer-item:nth-child(4) {
        grid-row: 4;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: center;
        padding: 1.5rem;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
    }

    .menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .hamburger {
        display: flex;
    }

    .hero-container {
        padding-top: 2rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .testimonials-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .testimonial-image {
        height: 150px;
    }
}

@media (max-width: 375px) {
    .header-container {
        width: 95%;
    }

    .logo img {
        height: 40px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }
}