/* ========================================
   СТОРІНКА ПРО НАС
   ======================================== */

/* Вступна секція */
.about-intro {
    background: #fff;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text-block h2 {
    font-size: 2rem;
    color: #0c4e3e;
    margin-bottom: 25px;
    font-weight: 600;
}

.about-text-block p {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 20px;
}

.about-text-block p:last-child {
    margin-bottom: 0;
}

.about-image-block {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-image-block img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 350px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

/* Місія та Візія */
.mission-vision-section {
    margin-bottom: 60px;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mission-card {
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8dc 100%);
    border-radius: 12px;
    padding: 40px;
    border-left: 4px solid #e28234;
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(226, 130, 52, 0.15);
}

.mission-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.mission-card h3 {
    font-size: 1.5rem;
    color: #0c4e3e;
    margin-bottom: 15px;
    font-weight: 600;
}

.mission-card p {
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
}

/* Цінності */
.values-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2rem;
    color: #0c4e3e;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.value-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.value-card:hover {
    border-color: #e28234;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(226, 130, 52, 0.15);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #e28234;
}

.value-card h3 {
    font-size: 1.2rem;
    color: #0c4e3e;
    margin-bottom: 12px;
    font-weight: 600;
}

.value-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Переваги */
.advantages-section {
    margin-bottom: 60px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-item {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #e28234 0%, #D19640 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.advantage-item:hover::before {
    transform: scaleX(1);
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.advantage-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e28234;
    opacity: 0.2;
    margin-bottom: 15px;
    line-height: 1;
}

.advantage-item h3 {
    font-size: 1.2rem;
    color: #0c4e3e;
    margin-bottom: 12px;
    font-weight: 600;
}

.advantage-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Досягнення */
.achievements-section {
    background: linear-gradient(135deg, #0c4e3e 0%, #0a3d31 100%);
    border-radius: 12px;
    padding: 60px 40px;
    margin-bottom: 60px;
}

.achievements-section .section-title {
    color: #fff;
    margin-bottom: 50px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.achievement-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.achievement-number {
    font-size: 3rem;
    font-weight: 700;
    color: #e28234;
    margin-bottom: 10px;
    line-height: 1;
}

.achievement-card p {
    color: #fff;
    font-size: 1rem;
    line-height: 1.4;
    opacity: 0.9;
}

/* Заклик до дії */
.about-cta {
    text-align: center;
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8dc 100%);
    border-radius: 12px;
    padding: 60px 40px;
    border: 2px solid #e28234;
}

.about-cta h2 {
    font-size: 2.2rem;
    color: #0c4e3e;
    margin-bottom: 15px;
    font-weight: 600;
}

.about-cta p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #e28234 0%, #f09145 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(226, 130, 52, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(226, 130, 52, 0.4);
    color: white;
}

.btn-secondary {
    display: inline-block;
    padding: 16px 40px;
    background: transparent;
    color: #0c4e3e;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid #0c4e3e;
}

.btn-secondary:hover {
    background: #0c4e3e;
    color: white;
    transform: translateY(-3px);
}

/* ========================================
   АДАПТИВНІСТЬ
   ======================================== */

@media (max-width: 1024px) {
    .values-grid,
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-intro {
        padding: 30px 25px;
    }

    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image-block {
        order: -1;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .values-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .achievements-section {
        padding: 40px 25px;
    }

    .about-cta {
        padding: 40px 25px;
    }

    .about-cta h2 {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .about-intro {
        padding: 25px 20px;
    }

    .about-text-block h2 {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .mission-card {
        padding: 30px 20px;
    }

    .mission-card h3 {
        font-size: 1.3rem;
    }

    .value-card {
        padding: 25px 20px;
    }

    .advantage-item {
        padding: 25px 20px;
    }

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

    .achievement-number {
        font-size: 2.5rem;
    }

    .about-cta h2 {
        font-size: 1.5rem;
    }

    .about-cta p {
        font-size: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 14px 30px;
        font-size: 0.95rem;
    }
}

/* ========================================
   АНІМАЦІЇ
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Додаємо анімацію при завантаженні */
.value-card,
.advantage-item,
.achievement-card {
    animation: fadeInUp 0.6s ease-out;
}

.value-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2) { animation-delay: 0.2s; }
.value-card:nth-child(3) { animation-delay: 0.3s; }
.value-card:nth-child(4) { animation-delay: 0.4s; }
.value-card:nth-child(5) { animation-delay: 0.5s; }
.value-card:nth-child(6) { animation-delay: 0.6s; }

/* Плавна поява */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
