
.btn {
    display: inline-block;
    background-color: #00A96E;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    margin-top: 20px;
}
.btn:hover{
    color: #fff;
}

a {
    color: #00A96E;
    text-decoration: underline;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: normal;
    background-color: #fff;
}

.hero-content {
    max-width: 500px;
    margin: 50px;
}

.hero-content h1 {
    font-size: 1.5em;
    color: #555;
    text-transform: uppercase;
}

.highlighted-green{
    color: #00A96E;
}

.hero-image img {
    border-radius: 10px;
}

/* Tech Section */
.tech {
    text-align: left;
    padding: 50px;
}

.tech h2 {
    font-size: 2em;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.gallery img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}


/* Free Prosthesis Section */
.free-prosthesis {
    padding: 50px;
}
.free-prosthesis h2 {
    text-align: center;

    text-transform: uppercase;
    font-size: 2em;
    color: #555;
    max-width: 800px;
    margin: 0 auto 40px auto;
}
.steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}
.step {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
}
.step h3 {
    font-size: 1.2em;
    font-weight: bold;
}

/* State-Paid Section */
.state-paid {
    background-color: #e0f2f1;
    text-align: center;
    padding: 50px;
}
.state-paid h2 {
    font-size: 1.8em;
    margin: 0 auto 20px auto;
}

/* Video Section */
.video-section {
    margin: 20px 0;
    padding: 20px;
    background-color: #fff;
    text-align: center;
}
.video-section h2 {
    font-size: 2em;
    color: #555;
}
.video-player {
    width: 100%;
    background-color: #000;
    margin: 20px auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}
.play-button {
    width: 80px;
    height: 80px;
    background-color: #00A96E;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
}
.play-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 30px solid white;
}


/* Products Section */
.products {
    padding: 50px;
}
.product-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}
.filter-btn {
    background: #e0e0e0;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
}
.filter-btn.active {
    background: #00A96E;
    color: white;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.product-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
}
.product-card img {
    max-width: 100%;
    height: 250px;
    object-fit: contain;
}
.product-card .tags {
    margin: 15px 0;
}
.tag {
    background-color: #e0f2f1;
    color: #00796b;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8em;
    margin: 2px;
    display: inline-block;
}

/* About Motorica Section */
.about-motorica {
    display: flex; /* Используем flex для расположения элементов в строку */
    align-items: stretch; /* Заставляем дочерние элементы растягиваться на всю высоту блока */
    background-color: #e0f2f1;
    border-radius: 10px; /* Применяем скругление к контейнеру */
    overflow: hidden; /* Прячем все, что выходит за пределы скругленных углов */
    margin: 50px auto; /* Стандартные отступы сверху/снизу */
    max-width: 1200px; /* Опционально, чтобы блок не был слишком широким на больших экранах */
}

.about-content {
    width: 60%; /* Текстовый блок занимает 60% ширины */
    padding: 50px; /* Внутренние отступы для текста */
    box-sizing: border-box; /* Чтобы padding не влиял на общую ширину */
}

.about-image {
    width: 50%; /* Блок с картинкой занимает 40% ширины */
}

.about-image img {
    width: 100%; /* Картинка растягивается на всю ширину своего контейнера */
    height: 100%; /* Картинка растягивается на всю высоту своего контейнера */
    object-fit: cover; /* Главное свойство: масштабирует картинку, чтобы она полностью покрыла блок, сохраняя пропорции, и обрезает лишнее */
    display: block;
}

/* Age Groups Section */
.age-groups {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 50px;
    flex-wrap: wrap;
}
.age-group-card {
    flex: 1;
    max-width: 350px;
    min-width: 300px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    padding-bottom: 20px;
}
.age-group-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.age-group-card h3, .age-group-card p, .age-group-card a {
    padding: 0 20px;
}
.age-group-card p {
    color: #555;
}
.catalog-button-container {
    text-align: center;
    padding-bottom: 50px;
}

/* Organizations Section */
.organizations {
    padding: 50px;
    max-width: 1100px;
    margin: 0 auto;
}
.organizations h2, .organizations > p {
    text-align: center;
    text-transform: uppercase;
}
.organization-item {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-top: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
}
.organization-item.reverse {
    flex-direction: row-reverse;
}
.org-info {
    flex: 1;
}
.org-image {
    flex: 1;
    max-width: 50%;
}
.org-image img {
    width: 100%;
    border-radius: 10px;
}

/* Trust Section */
.trust {
    text-align: center;
    padding: 50px;
    background: #fff;
}
.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.feature {
    max-width: 300px;
}
.feature .icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

/* Contacts Section */
.contacts {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    gap: 50px;
    background-color: #e0f2f1;
}
.contact-info {
    line-height: 1.8;
}
.contact-info h2 {
    color: #00A96E;
}
.map img {
    max-width: 500px;
    border-radius: 10px;
}

/* Cities Section */
.cities {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px 50px 50px 50px;
    background-color: #e0f2f1;
    flex-wrap: wrap;
}
.city-tag {
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero, .about-motorica, .organization-item, .organization-item.reverse, .contacts {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        margin-right: 0;
        margin-bottom: 30px;
    }
    .steps {
        grid-template-columns: 1fr;
    }
    .map img {
        width: 100%;
    }
}