/* Hero */
.hero {
    background-size: cover;
    background-position: center;
    height: 525px;
    max-height: 525px;
    background-image: url("/img/static-header/hero.png");
    display: flex;
    align-items: center;
    overflow-x: hidden;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #03213e;
    margin-bottom: 16px;
    line-height: 56px;
    max-width: 75%;
}

.hero-description {
    font-size: 20px;
    font-weight: 400;
    color: #66788a;
    line-height: 26px;
    max-width: 554px;
}

/* Message */
.message {
    background: linear-gradient(
        to bottom,
        rgba(248, 249, 250, 1),
        rgba(248, 249, 250, 1),
        rgba(235, 248, 246, 1)
    );
    padding: 80px 0 24px 0;
    position: relative;
    overflow-x: hidden;
}

.message-title {
    font-size: 40px;
    font-weight: 700;
    color: #03213e;
    margin-bottom: 40px;
    line-height: 48px;
}

.message-content {
    display: flex;
    flex-direction: row;
    height: 100%;
    position: relative;
}

.message-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 760px;
    padding: 40px;
    box-shadow: 0px 2px 4px 0px rgba(96, 97, 112, 0.16),
        0px 0px 1px 0px rgba(40, 41, 61, 0.04);
    background-color: white;
    border: 1px solid #ebedf0;
    border-radius: 32px;
    -webkit-border-radius: 32px;
    -moz-border-radius: 32px;
    -ms-border-radius: 32px;
    -o-border-radius: 32px;
}

.arrow-message {
    position: absolute;
    top: 57%;
    right: -30px;
}

.message-description-container {
    padding-bottom: 40px;
}

.message-description {
    font-size: 20px;
    font-weight: 400;
    color: #03213e;
    line-height: 28px;
}

.message-author {
    border-top: 1px solid #ebedf0;
    padding-top: 40px;
}

.message-name {
    font-size: 20px;
    font-weight: 700;
    color: #03213e;
    line-height: 28px;
}

.message-position {
    font-size: 20px;
    font-weight: 400;
    color: #66788a;
    line-height: 28px;
}

.message-image {
    position: absolute;
    bottom: 0;
    right: -9%;
}

/* Vision & Mission */
.vision-mission {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(
        to top,
        rgba(248, 249, 250, 1),
        rgba(235, 248, 246, 1),
        rgba(235, 248, 246, 1)
    );
    overflow-x: hidden;
}

.vision-mission-content {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

.vision-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    background:
        linear-gradient(180deg, #07539A 0%, #07539A 35%, rgba(7,83,154,0.5) 100%),
        url("/img/bg-vision.png");
    padding: 40px;
    border-radius: 32px;
    overflow: hidden;
    background-size: cover, 315%;
    background-position: center, 33% 105%;
    background-repeat: no-repeat, no-repeat;
    z-index: 0;
}

.vision-icon {
    width: 72px;
    height: 72px;
}

.vision-title {
    opacity: 90%;
    font-weight: 700;
    font-size: 40px;
    line-height: 48px;
    color: #f8f9fa;
    margin: 0;
}

.vision-description {
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: #f8f9fa;
    opacity: 90%;
    margin: 0;
}

.mission-content {
    background-color: #ffffff;
    z-index: 10;
    max-width: 734px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 40px;
    border: 1px solid #ebedf0;
    border-radius: 32px;
    -webkit-border-radius: 32px;
    -moz-border-radius: 32px;
    -ms-border-radius: 32px;
    -o-border-radius: 32px;
}

.mission-icon {
    width: 72px;
    height: 72px;
}

.mission-title {
    font-weight: 700;
    font-size: 40px;
    line-height: 48px;
    color: #03213e;
    opacity: 90%;
}

.mission-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mission-list-card {
    background-color: #f8f9fa;
    border: 1px solid #ebedf0;
    max-height: fit-content;
    padding: 24px;
    border-radius: 17px;
    -webkit-border-radius: 17px;
    -moz-border-radius: 17px;
    -ms-border-radius: 17px;
    -o-border-radius: 17px;
}

.mission-list-card p {
    margin: 0;
    padding: 0;
    font-size: 18px;
}

.blur-ornamen {
    position: absolute;
    left: 0;
    bottom: 0;
    display: none;
}

/* Award Achievement */
.award-achievement {
    padding: 120px 0;
    background-color: #ffffff;
    overflow-x: hidden;
}

.award-title {
    font-size: 40px;
    font-weight: 700;
    color: #03213e;
    margin-bottom: 40px;
    line-height: 48px;
}

.card-width-award {
    width: 257px;
    height: 360px;
}

.swiper-award-container {
    position: relative;
    padding-bottom: 48px;
}

.swiper-award-button-next-revamp,
.swiper-award-button-prev-revamp {
    position: absolute;
    top: 45%;
    z-index: 10;
    width: 40px;
    height: 40px;
    background-color: #03213e;
    color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.swiper-award-button-next-revamp {
    right: -95px !important;
}

.swiper-award-button-prev-revamp {
    left: -25px !important;
}

.swiper-award-pagination {
    text-align: center;
    margin-top: 24px;
}

.swiper-award-button-prev-revamp.disabled-prev {
    background-color: #cdd3d8 !important;
    cursor: default;
    pointer-events: none;
}

/* History */
.history {
    position: relative;
    padding: 120px 0;
    background-image: url("/img/bg-history.png");
    background-size: cover;
    background-position: center;
    overflow-x: hidden;
    min-height: 110px;
}

.history-title {
    font-size: 40px;
    font-weight: 700;
    color: #03213e;
}

.swiper-history-container {
    position: relative;
    overflow: visible;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.swiper-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.card-history {
    background: #fff;
    display: flex;
    align-items: center;
    border-radius: 16px;
    box-shadow: 0 2px 4px rgba(96, 97, 112, 0.16);
    padding: 24px 32px;
    position: relative;
    transition: all 0.3s ease;
    top: 55px;
    min-height: 121px;
    max-height: 121px;
}

.card-history.active {
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-history:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.arrow-history {
    position: absolute;
    bottom: -20px;
    left: 20px;
}

.card-text {
    font-size: 18px;
    color: #66788a;
    margin: 0;
    text-align: start;
}

.card-history.active .card-text {
    font-weight: 700;
    font-size: 20px;
    color: #03213e;
    margin: 0;
}

.arrow-line {
    position: absolute;
    bottom: -60px;
    left: 32px;
    width: 2px;
    height: 60px;
    background-color: #cdd3d8;
}

.timeline-line {
    position: absolute;
    bottom: 133px;
    left: 32px;
    right: 0;
    height: 2px;
    margin-left: 420px;
    background-color: #cdd3d8;
    z-index: 0;
}

.timeline-line.next {
    margin-left: 0;
    left: 0;
}

.timeline-year {
    position: relative;
    text-align: left;
    margin-left: 32px;
    margin-top: 50px;
    z-index: 10;
}

.timeline-year .dot {
    width: 12px;
    height: 12px;
    position: relative;
    margin-bottom: 14px;
    transition: all 0.3s ease;
}

.timeline-year.active .dot {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}

.timeline-year .year {
    font-weight: 700;
    font-size: 16px;
    color: #66788a;
    transition: color 0.3s ease;
    position: absolute;
    left: -12px;
}

.timeline-year.active .year {
    color: #03213e;
}

.swiper-history-button-next-revamp,
.swiper-history-button-prev-revamp {
    position: absolute;
    top: 30%;
    z-index: 10;
    width: 40px;
    height: 40px;
    background-color: #03213e;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.swiper-history-button-next-revamp {
    right: -80px;
    top: 50%;
}
.swiper-history-button-prev-revamp {
    left: -80px;
    top: 50%;
}

.swiper-history-button-prev-revamp.disabled-prev {
    background-color: #cdd3d8 !important;
    cursor: default;
    pointer-events: none;
}

.description {
    display: flex;
    flex-direction: row;
    gap: 18px;
    align-items: center;
}

.separator {
    background-color: #cdd3d8;
    width: 1px;
    height: 100px;
}

.separator1 {
    height: 100px;
}

#history-slider .swiper-slide {
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-width: 33% !important;
}

#history-slider .swiper-slide.custom-width {
    min-width: fit-content !important;
}


/* ============================= */
/* RESPONSIVE DESIGN */
/* ============================= */

/* --- Laptop L (max-width: 1440px) --- */
@media (max-width: 1440px) {
    .timeline-line {
        bottom: 130px;
        left: 0;
        height: 2px;
        margin-left: 220px;
    }
}

/* --- Laptop L (max-width: 1200px) --- */
@media (max-width: 1200px) {

    .message-card {
        width: 650px;
    }

    .message-image {
        width: 40%;
    }

    .timeline-line {
        bottom: 135px;
        left: 0;
        height: 2px;
        margin-left: 100px;
    }

    .card-history {
        display: flex;
        align-items: center;
        text-align: center;
        padding: 24px;
        min-height: max-content;
    }

    .description {
        display: flex;
        flex-direction: column;
        gap: 18px;
        align-items: start;
        width: 100%;
    }

    .separator {
        background-color: #cdd3d8;
        width: 100%;
        height: 1px;
    }

    .separator1 {
        display: none;
    }

    #history-slider .swiper-slide {
        min-height: 250px;
        display: flex;
        justify-content: space-between;
    }
}

/* --- Laptop (max-width: 1024px) --- */
@media (max-width: 1024px) {
    /* Hero */
    .hero {
        height: 420px;
    }

    .hero-title {
        font-size: 36px;
        line-height: 44px;
    }

    .hero-description {
        font-size: 18px;
        line-height: 26px;
        max-width: 60%;
    }

    /* Message */
    .message {
        height: fit-content;
        padding: 60px 0;
        background: linear-gradient(
            to bottom,
            rgba(248, 249, 250, 1),
            rgba(235, 248, 246, 1),
            rgba(235, 248, 246, 1)
        );
        max-height: none;
    }

    .arrow-message {
        rotate: 90deg;
        top: 98%;
        right: 50%;
    }

    .message-content {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .message-card {
        width: 90%;
        padding: 32px;
    }

    .message-image {
        position: relative;
        right: 0;
        width: 100%;
        padding: 0;
        margin: 0;
        margin-top: 24px;
    }

    /* Vision & Mission */
    .vision-mission-content {
        flex-direction: column;
        align-items: center;
    }

    .vision-mission {
        padding: 0 0 40px 0;
        background: linear-gradient(
        to top,
        rgba(255, 255, 255, 1),
        rgba(255, 255, 255, 1),
        rgba(235, 248, 246, 1)
    );
    }

    .vision-content {
        min-width: 100%;
        background-size: cover, 315%;
        background-position: center, 33% 55%;
    }
    .mission-content {
        min-width: 100%;
    }

    .vision-title,
    .mission-title {
        font-size: 32px;
        line-height: 40px;
    }

    .vision-description,
    .mission-list-card {
        font-size: 18px;
    }

    .blur-ornamen {
        display: block;
    }

    /* Awards */
    .swiper-award-button-next-revamp,
    .swiper-award-button-prev-revamp {
        display: none;
    }

    #award-slider .swiper-button-disabled {
        display: none;
    }

    /* History */

    #history-slider .swiper-slide {
        min-height: 250px;
        display: flex;
        justify-content: space-between;
    }

    .history {
        padding: 80px 0;
        max-height: max-content;
    }

    .swiper-history-button-prev-revamp,
    .swiper-history-button-next-revamp {
        display: none;
    }

    .history-title {
        font-size: 32px;
    }

    .swiper-history-container {
        max-width: 90%;
    }

    .swiper-wrapper {
        gap: 0;
    }

    .card-history {
        display: flex;
        align-items: center;
        text-align: center;
        padding: 24px;
        min-height: max-content;
    }

    .timeline-line {
        bottom: 92px;
        left: 10;
        height: 2px;
        margin-left: 145px;
    }

    .timeline-year {
        margin-left: 34px;
    }

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

    .description {
        display: flex;
        flex-direction: column;
        gap: 18px;
        align-items: start;
    }

    .separator {
        background-color: #cdd3d8;
        width: 100%;
        height: 1px;
    }

    .separator1 {
        display: none;
    }
}

/* --- Mobile (max-width: 768px) --- */
@media (max-width: 768px) {
    /* Hero */
    .hero {
        height: 360px;
        background-position: unset;
    }

    .hero-title {
        font-size: 28px;
        line-height: 36px;
    }

    .hero-description {
        font-size: 16px;
        line-height: 24px;
    }

    /* Message */
    .message-title {
        font-size: 28px;
        line-height: 36px;
    }

    .message-card {
        width: 100%;
        padding: 24px;
    }

    .message-description {
        font-size: 16px;
        line-height: 24px;
    }

    .message-name,
    .message-position {
        font-size: 16px;
    }

    /* Vision & Mission */
    .vision-mission {
        padding: 80px 0;
    }

    .vision-content,
    .mission-content {
        padding: 24px;
    }

    .vision-title,
    .mission-title {
        font-size: 28px;
        line-height: 36px;
    }

    .mission-list-card {
        padding: 16px;
        font-size: 16px;
    }

    /* Award */
    .award-title {
        font-size: 28px;
        margin-bottom: 24px;
    }

    /* History */
    #history-slider .swiper-slide {
        min-height: 250px;
    }

    .history {
        height: fit-content;
    }

    .history-title {
        font-size: 28px;
        text-align: center;
    }

    .card-text {
        font-size: 16px;
        line-height: 24px;
    }

    .timeline-line {
        bottom: 93px;
        left: 15;
        height: 2px;
        margin-left: 110px;
    }

    .timeline-year {
        margin-left: 34px;
        margin-top: 50px;
    }
}

/* --- Small Mobile (max-width: 480px) --- */
@media (max-width: 480px) {
    .hero {
        height: 300px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 18px;
        line-height: 26px;
        max-width: 90%;
    }

    .message-title,
    .vision-title,
    .mission-title,
    .award-title,
    .history-title {
        font-size: 28px;
        line-height: 32px;
    }

    #history-slider .swiper-slide {
        min-height: 250px;
    }

    .history {
        height: fit-content;
    }

    .card-text {
        font-size: 14px;
        line-height: 22px;
    }

    .timeline-line {
        bottom: 95px;
        left: 0;
        height: 2px;
        margin-left: 80px;
    }

    .timeline-year {
        margin-left: 34px;
        margin-top: 50px;
    }
}
