/* Vision & mission page — Pisole-aligned layout */

/* About subnav (shared pattern) */
.about-subnav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0;
}

.about-subnav__link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #5c5c5c;
    text-decoration: none;
    border-radius: 0;
    border: 1px solid #e0e0e0;
    background: #fff;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.about-subnav__link:hover {
    color: var(--header, #1a1a1a);
    border-color: var(--theme, #ed3b3b);
}

.about-subnav__link.is-active {
    color: #fff;
    background: var(--theme, #ed3b3b);
    border-color: var(--theme, #ed3b3b);
}

.page-vision-mission {
    background: #fff;
}

/* Subnav strip below breadcrumb */
.vm-subnav-bar {
    padding: 1.25rem 0;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.vm-subnav-bar .about-subnav {
    margin-bottom: 0;
    justify-content: center;
}

.vm-subnav-bar .about-subnav__link {
    padding: 0.55rem 1.25rem;
    font-size: 0.9rem;
}

.vm-subnav-bar .about-subnav__link.is-active {
    background: var(--theme, #ed3b3b);
    box-shadow: 0 4px 16px rgba(237, 59, 59, 0.35);
}

/* Foundation block — uses theme about-wrapper-3 */
.vm-foundation.about-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 992px) {
    .vm-foundation.about-section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

.vm-foundation .about-wrapper-3.style-border {
    padding: 0;
    border: none;
    background: transparent;
}

.vm-foundation__media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.vm-foundation__content .section-title {
    margin-bottom: 1rem;
}

.vm-foundation__lead {
    margin: 0 0 1.75rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #5c5c5c;
    max-width: 36rem;
}

main.sai-prose-justify .vm-foundation__lead {
    text-align: left;
}

/* Vision / mission statements */
.vm-statement {
    position: relative;
    margin-bottom: 1.25rem;
    padding: 1.35rem 1.35rem 1.35rem 1.5rem;
    background: #f4f4f4;
    border-left: 4px solid var(--theme, #ed3b3b);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.vm-statement:last-child {
    margin-bottom: 0;
}

.vm-statement:hover {
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.vm-statement--mission {
    border-left-color: var(--header, #1a1a1a);
}

.vm-statement__head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
}

.vm-statement__badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background: var(--theme, #ed3b3b);
    border-radius: 50%;
}

.vm-statement--mission .vm-statement__badge {
    background: var(--header, #1a1a1a);
}

.vm-statement__head h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--header, #1a1a1a);
    letter-spacing: -0.02em;
}

.vm-statement p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.75;
    color: #444;
}

main.sai-prose-justify .vm-statement p {
    text-align: left;
}

/* Core values section */
.vm-values-section {
    background: #f4f4f4;
}

.vm-values-section .section-title {
    margin-bottom: 2.5rem;
}

.vm-values-section__sub {
    max-width: 32rem;
    margin: 0.75rem auto 0;
    font-size: 1rem;
    line-height: 1.65;
    color: #5c5c5c;
}

main.sai-prose-justify .vm-values-section__sub {
    text-align: center;
}

/* Value cards — inspired by service-box-items-3 */
.vm-value-item {
    position: relative;
    padding: 2rem 1.75rem 1.75rem;
    background: #fff;
    overflow: hidden;
    transition: background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.vm-value-item::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    width: 97px;
    height: 98px;
    z-index: 1;
    background-image: url(../assets/img/service/shape.png);
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.35s ease;
}

.vm-value-item__icon {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1.25rem;
    font-size: 1.35rem;
    color: var(--theme, #ed3b3b);
    background: rgba(237, 59, 59, 0.08);
    border-radius: 50%;
    transition: color 0.35s ease, background 0.35s ease;
}

.vm-value-item h4 {
    position: relative;
    z-index: 2;
    margin: 0 0 0.65rem;
    padding-bottom: 1rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--header, #1a1a1a);
    border-bottom: 1px solid #d7d7d7;
    transition: color 0.35s ease, border-color 0.35s ease;
}

.vm-value-item p {
    position: relative;
    z-index: 2;
    margin: 0;
    padding-top: 0.25rem;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #5c5c5c;
}

main.sai-prose-justify .vm-value-item p {
    text-align: left;
}

.vm-value-item:hover {
    background: var(--theme, #ed3b3b);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(237, 59, 59, 0.25);
}

.vm-value-item:hover::before {
    opacity: 0.15;
    filter: brightness(3);
}

.vm-value-item:hover .vm-value-item__icon {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.vm-value-item:hover h4 {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.25);
}

.vm-value-item:hover p {
    color: rgba(255, 255, 255, 0.92);
}
