/* Layout structures for about us page */
/* .about-page-wrapper {
    background-color: #ffffff;
    padding-bottom: 50px;
} */

.about-nav-wrap {
    background-color: #252a57;
    position: sticky;
    top: 56px;
    /* Offset similar to technology page */
    z-index: 99;
    border-bottom: 1px solid #404040;
}

.about-nav {
    display: flex;
    white-space: nowrap;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
}

.about-nav li {
    /* display: inline-block; */
    flex: 1 1 auto;
    padding: 16px 20px;
    font-size: 17px;
    font-weight: 500;
    color: #FFF;
    cursor: pointer;
    /* border-bottom: 3px solid transparent; */
    background: transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    text-align: center;
}

.about-nav li:hover {
    color: #111111;
    background-color: #FFF;
}

.about-nav li.active {
    color: #111111;
    font-weight: 600;
    background: #ffffff;
}

.about-section {
    padding: 45px 0 45px;
    /* border-bottom: 1px solid #eeeeee; */
    background-color: #252a57;
}

.about-section:nth-child(odd) .mission-right {
    order: -1;
}

.about-section:nth-child(odd) .mission-nav-wrap {
    right: 0;
    left: auto;
}

.about-sec-header {
    text-align: center;
    margin-bottom: 40px;
}

.about-sec-title {
    font-size: 36px;
    font-weight: 700;
    color: #222222;
    margin: 0 0 15px;
    text-transform: uppercase;
}

.about-sec-line {
    width: 60px;
    height: 3px;
    background-color: #222222;
    margin: 0 auto;
}

.about-slider {
    margin: 0 auto;
    position: relative;
}

.about-slide-item {
    position: relative;
    outline: none;
}

.about-slide-img {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.about-slide-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 21 / 9;
}

.about-slide-content {
    background-color: #ffffff;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin: -50px auto 30px;
    /* pull up from image slightly */
    position: relative;
    z-index: 10;
    width: 85%;
    max-width: 800px;
    border-radius: 4px;
}

.about-section:nth-child(even) .about-slide-content {
    background-color: #fcfcfc;
}

.about-slide-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #111111;
    margin: 0 0 15px;
}

.about-slide-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
    margin: 0;
}

/* Slick Customization */
.about-slider .slick-prev,
.about-slider .slick-next {
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 11;
    transition: background-color 0.3s;
}

.about-slider .slick-prev:hover,
.about-slider .slick-next:hover {
    background-color: #f0f0f0;
}

.about-slider .slick-prev {
    left: 20px;
}

.about-slider .slick-next {
    right: 20px;
}

.about-slider .slick-prev:before,
.about-slider .slick-next:before {
    color: #111111;
    font-size: 24px;
    opacity: 1;
}

.about-slider .slick-dots {
    bottom: -35px;
}

.about-slider .slick-dots li button:before {
    font-size: 14px;
    color: #cccccc;
    opacity: 1;
}

.about-slider .slick-dots li.slick-active button:before {
    color: #222222;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .about-sec-title {
        font-size: 28px;
    }

    .about-slide-img img {
        aspect-ratio: 16 / 9;
    }

    .about-slide-content {
        width: 90%;
        padding: 25px;
        margin-top: -30px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    }

    .about-nav li {
        padding: 14px 18px;
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .about-nav-wrap {
        top: 56px;
    }

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

    .about-sec-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .about-sec-header {
        margin-bottom: 25px;
    }

    .about-slide-img img {
        aspect-ratio: 4 / 3;
        /* Taller on mobile for better visibility */
    }

    .about-slide-content {
        width: 95%;
        padding: 20px 15px;
        margin-top: -20px;
    }

    .about-slide-content h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .about-slide-content p {
        font-size: 14px;
    }

    .about-nav li {
        padding: 12px 15px;
        font-size: 14px;
    }

    .about-slider .slick-prev,
    .about-slider .slick-next {
        display: none !important;
        /* Hide arrows on mobile */
    }

    .about-slider .slick-dots {
        bottom: -25px;
    }
}

/* Timeline Section */
.timeline-section {
    background: #0b1622;
    /* Dark blue background */
    background-image: linear-gradient(180deg, #0b1622 0%, #152535 100%);
    padding: 80px 0;
    /* Extra bottom padding for dots */
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.timeline-header {
    text-align: center;
    margin-bottom: 60px;
}

.timeline-header h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 500;
    color: #aaaaaa;
}

.timeline-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}

.timeline-slider-wrap {
    margin: 0 auto;
    max-width: 1600px;
    /* Keep it wide for slidesToShow: 2 */
}

.timeline-item {
    outline: none;
    padding: 0 10px;
    /* Small gap between slides */
}

.timeline-item-inner {
    display: flex;
    background-color: rgba(255, 255, 255, 0.1);
    /* Translucent gray */
    /* height: 380px; */
    border-radius: 4px;
    overflow: hidden;
}

.timeline-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.timeline-content .desc {
    font-size: 15px;
    line-height: 1.6;
    color: #e2e8f0;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.timeline-image {
    flex: 1;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Timeline Custom Nav Slider */
.timeline-slider-nav {
    margin: 60px auto 0;
    position: relative;
    max-width: 1100px;
}

.timeline-slider-nav::before {
    content: '';
    position: absolute;
    top: 19px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.timeline-slider-nav .slick-slide {
    position: relative;
    cursor: pointer;
    z-index: 2;
    padding: 10px;
    /* height: 120px; */
    /* Space for text below */
    text-align: center;
}

.timeline-dot-wrap {
    /* display: inline-block; */
    position: relative;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ffffff;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    transition: all 0.3s;
    position: relative;
    z-index: 2;
}

.timeline-slider-nav .slick-current .timeline-dot {
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.2);
}

.timeline-slider-nav .slick-slide:hover .timeline-dot {
    background-color: #e2e8f0;
}

.timeline-dot-text {
    margin-top: 10px;
}

/* .timeline-dot-text {
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    text-align: center;
    pointer-events: none;
} */

/* Optional text alignment logic if not centered */
/* .timeline-slider-nav .slick-slide:first-child .timeline-dot-text {
    transform: none;
    left: 0;
    text-align: left;
}

.timeline-slider-nav .slick-slide:last-child .timeline-dot-text {
    transform: translateX(-100%);
    left: 20px;
    text-align: right;
} */

.timeline-dot-text .year {
    display: block;
    font-weight: 700;
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 5px;
}

.timeline-dot-text .title {
    display: block;
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.4;
}

/* Timeline Nav Arrows */
/* .timeline-slider-main .slick-prev,
.timeline-slider-main .slick-next,
.timeline-slider-nav .slick-prev,
.timeline-slider-nav .slick-next {
    display: none !important;
} */

/* Responsive adjustments for Timeline */
@media (max-width: 1199px) {

    .timeline-content {
        padding: 30px;
    }

    .timeline-content h3 {
        font-size: 26px;
    }

    .timeline-content p {
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .timeline-section {
        padding: 60px 0 60px;
    }

    .timeline-item-inner {
        flex-direction: column;
        height: auto;
    }

    .timeline-image {
        height: 250px;
    }

    .timeline-content {
        padding: 25px;
        order: 2;
        /* Put content below image like tablet standard */
    }

    /* Wait, user wants description left, image right. On tablet let's keep flex-row if possible, or stack it. */
    /* Let's stack it on mobile, but keep row on tablet? Given width, row is hard. Let's stack. */
    .timeline-slider-nav {
        width: 90%;
        margin: 25px auto 0;
    }
}

@media (max-width: 767px) {
    .timeline-section {
        padding: 40px 0 40px;
    }

    .timeline-header h2 {
        font-size: 28px;
    }

    .timeline-dot {
        width: 16px;
        height: 16px;
    }

    .timeline-dot-text .year {
        font-size: 14px;
    }

    .timeline-dot-text .title {
        font-size: 12px;
    }

    .timeline-item-inner {
        flex-direction: column;
    }

    .timeline-image {
        height: 200px;
    }

    .timeline-content h3 {
        font-size: 22px;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-header {
        margin-bottom: 40px;
    }
}

.marquee-wrapper {
    overflow: hidden;
    width: 100%;
}

.marquee-track {
    display: flex;
    width: max-content;
    transition: transform 0.4s ease;
}

.marquee-track .item {
    min-width: 200px;
    margin-right: 20px;
    user-select: none;
    cursor: grab;
}

.marquee-track .item img {
    width: 200px;
    pointer-events: none;
    user-drag: none;
    -webkit-user-drag: none;
}

.section-prize {
    padding: 50px 0;
}

.section-prize-header {
    font-size: 40px;
    margin-bottom: 30px;
    font-weight: 700;
}

#hinh-thanh-phat-trien,
#mang-luoi-toan-cau,
#giai-thuong {
    padding: 0;
    border-bottom: none;
}

#thiet-ke .about-slide-img img {
    aspect-ratio: 21 / 16;
}

/* Mission Section Styles */
.mission-sec-wrapper {
    position: relative;
    /* background-color: #030712; */
    overflow: hidden;
}

.mission-slider {
    margin: 0;
}

.mission-slide-item {
    outline: none;
}

.mission-slide-inner {
    display: flex;
    flex-wrap: wrap;
}

.mission-left {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 50px;
    box-sizing: border-box;
}

.mission-left-content {
    max-width: 600px;
    width: 100%;
}

.mission-subtitle {
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 500;
}

.mission-title {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.mission-desc {
    color: #cccccc;
    font-size: 16px;
    line-height: 1.6;
}

.mission-desc p {
    margin-bottom: 15px;
}

.mission-desc p:last-child {
    margin-bottom: 0;
}

.mission-right {
    flex: 0 0 50%;
    max-width: 50%;
}

.mission-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 80vh;
}

.mission-nav-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 100%;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 80px 50px;
    box-sizing: border-box;
    z-index: 10;
}

.mission-nav {
    width: 100%;
    max-width: 600px;
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.mission-nav button {
    position: relative;
    opacity: 1;
    border-radius: 0%;
    transform: unset;
    margin-top: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.8);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s;
}

.mission-nav button:hover {
    background: #ffffff;
    color: #000000;
}

.mission-paging {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
}

@media (max-width: 991px) {
    .mission-left {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 60px 30px 120px;
        order: 2;
    }

    .mission-right {
        flex: 0 0 100%;
        max-width: 100%;
        order: 1;
    }

    .mission-right img {
        min-height: auto;
        aspect-ratio: 16/9;
    }

    .mission-nav-wrap {
        width: 100%;
        height: auto;
        padding: 0 30px 40px;
    }

    .mission-title {
        font-size: 26px;
    }
}

@media (max-width: 767px) {
    .mission-left {
        padding: 40px 20px 100px;
    }

    .mission-title {
        font-size: 22px;
    }

    .mission-nav-wrap {
        padding: 0 20px 30px;
    }

    .mission-nav {
        justify-content: center;
    }
}

.section-screen {
    height: 100vh;
    width: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.section-screen .banner-hero {
    position: relative;
    width: 100%;
    height: 100%;
}

.section-screen .media {
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.section-screen .media:not(.no-overplay):before {
    background: rgba(0, 0, 0, 0.2);
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 3;
}

.section-screen .media video {
    -o-object-fit: cover;
    object-fit: cover;
    transform: scale(1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.section-screen .banner-hero .content {
    position: absolute;
    z-index: 4;
    width: 100%;
    height: 100%;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    gap: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6% 12% 6% 0;
    text-align: left;
}

.breadcrumb-wrapper .breadcrumb-arrows {
    color: #E5E5E5;
    display: flex;
    font-size: 16px;
    padding: 12px 0;
    background: transparent;
    border-radius: 0;
    margin: 0;
    list-style: none;
}

.breadcrumb-wrapper .breadcrumb-arrows>li {
    display: inline-block;
    padding: 0 10px 0 0;
}

.breadcrumb-wrapper .breadcrumb-arrows li:not(:first-child):before {
    content: "/";
    margin-right: 10px;
}

.section-screen .banner-hero .content .title h1 {
    font-size: 24px;
    margin-bottom: 0;
    font-weight: 500;
    color: #FFF;
}

.section-screen .banner-hero .content .title div.text {
    margin-top: 16px;
    color: #FFF;
}

@media (min-width: 992px) {
    .section-screen .banner-hero .content {
        justify-content: center;
        align-items: center;
        padding: 6% 0;
        text-align: center;
    }

    .breadcrumb-wrapper .breadcrumb-arrows {
        justify-content: center;
    }

    .section-screen .banner-hero .content .title h1 {
        font-size: 48px;
        margin-bottom: 16px;
    }

    .section-screen .banner-hero .content .title div.text {
        width: 82%;
        margin: auto;
        font-size: 20px;
    }
}