/* Стили для подменю индустрий */
.industries-submenu {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 90px; /* Высота основного меню */
    z-index: 900;
    transition: transform 0.3s ease;
}

.industries-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: center;
}

.industries-nav li {
    flex: 0 0 auto;
}

.industries-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
}

.industries-nav a i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #666;
    transition: color 0.3s ease;
}

.industries-nav a span {
    font-size: 0.9rem;
}

.industries-nav a:hover,
.industries-nav a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.industries-nav a:hover i,
.industries-nav a.active i {
    color: var(--primary-color);
}

/* Модификации для hero секции */
.industries-hero {
    background: linear-gradient(135deg, #f6f9fc 0%, #f1f4f8 100%);
    padding: 170px 0 80px;
}

/* Стили для сетки индустрий */
.industries-grid {
    padding: 4rem 0;
}

.industries-container {
    width: 100%;
    max-width: 100%;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

/* Стили для карточек индустрий */
.industry-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.industry-card:hover .card-icon i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.industry-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.industry-card:hover h3{
    color: var(--primary-color);
}

.industry-card p {
    color: #333;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.learn-more {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.learn-more .arrow {
    transition: transform 0.3s ease;
}

.learn-more:hover .arrow {
    transform: translateX(5px);
}

/* Стили для секции статистики */
.stats-section {
    background: var(--primary-color);
    color: #fff;
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Стили для CTA секции */
.industries-cta {
    background: linear-gradient(135deg, #f6f9fc 0%, #f1f4f8 100%);
    padding: 6rem 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Медиа-запросы */
@media (max-width: 768px) {
    .industries-nav {
        padding: 0.5rem;
        justify-content: normal;
    }
    
    .industries-nav a {
        padding: 0.75rem 1rem;
    }
}