/* Про нас Section */
.about-us-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

/* Фонові елементи */
.background-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 123, 255, 0.05) 100%);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation: floatShape 8s infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: -50px;
    animation: floatShape 6s infinite;
    animation-delay: -2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    animation: floatShape 10s infinite;
    animation-delay: -4s;
}

/* Заголовок секції */
.section-header {
    position: relative;
    z-index: 2;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #007bff 0%, #00bfff 100%);
    color: white;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.title-separator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
}

.dot {
    width: 8px;
    height: 8px;
    background: #007bff;
    border-radius: 50%;
    display: inline-block;
}

.dot:nth-child(2) {
    width: 12px;
    height: 12px;
}

/* Фото засновниці */
.founder-photo-wrapper {
    position: relative;
    transform: translateX(-100%);
    opacity: 0;
    transition: all 1s ease-out;
    z-index: 2;
}

.founder-photo-wrapper.visible {
    transform: translateX(0);
    opacity: 1;
}

.founder-image-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.founder-photo {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.founder-image-container:hover .founder-photo {
    transform: translateY(-10px);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.2) 0%, rgba(0, 123, 255, 0.1) 100%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.founder-image-container:hover .photo-overlay {
    opacity: 1;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: float 3s infinite;
}

.experience-badge .number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #007bff;
    line-height: 1;
}

.experience-badge .text {
    display: block;
    font-size: 0.9rem;
    color: #666;
}

/* Соціальні посилання */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007bff;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #007bff;
    color: white;
    transform: translateY(-3px);
}

/* Біографія */
.founder-bio {
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    opacity: 0;
    transition: all 1s ease-out;
}

.founder-bio.visible {
    transform: translateX(0);
    opacity: 1;
}

.bio-header {
    margin-bottom: 2rem;
}

.position-badge {
    display: inline-block;
    padding: 8px 16px;
    background: #e3f2fd;
    color: #007bff;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.bio-header h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.credentials {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.credential {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
}

.credential i {
    color: #007bff;
}

/* Контент біографії */
.bio-content {
    color: #666;
}

.bio-section {
    margin-bottom: 2rem;
}

.bio-section .lead {
    font-size: 1.2rem;
    font-style: italic;
    color: #2c3e50;
    border-left: 4px solid #007bff;
    padding-left: 1rem;
    margin-bottom: 2rem;
}

.bio-section h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bio-section h4 i {
    color: #007bff;
}

/* Сітка досягнень */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 2rem;
}

.achievement-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.achievement-card:hover {
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.achievement-card i {
    font-size: 1.5rem;
    color: #007bff;
    margin-bottom: 10px;
}

.achievement-card .number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
}

.achievement-card .text {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

/* Анімації */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Продовження медіа-запитів */
@media (max-width: 992px) {
    .founder-photo-wrapper {
        margin-bottom: 40px;
        transform: translateX(0);
    }

    .founder-bio {
        transform: translateX(0);
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 2rem;
    }

    .bio-header h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .about-us-section {
        padding: 60px 0;
    }

    .founder-image-container {
        max-width: 350px;
    }

    .experience-badge {
        bottom: -15px;
        right: -15px;
        padding: 10px;
    }

    .experience-badge .number {
        font-size: 1.5rem;
    }

    .founder-bio {
        padding: 20px;
    }

    .bio-section .lead {
        font-size: 1.1rem;
    }

    .achievements-grid {
        gap: 15px;
    }

    .achievement-card {
        padding: 15px;
    }

    .achievement-card .number {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .credentials {
        flex-direction: column;
        gap: 10px;
    }

    .social-links {
        gap: 10px;
    }

    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Додаткові ефекти при наведенні */
.bio-section p {
    transition: all 0.3s ease;
}

.bio-section p:hover {
    transform: translateX(5px);
    color: #2c3e50;
}

.section-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

/* Анімації для фонових елементів */
.shape {
    transition: all 0.5s ease;
}

.about-us-section:hover .shape-1 {
    transform: scale(1.1) rotate(10deg);
}

.about-us-section:hover .shape-2 {
    transform: scale(1.1) rotate(-10deg);
}

.about-us-section:hover .shape-3 {
    transform: scale(1.1) rotate(15deg);
}

/* Додаткові декоративні елементи */
.bio-section:not(:last-child)::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #007bff, transparent);
    margin: 2rem 0;
}

/* Ефекти при фокусі для доступності */
.social-link:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
}

.achievement-card:focus-within {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
}

/* Анімація для появи елементів при скролі */
@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.bio-section {
    opacity: 0;
    animation: slideUp 0.8s ease forwards;
}

.bio-section:nth-child(2) {
    animation-delay: 0.2s;
}

.bio-section:nth-child(3) {
    animation-delay: 0.4s;
}

/* Покращення доступності */
@media (prefers-reduced-motion: reduce) {
    .founder-photo-wrapper,
    .founder-bio,
    .experience-badge,
    .shape,
    .bio-section {
        animation: none;
        transition: none;
    }
}

/* Стилі для темної теми */
@media (prefers-color-scheme: dark) {
    .about-us-section {
        background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    }

    .founder-bio,
    .achievement-card {
        background: #2c2c2c;
        color: #fff;
    }

    .bio-section p,
    .credential {
        color: #ccc;
    }

    .section-title,
    .bio-header h3,
    .achievement-card .number {
        color: #fff;
    }

    .position-badge {
        background: rgba(0, 123, 255, 0.2);
    }
}