/* Основные стили для страницы "О компании" */
.about-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 40px;
}

.company-highlight {
    background-color: #f8f9fa;
    border-left: 4px solid #FFA500;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 0 5px 5px 0;
}

.company-highlight h3 {
    color: #333;
    margin-top: 0;
    font-size: 24px;
}

.company-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.fact-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(145deg, #ffffff, #f8f8f8);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

.fact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    border-color: rgba(255,165,0,0.3);
}

.fact-number {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: #FFA500;
    margin-bottom: 5px;
}

.fact-text {
    font-size: 16px;
    color: #666;
}

.company-description {
    margin-bottom: 40px;
    line-height: 1.6;
}

.company-description p {
    margin-bottom: 15px;
}

/* Секция преимуществ */
.advantages-section {
    margin-top: 50px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    font-weight: bold;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #FFA500;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.advantage-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    border-top: 3px solid #FFA500;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,165,0,0.1), transparent);
    transition: all 0.6s;
}

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

.advantage-card:hover::before {
    left: 100%;
}

.advantage-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #FFA500;
}

.advantage-card h4 {
    font-size: 20px;
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: bold;
}

.advantage-card p {
    color: #666;
    margin: 0;
}

/* Секция партнеров */
.partners-section {
    margin-top: 60px;
}

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

.partner-logo {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(255,165,0,0.3);
}

/* Адаптивность */
@media (max-width: 768px) {
    .company-facts {
        grid-template-columns: 1fr 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 24px;
    }

    .company-highlight h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .company-facts {
        grid-template-columns: 1fr;
    }

    .partner-logo {
        height: 60px;
        padding: 15px;
    }

    .advantage-card {
        padding: 20px;
    }
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.about-section {
    animation: fadeIn 0.6s ease-out forwards;
}

.advantages-section {
    animation: fadeIn 0.6s ease-out 0.2s forwards;
    opacity: 0;
}

.partners-section {
    animation: fadeIn 0.6s ease-out 0.4s forwards;
    opacity: 0;
}