/* -------------------------------------------
   About Page Layout (scoped to .about-page)
--------------------------------------------*/
.about-page {
    --about-ink: #1b2a28;
    --about-ink-muted: #5b6b66;
    --about-green-900: #0e6a46;
    --about-green-800: #0f7a52;
    --about-green-700: #1f8f61;
    --about-green-600: #35c274;
    --about-green-400: #baf2da;
    --about-sand: #f4f6f5;
    --about-white: #ffffff;
    --about-border: #e2e8e4;
    --about-shadow: 0 14px 30px rgba(15, 122, 82, 0.18);
    --about-radius: 18px;
    background-color: var(--about-sand);
    color: var(--about-ink);
    font-family: "Plus Jakarta Sans", sans-serif;
}

.about-page .about-main {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1200px 600px at -10% 15%, rgba(53, 194, 116, 0.16), transparent 60%),
        radial-gradient(900px 500px at 110% 40%, rgba(15, 122, 82, 0.14), transparent 60%),
        var(--about-sand);
}

.about-page .about-main .container {
    max-width: 1200px;
}

.about-page .about-section {
    padding: 0 0 60px;
}

.about-page .about-section--history,
.about-page .about-section--legal {
    position: relative;
}

.about-page .about-section--history::before,
.about-page .about-section--legal::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(400px 220px at 85% 15%, rgba(53, 194, 116, 0.18), transparent 70%);
    opacity: 0.8;
    z-index: 0;
}

.about-page .about-section > .container {
    position: relative;
    z-index: 1;
}

.about-page .about-title {
    font-family: "Poppins", sans-serif;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 700;
    color: var(--about-ink);
}

.about-page .about-title--center {
    text-align: center;
    margin-bottom: 0;
}

.about-page .about-lead.about-lead--center {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 30px;
    font-size: 16px;
    line-height: 1.7;
}

.about-page .about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
}

.about-page .about-grid--wide {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
}

.about-page .about-section--history .about-grid {
    grid-template-columns: minmax(0, 1fr);
}

/* Hero */
.about-page .about-hero {
    background: transparent;
    margin-bottom: 60px;
}

.about-page .about-hero .container {
    max-width: 1320px;
    padding-left: clamp(16px, 3vw, 32px);
    padding-right: clamp(16px, 3vw, 32px);
}

.about-page .about-hero__panel {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    border: 0;
    box-shadow: none;
}

.about-page .about-hero__left {
    padding: clamp(24px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-page .about-hero__title {
    font-family: "Poppins", sans-serif;
    font-size: clamp(44px, 5vw, 56px);
    line-height: 1.05;
    font-weight: 700;
    color: #203b33;
    margin: 0;
}

.about-page .about-hero__text {
    font-size: 16px;
    line-height: 1.8;
    color: #4c645c;
    max-width: 600px;
    margin: 0;
    text-align: justify;
}

.about-page .about-hero__left-cards {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.about-page .about-hero__right {
    position: relative;
    padding: clamp(16px, 2.5vw, 30px);
    background: transparent;
    display: flex;
    align-items: center;
}

.about-page .about-hero__image {
    width: 100%;
    min-height: 420px;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 32px rgba(20, 45, 36, 0.12);
}

.about-page .about-hero__image--inline {
    display: none;
}

.about-page .about-hero__image::after {
    content: none;
}

.about-page .about-hero__mini {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid rgba(31, 84, 63, 0.08);
    box-shadow: 0 8px 18px rgba(20, 45, 36, 0.08);
}

.about-page .about-hero__mini .about-hero__card-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 16px;
}

.about-page .about-hero__card-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #e5f5ed;
    color: #1f8f61;
    font-size: 18px;
    flex: none;
}

.about-page .about-hero__card-title {
    font-size: 15px;
    font-weight: 600;
    color: #233b35;
}

/* Timeline */
.about-page .about-timeline {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    gap: 32px;
    position: relative;
    max-width: 1080px;
}

.about-page .about-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 12px;
    bottom: 12px;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(70, 168, 122, 0.32), rgba(53, 194, 116, 0.06));
    z-index: 0;
}

.about-page .about-timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
    column-gap: 0;
    align-items: center;
    --timeline-connector: 28px;
    padding: 0;
    margin: 0;
    z-index: 1;
}

.about-page .about-timeline__item::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: #7dcaa1;
    border: 3px solid #eef7f2;
    box-shadow: 0 6px 14px rgba(18, 92, 60, 0.2);
    z-index: 2;
}

.about-page .about-timeline__card {
    position: relative;
    width: min(520px, 100%);
    padding: 26px 30px 24px;
    background: var(--about-white);
    border-radius: 22px;
    border: 1px solid rgba(19, 97, 70, 0.07);
    box-shadow: 0 18px 40px rgba(20, 60, 45, 0.12);
    z-index: 1;
    margin: 0;
}

.about-page .about-timeline__item .about-timeline__card {
    grid-column: 1;
    justify-self: end;
    text-align: left;
}

.about-page .about-timeline__item:nth-child(even) .about-timeline__card {
    grid-column: 3;
    justify-self: start;
    text-align: left;
}

.about-page .about-timeline__card::after {
    content: "";
    position: absolute;
    top: 50%;
    width: var(--timeline-connector);
    height: 2px;
    background: rgba(125, 202, 161, 0.65);
    transform: translateY(-50%);
}

.about-page .about-timeline__item .about-timeline__card::after {
    right: calc(-1 * var(--timeline-connector));
}

.about-page .about-timeline__item:nth-child(even) .about-timeline__card::after {
    left: calc(-1 * var(--timeline-connector));
    right: auto;
}

.about-page .about-year {
    position: absolute;
    top: -18px;
    left: 24px;
    padding: 7px 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
    background: linear-gradient(180deg, #79c99d 0%, #5aaa7f 100%);
    box-shadow: 0 10px 20px rgba(18, 92, 60, 0.22);
}

.about-page .about-timeline__item .about-year {
    right: 24px;
    left: auto;
}

.about-page .about-timeline__item:nth-child(even) .about-year {
    left: 24px;
    right: auto;
}

.about-page .about-timeline__card p {
    margin: 0;
    color: var(--about-ink-muted);
    font-size: 14px;
    line-height: 1.6;
}

.about-page .about-timeline:not(.is-expanded) .about-timeline__item:nth-child(n + 6) {
    display: none;
}

.about-page .about-timeline__action {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.about-page .about-btn--timeline {
    min-width: 200px;
    justify-content: center;
    background: #ffffff;
    color: var(--about-green-800);
    border: 1px solid rgba(19, 97, 70, 0.16);
    box-shadow: 0 10px 22px rgba(20, 60, 45, 0.12);
}
/* Legal + Law */
.about-page .about-lead {
    color: var(--about-ink-muted);
    margin-bottom: 18px;
}

.about-page .about-law__list {
    display: grid;
    gap: 12px;
    justify-items: center;
}

.about-page .about-law {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-page .about-law .about-title {
    text-align: center;
}

.about-page .about-law .about-accordion {
    width: 100%;
}

.about-page .about-law .about-accordion summary {
    justify-content: flex-start;
}

.about-page .about-law .about-accordion__arrow {
    margin-left: auto;
}

.about-page .about-law .about-accordion__body {
    padding: 0 18px 16px 66px;
    text-align: left;
}

.about-page .about-accordion {
    border-radius: 16px;
    background: var(--about-white);
    border: 1px solid var(--about-border);
    box-shadow: 0 10px 24px rgba(20, 60, 45, 0.08);
    overflow: hidden;
}

.about-page .about-accordion summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    font-weight: 600;
    color: var(--about-ink);
}

.about-page .about-accordion summary::-webkit-details-marker {
    display: none;
}

.about-page .about-accordion__icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(53, 194, 116, 0.2);
    color: var(--about-green-700);
    font-size: 18px;
}

.about-page .about-accordion__arrow {
    margin-left: auto;
    color: var(--about-green-700);
    transition: transform 0.2s ease;
}

.about-page .about-accordion[open] .about-accordion__arrow {
    transform: rotate(180deg);
}

.about-page .about-accordion__body {
    padding: 0 18px 16px 66px;
    color: var(--about-ink-muted);
    display: grid;
    gap: 6px;
}

.about-page .about-accordion__body p {
    margin: 0;
    font-size: 14px;
}

/* Commitment */
.about-page .about-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--about-green-700), var(--about-green-800));
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 12px 24px rgba(19, 97, 70, 0.22);
}

/* Animations */
.about-page .reveal {
    opacity: 0;
    will-change: transform, opacity;
}

.about-page .reveal.is-visible {
    opacity: 1;
    animation-duration: 0.7s;
    animation-fill-mode: both;
    animation-delay: var(--reveal-delay, 0ms);
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.about-page .reveal--up.is-visible {
    animation-name: about-reveal-up;
}

.about-page .reveal--left.is-visible {
    animation-name: about-reveal-left;
}

.about-page .reveal--right.is-visible {
    animation-name: about-reveal-right;
}

.about-page .reveal--zoom.is-visible {
    animation-name: about-reveal-zoom;
}

@keyframes about-reveal-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes about-reveal-left {
    from {
        opacity: 0;
        transform: translateX(-26px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes about-reveal-right {
    from {
        opacity: 0;
        transform: translateX(26px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes about-reveal-zoom {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes about-fade-up {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-page .about-hero__panel {
        animation: none;
    }

    .about-page .reveal,
    .about-page .reveal.is-visible {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

@media (max-width: 991.98px) {
    .about-page .about-section {
        padding: 0 0 48px;
    }

    .about-page .about-hero {
        margin-bottom: 40px;
    }

    .about-page .about-grid,
    .about-page .about-grid--wide {
        grid-template-columns: 1fr;
    }

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

    .about-page .about-hero__left {
        padding: 20px 0 12px;
        gap: 10px;
    }

    .about-page .about-hero__title {
        font-size: clamp(32px, 8vw, 40px);
    }

    .about-page .about-hero__text {
        font-size: 15px;
        line-height: 1.7;
        text-align: justify;
    }

    .about-page .about-hero__image--inline {
        display: block;
        min-height: 220px;
        margin: 12px 0 16px;
    }

    .about-page .about-hero__right {
        display: none;
    }


    .about-page .about-hero__image {
        min-height: 220px;
        border-radius: 16px;
    }

    .about-page .about-hero__left-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .about-page .about-timeline__card p {
        font-size: 13px;
        line-height: 1.55;
        text-align: justify;
    }

    .about-page .about-timeline__card p + p {
        margin-top: 8px;
    }

    /* Mobile-only: flatten timeline list to avoid OL layout issues */
    .about-page .about-timeline {
        display: block;
        padding-left: 0;
        max-width: 520px;
        margin: 0 auto;
        text-align: center;
    }

    .about-page .about-timeline::before {
        display: none;
    }

    .about-page .about-timeline__item {
        display: block;
        margin: 0 0 20px;
    }

    .about-page .about-timeline__item:last-child {
        margin-bottom: 0;
    }

    .about-page .about-timeline__item::before {
        display: none;
    }

    .about-page .about-timeline__card {
        margin: 0;
        text-align: center;
        padding: 20px 18px 18px;
        border-radius: 18px;
    }

    .about-page .about-timeline__card::after {
        display: none;
    }

    .about-page .about-timeline__item .about-year {
        position: static;
        display: inline-block;
        margin: 0 auto 8px;
        font-size: 12px;
        padding: 4px 12px;
    }

    .about-page .about-lead.about-lead--center {
        margin-bottom: 36px;
        font-size: 15px;
    }

    .about-page .about-law {
        max-width: 100%;
        text-align: left;
    }

    .about-page .about-law .about-title {
        text-align: center;
    }

    .about-page .about-law__list {
        gap: 10px;
    }

    .about-page .about-accordion summary {
        padding: 14px 16px;
        font-size: 14px;
    }

    .about-page .about-accordion__icon {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        font-size: 16px;
    }

    .about-page .about-accordion__body {
        padding: 0 16px 14px 58px;
    }

    .about-page .about-section--legal .certificates-container {
        padding: 0;
        text-align: left;
    }

    .about-page .about-section--legal .about-title--center {
        text-align: center;
    }

    .about-page .about-section--legal .filter-buttons {
        justify-content: flex-start;
        margin: 16px 0;
        gap: 8px;
    }

    .about-page .about-section--legal .filter-btn {
        padding: 6px 12px;
        font-size: 12px;
        border-radius: 16px;
    }

    .about-page .about-section--legal .certificates-grid {
        gap: 16px;
        margin-top: 16px;
    }

    .about-page .about-section--legal .certificate-card {
        padding: 12px;
        border-radius: 10px;
    }

    .about-page .about-section--legal .certificate-card h5 {
        font-size: 14px;
    }

    .about-page .about-section--legal .certificate-card p {
        font-size: 12px;
    }

    .about-page .about-hero__mini {
        padding: 10px 12px;
    }

    .about-page .about-hero__card-icon {
        width: 30px;
        height: 30px;
        border-radius: 10px;
        font-size: 16px;
    }

    .about-page .about-hero__card-title {
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .about-page .about-hero {
        padding: 24px 0 28px
    }

    .about-page .about-hero__title {
        font-size: 30px;
        text-align: center;
    }


    .about-page .about-hero__text {
        font-size: 14px;
    }

    .about-page .about-hero__left-cards {
        grid-template-columns: 1fr;
    }

    .about-page .about-hero__image {
        min-height: 200px;
    }

    .about-page .about-section {
        padding: 0 0 40px;
    }

    .about-page .about-lead.about-lead--center {
        margin-bottom: 28px;
        font-size: 14px;
    }

    .about-page .about-timeline__card {
        padding: 18px 16px 16px;
    }

    .about-page .about-accordion summary {
        padding: 12px 14px;
        font-size: 13px;
    }

    .about-page .about-accordion__body {
        padding: 0 14px 12px 52px;
    }

    .about-page .about-section--legal .filter-buttons {
        justify-content: center;
    }
}

/* -------------------------------------------
   Certificate styles (shared with homepage)
--------------------------------------------*/
.certificates-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.filter-buttons {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #f5f5f5;
}

.filter-btn.active {
    background: #009241;
    color: #fff;
    border-color: #009241;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.certificates-grid {
    display: grid;
    gap: 25px;
    margin-top: 30px;
}

.certificate-card .image-frame {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #fafafa;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}

.certificate-card .image-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.certificate-card h5 {
    font-size: 16px;
    font-weight: 600;
    margin: 5px 0 4px;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 2.6em;
}

.certificate-card p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.certificate-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    padding: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.certificate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.certificate-card a {
    display: inline-block;
    margin-top: 5px;
    color: #007bff;
    text-decoration: none;
}

.certificate-card a:hover {
    text-decoration: underline;
}

@media (min-width: 1200px) {
    .certificates-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 900px) and (max-width: 1199px) {
    .certificates-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 600px) and (max-width: 899px) {
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 599px) {
    .certificates-grid {
        grid-template-columns: 1fr;
    }
}

probmels, output, debug don
