/* ==========================================================================
   ABOUT US PAGE STYLES - payroll.sg
   Scoped specifically for /about without affecting Homepage
   ========================================================================== */

.pg-about-wrapper {
    background-color: #080c14;
    color: #f8fafc;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    padding-bottom: 80px;
}

/* Hero Section */
.pg-about-hero {
    position: relative;
    padding-top: calc(var(--header-height, 72px) + 24px);
    padding-bottom: 0;
    min-height: 360px;
    overflow: hidden;
    background-color: #080c14;
}

.pg-about-hero-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    position: relative;
    min-height: 320px;
}

.pg-about-hero-content {
    position: relative;
    z-index: 2;
    flex: 1 1 48%;
    max-width: 540px;
    padding-bottom: 28px;
    align-self: center;
}

.pg-about-hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.pg-about-hero-sub {
    font-size: 17px;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 0;
}

.pg-about-hero-graphic,
.pg-about-hero-image-box,
.pg-hero-graphic,
.pg-hero-image-box {
    position: relative;
    flex: 1 1 52%;
    max-width: 660px;
    height: 320px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    z-index: 1;
    pointer-events: auto;
}

.pg-about-hero-img,
.pg-hero-img {
    width: 100%;
    height: 100%;
    max-height: 320px;
    object-fit: cover;
    object-position: right bottom;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: block;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 18%, rgba(0,0,0,0.85) 45%, #000 70%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 18%, rgba(0,0,0,0.85) 45%, #000 70%);
}

.pg-about-hero-bg {
    display: none;
}

/* Content Blocks Stack */
.pg-about-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
    margin: 30px auto 0 auto;
    position: relative;
    z-index: 3;
}

.pg-about-card {
    background: #0d131f;
    border: 1px solid #1e293b;
    border-radius: 14px;
    padding: 30px 32px;
    transition: all 0.25s ease;
}

.pg-about-card:hover {
    background: #111827;
    border-color: #334155;
}

.pg-about-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.pg-about-card-text {
    font-size: 16px;
    color: #94a3b8;
    line-height: 1.65;
    margin: 0;
}

/* What We Believe 4-Column Grid */
.pg-about-values-section {
    margin: 15px 0;
}

.pg-about-values-heading {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
}

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

.pg-value-card {
    background: #0d131f;
    border: 1px solid #1e293b;
    border-radius: 14px;
    padding: 24px 18px;
    text-align: center;
    transition: all 0.25s ease;
}

.pg-value-card:hover {
    background: #111827;
    border-color: #00DF89;
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0, 223, 137, 0.1);
}

.pg-value-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0, 223, 137, 0.08);
    border: 1.5px solid rgba(0, 223, 137, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00DF89;
    font-size: 20px;
    margin: 0 auto 16px auto;
}

.pg-value-card:hover .pg-value-icon-box {
    background: rgba(0, 223, 137, 0.2);
    border-color: #00DF89;
    box-shadow: 0 0 12px rgba(0, 223, 137, 0.3);
}

.pg-value-name {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.pg-value-desc {
    font-size: 16px;
    color: #94a3b8;
    line-height: 1.45;
    margin: 0;
}

/* Our Team Card */
.pg-about-team-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: #0d131f;
    border: 1px solid #1e293b;
    border-radius: 14px;
    padding: 28px 32px;
}

.pg-about-team-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.pg-about-team-content p {
    font-size: 16px;
    color: #94a3b8;
    margin: 0;
}

.pg-about-team-btn {
    padding: 12px 26px;
    background: #ffffff;
    color: #080c14;
    font-weight: 700;
    font-size: 16px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
}

.pg-about-team-btn:hover {
    background: #f1f5f9;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    color: #080c14;
}

/* Responsive */
@media (max-width: 991px) {
    .pg-about-hero {
        min-height: auto;
        padding-bottom: 30px;
    }
    .pg-about-hero-inner {
        flex-direction: column;
        align-items: flex-start;
        min-height: auto;
        gap: 20px;
    }
    .pg-about-hero-graphic,
    .pg-about-hero-image-box,
    .pg-hero-graphic,
    .pg-hero-image-box {
        position: relative;
        width: 100%;
        max-width: 100%;
        height: 260px;
        justify-content: center;
    }
    .pg-about-hero-img,
    .pg-hero-img {
        max-height: 260px;
        object-position: center;
        -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent 100%);
        mask-image: linear-gradient(to bottom, #000 75%, transparent 100%);
    }
}

@media (max-width: 768px) {
    .pg-about-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pg-about-team-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .pg-about-hero-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .pg-about-values-grid {
        grid-template-columns: 1fr;
    }

    .pg-value-card,
    .pg-about-team-card {
        padding: 22px 20px;
    }
}
