/* =====================================================
   PARIMAH THEME - ABOUT PAGE
   -----------------------------------------------------
   01. Intro   02. Values   03. Services
   (banner: components/page-banner.css,
    call to action: pages/portfolio.css)
===================================================== */

.about-intro,
.about-values,
.about-services {
    padding: 44px 20px 10px;
    direction: rtl;
}

.about-intro__container,
.about-values__container,
.about-services__container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

/* Shared small heading */
.about-intro__eyebrow,
.about-values__eyebrow,
.about-services__eyebrow {
    display: inline-block;
    margin-bottom: 6px;
    color: #B18A50;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.about-values__heading,
.about-services__heading {
    margin-bottom: 22px;
    text-align: center;
}

.about-values__title,
.about-services__title {
    margin: 0;
    color: #4C5540;
    font-size: 25px;
    font-weight: 800;
}


/* 01. INTRO */

.about-intro__container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 40px;
}

.about-intro__media {
    position: relative;
    margin: 0;
}

.about-intro__image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3.4;
    object-fit: cover;
    border-radius: 26px;
    box-shadow: 0 20px 44px rgba(76, 85, 64, 0.14);
}

.about-intro__badge {
    position: absolute;
    right: 20px;
    bottom: -18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 16px;
    background: #4C5540;
    box-shadow: 0 12px 26px rgba(76, 85, 64, 0.25);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.about-intro__badge svg {
    width: 20px;
    height: 20px;
    color: #EAD6A8;
}

.about-intro__title {
    margin: 0 0 14px;
    color: #4C5540;
    font-size: 30px;
    font-weight: 900;
}

.about-intro__title span {
    color: #B18A50;
}

.about-intro__content p {
    margin: 0 0 14px;
    color: #4C5540;
    font-size: 14.5px;
    line-height: 2.1;
    text-align: justify;
}

.about-intro__extra {
    margin-top: 10px;
    color: #4C5540;
    font-size: 14.5px;
    line-height: 2.1;
}


/* 02. VALUES */

.about-values {
    padding-top: 60px;
}

.about-values__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.about-values__item {
    padding: 24px 18px 22px;
    border: 1px solid #EFE7DA;
    border-radius: 20px;
    background: #ffffff;
    text-align: center;
    transition:
        transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
        box-shadow 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.about-values__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(76, 85, 64, 0.09);
}

.about-values__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #F8F1E6;
    color: #4C5540;
}

.about-values__icon svg {
    width: 28px;
    height: 28px;
}

.about-values__item-title {
    margin: 0 0 4px;
    color: #4C5540;
    font-size: 16px;
    font-weight: 800;
}

.about-values__text {
    margin: 0;
    color: #777064;
    font-size: 13px;
    line-height: 1.9;
}


/* 03. SERVICES */

.about-services {
    padding-bottom: 30px;
}

.about-services__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.about-services__card {
    position: relative;
    display: block;
    aspect-ratio: 4 / 4.6;
    overflow: hidden;
    border-radius: 20px;
    text-decoration: none;
    isolation: isolate;
    transition:
        transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
        box-shadow 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.about-services__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(76, 85, 64, 0.16);
}

.about-services__image {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-services__body {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    padding: 50px 18px 18px;
    background: linear-gradient(180deg, rgba(76, 85, 64, 0) 0%, rgba(76, 85, 64, 0.9) 100%);
}

.about-services__label {
    color: #EAD6A8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.about-services__name {
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
}


/* RESPONSIVE */

@media (max-width: 1024px) {

    .about-intro__container {
        grid-template-columns: 1fr;
    }

    .about-values__grid,
    .about-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {

    .about-intro,
    .about-values,
    .about-services {
        padding: 32px 16px 6px;
    }

    .about-intro__title {
        font-size: 24px;
    }

    .about-values__title,
    .about-services__title {
        font-size: 20px;
    }

    .about-values__grid,
    .about-services__grid {
        gap: 10px;
    }

    .about-values__item {
        padding: 18px 12px;
    }

    .about-services__name {
        font-size: 15px;
    }
}
