.hero-section {
    padding: 10px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 0px;
    align-items: stretch; /* CHANGED: Makes both columns stretch to the height of the tallest one */
}

.hero-text-content {
    background-color: #fff; /* White background for the text block */
    padding: 40px;
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex; /* ADDED: Enables Flexbox for this container */
    flex-direction: column; /* ADDED: Arranges children vertically */
    height: 100%;
}

.hero-text-content h1 {
    font-size: 1.8em; /* Header size */
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    text-transform: uppercase;
}

.hero-text-content h1 .highlighted-text {
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

.cta-link {
    display: inline-block;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    width: 130px;
    padding-bottom: 3px;
    border-bottom: 2px solid var(--primary-color); /* Green underline */
    transition: color 0.3s ease, border-color 0.3s ease;
    margin-bottom: 40px;
}

.cta-link:hover {
    color: var(--primary-color);
    border-bottom-color: #333;
}
.hero-left-column{
    display: flex;
    flex-direction: column; /* Располагаем элементы (текст и кнопки) в столбец */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.hero-action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adaptive buttons */
    gap: 15px;
    margin-top: auto; /* ADDED: Pushes the button block to the bottom of the flex container */
}

.action-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #c1ebd5; /* Very light green button background */
    padding: 18px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.9em;
    text-transform: uppercase;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.action-button.full-width-button {
    grid-column: 1 / -1; /* Stretches the button across the entire width of the button grid */
}


.action-button:hover {
    background-color: var(--primary-color); /* Darker on hover */
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.action-button .icon-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    color: var(--primary-color); /* Green arrow */
    font-size: 0.9em;
    margin-left: 10px;
    transform: rotate(-45deg); /* Поворачиваем на 45 градусов против часовой */
    transition: transform 0.4s ease-in-out; /* Добавляем плавный переход */

}
.action-button:hover .icon-arrow {
    transform: rotate(0deg); /* При наведении поворачиваем на 45 градусов по часовой */
}
.hero-right-column{
    height: 750px;
}


/* НОВЫЙ БЛОК ДЛЯ IFRAME */
.hero-iframe-content {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden; /* Обрезает iframe по скругленным углам */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero-iframe-content iframe {
    /* Заставляет iframe адаптивно заполнить контейнер */
    width: 100%;
    height: 100%;
    border: 0; /* Убираем стандартную рамку iframe */
}

.video-logos-overlay {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    box-sizing: border-box;
}

.video-logos-overlay img {
    height: 20px; /* Adjust logo height */
    width: auto;
    opacity: 0.7; /* Semi-transparent logos */
    filter: grayscale(50%) brightness(150%);
}


/* Responsiveness */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr; /* Single column on medium screens */
    }
    .hero-video-content {
        margin-top: 30px; /* Top margin for the video when it's below the text */
        height: 400px; /* Set height as proportions might be off */
    }
    .hero-text-content h1 {
        font-size: 1.9em;
    }
}

@media (max-width: 768px) {
    .hero-text-content {
        padding: 30px;
    }
    .hero-text-content h1 {
        font-size: 1.7em;
    }
    .hero-description {
        font-size: 1em;
    }
    .hero-action-buttons {
        grid-template-columns: 1fr; /* All buttons in a single column */
    }
    .action-button.full-width-button {
        /* No longer needed at this resolution as all buttons are full-width */
    }
}

@media (max-width: 480px) {
    .hero-text-content h1 {
        font-size: 1.5em;
    }
    .action-button {
        padding: 15px;
        font-size: 0.85em;
    }
}