.c-about-hero {
    background-size: cover;
    background-position: center;
    padding: 56px 0;
}

.c-about-hero__title {
    margin: 0;
    color: #fff;
    font-size: 34px;
    font-weight: 700;
}

.c-about {
    padding: 40px 0 64px;
}

.c-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 56px;
}

.c-about__grid:last-child {
    margin-bottom: 0;
}

.c-about__heading {
    margin: 0 0 18px 0;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.c-about__text p {
    margin: 0 0 14px 0;
    line-height: 1.7;
}

.c-about__text p:last-child {
    margin-bottom: 0;
}

.c-about__img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #ddd;
}

/* Animation styles */
.c-about__text,
.c-about__media {
    opacity: 0;
    transform: translateY(30px);
    animation: popUp 0.6s ease-out forwards;
}

.c-about__grid--top .c-about__text {
    animation-delay: 0.2s;
}

.c-about__grid--top .c-about__media {
    animation-delay: 0.4s;
}

.c-about__grid--bottom .c-about__media {
    animation-delay: 0.6s;
}

.c-about__grid--bottom .c-about__text {
    animation-delay: 0.8s;
}

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

@media (max-width: 991px) {
    .c-about-hero {
        padding: 32px 0;
    }

    .c-about-hero__title {
        font-size: 28px;
    }

    .c-about {
        padding: 24px 16px 40px;
    }

    .c-about__grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 0;
    }

    .c-about__heading {
        font-size: 20px;
        margin-bottom: 14px;
    }

    /* Top section: image first */
    .c-about__grid--top {
        margin-bottom: 32px;
    }

    .c-about__grid--top .c-about__media {
        order: -1;
        margin-bottom: 8px;
        animation-delay: 0.1s;
    }

    .c-about__grid--top .c-about__text {
        margin-bottom: 32px;
        animation-delay: 0.3s;
    }

    /* Bottom section: text first, then image */
    .c-about__grid--bottom {
        gap: 0;
    }

    .c-about__grid--bottom .c-about__text {
        margin-bottom: 32px;
        animation-delay: 0.5s;
    }

    .c-about__grid--bottom .c-about__media {
        animation-delay: 0.7s;
    }
}

@media (max-width: 576px) {
    .c-about {
        padding: 20px 16px 32px;
    }

    .c-about-hero__title {
        font-size: 24px;
    }

    .c-about__heading {
        font-size: 18px;
    }

    .c-about__text {
        font-size: 14px;
    }
}
