:root {
    --primary-color: #00b4d8;
    --light-color: #e6f7fc;
    --dark-color: #007a92;
    --text-color: #333;
    --bg-color: #fff;
    --section-spacing: 80px;
    --component-spacing: 30px;
}

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

body {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-color);
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 10px;
}

p {
    margin-bottom: 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

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

section {
    padding: var(--section-spacing) 0;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--dark-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

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

.navbar-brand img {
    height: 50px;
    width: auto;
}

.nav-toggle {
    display: none;
}

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

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

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

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

.hamburger:after {
    top: 8px;
}

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

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

.nav-link:hover {
    color: var(--primary-color);
}

.main-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
    text-align: center;
    padding: 120px 0;
    position: relative;
}

.hero-section h1,
.hero-section p {
    color: white;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

section h2 {
    text-align: center;
}

section > p {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.diagnostic-content {
    display: flex;
    flex-wrap: wrap;
    gap: var(--component-spacing);
    margin-bottom: 40px;
}

.diagnostic-card {
    flex: 1;
    min-width: 300px;
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.diagnostic-image {
    margin-top: 40px;
    text-align: center;
}

.diagnostic-image img {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.opportunities-content,
.business-lab-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.opportunities-image,
.business-lab-image,
.tools-image {
    flex: 1;
}

.opportunities-image img,
.business-lab-image img,
.tools-image img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.opportunities-text,
.business-lab-text {
    flex: 1;
}

.case-studies-content {
    display: flex;
    flex-wrap: wrap;
    gap: var(--component-spacing);
}

.case-study-card {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.case-study-card h3,
.case-study-card p {
    padding: 0 20px;
}

.case-study-card p {
    padding-bottom: 20px;
}

.tools-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.tools-list {
    flex: 1;
}

.tool-item {
    margin-bottom: 30px;
}

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

.calendar-item {
    display: flex;
    margin-bottom: 30px;
    background-color: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.calendar-date {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.date {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.month {
    font-size: 1rem;
    text-transform: uppercase;
}

.calendar-info {
    padding: 20px;
    flex: 1;
}

.location {
    font-style: italic;
    color: #666;
}

.calendar-cta {
    text-align: center;
    margin-top: 40px;
}

.cta-section {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

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

.cta-section h2,
.cta-section p {
    color: white;
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background-color: var(--light-color);
    color: var(--dark-color);
}

.contact-content {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-form {
    flex: 2;
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--dark-color);
}

input,
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 180, 216, 0.2);
}

.main-footer {
    background-color: #333;
    color: white;
    padding: 60px 0 20px;
}

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

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

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-links,
.footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-links h3,
.footer-contact h3 {
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

@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;
    }

    .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;
    }

    .opportunities-content,
    .business-lab-content,
    .tools-content,
    .contact-content {
        flex-direction: column;
    }

    .opportunities-image {
        order: -1;
    }

    .footer-content {
        flex-direction: column;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }

    .calendar-item {
        flex-direction: column;
    }

    .calendar-date {
        padding: 15px;
        flex-direction: row;
        gap: 10px;
        justify-content: center;
    }

    .date {
        font-size: 1.5rem;
    }
}

@media screen and (min-width: 769px) {
    .nav-wrapper {
        display: block;
    }
}

/* Стили для about.html */
.hero-about {
    background: linear-gradient(135deg, #007a92, #00b4d8);
}

.founder-content,
.philosophy-content,
.space-content,
.research-content {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.founder-image,
.philosophy-image,
.space-image,
.research-image {
    flex: 1;
}

.founder-image img,
.philosophy-image img,
.space-image img,
.research-image img,
.partners-map img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.founder-story,
.philosophy-principles,
.space-text,
.research-list {
    flex: 1;
}

.principle-item,
.research-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.principle-item:last-child,
.research-item:last-child {
    border-bottom: none;
}

.space-features {
    list-style-position: inside;
    margin-top: 20px;
}

.space-features li {
    margin-bottom: 10px;
}

.team-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    flex: 1;
    min-width: 280px;
    background-color: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.member-info {
    padding: 25px;
}

.member-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.partners-content {
    margin-bottom: 50px;
}

.partner-category {
    margin-bottom: 30px;
    padding: 25px;
    background-color: var(--light-color);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.partners-map {
    margin-top: 40px;
    text-align: center;
}

/* Стили для thankyou.php */
.thankyou-section {
    padding: 100px 0;
    text-align: center;
}

.thankyou-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.thankyou-icon {
    width: 80px;
    height: 80px;
    background-color: #e6f7fc;
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.check-mark {
    width: 40px;
    height: 40px;
    position: relative;
}

.check-mark:before,
.check-mark:after {
    content: '';
    position: absolute;
    background-color: var(--primary-color);
}

.check-mark:before {
    width: 8px;
    height: 20px;
    top: 8px;
    left: 10px;
    transform: rotate(45deg);
}

.check-mark:after {
    width: 25px;
    height: 8px;
    top: 18px;
    left: 15px;
    transform: rotate(45deg);
}

.thankyou-section h1 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.thankyou-subtext {
    font-style: italic;
    color: #666;
    margin-bottom: 30px;
}

.thankyou-actions {
    margin-top: 30px;
}

.recommendations-section {
    background-color: var(--light-color);
    padding: 80px 0;
}

.recommendations-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.recommendation-card {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.recommendation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.recommendation-card h3,
.recommendation-card p {
    padding: 0 20px;
}

.recommendation-card p {
    padding-bottom: 20px;
}

/* Адаптивность для about.html и thankyou.php */
@media screen and (max-width: 768px) {
    .founder-content,
    .philosophy-content,
    .space-content,
    .research-content {
        flex-direction: column;
        gap: 30px;
    }

    .philosophy-image {
        order: -1;
    }

    .recommendations-content {
        flex-direction: column;
    }

    .team-content {
        flex-direction: column;
    }
}