﻿@font-face {
    font-family: 'NunitoSans';
    src: url('../../fonts/NunitoSans-VariableFont_YTLC,opsz,wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'NunitoSans', sans-serif;
    margin: 0;
    padding: 0;
}

.btn:focus,
.btn:active,
.btn:focus-visible,
.btn:visited,
a.btn:focus,
a.btn:active,
.btn-sm:focus,
.btn-sm:active {
    outline: none !important;
    box-shadow: none !important;
}

.form-control:focus {
    border-color: none;
    outline: none;
    box-shadow: none;
}

.historiku-section, .historiku-section-2 {
    height: 100vh;
    padding: 12.5rem 0;
    background-color: #043065;
    text-align: center;
}

    .historiku-section .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 8.75rem 1.25rem;
    }

    .historiku-section-2 .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1.25rem;
    }

.historiku-content-2 {
    margin-top: 3.125rem;
    margin-left: auto;
    margin-right: auto;
    color: #FFF;
    font-family: 'NunitoSans', sans-serif;
    font-size: 3.5rem;
    font-style: normal;
    font-weight: 400;
    width: 60%;
}

.historiku-content {
    color: #FFF;
    text-align: center;
    font-family: 'NunitoSans', sans-serif;
    font-size: 3.5rem;
    font-style: normal;
    font-weight: 400;
}

    .historiku-content p {
        margin-bottom: 1.25rem;
    }

.year-circles {
    position: fixed;
    left: 5%;
    top: 60%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    z-index: 1000;
}

.year-circle {
    width: 0.625rem;
    height: 0.625rem;
    border: 1px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    text-align: center;
    background-color: transparent;
}

    .year-circle:hover {
        background-color: #ed174e;
        color: white;
    }

    .year-circle.active {
        background-color: #ed174e;
        transform: scale(1.3);
        color: white;
    }

.year-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.year-text {
    color: white;
    font-size: 0.8125rem;
}

.e-lorem-section {
    padding: 3.75rem 0;
    background: url('~/img/history-img.png') lightgray 50% / cover no-repeat;
    text-align: center;
    color: #fff;
}

    .e-lorem-section .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1.25rem;
    }

.section-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1.25rem;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
}

.e-lorem-content {
    font-size: 1.2rem;
    color: #fff;
    line-height: 1.8;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

    .e-lorem-content p {
        margin-bottom: 1.25rem;
    }

.e-lorem-icons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
}

    .e-lorem-icons svg {
        width: 2.5rem;
        height: 2.5rem;
        fill: none;
        stroke: #fff;
    }

/* e-Lorem Section Styles */
.e-lorem-section {
    padding: 3.75rem 0;
    background-color: #043065;
    font-family: 'Nunito Sans', sans-serif;
}

    .e-lorem-section .container {
        max-width: 800px;
        margin: 0 auto;
        padding: 0 1.25rem;
    }

.main-title {
    font-size: 2.5rem;
    color: #053D4F;
    margin-bottom: 1.25rem;
    text-align: center;
}

.main-description {
    font-size: 1.2rem;
    color: #0B2432;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 2.5rem;
}

.sub-section {
    margin-bottom: 2.5rem;
}

.sub-title {
    font-size: 1.8rem;
    color: #053D4F;
    margin-bottom: 0.9375rem;
}

.sub-description {
    font-size: 1.1rem;
    color: #0B2432;
    line-height: 1.6;
}

/* 2015 e-Lorem Section Styles */
.year-section {
    background-color: #f9f9f9;
    font-family: 'Nunito Sans', sans-serif;
}

    .year-section .content-container {
        max-width: 800px;
        margin: 3.75rem;
        padding: 0 6.5625rem;
    }

.year-title {
    color: #232222;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.75rem;
}

.project-name {
    color: #232222;
    font-size: 2.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 3.5rem;
}

.project-description {
    color: #232222;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 2rem;
}

.progress-section, .effect-section {
    margin-bottom: 2.5rem;
    width: 50%;
}

.progress-title, .effect-title {
    font-size: 1.4rem;
    color: #053D4F;
    margin-bottom: 0.9375rem;
}

.progress-description, .effect-description {
    color: #232222;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5rem;
}

.year-title-2 {
    color: #FFF;
    text-align: center;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.75rem;
}

.additional-info-2 {
    color: #FFF;
    text-align: center;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 2rem;
}

.section-title-2 {
    color: #FFF;
    text-align: center;
    font-size: 3rem;
    font-style: normal;
    font-weight: 400;
    line-height: 3.5rem;
}

.progress-title-2 {
    color: #FFF;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 2rem;
}

.effect-title-2 {
    color: #FFF;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 2rem;
}

.progress-description-2, .effect-description-2 {
    color: #FFF;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5rem;
    text-align: start;
}

.history-image-container {
    isolation: isolate;
    position: relative;
    padding-bottom: 93%;
    overflow: hidden;
    border-radius: 0px 14.5rem 23rem 0px;
    box-shadow: 0 0.9375rem 1.875rem rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.year-items-container {
    position: relative;
    z-index: 10;
}

.year-circle {
    position: relative;
    z-index: 20;
}

.timeline-container {
    position: relative;
    z-index: 15;
}

.history-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-wrapper-right {
    height: 100%;
    min-height: 37.5rem;
    position: relative;
    overflow: hidden;
    border-radius: 20.9375rem 0 0 17.1875rem;
    box-shadow: -1.25rem 0 2.5rem rgba(0, 0, 0, 0.3);
    margin-left: auto;
    z-index: 1;
}

.styled-image-right {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 992px) {
    .image-wrapper-right {
        min-height: 25rem;
        border-radius: 1.25rem;
        margin: 2.5rem auto 0;
        width: 90%;
    }
}

/* Mobile-specific styles */
@media (max-width: 767.98px) {
    .historiku-section, .historiku-section-2 {
        padding: 80px 0;
        height: auto;
    }

        .historiku-section .container,
        .historiku-section-2 .container {
            padding: 40px 15px;
        }

    .historiku-content {
        font-size: 2rem;
    }

    .historiku-content-2 {
        width: 100%;
        font-size: 2rem;
    }

    .year-section .content-container {
        margin: 20px;
        padding: 0 15px;
    }

    .project-name {
        font-size: 2rem;
        line-height: 1.2;
    }

    .progress-section,
    .effect-section {
        width: 100% !important;
    }

    .year-circles-horizontal {
        overflow-x: auto;
        white-space: nowrap;
        padding: 10px 0;
    }

    .history-image-container,
    .image-wrapper-right {
        height: 300px;
        min-height: auto;
        border-radius: 20px !important;
        margin: 0 auto 30px;
        width: 90%;
    }
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 991.98px) {
    .historiku-content,
    .historiku-content-2 {
        font-size: 2.5rem;
    }

    .project-name {
        font-size: 2.5rem;
    }

    .history-image-container,
    .image-wrapper-right {
        min-height: 400px;
    }
}

.year-circles-mobile {
    display: none;
}

.year-circles-desktop {
    display: flex;
}

@media (max-width: 767px) {
    .year-circles-desktop {
        display: none;
    }

    .year-circles-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media (min-width: 768px) {
    .year-circles-desktop {
        display: flex;
        justify-content: space-between;
    }

    .year-circles-mobile {
        display: none;
    }
}


.year-item a {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    color: inherit;
}
