/* Base styles */
:root {
    --color-primary: #2a5e41;
    --color-secondary: #ff6b35;
    --color-light: #f7efe2;
    --color-dark: #1d1d1d;
    --color-gray: #6c6c6c;
    --color-white: #ffffff;
    --font-heading: 'Comfortaa', cursive;
    --font-text: 'Lato', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--color-primary);
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--color-secondary);
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-secondary);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

section {
    padding: 4rem 0;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Button styles */
.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(42, 94, 65, 0.4);
}

/* Header styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--color-white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-primary);
}

.main-nav ul {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    font-family: var(--font-heading);
    font-weight: 600;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover {
    border-bottom: 2px solid var(--color-secondary);
}

/* Hero section styles */
.hero {
    background-color: var(--color-light);
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    gap: 2rem;
}

.hero-text {
    flex: 1;
    max-width: 550px;
}

.hero-collage {
    flex: 1;
    position: relative;
    height: 450px;
}

.hero-image-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    z-index: 2;
}

.hero-image-accent {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    z-index: 1;
}

.hero-wave-top, .hero-wave-bottom,
.section-wave-top, .section-wave-bottom,
.footer-wave-top {
    position: absolute;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave-top {
    top: 0;
    left: 0;
}

.hero-wave-bottom {
    bottom: 0;
    left: 0;
}

/* Programs section styles */
.programs {
    padding: 5rem 0;
}

.program-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 0 5%;
}

.program-card {
    background-color: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.program-icon {
    margin-bottom: 1.5rem;
    text-align: center;
}

.program-features {
    margin-top: 1.5rem;
}

.program-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

/* Benefits section styles */
.benefits {
    background-color: var(--color-light);
    position: relative;
    padding: 5rem 0;
}

.benefits-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 0 5%;
}

.benefits-image {
    flex: 1;
    max-width: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.benefits-list {
    flex: 1;
    max-width: 550px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.benefit-icon {
    flex-shrink: 0;
}

/* Nutrition section styles */
.nutrition {
    padding: 5rem 0;
}

.nutrition-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    padding: 0 5%;
    margin-bottom: 3rem;
}

.nutrition-infographic, .nutrition-guide {
    flex: 1;
    min-width: 300px;
}

.calorie-chart {
    display: flex;
    justify-content: space-between;
    height: 300px;
    align-items: flex-end;
    margin-top: 2rem;
}

.calorie-item {
    text-align: center;
    width: 18%;
}

.calorie-bar {
    background-color: var(--color-secondary);
    width: 100%;
    border-radius: 5px 5px 0 0;
    position: relative;
    transition: var(--transition);
}

.calorie-bar:hover {
    background-color: var(--color-primary);
}

.calorie-bar span {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
    color: var(--color-dark);
}

.calorie-label {
    margin-top: 10px;
    font-size: 0.9rem;
}

.portions-guide {
    margin-top: 2rem;
}

.portion-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.portion-icon {
    flex-shrink: 0;
}

.replacement-block {
    padding: 0 5%;
}

.replacement-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2rem;
}

.replacement-item {
    display: flex;
    align-items: center;
    background-color: var(--color-light);
    border-radius: 10px;
    padding: 1.5rem;
    flex: 1;
    min-width: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.replace-from, .replace-to {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    flex: 1;
}

.replace-arrow {
    margin: 0 1rem;
}

/* Weekly schedule section styles */
.weekly-schedule {
    background-color: var(--color-light);
    position: relative;
    padding: 5rem 0;
}

.schedule-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    padding: 0 5%;
}

.schedule-table {
    flex: 1.5;
    min-width: 300px;
    background-color: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.schedule-row {
    display: flex;
}

.schedule-header {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: bold;
}

.schedule-cell {
    flex: 1;
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.day {
    font-weight: bold;
    background-color: rgba(42, 94, 65, 0.1);
}

.schedule-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.schedule-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

/* Contact section styles */
.contact {
    padding: 5rem 0;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    padding: 0 5%;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.contact-image {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    background-color: var(--color-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-text);
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer styles */
footer {
    background-color: var(--color-primary);
    color: var(--color-light);
    position: relative;
    padding-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 3rem 5%;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.footer-logo h3 {
    color: var(--color-light);
}

.footer-nav h4,
.footer-about h4,
.footer-policy h4 {
    color: var(--color-light);
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-nav h4:after,
.footer-about h4:after,
.footer-policy h4:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-secondary);
}

.footer-nav ul,
.footer-policy ul {
    margin-top: 1rem;
}

.footer-nav li,
.footer-policy li {
    margin-bottom: 0.5rem;
}

.footer-nav a,
.footer-policy a {
    color: var(--color-light);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-nav a:hover,
.footer-policy a:hover {
    opacity: 1;
    color: var(--color-secondary);
}

.footer-about p {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(247, 239, 226, 0.2);
}

/* Thank you page styles */
.thankyou {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.thankyou h1 {
    margin-bottom: 1.5rem;
}

.thankyou p {
    max-width: 600px;
    margin-bottom: 2rem;
}

/* Policy pages styles */
.policy-page {
    padding: 4rem 5%;
}

.policy-page h1 {
    margin-bottom: 2rem;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-section {
    margin-bottom: 3rem;
}

.policy-section h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.policy-section h2:after {
    left: 0;
    transform: none;
}

.policy-section p {
    margin-bottom: 1rem;
}

.back-to-home {
    margin-top: 3rem;
    text-align: center;
}

/* Animations and hover effects */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.btn-primary:hover {
    animation: pulse 1.5s infinite ease-in-out;
}

.program-card:hover .program-icon svg,
.benefit-item:hover .benefit-icon svg,
.portion-item:hover .portion-icon svg,
.info-list li:hover svg {
    transform: rotate(5deg) scale(1.1);
}

.program-icon svg,
.benefit-icon svg,
.portion-icon svg,
.info-list li svg {
    transition: var(--transition);
}

.calorie-bar {
    position: relative;
    overflow: hidden;
}

.calorie-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transition: var(--transition);
}

.calorie-bar:hover::before {
    left: 100%;
    transition: 0.8s;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content {
        flex-direction: column;
        padding: 2rem 5%;
    }
    
    .hero-text {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-collage {
        width: 100%;
        height: 400px;
    }
    
    .benefits-container {
        flex-direction: column-reverse;
    }
    
    .benefits-image,
    .benefits-list {
        max-width: 100%;
    }
    
    .schedule-table {
        overflow-x: auto;
        display: block;
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    header {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .program-cards,
    .benefits-container,
    .nutrition-info,
    .replacement-items,
    .schedule-container,
    .contact-container {
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-nav h4:after,
    .footer-about h4:after,
    .footer-policy h4:after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .hero {
        min-height: auto;
    }
    
    .hero-collage {
        height: 350px;
    }
    
    .hero-image-main {
        width: 90%;
    }
    
    .hero-image-accent {
        width: 50%;
    }
    
    .calorie-chart {
        height: 250px;
    }
    
    .calorie-item {
        width: 18%;
    }
    
    .calorie-bar span {
        font-size: 0.8rem;
    }
    
    .calorie-label {
        font-size: 0.7rem;
    }
    
    .replacement-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .replace-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 375px) {
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero-collage {
        height: 300px;
    }
    
    .calorie-chart {
        height: 200px;
    }
    
    .calorie-label {
        font-size: 0.6rem;
    }
}