@font-face {
    font-family: 'Dynalight';
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-faces/1.0.0/font-faces/dynalight/dynalight-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-color: #d2bc9b;
    --secondary-color: #8c7b68;
    --tertiary-color: #efe6d9;
    --dark-color: #5e4c3e;
    --light-color: #f8f3eb;
    --accent-color: #a1867f;
    --text-color: #4a3e34;
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', serif;
    color: var(--text-color);
    background-color: var(--light-color);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Dynalight', 'Georgia', serif;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

a {
    text-decoration: none;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--light-color);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--dark-color);
    color: var(--light-color);
}

.header {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/header-bg.webp');
    background-size: cover;
    background-position: center;
    color: white;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(210, 188, 155, 0.8);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    margin-right: 10px;
}

.logo h1 {
    margin-bottom: 0;
    color: var(--dark-color);
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: var(--dark-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.header-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-grow: 1;
    padding: 0 20px;
}

.header-content h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: white;
}

.header-content p {
    font-size: 1.5rem;
    max-width: 700px;
    margin-bottom: 40px;
}

section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.diagonal-section {
    background-color: var(--tertiary-color);
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    padding-bottom: 120px;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.intro-text {
    flex: 1;
}

.intro-image {
    flex: 1;
}

.hexagon-section {
    background-color: var(--light-color);
    position: relative;
}

.hexagon-section::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--light-color);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.programs-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.program-card {
    background-color: var(--tertiary-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.program-icon {
    margin-bottom: 20px;
    text-align: center;
}

.program-card h3 {
    text-align: center;
    margin-bottom: 15px;
}

.program-card ul {
    margin-top: 15px;
    padding-left: 20px;
}

.program-card ul li {
    margin-bottom: 5px;
    position: relative;
    padding-left: 25px;
}

.program-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.wave-section {
    background-color: var(--primary-color);
    position: relative;
}

.wave-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1200 120' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'><path d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%23d2bc9b'/></svg>");
    background-size: cover;
}

.benefits-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.benefits-image {
    flex: 1;
}

.benefits-list {
    flex: 1;
}

.benefit-item {
    margin-bottom: 30px;
}

.benefit-item h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.circle-section {
    background-color: var(--tertiary-color);
    position: relative;
}

.circle-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background-color: var(--tertiary-color);
    border-radius: 50%;
    z-index: 1;
}

.testimonials-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-image {
    margin-bottom: 20px;
}

.testimonial-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-color);
}

.testimonial-content {
    text-align: center;
}

.zigzag-section {
    background-color: var(--light-color);
    position: relative;
}

.zigzag-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(135deg, var(--tertiary-color) 25%, transparent 25%) -20px 0,
                linear-gradient(225deg, var(--tertiary-color) 25%, transparent 25%) -20px 0,
                linear-gradient(315deg, var(--tertiary-color) 25%, transparent 25%),
                linear-gradient(45deg, var(--tertiary-color) 25%, transparent 25%);
    background-size: 40px 40px;
}

.specialists-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-top: 40px;
}

.specialist-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--tertiary-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.specialist-image {
    margin-bottom: 20px;
}

.specialist-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-color);
}

.specialist-info {
    text-align: center;
}

.specialist-role {
    color: var(--accent-color);
    font-style: italic;
    margin-bottom: 15px;
}

.leaf-section {
    background-color: var(--primary-color);
    position: relative;
}

.leaf-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1200 120' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'><path d='M1200 0L0 0 598.97 114.72 1200 0z' fill='%23d2bc9b'/></svg>");
    background-size: cover;
}

.faq-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}

.faq-item {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.contact-section {
    background-color: var(--tertiary-color);
    padding-bottom: 100px;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px;
}

.contact-info address {
    margin: 30px 0;
    font-style: normal;
}

.working-hours {
    margin-top: 20px;
}

.contact-form {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    background-color: var(--light-color);
    font-family: 'Georgia', serif;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    text-align: center;
}

.footer-logo img {
    margin-bottom: 15px;
}

.footer-nav h3,
.footer-policies h3 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.footer-nav ul li,
.footer-policies ul li {
    margin-bottom: 10px;
}

.footer-nav a,
.footer-policies a {
    color: var(--light-color);
}

.footer-nav a:hover,
.footer-policies a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

@media (max-width: 1024px) {
    .header-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .main-nav {
        margin-top: 20px;
    }

    .main-nav ul {
        justify-content: center;
    }

    .main-nav li {
        margin: 0 15px;
    }

    .header-content h2 {
        font-size: 3rem;
    }

    .intro-content,
    .benefits-content {
        flex-direction: column-reverse;
    }

    .faq-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .header-content h2 {
        font-size: 2.5rem;
    }

    .header-content p {
        font-size: 1.2rem;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav li {
        margin: 5px 10px;
    }

    .specialists-wrapper,
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    section {
        padding: 50px 0;
    }

    .header-content h2 {
        font-size: 2rem;
    }

    .programs-wrapper,
    .testimonials-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 375px) {
    .header-wrapper {
        padding: 15px;
    }

    .logo h1 {
        font-size: 2rem;
    }

    .header-content h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 20px;
    }
}

.thank-you-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
    background-color: var(--tertiary-color);
}

.thank-you-content {
    max-width: 800px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.thank-you-content h2 {
    color: var(--secondary-color);
    font-size: 3rem;
    margin-bottom: 30px;
}

.back-home {
    margin-top: 30px;
}

.policy-section {
    padding: 80px 20px;
    background-color: var(--tertiary-color);
}

.policy-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.policy-title {
    text-align: center;
    margin-bottom: 40px;
}

.policy-content h3 {
    margin-top: 30px;
    margin-bottom: 20px;
    color: var(--secondary-color);
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
}

.policy-content p,
.policy-content ul {
    margin-bottom: 20px;
}

.policy-content ul {
    padding-left: 30px;
}

.policy-content ul li {
    list-style-type: disc;
    margin-bottom: 10px;
}

.back-button {
    margin-top: 40px;
    text-align: center;
}