:root {
    --primary-color: #5e548e;
    --light-shade: #eeecf4;
    --dark-shade: #433b64;
    --text-color: #433b64;
    --background-color: #eeecf4;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Lato', sans-serif;
}

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

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-shade);
}

h1 {
    font-size: 2.441rem;
}

h2 {
    font-size: 1.953rem;
}

h3 {
    font-size: 1.563rem;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--dark-shade);
}

ul {
    list-style-position: inside;
    margin-bottom: 15px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 60px 0;
}

.btn_primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-shade);
    padding: 12px 25px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.btn_primary:hover {
    background-color: var(--dark-shade);
    color: var(--light-shade);
}

.btn_secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.btn_secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-shade);
}

.section_intro {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 1.1rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.navbar-brand img {
    max-height: 60px;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
}

.hamburger {
    width: 30px;
    height: 3px;
    background: var(--dark-shade);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger:before,
.hamburger:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: var(--dark-shade);
    transition: all 0.3s ease;
}

.hamburger:before {
    top: -8px;
}

.hamburger:after {
    top: 8px;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar-nav {
    display: flex;
    gap: 30px;
}

.nav-item {
    list-style: none;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero {
    background-color: var(--primary-color);
    color: var(--light-shade);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    color: var(--light-shade);
    font-size: 3.052rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.green_manifest {
    background-color: var(--light-shade);
}

.manifest_content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.manifest_text {
    flex: 1;
    min-width: 300px;
}

.manifest_principles {
    margin-top: 30px;
}

.principle {
    margin-bottom: 25px;
}

.manifest_image {
    flex: 1;
    min-width: 300px;
}

.manifest_image img {
    width: 100%;
    height: auto;
}

.eco_footprint {
    background-color: var(--primary-color);
    color: var(--light-shade);
}

.eco_footprint h2 {
    color: var(--light-shade);
    text-align: center;
    margin-bottom: 40px;
}

.footprint_content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.footprint_image {
    flex: 1;
    min-width: 300px;
}

.footprint_image img {
    width: 100%;
    height: auto;
}

.footprint_calculator {
    flex: 1;
    min-width: 300px;
    background-color: var(--light-shade);
    color: var(--text-color);
    padding: 30px;
}

.footprint_calculator h3 {
    margin-bottom: 15px;
}

.calculator_fields {
    margin-top: 20px;
}

.calc_field {
    margin-bottom: 15px;
}

.calc_field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
}

.calc_field select,
.calc_field input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    background-color: white;
}

.business_models h2 {
    text-align: center;
    margin-bottom: 20px;
}

.models_gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.model_card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: white;
    overflow: hidden;
}

.model_image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.model_content {
    padding: 20px;
}

.green_innovations {
    background-color: var(--light-shade);
}

.green_innovations h2 {
    text-align: center;
    margin-bottom: 40px;
}

.innovations_map {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.innovation_area {
    flex: 1;
    min-width: 220px;
    padding: 25px;
    background-color: white;
    transition: all 0.3s ease;
}

.innovation_area:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.innovation_area h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.innovation_area ul {
    list-style-type: none;
}

.innovation_area li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.innovation_area li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.sustainability_roadmap h2 {
    text-align: center;
    margin-bottom: 50px;
}

.roadmap_steps {
    max-width: 800px;
    margin: 0 auto;
}

.roadmap_step {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.step_number {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.step_content {
    flex: 1;
}

.step_content h3 {
    margin-bottom: 10px;
}

.eco_community {
    background-color: var(--primary-color);
    color: var(--light-shade);
}

.eco_community h2 {
    color: var(--light-shade);
    text-align: center;
    margin-bottom: 40px;
}

.community_content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.community_benefits {
    list-style-type: none;
    margin: 30px 0;
    text-align: left;
    display: inline-block;
}

.community_benefits li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.community_benefits li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--light-shade);
}

.cta {
    background-color: var(--dark-shade);
    color: var(--light-shade);
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    color: var(--light-shade);
    margin-bottom: 20px;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.contact h2 {
    text-align: center;
    margin-bottom: 50px;
}

.contact_content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact_info {
    flex: 1;
    min-width: 300px;
}

.contact_form {
    flex: 2;
    min-width: 300px;
}

.form_group {
    margin-bottom: 20px;
}

.form_group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
}

.form_group input,
.form_group select,
.form_group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    background-color: white;
}

.green_transformation {
    background-color: var(--light-shade);
}

.green_transformation h2 {
    text-align: center;
    margin-bottom: 30px;
}

.transformation_content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.transformation_content p {
    margin-bottom: 30px;
}

.transformation_form {
    text-align: left;
}

footer {
    background-color: var(--dark-shade);
    color: var(--light-shade);
    padding: 60px 0 20px;
}

.footer_content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer_logo {
    flex: 1;
    min-width: 200px;
}

.footer_logo img {
    max-height: 60px;
    margin-bottom: 15px;
}

.footer_links {
    flex: 1;
    min-width: 200px;
}

.footer_links h3,
.footer_address h3 {
    color: var(--light-shade);
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.footer_links ul {
    list-style-type: none;
}

.footer_links li {
    margin-bottom: 10px;
}

.footer_links a {
    color: var(--light-shade);
}

.footer_links a:hover {
    color: #ccc;
}

.footer_address {
    flex: 1;
    min-width: 200px;
}

.footer_bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media screen and (max-width: 768px) {
    .nav-toggle-label {
        display: block;
        cursor: pointer;
        padding: 15px;
        z-index: 2;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        transition: all 0.3s ease;
        padding-top: 80px;
        flex-direction: column;
        align-items: center;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .nav-item {
        width: 100%;
        text-align: center;
        margin: 15px 0;
    }

    .nav-link {
        display: inline-block;
        padding: 10px 20px;
        font-size: 18px;
        color: var(--text-color);
    }

    .nav-toggle:checked ~ .nav-wrapper {
        left: 0;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger {
        background: transparent;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger:before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger:after {
        transform: rotate(-45deg);
        top: 0;
    }

    .hero h1 {
        font-size: 2.441rem;
    }

    .manifest_content,
    .footprint_content,
    .models_gallery,
    .innovations_map,
    .contact_content {
        flex-direction: column;
    }

    .manifest_image,
    .footprint_image {
        order: -1;
    }

    .model_card {
        max-width: 100%;
    }

    .innovation_area {
        min-width: 100%;
    }

    .roadmap_step {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .step_number {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .community_benefits {
        width: 100%;
    }

    .footer_content {
        flex-direction: column;
        text-align: center;
    }

    .footer_links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .footer_links li {
        margin-bottom: 0;
    }
}

/* Стили для страницы О нас (about.html) */
.about_hero {
    background-color: var(--dark-shade);
}

.founder_journey {
    padding: 70px 0;
}

.journey_content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.journey_image {
    flex: 1;
    min-width: 300px;
}

.journey_image img {
    width: 100%;
    height: auto;
}

.journey_text {
    flex: 1;
    min-width: 300px;
}

.journey_text p {
    margin-bottom: 20px;
}

.mission {
    background-color: var(--light-shade);
    padding: 70px 0;
}

.mission_content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.mission_text {
    flex: 1;
    min-width: 300px;
}

.mission_image {
    flex: 1;
    min-width: 300px;
}

.mission_image img {
    width: 100%;
    height: auto;
}

.mission_goals {
    margin-top: 30px;
}

.goal {
    margin-bottom: 25px;
}

.goal h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.team {
    padding: 70px 0;
}

.team h2 {
    text-align: center;
    margin-bottom: 20px;
}

.team_profiles {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.team_profile {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: white;
    padding: 30px;
}

.profile_title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.impact {
    background-color: var(--primary-color);
    color: var(--light-shade);
    padding: 70px 0;
}

.impact h2 {
    color: var(--light-shade);
    text-align: center;
    margin-bottom: 50px;
}

.impact_content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.impact_image {
    flex: 1;
    min-width: 300px;
}

.impact_image img {
    width: 100%;
    height: auto;
}

.impact_results {
    flex: 1;
    min-width: 300px;
}

.results_metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.metric {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
}

.metric_number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--light-shade);
}

.partnerships {
    padding: 70px 0;
}

.partnerships_content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.partnerships_text {
    flex: 1;
    min-width: 300px;
}

.partnerships_image {
    flex: 1;
    min-width: 300px;
}

.partnerships_image img {
    width: 100%;
    height: auto;
}

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

.partner_category h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.partner_category ul {
    list-style-type: none;
}

.partner_category li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.partner_category li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.research {
    background-color: var(--light-shade);
    padding: 70px 0;
}

.research h2 {
    text-align: center;
    margin-bottom: 30px;
}

.research_intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.research_library {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.research_item {
    background-color: white;
    padding: 25px;
}

.research_item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Стили для страницы Благодарности (thankyou.php) */
.thankyou {
    padding: 100px 0;
    text-align: center;
}

.thankyou_content {
    max-width: 700px;
    margin: 0 auto;
}

.thankyou_icon {
    margin-bottom: 30px;
}

.check_mark {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 0;
    position: relative;
    margin: 0 auto;
}

.check_mark:before,
.check_mark:after {
    content: '';
    position: absolute;
    background-color: white;
}

.check_mark:before {
    width: 20px;
    height: 6px;
    transform: rotate(45deg);
    top: 46px;
    left: 17px;
}

.check_mark:after {
    width: 40px;
    height: 6px;
    transform: rotate(-45deg);
    top: 40px;
    left: 25px;
}

.thankyou h1 {
    margin-bottom: 20px;
}

.thankyou p {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.thankyou_actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.related_resources {
    background-color: var(--light-shade);
    padding: 70px 0;
}

.related_resources h2 {
    text-align: center;
    margin-bottom: 20px;
}

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

.resource_item {
    background-color: white;
    padding: 25px;
}

.resource_item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Медиа-запросы для адаптивности */
@media screen and (max-width: 768px) {
    .journey_content,
    .mission_content,
    .impact_content,
    .partnerships_content {
        flex-direction: column;
    }

    .journey_image,
    .mission_image,
    .impact_image,
    .partnerships_image {
        order: -1;
    }

    .partners_map {
        grid-template-columns: 1fr;
    }

    .research_library {
        grid-template-columns: 1fr;
    }

    .resources_list {
        grid-template-columns: 1fr;
    }

    .thankyou_actions {
        flex-direction: column;
    }
}