.home-block {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 4rem 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    background: var(--primary-color);
    border-radius: 20px;
    box-shadow: var(--inner-shadow);
    position: relative;
}

.home-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    box-shadow: var(--inner-shadow);
    pointer-events: none;
}

.home-block.reverse {
    flex-direction: row-reverse;
}

.home-block-image {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.home-block-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--inner-shadow);
}

.home-block-content {
    flex: 1;
    padding: 1rem;
}

.home-block-content h2 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.home-block-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.features-block {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 3rem;
    background: var(--primary-color);
    border-radius: 20px;
    box-shadow: var(--inner-shadow);
    position: relative;
}

.features-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    box-shadow: var(--inner-shadow);
    pointer-events: none;
}

.features-block h2 {
    color: var(--accent-color);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: rgba(0, 148, 216, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    transition: transform 0.3s ease;
    box-shadow: var(--inner-shadow);
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--text-color);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .home-block {
        flex-direction: column;
        padding: 2rem 1rem;
    }

    .home-block.reverse {
        flex-direction: column;
    }

    .home-block-image {
        max-width: 100%;
    }

    .features-list {
        grid-template-columns: 1fr;
    }
} 