/* ==========================================================================
   About Page Styles - v1.0
   ========================================================================== */

:root {
    --about-dark: #070a1d;
    --about-text: #303030;
    --about-accent: #ffb700;
    --about-border: #e3e3e3;
    --about-card-bg: #f7f7f7;
    --about-light-bg: #f1f1f1;
    --about-text-white: #ffffff;
    --about-font-title: 46px;
    --about-font-text: 18px;
    --about-font-family: 'Be Vietnam Pro', sans-serif;
}

main {
    font-family: var(--about-font-family);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.about-hero {
    background-color: var(--about-dark);
    background-image: url("../images/about/hero-bg.png");
    background-size: cover;
    background-position: center;
    border-radius: 0px 0px 16px 16px;
}

.about-hero__inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 360px;
    padding: 200px 16px 40px;
}

.about-hero__content {
    text-align: center;
    color: var(--about-text-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
}

.about-hero__title {

    font-weight: 900;
    font-size: var(--about-font-title);
    line-height: 64px;
    color: var(--about-text-white);
    margin: 0;
}

.about-hero__subtitle {

    font-weight: 400;
    font-size: var(--about-font-text);
    line-height: normal;
    color: var(--about-text-white);
    margin: 0;
}

/* ==========================================================================
   Intro Section
   ========================================================================== */

.about-intro {
    padding: 6.25rem 16px 0;
}

.about-intro__inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.about-intro__header {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-intro__title-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-intro__title {

    font-weight: 900;
    font-size: var(--about-font-title);
    line-height: 55px;
    color: var(--about-text);
    margin: 0;
}

.about-intro__logo {
    height: 54px;
    width: auto;
}

.about-intro__text {

    font-weight: 400;
    font-size: var(--about-font-text);
    line-height: 32px;
    color: var(--about-text);
    margin: 0;
}

.about-intro__stats {
    display: flex;
    width: 100%;
}

.about-intro__stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 30px;
    border-top: 1px solid var(--about-border);
    border-right: 1px solid var(--about-border);
    overflow: hidden;
}

.about-intro__stat--last {
    border-right: none;
}

.about-intro__stat-number {

    font-weight: 900;
    font-size: var(--about-font-title);
    line-height: 55px;
    color: var(--about-text);
}

.about-intro__stat-label {

    font-weight: 400;
    font-size: var(--about-font-text);
    line-height: 32px;
    color: var(--about-text);
}

/* ==========================================================================
   Mission Section
   ========================================================================== */

.about-mission {
    padding: 6.25rem 16px 100px;
}

.about-mission__inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-mission__row {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-mission__team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.about-mission__image {
    flex-shrink: 0;
    width: 540px;
}

.about-mission__image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.about-mission__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-mission__label {

    font-weight: 500;
    font-size: var(--about-font-text);
    line-height: 32px;
    color: var(--about-accent);
}

.about-mission__title {

    font-weight: 900;
    font-size: var(--about-font-title);
    line-height: 64px;
    color: var(--about-text);
    margin: 0;
}

.about-mission__text {

    font-weight: 400;
    font-size: var(--about-font-text);
    line-height: 32px;
    color: var(--about-text);
    margin: 0;
}

/* ==========================================================================
   Team Cards (inside Mission section)
   ========================================================================== */

.about-team__card {
    background-color: var(--about-card-bg);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.about-team__info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.about-team__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.about-team__name {
    font-weight: 600;
    font-size: var(--about-font-text);
    line-height: 20px;
    color: var(--about-text);
}

.about-team__role {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--about-text);
}

/* ==========================================================================
   Values Section
   ========================================================================== */

.about-values {
    background-color: var(--about-dark);
    padding: 6.25rem 16px;
}

.about-values__inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.about-values__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.about-values__badge {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 6px 17px;
    background-color: #222536;
    border-radius: 9000px;

    font-weight: 700;
    font-size: 16px;
    color: var(--about-accent);
    box-shadow: inset 0 1.5px 0 0 rgba(255, 255, 255, 0.08);
}

.about-values__title {

    font-weight: 900;
    font-size: var(--about-font-title);
    line-height: 64px;
    color: var(--about-text-white);
    margin: 0;
}

.about-values__subtitle {

    font-weight: 400;
    font-size: var(--about-font-text);
    line-height: 28px;
    color: var(--about-text-white);
    margin: 0;
}

.about-values__collage {
    position: relative;
    width: 100%;
    height: 333px;
}

.about-values__collage-bg {
    position: absolute;
    top: 21px;
    left: 0;
    width: 100%;
    height: 312px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.about-values__collage-bg img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-values__collage-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-values__collage-front {
    position: absolute;
    top: 0;
    left: 24px;
    width: 334px;
    height: 333px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    z-index: 1;
}

.about-values__collage-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-values__grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.about-values__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-values__card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-values__icon {
    width: 40px;
    height: 40px;
}

.about-values__card-title {

    font-weight: 700;
    font-size: 24px;
    line-height: normal;
    color: var(--about-text-white);
    margin: 0;
}

.about-values__card-text {

    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: var(--about-text-white);
    opacity: 0.7;
    margin: 0;
}

/* ==========================================================================
   Journey Section
   ========================================================================== */

.about-journey {
    padding: 6.25rem 16px 100px;
}

.about-journey__inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
}

.about-journey__header {
    flex-shrink: 0;
    width: 310px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-journey__label {

    font-weight: 500;
    font-size: var(--about-font-text);
    line-height: 32px;
    color: var(--about-accent);
}

.about-journey__title {

    font-weight: 900;
    font-size: var(--about-font-title);
    line-height: 64px;
    color: var(--about-text);
    margin: 0;
}

.about-journey__subtitle {

    font-weight: 400;
    font-size: 20px;
    line-height: normal;
    color: var(--about-text);
    margin: 0;
}

.about-journey__timeline {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-journey__entry {
    display: flex;
    gap: 27px;
}

.about-journey__year {
    width: 60px;
    text-align: right;
    flex-shrink: 0;

    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    color: var(--about-text);
}

.about-journey__dot-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 5px;
    flex-shrink: 0;
}

.about-journey__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: white;
    border: 5px solid black;
    flex-shrink: 0;
    box-sizing: content-box;
}

.about-journey__line {
    width: 1px;
    flex: 1;
    min-height: 20px;
    background: repeating-linear-gradient(
        to bottom,
        #070A1D 0px,
        #070A1D 8px,
        transparent 8px,
        transparent 14px
    );
}

.about-journey__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.about-journey__entry-title {

    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
    color: var(--about-text);
    margin: 0;
}

.about-journey__entry-title:not(:first-child) {
    margin-top: 24px;
}

.about-journey__entry-text {

    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: var(--about-text);
    margin: 0;
}

.about-journey__badge-logo {
    height: 54px;
    width: auto;
    max-width: 198px;
    object-fit: contain;
    margin-top: 6px;
}

.about-journey__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #222536;
    border-radius: 12px;
    padding: 6px 17px;
    height: 40px;
    box-shadow: inset 0 1.5px 0 0 rgba(255, 255, 255, 0.08);
    width: fit-content;
    margin-top: 6px;
    color: white;
}

.about-journey__badge span {


    font-weight: 450;
    font-size: 14px;
    line-height: 30px;
    color: white;
}

.about-journey__badge strong {
    font-weight: 700;
    color: white;
}

.about-journey__badge-icon {
    width: 16px;
    height: 16px;
}

.about-journey__badge-text {

    font-weight: 700;
    font-size: 14px;
    line-height: 30px;
    color: white;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.about-cta {
    background-color: var(--about-light-bg);
    padding: 6.25rem 16px 0;
}

.about-cta__inner {
    max-width: 1120px;
    margin: 0 auto;
}

.about-cta__card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    padding: 80px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background: url("../images/about/hero-bg.png") center / cover no-repeat;
}

.about-cta__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    border-radius: 20px;
}

.about-cta__content {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 13px;
    width: 100%;
    color: white;
}

.about-cta__title {
    font-weight: 900;
    font-size: var(--about-font-title);
    line-height: 64px;
    margin: 0;
    color: white;
}

.about-cta__text {
    font-weight: 400;
    font-size: 20px;
    line-height: normal;
    margin: 0;
    color: white;
}

.about-cta__buttons {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.about-cta__buttons .t1-btn--outline {
    border-color: white;
    color: white;
}

.about-cta__buttons .t1-btn--outline:hover {
    background: white;
    color: var(--about-text);
    border-color: white;
}

/* ==========================================================================
   Responsive - Tablet (992px)
   ========================================================================== */

@media (max-width: 992px) {
    .about-hero__inner {
        height: 300px;
        padding-top: 180px;
    }

    .about-hero__title {
        font-size: 36px;
        line-height: 48px;
    }

    .about-intro__title-wrap {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 20px;
    }

    .about-intro__title {
        font-size: 36px;
        line-height: 46px;
    }

    .about-intro__logo {
        height: 40px;
    }

    .about-intro__stats {
        flex-wrap: wrap;
    }

    .about-intro__stat {
        flex: 1 1 50%;
    }

    .about-intro__stat:nth-child(2) {
        border-right: none;
    }

    .about-intro__stat:nth-child(3),
    .about-intro__stat:nth-child(4) {
        border-top: 1px solid var(--about-border);
    }

    .about-intro__stat-number {
        font-size: 36px;
        line-height: 46px;
    }

    .about-mission__row {
        flex-direction: column;
    }

    .about-mission__image {
        width: 100%;
    }

    .about-mission__image img {
        height: 300px;
    }

    .about-mission__title {
        font-size: 36px;
        line-height: 48px;
    }

    .about-mission__team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-values__title {
        font-size: 36px;
        line-height: 48px;
    }

    .about-values__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-values__collage {
        height: 260px;
    }

    .about-values__collage-bg {
        height: 240px;
    }

    .about-values__collage-front {
        width: 260px;
        height: 260px;
    }

    .about-journey__inner {
        flex-direction: column;
        gap: 30px;
    }

    .about-journey__header {
        width: 100%;
    }

    .about-journey__title {
        font-size: 36px;
        line-height: 48px;
    }

    .about-cta__title {
        font-size: 36px;
        line-height: 48px;
    }
}

/* ==========================================================================
   Responsive - Mobile (768px)
   ========================================================================== */

@media (max-width: 768px) {
    .about-hero__inner {
        height: 260px;
        padding-top: 160px;
    }

    .about-hero__title {
        font-size: 30px;
        line-height: 40px;
    }

    .about-hero__subtitle {
        font-size: 16px;
    }

    .about-intro__title {
        font-size: 30px;
        line-height: 40px;
    }

    .about-intro__stat {
        flex: 1 1 100%;
        border-right: none;
    }

    .about-intro__stat-number {
        font-size: 30px;
        line-height: 40px;
    }

    .about-mission__title {
        font-size: 30px;
        line-height: 40px;
    }

    .about-mission__team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-values__header{
        align-items: flex-start;
    }

    .about-values__subtitle{
        text-align: left;
    }

    .about-values__title {
        font-size: 30px;
        line-height: 40px;
    }

    .about-values__grid {
        grid-template-columns: 1fr;
    }

    .about-values__collage {
        height: 200px;
    }

    .about-values__collage-bg {
        height: 180px;
    }

    .about-values__collage-front {
        width: 180px;
        height: 200px;
    }

    .about-journey__title {
        font-size: 30px;
        line-height: 40px;
    }

    .about-journey__entry {
        gap: 16px;
    }

    .about-journey__year {
        width: 45px;
        font-size: 16px;
    }

    .about-cta__title {
        font-size: 30px;
        line-height: 40px;
    }

    .about-cta__card {
        padding: 50px 20px;
    }

    .about-cta__buttons {
        flex-direction: column;
        width: 100%;
    }

    .about-cta__buttons .t1-btn {
        width: 100%;
    }
}

/* ==========================================================================
   Responsive - Small Mobile (490px)
   ========================================================================== */

@media (max-width: 490px) {
    .about-hero__inner {
        height: 220px;
        padding-top: 140px;
    }

    .about-hero__title {
        font-size: 24px;
        line-height: 34px;
    }

    .about-hero__subtitle {
        font-size: 14px;
    }

    .about-intro {
        padding-top: 3rem;
    }

    .about-intro__title {
        font-size: 24px;
        line-height: 34px;
    }

    .about-intro__stat-number {
        font-size: 24px;
        line-height: 34px;
    }

    .about-intro__stat-label {
        font-size: 14px;
    }

    .about-mission {
        padding-top: 3rem;
    }

    .about-mission__image img {
        height: 220px;
    }

    .about-mission__title {
        font-size: 24px;
        line-height: 34px;
    }

    .about-mission__text {
        font-size: 16px;
        line-height: 26px;
    }

    .about-mission__team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

     .about-mission__team-grid .about-team__card{
        flex-direction: column;
        align-items: flex-start;
     }

     .about-team__info{
        gap: 4px;
     }
     
     .about-team__name{
        font-size: 16px;
     }

     .about-team__role{
        font-size: 13px;
     }

    .about-values {
        padding: 3rem 16px;
    }

    .about-values__title {
        font-size: 24px;
        line-height: 34px;
    }

    .about-values__subtitle {
        font-size: 16px;
    }

    .about-values__collage {
        display: none;
    }

    .about-values__card-title {
        font-size: 20px;
    }

    .about-journey {
        padding-top: 3rem;
    }

    .about-journey__title {
        font-size: 24px;
        line-height: 34px;
    }

    .about-journey__year {
        width: 40px;
        font-size: 14px;
    }

    .about-journey__entry-title {
        font-size: 16px;
        line-height: 22px;
    }

    .about-journey__entry-text {
        font-size: 14px;
        line-height: 22px;
    }

    .about-cta {
        padding: 3rem 16px 2rem;
    }

    .about-cta__title {
        font-size: 24px;
        line-height: 34px;
    }

    .about-cta__text {
        font-size: 16px;
    }

    .about-cta__buttons .t1-btn {
        font-size: 16px;
        height: 48px;
    }
}
