/* About Section */
.about-section {
    padding-top: 80px;
}

.about-header {
    margin-bottom: 32px;
}

.about-title-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 13px;
}

.about-badge {
    background-color: #f7f7fe;
    border-radius: 24px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.about-subtitle {
    margin-bottom: 55px;
}

.about-subtitle p {
    font-weight: 600;
    font-size: 32px;
    line-height: 42px;
    color: rgba(56, 61, 76, 1);
    letter-spacing: 0;
    max-width: 1313px;
}

.about-subtitle span {
    color: rgba(27, 118, 255, 1);
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.about-card {
    border-radius: 7px;
    height: 576px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-card-1 {
    background-image: linear-gradient(rgba(174, 31, 138, 0.60), rgba(174, 31, 138, 0.60)), url('../../images/about-1.png');
}

.about-card-2 {
    background-image: linear-gradient(rgba(74, 140, 240, 0.65), rgba(74, 140, 240, 0.65)), url('../../images/about-2.png');
}

.about-card-3 {
    background-image: linear-gradient(rgba(0, 184, 96, 0.60), rgba(0, 184, 96, 0.60)), url('../../images/about-3.png');
}

.about-card-content {
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.about-card-title {
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    color: #ffffff;
    letter-spacing: -0.48px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.about-card-description {
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: -0.16px;
    margin-top: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    padding-bottom: 20px;
    margin-bottom: 60px;
}


/* Легкие анимации для карточек "О нас" */
.about-card {
    transform: translateY(0);
    transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease;
    opacity: 0.98;
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Плавное появление контента карточек */
.about-card-content {
    animation: aboutFadeIn 0.6s ease both;
}

@keyframes aboutFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .about-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-card {
        height: 400px;
    }

    .about-title-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .about-subtitle p {
        font-size: 24px;
        line-height: 32px;
    }
}

@media (max-width: 768px) {
    .about-card-title {
        font-size: 24px;
        line-height: 32px;
    }

    .about-card-description {
        font-size: 14px;
        line-height: 18px;
    }

    .about-subtitle p {
        font-size: 20px;
        line-height: 28px;
    }
    .about-subtitle br {
        display: none;
    }
}