:root {
    --font-body: "Roboto", sans-serif;
    --font-heading: "Roboto", sans-serif;
    --primary: #2f5d50;
    --primary-variant: #39a78a;
    --surface: #fff;
    --surface-variant: #f6faf9;
    --on-surface: #40524d;
    --on-surface-strong: #0d1f1a;
    --outline: rgba(64, 82, 77, .16);
    --radius: 20px;
    --shadow-sm: 0 6px 18px rgba(3, 30, 22, .1);
    --shadow-md: 0 14px 34px rgba(3, 30, 22, .14);
    --shadow-lg: 0 22px 54px rgba(3, 30, 22, .18);
    --page-gutter: clamp(16px, 6vw, 56px)
}

body {
    margin: 0
}

#about-page {
    background: #fff;
    color: var(--on-surface);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65
}

#about-page * {
    box-sizing: border-box
}

#about-page h1,
#about-page h2,
#about-page h3,
#about-page h4,
#about-page h5,
#about-page h6 {
    color: var(--on-surface-strong);
    font-family: var(--font-heading);
    font-weight: 800;
    margin: 0 0 .5rem
}

#about-page h1 {
    color: #000;
    font-size: clamp(38px, 5vw, 60px)
}

#about-page h2 {
    font-size: clamp(26px, 3vw, 38px)
}

#about-page h3 {
    font-size: clamp(20px, 2.4vw, 26px)
}

#about-page h4 {
    font-size: clamp(18px, 2vw, 22px)
}

#about-page .lead {
    color: #2c3e36;
    font-size: clamp(17px, 2vw, 20px)
}

#about-page .container {
    margin: 0;
    max-width: none;
    width: 100%
}

#about-page .container,
#about-page .section {
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter)
}

#about-page .section {
    padding-block: clamp(28px, 4vw, 48px)
}

.bg-white {
    background: #fff
}

.bg-mint {
    background: #659e8a2f !important
}

/* Hero & Standardized Layouts */
.hero {
    background: #fff;
    border-bottom: 1px solid var(--outline);
    padding: 4rem 0 3.5rem
}

@media (max-width:768px) {
    .hero {
        padding: 3rem 0 2.5rem
    }
}

.split {
    align-items: center;
    display: grid;
    gap: 3rem;
    grid-template-columns: 1.1fr .9fr
}

.split>:first-child {
    max-width: 68ch
}

@media (max-width:980px) {
    .split {
        gap: 2.5rem;
        grid-template-columns: 1fr
    }

    .split>:first-child {
        max-width: none
    }
}

.frame {
    background: #fff;
    border: 1px solid rgba(47, 93, 80, .14);
    border-radius: 1.125rem;
    box-shadow: var(--shadow-md);
    max-width: 500px;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
    width: 100%
}

.frame:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px)
}

.frame img {
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
    width: 100%
}

.frame:hover img {
    transform: scale(1.05)
}

/* Button Standardisation */
.btn {
    align-items: center;
    border-radius: .875rem;
    cursor: pointer;
    display: inline-flex;
    font-family: Roboto, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    gap: .625rem;
    padding: .875rem 1.25rem;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease
}

.btn.primary {
    background: var(--primary);
    box-shadow: 0 8px 20px rgba(47, 93, 80, .25);
    color: #fff
}

.btn.primary:focus-visible,
.btn.primary:hover {
    box-shadow: 0 12px 32px rgba(47, 93, 80, .35);
    transform: translateY(-2px) scale(1.02)
}

.btn.ghost {
    background: #fff;
    border: 1px solid rgba(47, 93, 80, .25);
    color: var(--primary)
}

.btn.ghost:focus-visible,
.btn.ghost:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 16px rgba(47, 93, 80, .18);
    transform: translateY(-2px)
}

.btns {
    display: flex;
    flex-wrap: wrap;
    gap: .875rem;
    margin-top: 1.5rem
}

@media (max-width:768px) {
    .btns {
        flex-direction: column;
        gap: .75rem
    }

    .btn {
        justify-content: center;
        width: 100%
    }
}

/* Reset specific overrides */
#about-page .hero {
    display: block;
    text-align: left;
    color: var(--on-surface-strong)
}


#about-page .intro {
    align-items: center;
    display: grid;
    gap: 48px;
    grid-template-columns: 1fr 1fr
}

#about-page .intro .copy {
    max-width: 62ch
}

#about-page .intro .media {
    justify-self: end;
    max-width: clamp(260px, 38vw, 520px)
}

#about-page .intro .media img {
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: block;
    height: auto;
    width: 100%
}

@media (max-width:880px) {
    #about-page .intro {
        grid-template-columns: 1fr;
        text-align: left
    }

    #about-page .intro .media {
        justify-self: center;
        max-width: min(520px, 100%)
    }
}

#about-page .grid-2 {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr
}

@media (min-width:700px) {
    #about-page .grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

.media-overlay {
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    color: #061417;
    overflow: hidden;
    padding: clamp(24px, 4vw, 44px);
    position: relative;
    --bg: none;
    --fallback: #659e8a;
    --veil: rgba(101, 158, 138, .35);
    background-color: var(--fallback)
}

.media-overlay:after {
    background-image: var(--bg);
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0
}

.media-overlay:after,
.media-overlay:before {
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute
}

.media-overlay:before {
    background: var(--veil);
    z-index: 1
}

.media-overlay>* {
    position: relative;
    z-index: 2
}

.bg-about-2 {
    --bg: url(/asset/image/About/2.png)
}

.bg-about-3 {
    --bg: url(/asset/image/About/3.png)
}

.bg-about-4 {
    --bg: url(/asset/image/About/4.png)
}

.media-overlay.tint-green:after {
    background-blend-mode: multiply;
    background-color: #2f5d50
}

.media-overlay.tint-green:before {
    background: rgba(47, 93, 80, .55)
}

.media-overlay.tint-green-strong:before {
    background: rgba(47, 93, 80, .7)
}

.media-overlay.tint-green-soft:before {
    background: rgba(47, 93, 80, .35)
}

.media-overlay.mint {
    --fallback: #659e8a;
    --veil: rgba(101, 158, 138, .35)
}

.media-overlay.deep {
    --fallback: #2f5d50;
    --veil: rgba(47, 93, 80, .55);
    color: #fff
}

#about-page .features-header {
    margin-bottom: 28px;
    text-align: center
}

#about-page .features .features-header .lead,
#about-page .features .features-header h2 {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .25)
}

#about-page .features-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr))
}

#about-page .feature-card {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    background: hsla(0, 0%, 100%, .92);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    padding: 24px 20px;
    text-align: center;
    transition: transform .2s, box-shadow .2s
}

#about-page .feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-6px)
}

#about-page .values-header {
    margin-bottom: 28px;
    text-align: center
}

#about-page .values-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr))
}

#about-page .value-card {
    background: #fff;
    border: 1px solid var(--outline);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    padding: 32px 24px;
    text-align: center;
    transition: transform .25s, box-shadow .25s
}

#about-page .value-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-6px)
}

#about-page .value-icon {
    align-items: center;
    background: #2f5d50;
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(57, 167, 138, .25);
    color: #fff;
    display: flex;
    font-size: 26px;
    height: 64px;
    justify-content: center;
    margin: 0 auto 14px;
    width: 64px
}

#about-page .testimonial {
    color: #fff;
    text-align: center;
    --veil: rgba(13, 31, 26, .6)
}

#about-page .team-header {
    margin-bottom: 28px;
    text-align: center
}

#about-page .team-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr))
}

#about-page .team-card {
    background: #fff;
    border: 1px solid var(--outline);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    padding: 0 0 32px;
    /* Remove top/side padding, keep bottom */
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    /* Create stacking context */
}

/* Decorative Header Banner */
#about-page .team-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-variant) 100%);
    z-index: -1;
}

#about-page .team-card img {
    background: #fff;
    border: 4px solid #fff;
    border-radius: 24px;
    /* Slightly more rounded to match card radius visually */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    /* softer shadow */
    height: 120px;
    margin-top: 45px;
    /* Push down to overlap the banner line */
    margin-bottom: 20px;
    object-fit: cover;
    width: 120px;
}

#about-page .team-card h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--on-surface-strong);
}

#about-page .faq details {
    background: #fff;
    border: 1px solid var(--outline);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    padding: 12px 16px
}

#about-page .faq details+details {
    margin-top: 10px
}

#about-page .faq summary {
    cursor: pointer;
    font-weight: 600
}

#about-page .faq details[open] {
    box-shadow: var(--shadow-md)
}

#about-page .cta {
    --veil: rgba(13, 31, 26, .55);
    border-radius: 22px;
    color: #fff;
    text-align: center;
    padding: 24px !important;
    /* Override media-overlay padding */
}

#about-page .cta a,
#about-page .cta h3,
#about-page .cta p {
    color: #fff !important
}

#about-page .cta h3 {
    margin: 0 0 0.5rem;
}

#about-page .cta p {
    margin: 0 0 1rem;
}

#about-page .cta .btn-primary {
    background: #2f5d50;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    color: #fff;
    display: inline-block;
    font-weight: 600;
    margin-top: 4px;
    padding: 10px 18px;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s, background .15s
}

#about-page .cta .btn-primary:hover {
    background: #39a78a;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px)
}

@media (max-width:980px) {

    #about-page .container,
    #about-page .section {
        padding-left: 16px;
        padding-right: 16px
    }
}

@media (prefers-reduced-motion:reduce) {
    #about-page * {
        scroll-behavior: auto !important
    }

    #about-page .cta .btn-primary,
    #about-page .feature-card,
    #about-page .value-card {
        transition: none !important
    }
}

#about-page .team-card p {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
    text-transform: uppercase;
    opacity: 0.9;
}