:root {
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-heading: 'Lora', serif;

    --color-title: #0C4464;
    --color-text: #353c46;
    --color-white: #ffffff;
    --background: #F8FAFC;
    --border: #ABBAF050;

    --font-size-36: 36px;
    --font-size-32: 32px;
    --font-size-24: 24px;
    --font-size-20: 20px;
    --font-size-18: 18px;
    --font-size-16: 16px;

    --background-linear: linear-gradient(104deg, #3655CECC 0%, #3EAAE7CC 50%, #3655CECC 100%);

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.2;
    background: var(--background);
    color: var(--color-text);
}

.wrap-about {
    width: 100%;
    overflow-x: hidden;
    padding-top: 70px;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
}

/* ==================== hero abouts ==================== */
.hero-about {
    background: var(--background-linear);
    padding: 30px 0;
    color: var(--color-white);
}

.hero-about__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-about__title {
    font-family: var(--font-heading);
    font-size: var(--font-size-32);
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-about__subtitle {
    font-size: var(--font-size-18);
    font-weight: 500;
    margin-bottom: 16px;
    opacity: 0.95;
}

.hero-about__desc {
    font-size: var(--font-size-16);
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.9;
}

.hero-about__actions {
    display: flex;
    gap: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 26px;
    border-radius: 8px;
    color: var(--color-title);
    background: var(--color-white);
    font-size: var(--font-size-16);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn:hover {
    transform: scale(105%)
}

.btn-outline {
    background: #ffffff30;
    border: 1.5px solid var(--color-white);
    color: var(--color-white);
}

.hero-about__media {
    width: 100%;
    max-width: 460px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 10px;
}

.hero-about__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==================== OUR STORY ==================== */

.about-ourStory {
    padding: 30px 0;
}

.ourStory__title {
    font-family: var(--font-heading);
    font-size: var(--font-size-32);
    font-weight: 700;
    color: var(--color-title);
    margin-bottom: 28px;
    position: relative;
}

.ourStory__title::after {
    content: "";
    display: block;
    width: 130px;
    height: 3px;
    background: var(--background-linear);
    margin-top: 10px;
    border-radius: 2px;
}

.ourStory__content p,
.future_desc {
    font-size: var(--font-size-16);
    line-height: 1.75;
    color: var(--color-text);
    margin-bottom: 20px;
}

/* ==================== Development journey ==================== */
.about-journey {
    padding: 30px 0;
    background: var(--background-linear);
}

.journey-header {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 20px;
}

.journey_title {
    font-family: var(--font-heading);
    font-size: var(--font-size-32);
    font-weight: 700;
    color: var(--color-white);
}

.journey_filter {
    font-size: var(--font-size-16);
    background: var(--color-white);
    color: var(--color-title);
    font-weight: 500;
    padding: 6px 16px;
}

.journey-timeline {
    position: relative;
    width: 100%;
    height: 430px;
    overflow: hidden;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--background);
    background-size: 400% 100%;
    transform: translateY(-50%);
    z-index: 1;
}


.timeline {
    position: relative;
    height: 100%;
    width: max-content;
}

.timeline.animated {
    animation: scrollTimeline 60s linear infinite;
}

.timeline.animated.slow {
    animation: scrollTimeline 120s linear infinite;
}

@keyframes scrollTimeline {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.journey-item {
    position: absolute;
    background: var(--color-white);
    color: var(--color-title);
    border-radius: 12px;
    padding: 10px 20px;
    box-shadow: 0 0 8px 0 #FFFFFF91;
    transition: all 0.3s ease;
    width: 380px;
    cursor: pointer;
}

.journey-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 18 0 #b1dcf5;
    z-index: 10;
}

.journey-item:hover~.timeline,
.timeline:has(.journey-item:hover) {
    animation-play-state: paused !important;
}

.journey-item.top {
    bottom: calc(50% + 30px);
}

.journey-item.bottom {
    top: calc(50% + 30px);
}

.year {
    display: inline-block;
    border-radius: 20px;
    font-size: var(--font-size-20);
    font-weight: 600;
    margin-bottom: 12px;
}

.journey-item h4 {
    font-size: var(--font-size-16);
    font-weight: 500;
    margin-bottom: 8px;
    font-weight: 600;
}

.journey-item p {
    font-size: var(--font-size-16);
    color: var(--color-text);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==================== Future vision ==================== */

.about-future {
    padding: 30px 0;
    margin: 0 auto;
}

.future_title {
    font-family: var(--font-heading);
    font-size: var(--font-size-32);
    font-weight: 700;
    color: var(--color-title);
    margin-bottom: 20px;
}

.future_title::after {
    content: "";
    display: block;
    width: 130px;
    height: 3px;
    background: var(--background-linear);
    margin-top: 10px;
    border-radius: 2px;
}

/* ==================== Impressive specifications ==================== */
.about-impressive {
    padding: 30px 0;
    background: var(--background-linear);
    margin: 0 auto;
}

.impressive_title {
    font-size: var(--font-size-32);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 25px;
}

.impressive_list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 80px;
}

.impressive_item {
    background: #FAFAFA30;
    backdrop-filter: blur(6px);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    color: var(--color-white);
}

.impressive_number {
    font-size: var(--font-size-32);
    font-weight: 700;
    margin-bottom: 15px;
}

.impressive_label {
    font-size: var(--font-size-16);
    opacity: 0.95;
}

/* ==================== Our Team ==================== */
.about-ourTeam {
    padding: 30px 0;
    margin: 0 auto;
}

.ourTeam_title {
    font-size: var(--font-size-32);
    font-family: var(--font-heading);
    color: var(--color-title);
    font-weight: 700;
    margin-bottom: 25px;
}

.ourTeam_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 80px;
}

.team-item {
    display: flex;
    gap: 24px;
    align-items: center;
}

.team_avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.team_avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team_name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--color-title);
}

.team_role {
    font-size: var(--font-size-16);
    color: var(--color-title);
    opacity: 0.9;
    margin-bottom: 6px;
}

.team_line {
    width: 100%;
    height: 2px;
    background: var(--background-linear);
    margin-bottom: 12px;
}

.team_desc {
    font-size: var(--font-size-16);
    line-height: 1.6;
    color: var(--color-text);
}

/* ================= JOIN CTA ================= */
.about-join {
    background: linear-gradient(104deg, #5c7fe6 0%, #6fb6ec 50%, #5c7fe6 100%);
    padding: 60px 0;
    color: var(--color-white);
}

.join_inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.join_title {
    font-family: var(--font-heading);
    font-size: var(--font-size-32);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 32px;
}

.join_actions {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--color-white);
    color: #6b5cff;
    border: 1px solid #fff;
}

.btn-primary:hover {
    background: #f1f4ff;
}

.btn-outline-light {
    background: #ffffff23;
    border: 1.5px solid #fff;
    color: var(--color-white);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
}

@media (min-width: 1620px) {

    .container {
        max-width: 1400px;
    }

    .hero-about__title,
    .ourStory__title,
    .journey_title,
    .impressive_title,
    .impressive_number,
    .ourTeam_title,
    .join_title {
        font-size: var(--font-size-36);
    }

    .hero-about__subtitle {
        font-size: var(--font-size-20);
    }

    .hero-about__desc,
    .btn,
    .ourStory__content p,
    .journey_filter,
    .journey-item h4,
    .journey-item p,
    .future_desc,
    .impressive_label,
    .team_name,
    .team_role,
    .team_desc,
    .join_actions.btn {
        font-size: var(--font-size-18);
    }

    .hero-about__media {
        max-width: 480px;
    }

    .ourStory__title::after,
    .future_title::after {
        height: 4px;
    }

    .journey-timeline {
        height: 460px;
    }

    .journey-item {
        width: 420px;
    }

    .team_avatar {
        width: 170px;
        height: 170px;
    }

    .join_inner {
        max-width: 1000px;
    }
}