/* home.css */
body {
    margin: 0;
    padding: 0;
    font-family: 'Altone Trial', sans-serif;
    background: linear-gradient(to bottom, #f2d2bd);
    color: #fff;
    text-align: center;
    position: relative;
    box-sizing: border-box;
    min-height: 100vh;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Ensure dropdown menus are not hidden by Bootstrap's display: none; */
.main-navbar .dropdown-menu {
    display: block !important; /* Override Bootstrap's default display: none; */
}


/* Maintain your existing hidden state with opacity and visibility */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: linear-gradient(to bottom, #2e0066, #4c1d5f);
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    border-radius: 12px;
    padding: 15px 0;
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 99999; /* Ensure it's on top */

    /* Initially hidden via opacity and visibility */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.3s ease;
}

/* Show dropdown when active/hover */
.dropdown.show .dropdown-menu,
.dropdown:hover .dropdown-menu { /* Keep the hover effect */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Adjust dropdown arrow rotation for both click and hover */
.dropdown.show .dropdown-arrow,
.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Ensure the navbar itself has a high z-index */
.main-navbar {
    z-index: 1050; /* Keep this high */
}


section {
    padding: 6vh 2vw; /* Use vw/vh for padding */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-section {
    padding-top: 100px;
    background: linear-gradient(to top, #f2d2bd, #eb92be, #9045c7, #5033be);
    position: relative;
    overflow: visible;
    padding-bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
    margin: 0 auto;
    flex-wrap: nowrap;
    z-index: 2;
    position: relative;
}


.hero-left {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    min-width: 300px;
}

.logo-aura {
    width: 450px;
    height: auto;
    flex-shrink: 0;
}

.hero-text {
    text-align: left;
    max-width: 500px;
    flex-grow: 1;
}

.logo-text {
    width: 390px;
    height: auto;
    margin-bottom: 10px;
}

.hero-description {
    text-align: justify; 
    font-size: 1.2rem;
    line-height: 1.6;
    color: #fff;
    font-family: 'Poppins';
}

.mascot-hero {
    width: 120px;
    height: auto;
    margin-left: 20px;
    flex-shrink: 0;
}

.highlight-section .stars-decorative {
    position: absolute;
    z-index: 1;
    height: auto;
}

.highlight-section .top-left-star {
    top: 15%;
    left: 7%;
    width: 20vw; /* Use vw */
    max-width: 250px; /* Max size */
    min-width: 80px; /* Min size */
    transform: rotate(-30deg);
    z-index: 0;
}

.highlight-section .top-right-star {
    top: 10%;
    right: 10%;
    width: 15vw; /* Use vw */
    max-width: 200px; /* Max size */
    min-width: 60px; /* Min size */
    transform: rotate(0deg);
    z-index: 0;
}

.tagline-section {
    background: #F2A085;
    padding-top: 80px;
    padding-bottom: 120px;
    position: relative;
    overflow: visible;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tagline-title-img {
    margin-top: 80px;
    width: 500px;
    height: auto;
    margin-bottom: 40px;
    z-index: 3;
}

.tagline-content-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 50px;
    max-width: 1100px;
    width: 100%;
    flex-wrap: wrap;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.tagline-text-description {
    flex: 1 1 500px;
    text-align: justify;
    line-height: 1.7;
    font-size: 1.3rem;
    font-family: 'Altone Trial';
    color: #42210B;
    background: #eb8bbe;
    border: 3px solid #c35d71;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.mascot-tagline {
    width: 200px;
    height: auto;
    flex-shrink: 0;
    position: absolute;
    top: -170px; /*ATUR POSISI MASKOT DISINI*/
    right: 0;
    transform: translateX(-30%);
    z-index: 1;
}

.wave-bottom {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 0;
    transform: scaleY(-1);
}


.highlight-section {
    
    padding-top: 0px;
    padding-bottom: 0px;
    position: relative;
    overflow: hidden;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.highlight-background {
    position: relative;
    width: 110%;
    aspect-ratio: 1454 / 1035; /* Ganti sesuai rasio asli awan.png */
    background-image: url("../asset/home/awan.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding-top: 40vh;
}

.highlight-title-img {
    width: 700px;
    height: auto;
    margin-bottom: 30px;
    z-index: 3;
    
}





.highlight-carousel {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    position: relative;
    padding: 40px 0;
    padding-left: 80px;
    padding-right: 80px;
}

.events-container-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    height: auto;
    min-height: 300px;
    margin: 40px 0;
}

.events-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    top: 0;
    height: 100%;
    align-items: center;
    padding: 0;
    gap: 20px;
    width: fit-content;
}

.carousel-arrow {
    border: 2px solid #8b4513;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.left-carousel-arrow {
    background: linear-gradient(
        to right,
        #e25c2b,
        #e67236,
        #ed9b4c,
        #f3bc5d,
        #f7d369,
        #fae170,
        #fbe673
    );
    color: #4a2b00;
    left: 100px;
}

.left-carousel-arrow:hover {
    background: linear-gradient(
        to left,
        #e25c2b,
        #e67236,
        #ed9b4c,
        #f3bc5d,
        #f7d369,
        #fae170,
        #fbe673
    );
    border-color: #4a2b00;
}

.right-carousel-arrow {
    background: linear-gradient(
        to left,
        #e25c2b,
        #e67236,
        #ed9b4c,
        #f3bc5d,
        #f7d369,
        #fae170,
        #fbe673
    );
    color: #4a2b00;
    right: 100px;
}

.right-carousel-arrow:hover {
    background: linear-gradient(
        to right,
        #e25c2b,
        #e67236,
        #ed9b4c,
        #f3bc5d,
        #f7d369,
        #fae170,
        #fbe673
    );
    border-color: #4a2b00;
}

.event-card {
    background-color: transparent;
    color: #fff;
    border-radius: 20px;
    box-shadow: none;
    text-align: center;
    flex-shrink: 0;
    flex-basis: 350px;
    max-width: 400px;
    min-width: 250px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    opacity: 0.6;
    transform: scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-card.active {
    opacity: 1;
    transform: scale(1);
}

.event-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 0px;
    overflow: hidden;
    margin-bottom: 0px;
}

.event-image {
    max-width: 100%;
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    padding-right: 5%;
}

.event-card.active .event-image {
    opacity: 1;
    transform: scale(1);
    box-shadow: none;
}

.event-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    z-index: 1;
    pointer-events: none;
    font-family: "Rafaella";
}

.event-card h3 {
    margin-bottom: 25px;
    font-size: 2em;
    color: #5033be;
}

.btn-detail {
    background: linear-gradient(
        to top,
        #e25c2b,
        #e67236,
        #ed9b4c,
        #f3bc5d,
        #f7d369,
        #fae170,
        #fbe673
    );
    color: #333;
    border: 3px solid #8b4513;
    width: 200px;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    margin-top: 15px;
}

.btn-detail:hover {
    background-color: #6a449d;
    transform: translateY(-2px);
    opacity: 0.8;
}

/* ---------- START TIMELIN'R STYLES (Layout and Position Unchanged) ---------- */
.timeline-section {
    background: none;
    padding-top: 10vh;
    padding-bottom: 10vh;
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.timeline-title-img {
    width: 25vw;
    max-width: 400px;
    min-width: 150px; /* Added min-width */
    height: auto;
    margin-bottom: 5vh;
    padding-top: 5vh;
}

#timeline {
    width: 90vw;
    max-width: 1700px;
    height: 90vh;
    min-height: 500px;
    overflow: hidden;
    padding-left: 0;
    margin: 4vh auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* Maintain original flex-direction (row is default for flex) */
}

.timeline-background {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw; /* Use vw */
    max-width: 850px;
    height: 0;
    padding-bottom: 50vw; /* Use vw for padding-bottom, relative to width */
    background-image: url("../asset/home/scroll.png");
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

.timeline-section .timeline-background-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw; /* Use vw */
    max-width: 900px;
    min-width: 300px; /* Added min-width */
    height: auto;
    max-height: 1200px;
    object-fit: contain;
    z-index: 0;
}

.timeline-content-wrapper {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2vw;
    /* Maintain original flex-direction (row is default for flex) */
}

.timeline-buttons-container {
    height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-around;
    padding-right: 1vw;
    z-index: 3;
}

.timeline-dot-btn {
    width: 2.5vw;
    height: 2.5vw;
    max-width: 25px;
    max-height: 25px;
    min-width: 15px; /* Added min-width */
    min-height: 15px; /* Added min-height */
    background-color: #d1b4c9;
    border: 2px solid #8b4513;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0.2vw 0.5vw rgba(0, 0, 0, 0.3); /* Use vw */
}

.timeline-dot-btn:hover {
    background-color: #ffcc00;
}

.timeline-dot-btn.selected {
    background-color: #ffcc00;
    border-color: #8b4513;
    width: 3.5vw;
    height: 3.5vw;
    max-width: 35px;
    max-height: 35px;
    min-width: 20px; /* Added min-width */
    min-height: 20px; /* Added min-height */
}

#dates {
    width: 15vw;
    max-width: 20vw;
    min-width: 5vw; /* Added min-width */
    height: 100%;
    padding-top: 14vh;
    overflow: hidden;
    flex-shrink: 0;
    padding-left: 4vw;
    margin-right: -3vw;
    position: relative;
    left: -15%;     
    top: 9%;
}

#dates li {
    background: none;
    display: flex;
    align-items: center;
    justify-content: left;
    height: 15vh;
    min-height: 5vh;
    width: 120%;
    top: 3%;
    margin-left: 0%;
    position: relative;
}

#dates li::before {
    content: '';
    position: absolute;
    left: -10%;
    top: 45%;
    transform: translateY(-50%);
    width: 0.5vw;
    max-width: 5px;
    min-width: 2px;
    height: 80%;
    border-radius: 0;
    background-color: #763211;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

#dates li.selected::before {
    opacity: 1;
}

#dates li span.selected {
    font-size: 1.2vw;
    font-weight: bold;
    color: #3B0D1B;
    opacity: 1;
    line-height: 2vw;
}

#dates span {
    line-height: 1.2vh;
    padding-bottom: 1vh;
    padding-right: 1vw;
    font-size: .9vw;
    font-weight: bold;
    color: #22073E;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease, font-size 0.3s ease;
    font-family: "Poppins";
}

#dates li span:hover {
    opacity: 0.8;
}

#issues {
    top: 50%;
    left: 58%;
    transform: translate(-50%, -50%);
    
    width: 35vw;
    max-width: 650px;
    min-width: 300px; /* Added min-width */
    
    height: 69vh;
    min-height: 500px;
    overflow: hidden;
    box-sizing: border-box;
    padding: 0 0vw;
    padding-top: 10vh;
    padding-bottom: 0vh;
    overflow-y: auto;
    position: absolute;
    z-index: 1;
}
#issues::-webkit-scrollbar {
    display: none;
}

#issues li {
    max-width: 89%;
    height: 60vh; /* Maintain fixed height, will crop if content is too large */
    min-height: 400px; /* Maintain fixed min-height */
    list-style: none;
    text-align: center;
    display: flex;
    align-items: center; /* Menyatakan item di tengah secara vertikal */
    padding-bottom: 10vh;
    margin-left: 7vh;
    /* Maintain original flex-direction (row default or explicitly set by .issue-content) */
}

#issues li.selected img {
    transform: scale(1.1, 1.1);
}

.issue-content {
    display: flex; /* Menggunakan flexbox */
    flex-direction: row; /* Atur elemen dalam satu baris (logo dan teks) */
    align-items: center; /* Sejajarkan item di tengah secara vertikal */
    justify-content: left; /* Tengahkan konten issue-content itu sendiri */
    gap: 2vw; /* Jarak antara gambar dan teks */
    padding: 0px;
    width: 85%; /* Pastikan mengambil lebar penuh di dalam li */
}

.issue-content img {
    width: 15vw; /* Sesuaikan lebar gambar responsif */
    max-width: 180px; /* Batasi lebar maksimum agar tidak terlalu besar */
    min-width: 100px; /* Added min-width */
    height: 19vw;
    border-radius: 8px;
    object-fit: contain; /* Pastikan gambar tidak terpotong */
    margin: 0; /* Pastikan tidak ada margin yang mengganggu flexbox */
    transform: scale(1); /* Reset scale jika sebelumnya ada 0.7 */
    transition: all 1s ease-in-out; /* Pertahankan transisi */
}

#issues li img { /* Aturan ini mungkin redundant atau tumpang tindih dengan .issue-content img */
    /* Jika Anda ingin efek scale saat tidak selected, pertahankan ini,
       tapi pastikan .issue-content img yang di atas memiliki prioritas untuk layout */
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}


#issues li h1 {
    color: #ffcc00;
    font-size: 1.5vw;
    text-align: left; /* Pertahankan rata kiri */
    text-shadow: #000 0.1vw 0.1vw 0.2vw; /* Use vw */
    margin-bottom: 1vh;
    font-family: "Rafaella";
}

#issues li p {
    font-size: 1vw;
    font-weight: normal;
    line-height: 1.5;
    text-align: left; /* Pertahankan rata kiri */
    text-shadow: #000 0.1vw 0.1vw 0.2vw; /* Use vw */
    font-family: "altone";
}


#grad_top,
#grad_bottom {
    width: 100%;
    height: 8vh;
    max-height: 80px;
    position: absolute;
    z-index: 2; /* Ensure gradients are on top of content */
}

#grad_top {
    top: 0;
    background: url("http://www.csslab.cl/ejemplos/timelinr/latest/images/grad_top.png") repeat-x;
    background-size: cover;
}

#grad_bottom {
    bottom: 0;
    background: url("http://www.csslab.cl/ejemplos/timelinr/latest/images/grad_bottom.png") repeat-x;
    background-size: cover;
}

#next,
#prev {
    position: absolute;
    left: 48%;
    transform: translateX(-50%) rotate(90deg); /* Maintained rotation */
    font-size: 2.5em;
    width: 6vw;
    height: 6vw;
    max-width: 60px;
    max-height: 60px;
    min-width: 30px; /* Added min-width */
    min-height: 30px; /* Added min-height */
    border: 3px solid #8b4513;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    background-image: none;
    background-color: transparent;
    background: linear-gradient(
        to right,
        #e25c2b,
        #e67236,
        #ed9b4c,
        #f3bc5d,
        #f7d369,
        #fae170,
        #fbe673
    );
    text-indent: 0;
    overflow: visible;
    padding: 0;
    color: #4a2b00;
    z-index: 2;
}

#next:hover,
#prev:hover {
    background: linear-gradient(
        to left,
        #e25c2b,
        #e67236,
        #ed9b4c,
        #f3bc5d,
        #f7d369,
        #fae170,
        #fbe673
    );
    border-color: #4a2b00;
}

#next {
    bottom: 1vh;
    /* transform: translateX(-50%) rotate(90deg); - Kept in general rule */
}

#prev {
    top: 1vh;
    /* transform: translateX(-50%) rotate(90deg); - Kept in general rule */
}

#next.disabled,
#prev.disabled {
    opacity: 0.2;
}

.timeline-mascot {
    position: absolute;
    left: 8vw;
    bottom: 0%;
    transform: translateX(-50%);
    width: 0vw;
    max-width: 50vw;
    min-width: 23vw; 
    height: auto;
    z-index: 0;
}

.main-content-wrapper {
    position: relative;
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
    background: linear-gradient(
        to bottom,
        
        #eaa67a,
        #eaa67a,
        #b9398b,
        #7e276c,
        #531a55,
        #391247,
        #301042
    );
}


.vines {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15%;
    height: 100%;
    z-index: 0;
    opacity: 0.9;
    
}
.vines img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Pastikan gambar mengisi area tanpa terdistorsi */
    display: block; /* Menghilangkan spasi ekstra di bawah gambar */
}


.left-vines {
    left: 0%;
}

.right-vines {
    right: 0%;
    
}

.gallery-section {
    background: none;
    padding-top: 10vh; /* Use vh */
    padding-bottom: 8vh; /* Use vh */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-title-img {
    width: 40vw; /* Use vw */
    max-width: 370px; /* Max width */
    min-width: 150px; /* Min width */
    height: auto;
    margin-bottom: 5vh; /* Use vh */
}

.gallery-buttons {
    display: flex;
    flex-wrap: nowrap; /* Ensure no wrapping by default */
    justify-content: center;
    max-width: 900px;
    width: 90vw; /* Use vw for width */
    padding: 0 2vw; /* Use vw for padding */
    gap: 4vw; /* Use vw for gap */
}

.gallery-link-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    flex: 1 1 auto; /* Allow items to grow and shrink, but with a flexible base */
    min-width: 35vw; /* Set a larger min-width in vw to keep them on one line */
    max-width: 450px; /* Max width to prevent them from becoming too large */
    margin: 1vw; /* Use vw for margin */
    overflow: hidden;
    border-radius: 1.5vw; /* Use vw for border-radius */
}

.gallery-link-card:hover {
    transform: translateY(-1vh); /* Use vh */
    opacity: 1;
}

.gallery-image-wrapper {
    position: relative;
    width: 80%;
    height: 100%;
    overflow: hidden;
    border-radius: 1.5vw; /* Use vw */
}

.gallery-image-placeholder {
    width: 100%;
    height: 100%;
    background-color: transparent;
    border-radius: 1.5vw; /* Use vw */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-link-card:hover .gallery-card-image {
    filter: brightness(50%) blur(1px);
    transform: scale(1.05);
}

.gallery-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease, transform 0.3s ease;
}
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.overlay-text {
    width: 15vw; /* Use vw */
    max-width: 200px;
    min-width: 100px; /* Min width */
    height: auto;
    margin: 0;
    margin-bottom: 6vh;
    margin-right: 2.5vh; /* Use vw */
    transform: translateY(2vh); /* Use vh */
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-link-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-link-card:hover .overlay-text {
    opacity: 1;
}

.gallery-link-card:hover .overlay-divisi {
    transition-delay: 0.1s;
}

.gallery-link-card:hover .overlay-gallery {
    transition-delay: 0.2s;
}

.gallery-card-text-logo {
    width: 12vw; /* Use vw */
    max-width: 150px;
    min-width: 80px; /* Min width */
    height: auto;
    margin-top: 2vh; /* Use vh */
}

.btn-gallery {
    background-color: #a064b8;
    color: #fff;
    border: none;
    padding: 1.5vh 5vw; /* Use vh/vw for padding */
    border-radius: 1.5vh; /* Use vh for border-radius */
    font-size: 2vw; /* Use vw for font size */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 0.5vh 1.5vh rgba(0, 0, 0, 0.2); /* Use vh for shadow */
    min-width: 150px; /* Min width */
}

.btn-gallery:hover {
    background-color: #8c55a0;
    transform: translateY(-0.3vh); /* Use vh */
}
.modal-title{
    color: #000;
    font-family: "Altone Trial";
    font-weight: bold;
}
.modal-header{
    border-bottom: 1px solid #9F5A31;
}
.modal-body{
    color: #000;
    font-family: "Altone Trial";
}
.modal-footer{
    border-top: 1px solid #9F5A31;

}
.modal-content{
    background-color: #FFEFD5;
    border: 3px solid #9F5A31;
}


.btn-modal{
    background: #9F5A31;
    color: #fff;
    border: none;
    padding: 0.5vh 0vw; /* Use vh/vw for padding */
    border-radius: 1.5vh; /* Use vh for border-radius */
    font-size: 1rem; /* Use vw for font size */
    width: 100%;
    font-family: "Altone Trial";
    transition: all 0.3s ease;
}

.btn-modal:hover{
    transform: translateY(-0.2vh);
    transition: all 0.3s ease;
    opacity: 0.8;    
}

.faq-section {
    position: relative;
    padding: 1vh 0;
    overflow: hidden;
    width: 100%;
    padding-top: 5vh; 
    padding-bottom: 5vh;
}

.faq-section .container {
    padding-left: 15px; 
    padding-right: 15px;
}

.faq-title-wrapper {
    text-align: center; 
    margin-bottom: 3vh;
    position: relative;
    z-index: 3;
    
}
.faq-title-img {
    display: inline-block; 
    max-width: 25vw;
    min-width: 150px; 
    height: auto;
    
}


.faq-title {
    font-size: 3vw; 
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5vh; 
    text-shadow: 0.2vw 0.2vw 1vw rgba(0, 0, 0, 0.3); 
    letter-spacing: 0.2vw;
}

.faq-subtitle {
    font-size: 2vw; 
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-weight: 300;
}

.custom-accordion {
    position: relative;
    z-index: 2;
    
}

.custom-accordion .accordion-item {
    border: none;
    border-radius: 2vw !important;
    margin-bottom: 2vh;
    overflow: hidden;
    box-shadow: 0 1vh 3vh rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.custom-accordion .accordion-item:hover {
    transform: translateY(-0.5vh);
    box-shadow: 0 1.5vh 4vh rgba(0, 0, 0, 0.15);
}

.custom-accordion .accordion-header {
    border: none;
}

.custom-accordion .accordion-button {
    background: linear-gradient(to right, #f2a085, #b9398b 100%);
    color: #ffffff;
    border: none;
    border-radius: 2vw !important;
    padding: 2vh 3vw;
    font-size: 1.3rem; 
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    text-align: left;
    font-family: "Altone";
}

.custom-accordion .accordion-button::after {
    background-image: none;
    content: "+";
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    transition: all 0.3s ease;
    margin-left: auto;
    margin-bottom: 2vh;
    }
.custom-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #E6A0B6 0%, #E6A0B6 100%);
    color: #ffffff;
    box-shadow: none;
}

.custom-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.3vw rgba(139, 92, 246, 0.3);
    border-color: transparent;
}



.custom-accordion .accordion-button:not(.collapsed)::after {
    content: "−";
    transform: rotate(0deg);
}

.custom-accordion .accordion-button:hover {
    transform: translateY(-0.2vh);
    background: linear-gradient(to left, #f2a085, #b9398b 100%);
}

.accordion-icon {
    margin-right: 1.5vw;
    font-size: 1.5vw;
    width: 2vw;
    max-width: 20px;
    min-width: 16px;
    text-align: center;
}

.custom-accordion .accordion-body {
    background: rgba(255, 255, 255, 0.98);
    padding: 3vh;
    text-align: justify;
    font-family: "Poppins", sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
    border-top: 2px solid rgba(139, 92, 246, 0.1);
}


@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-5vw); /* Use vw */
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(5vw); /* Use vw */
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(2vh); /* Use vh */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-2vh); /* Use vh */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in-element {
    opacity: 0;
}

.fade-in-element.is-visible[data-animation="fadeInUp"] {
    animation: fadeInUp 0.5s ease-out forwards;
}
.fade-in-element.is-visible[data-animation="fadeInDown"] {
    animation: fadeInDown 0.5s ease-out forwards;
}

.fade-in-element.is-visible[data-animation="fadeInLeft"] {
    animation: fadeInLeft 0.5s ease-out forwards;
}

.fade-in-element.is-visible[data-animation="fadeInRight"] {
    animation: fadeInRight 0.5s ease-out forwards;
}
.fade-in-element.is-visible[data-animation="fadeIn"] {
    animation: fadeIn 0.5s ease-out forwards;
}



@media (max-width: 992px) {
    .hero-section {
        padding-top: 80px;
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
        gap: 40px;
    }
    .hero-left {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        min-width: unset;
    }
    .logo-aura {
        width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    .logo-text {
        width: 500px;
        margin-right: 0 !important;
        margin-left: auto;
        margin-right: auto;
    }
    .aura-text-title {
        width: 220px;
        margin: 0 auto 10px auto;
    }
    .hero-description {
        font-size: 1.2rem;
    }
    .mascot-hero {
        margin-left: 0;
        margin-top: 30px;
        width: 100px;
    }
    .stars-decorative {
        width: 100px;
    }
    .highlight-section .top-left-star {
        top: 28%;
        left: -2%;
        width: 20%;
        z-index: 0;
    }
    
    .highlight-section .top-right-star {
        top: 15%;
        right: 3%;
        width: 15%;
        z-index: 0;
    }
    .tagline-content-wrapper {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 0;
    }
    .mascot-tagline {
        position: relative;
        width: 180px;
        margin-top: -50px;
        margin-bottom: 20px;
        transform: none;
        z-index: 1;
        order: -1;
        left: auto;
        right: auto;
        top: 95px;
    }
    .tagline-text-description {
        font-family: 'Altone Trial';
        text-align: center;
        padding: 20px;
        flex: 1 1 auto;
        position: relative;
        z-index: 2;
        font-size: 1.1rem;
    }
    .highlight-carousel {
        flex-direction: row;
        gap: 30px;
        padding: 30px 0;
        padding-left: 60px;
        padding-right: 60px;
    }
    .events-container-wrapper {
        width: 100%;
        margin: 0;
    }
    .events-container {
        padding: 0;
        gap: 15px;
    }
    .event-card {
        width: 95%;
        max-width: 350px;
        padding: 0;
    }
    .carousel-arrow {
        width: 50px;
        height: 50px;
        font-size: 2em;
        margin: 0vh 2vh;
    }
    .left-carousel-arrow {
        left: 10px;
    }
    .right-carousel-arrow {
        right: 10px;
    }
    .timeline-title-img {
        width: 250px;
        margin-bottom: 30px;
    }
    #timeline {
        width: 100%;
        height: 400px;
        margin: 0 auto;
    }
    .timeline-background {
        position: absolute;
        top: 55%;
        left: 50%;
        width: 80%; /* Sets the maximum width relative to its container */
        height: 71%; /* Allow the height to adjust automatically */
        
    }
    .timeline-mascot {
        position: absolute;
        left: 0%;
        bottom: 0%; 
        transform: translateX(-50%);
        width: 250px; 
        height: auto;
        z-index: 0; 
    }
    #dates {
        width: 20vw;
        height: 58vw;
        left: -18%;
        top: 3%;
        padding-top: 2vw;
        min-width: 23vw;
    }
   
    #dates li {
        width:85%;
        height: 16vh;
        line-height: 125px;
        font-size: 1em;
        left: 0%;
    }
    #dates li::before {

        width: 4px;
        height: 100px;
        border-radius: 0;
        
    }
    
    #dates li span:hover {
        opacity: 0.8;
    }

    
    #dates li span {
        font-size: 1.5vw;
    } 
    
    #dates li span.selected {
        font-size: 2vw;
        
    }


    


    .issue-content {
    justify-content: left; /* Tengahkan konten issue-content itu sendiri */
    }
    #issues {
        width: 50%;
        height: 1100px;     
        margin-top: 0;
        padding: 0 0vh;
        padding-top: 275px;
        padding-bottom: 260px;
        margin-left: 25px;
    }
    #issues li {
        width: 100%;
        height: 25 0px;
        padding: 10px;
        margin-left: 0vh;
    }
    #issues li img {
        width: 90%;
        max-width: 30vh;
        left: 10%;
    }
    #issues li h1 {
        font-size: 3vw;
    }
    #issues li p {
        font-size: 1.4vw;
        padding: 0px;
    }
    #grad_top,
    #grad_bottom {
        width: 100%;
    }
    #next,
    #prev {
        left: 50%;
        width: 50px;
        height: 50px;
    }
    #next {
        transform: rotate(90);
    }
    #prev {
        transform: rotate(90);
    }
    .gallery-buttons {
        gap: 20px;
    }
    .gallery-link-card {
        flex-basis: 45%;
        max-width: unset;
    }
    .gallery-image-placeholder {
        height: 250px;
    }
    
    .gallery-card-text-logo {
        width: 100px;
        margin-top: 15px;
    }
    .vines {
        width: 20%;
    }
    .left-vines {    
        left: 0%;
    }

    .right-vines {
        right: 0%;
    }

    .gallery-overlay {
        opacity: 1; 
        width: 100%;
        height: 100%;
    }
    .gallery-image-wrapper{
        width: 100%;
    }
    .overlay-text {
        opacity: 1; 
        transform: translateY(0); 
        padding: 0;
        margin-bottom: 1vh;
        margin-right: 1vh;
    }

    .overlay-divisi {
        transition-delay: 0s !important; 
    }
    .overlay-gallery {
        transition-delay: 0s !important;
    }
    .vines {
        width: 20%;
    }
    .left-vines {   
        left: 0%;
    }

    .right-vines {
        right: 0%;
    }

    .faq-title {
        font-size: 2.8rem; /* Adjusted for larger size on tablets */
    }
    .faq-subtitle {
        font-size: 1.1rem; /* Adjusted for larger size on tablets */
    }
    .custom-accordion .accordion-button {
        font-size: 1rem !important; /* Larger font for button text */
        padding: 1vh 4vw; /* Slightly more padding for better touch target */
        gap: 1vh;
    }
    .custom-accordion .accordion-button::after {
        font-size: 2rem !important; /* Larger plus/minus icon */
    }
    .accordion-icon {
        font-size: 1.5rem !important; /* Larger accordion icon */
        width: 25px; /* Fixed width for better consistency */
        min-width: 20px;
    }
    .custom-accordion .accordion-body {
        font-size: 1rem !important; /* Larger body text for readability */
        padding: 2.5vh 3.5vw;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 0.9em;
    }
    section {
        padding: 40px 15px;
    }
    .hero-section {
        padding-top: 60px;
    }
    .hero-content {
        padding: 0 15px;
        gap: 30px;
    }
    .logo-aura {
        width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
    .logo-text {
        width: 400px;
        margin-left: 50px;
        margin-right: auto;
    }
    .aura-text-title {
        width: 180px;
    }
    .hero-description {
        font-size: 1.2em;
    }
    .mascot-hero {
        width: 80px;
    }
    .stars-decorative {
        width: 60px;
    }
    .highlight-section .top-left-star {
        top: 20%;
        left: 2%;
        width: 23%;
        z-index: 0;
    }
    .highlight-section .top-right-star {
        top: 20%;
        right: 5%;
        width: 20%;
        z-index: 0;
    }
    .tagline-title-img {
        width: 500px;
    }
    .tagline-text-description {
        font-size: 1rem;
    }
    .mascot-tagline {
        width: 150px;
        margin-top: -100px;
        margin-bottom: 15px;
        top: 80px;
    }
    .highlight-title-img {
        width: 500px;
    }
    .carousel-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.8em;
        margin: 0vh 3vh;

    }
    .left-carousel-arrow {
        left: 5px;
    }
    .right-carousel-arrow {
        right: 5px;
    }
    .events-container-wrapper {
        margin: 0;
    }
    .highlight-carousel {
        padding-left: 50px;
        padding-right: 50px;
    }
    .events-container {
        padding: 0;
    }
    .event-card {
        padding: 0;
    }
    .event-card h3 {
        font-size: 1.8em;
    }
    .btn-detail {
        padding: 10px 25px;
        font-size: 1em;
    }
    .timeline-title-img {
        width: 250px;
        margin-bottom: 30px;
    }
    #timeline {
        width: 100%;
        height: 30vh;
        margin: 0 auto;
        min-height: 45vh;
    }
    .timeline-background {
        position: absolute;
        top: 54%;
        left: 50%;
        width: 80%; /* Sets the maximum width relative to its container */
        height: 71%; /* Allow the height to adjust automatically */
        
    }
    .timeline-mascot {
        position: absolute;
        left: 0%;
        bottom: 0%; 
        transform: translateX(-50%);
        width: 190px; 
        height: auto;
        z-index: 0; 
    }
    #dates {
        width: 20vw;
        height: 58vw;
        left: -21%;
        top: 0%;
        padding-top: 2vw;
        min-width: 26vw;
    }
   
    #dates li {
        width: 85%;
        height: 15vh;
        line-height: 125px;
        font-size: 1em;
        left: 0%;
    }
    #dates li::before {

        width: 4px;
        height: 100px;
        border-radius: 0;
        
    }
    
    #dates li span:hover {
        opacity: 0.8;
    }

    
    #dates li span {
        font-size: 1.7vw;
    } 
    
    #dates li span.selected {
        font-size: 2.6vw;
        line-height: 3vw;

    }
    #issues {
        width: 50%;
        height: 1100px;     
        margin-top: 0;
        padding: 0 0vh;
        padding-top: 275px;
        padding-bottom: 260px;
        margin-left: 25px;
    }
    .issue-content {
        justify-content: left; /* Tengahkan konten issue-content itu sendiri */
    }
    #issues li {
        width: 100%;
        height: 25 0px;
        padding: 0px;
        margin-left: 0vh;
        max-width: 95%;
    }
    #issues li img {
        width: 100%;
        max-width: 30vh;
        left: 10%;
        height: 20vh;
    }
    #issues-content img{
        height: 10vw;
    }
    #issues li h1 {
        font-size: 3vw;
    }
    #issues li p {
        font-size: 1.4vw;
        padding: 0px;
    }
    .vines {
        width: 25%;
    }
    .left-vines {   
        left: 0%;
    }

    .right-vines {
        right: 0%;
    }
    .gallery-buttons {
        gap: 20px;
    }
    .gallery-link-card {
        flex-basis: 45%;
        max-width: unset;
    }
    .gallery-image-placeholder {
        height: 250px;
    }
    .gallery-card-text-logo {
        width: 100px;
        margin-top: 15px;
    }
    .gallery-image-wrapper{
        width: 100%;
    }
    .faq-title {
        font-size: 2.2rem; /* Adjusted for common mobile tablet view */
    }
    .faq-subtitle {
        font-size: 1rem; /* Adjusted */
    }
    .custom-accordion .accordion-button {
        font-size: 1rem !important; /* Consistent larger font */
        padding: 1vh 2vw;
        gap: 1vh;
    }
    .custom-accordion .accordion-button::after {
        font-size: 1.8rem !important;
    }
    .accordion-icon {
        font-size: 1.3rem !important;
        width: 22px;
        min-width: 18px;
    }
    .custom-accordion .accordion-body {
        font-size: 0.9rem !important; /* Readable body text */
        padding: 2.2vh 3vw;
    }
}

@media (max-width: 670px) {
    .hero-content,
    .tagline-content-wrapper,
    .timeline-content-wrapper,
    .gallery-buttons {
        padding: 0 15px;
    }
    .hero-left {
        gap: 15px;
    }
    .logo-aura {
        width: 250px;
        margin-left: auto;
        margin-right: auto;
    }
    .logo-text {
        width: 300px;
        margin-left: 100px;
        margin-right: auto;
    }
    .aura-text-title {
        width: 140px;
    }
    .hero-description {
        font-size: 1.1rem;
    }
    .mascot-hero {
        width: 60px;
    }
    .stars-decorative {
        width: 50px;
    }
    .top-left-star {
        left: 15px;
        z-index: 0;
    }
    .top-right-star {
        right: 15px;
        z-index: 0;
    }
    .tagline-title-img {
        width: 400px;
    }
    .tagline-text-description {
        font-size: 0.9em;
        padding: 15px;
   }
    .mascot-tagline {
        width: 120px;
        margin-top: -80px;
        margin-bottom: 10px;
        top: 60px;
    }
    .highlight-title-img {
        width: 450px;
    }
    .events-container-wrapper {
        margin: 0;
    }
    .event-card {
        padding: 0;
        width: 90%;
    }
    .event-card h3 {
        font-size: 1.6em;
    }
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.6em;
        margin: 0vh 3vh;

    }
    .left-carousel-arrow {
        left: 0;
    }
    .right-carousel-arrow {
        right: 0;
    }
    .highlight-carousel {
        padding-left: 40px;
        padding-right: 40px;
    }
    .timeline-title-img {
        width: 250px;
        margin-bottom: 30px;
    }
    #timeline {
        width: 100%;
        height: 20vh;
        margin: 0 auto;
        min-height: 35vh;
    }
    .timeline-background {
        position: absolute;
        top: 53%;
        left: 50%;
        width: 90%; /* Sets the maximum width relative to its container */
        height: 81%; /* Allow the height to adjust automatically */
        
    }
    .timeline-mascot {
        position: absolute;
        left: 0%;
        bottom: 0%; 
        transform: translateX(-50%);
        width: 120px; 
        height: auto;
        z-index: 0; 
    }
    #dates {
        width: 21vw;
        max-width: 25vw;
        min-width: 10vw; /* Added min-width */
        height: 120%;
        padding-top: 2vh;
        overflow: hidden;
        flex-shrink: 0;
        margin-right: 0vw;
        position: relative;
        left: -25%;
        top: -8%;
    }
   
    #dates li {
        width: 110%;
        height: 12vh;
        line-height: 125px;
        font-size: 1em;
        left: -13%;
    }
    #dates li::before {

        width: 3px;
        height: 90px;
        border-radius: 0;
        
    }
    
    #dates li span:hover {
        opacity: 0.8;
    }

    
    #dates li span {
        font-size: 2.2vw;
    } 
    
    #dates li span.selected {
        font-size: 2.7vw;
        line-height: 3vw;

        
    }
    #issues {
        width: 50%;
        height: 1100px;     
        margin-top: 0;
        padding: 0 0vh;
        padding-top: 275px;
        padding-bottom: 260px;
        margin-left: 25px;
    }
    .issue-content {
        justify-content: left; /* Tengahkan konten issue-content itu sendiri */
    }
    #issues li {
        width: 100%;
        height: 25 0px;
        padding: 0px;
    }
    #issues li img {
        width: 50%;
        max-width: 30vh;
        left: 10%;
        height: 30vh;
        min-width: 10vh;
        margin-left: 5vh;
    }
    #issues-content img{
        height: 10vw;
    }
    #issues li h1 {
        font-size: 3vw;
    }
    #issues li p {
        font-size: 1.4vw;
        padding: 0px;
    }
    .vines {
        width: 30%;
    }
    .left-vines {   
        left: 0%;
    }

    .right-vines {
        right: 0%;
    }
    .gallery-buttons {
        gap: 20px;
    }
    .gallery-link-card {
        flex-basis: 45%;
        max-width: unset;
    }
    .gallery-image-placeholder {
        height: 200px;
    }
    .gallery-card-text-logo {
        width: 100px;
        margin-top: 10px;
    }
    .gallery-image-wrapper{
        width: 100%;
    }
    .faq-title {
        font-size: 2rem; /* Adjusted */
    }
    .faq-subtitle {
        font-size: 0.95rem; /* Adjusted */
    }
    .custom-accordion .accordion-button {
        font-size: .9rem !important; /* Adjusted */
        padding: 1vh 2vw;
        gap: 1vh;
    }
    .custom-accordion .accordion-button::after {
        font-size: 1.6rem !important;
        padding-top: 1%;
    }
    .accordion-icon {
        font-size: 1.2rem !important;
        width: 20px;
        min-width: 16px;
    }
    .custom-accordion .accordion-body {
        font-size: 0.8rem !important; /* Adjusted */
        padding: 2vh 2.5vw;
    }
}


@media (max-width: 450px) {
    body {
        font-size: 0.85em;
    }
    section {
        padding: 30px 10px;
    }
    .hero-section {
        padding-top: 50px;
    }
    .hero-content {
        padding: 0 10px;
        gap: 20px;
    }
    .hero-left {
        gap: 10px;
    }
    .logo-aura {
        width: 250px;
    }
    .logo-text {
        width: 200px;
        margin-left: 25%; 
        margin-right: 0%;
    }
    .aura-text-title {
        width: 120px;
        margin-bottom: 5px;
    }
    .hero-description {
        font-size: 1rem;
    }
    .mascot-hero {
        width: 50px;
        margin-top: 20px;
    }
    .stars-decorative {
        width: 40px;
    }
    .highlight-section .top-left-star {
        top: 26%;
        left: -4%;
        width: 30%;
        z-index: 0;
    }
    .highlight-section .top-right-star {
        top: 24%;
        right: 0%;
        width: 22%;
        z-index: 0;
    }
    .tagline-title-img {
        width: 300px;
    }
    .tagline-text-description {
        font-size: .8rem;
    }
    .mascot-tagline {
        width: 100px;
        margin-top: -60px;
        margin-bottom: 5px;
        top: 50px;
    }
    .highlight-title-img {
        width: 350px;
    }
    .highlight-carousel {
        flex-direction: column; /* Stack cards vertically */
        padding: 20px 0;
        padding-left: 20px;
        padding-right: 20px;
        gap: 20px;
    }
    .events-container {
        gap: 10px;
    }
    .event-card {
        width: 100%; /* Take full width */
        max-width: 300px; /* Optional: limit max width even at 100% */
        margin: 0 auto; /* Center the cards */
    }
    .event-card h3 {
        font-size: 1.4em;
    }
    .btn-detail {
        padding: 8px 20px;
        font-size: 0.9em;
    }
    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 1.4em;
        margin: 0vh 2vh;
    }
    .left-carousel-arrow {
        left: 5px;
    }
    .right-carousel-arrow {
        right: 5px;
    }
    .timeline-title-img {
        width: 250px;
        margin-bottom: 30px;
    }
    #timeline {
        width: 100%;
        height: 20vh;
        margin: 0 auto;
        min-height: 27vh;
        margin-top: 4%;
    }
    .timeline-background {
        position: absolute;
        top: 53%;
        left: 50%;
        width: 90%; /* Sets the maximum width relative to its container */
        height: 81%; /* Allow the height to adjust automatically */
        
    }
    .timeline-mascot {
        position: absolute;
        left: 0%;
        bottom: 0%; 
        transform: translateX(-50%);
        width: 80px; 
        height: auto;
        z-index: 0; 
    }
    #dates {
        width: 21vw;
        max-width: 25vw;
        min-width: 10vw; /* Added min-width */
        height: 120%;
        padding-top: 2vh;
        overflow: hidden;
        flex-shrink: 0;
        margin-right: 0vw;
        position: relative;
        left: -25%;
        top: -8%;
    }
   
    #dates li {
        width: 110%;
        height: 9vh;
        line-height: 125px;
        font-size: 1em;
        left: -13%;
    }
    #dates li::before {

        width: 3px;
        height: 70px;
        border-radius: 0;
        
    }
    
    #dates li span:hover {
        opacity: 0.8;
    }

    
    #dates li span {
        font-size: 2.3vw;
    } 
    
    #dates li span.selected {
        font-size: 3vw;
        line-height: 3vw;
        
    }
    #issues {
        width: 64%;
        min-width: 55%;
        height: 1100px;     
        margin-top: 0;
        padding: 0 0vh;
        padding-top: 275px;
        padding-bottom: 260px;
        margin-left: 3vh;
    }
    .issue-content {
        justify-content: left; /* Tengahkan konten issue-content itu sendiri */
    }
    #issues li {
        width: 67%;
        height: 25 0px;
        padding: 0px;
        margin-left: -1vh;
    }
    #issues li img {
        width: 60%;
        padding-left: 1vh;
        max-width: 40vh;
        margin-left: 0vh;
        left: 10%;
        height: 13vh;
    }
    #issues-content img{
        height: 10vw;
    }
    #issues li h1 {
        font-size: 4vw;
    }
    #issues li p {
        font-size: 2vw;
        padding: 0px;
    }
    .vines {
        width: 35%;
    }
    .left-vines {    
        left: 0%;
    }
    .right-vines {
        right: 0%;
    }
    .gallery-buttons {
        flex-direction: column; /* Stack gallery buttons vertically */
        gap: 15px;
        padding: 0 10px;
    }
    .gallery-link-card {
        flex-basis: 90%; /* Take up more width */
        max-width: 300px; /* Optional: limit max width */
        margin: 0 auto; /* Center the cards */
    }
    .gallery-image-placeholder {
        height: 180px;
    }
    .gallery-card-text-logo {
        width: 80px;
        margin-top: 10px;
    }
    .faq-title {
        font-size: 1.8rem; /* Main title remains readable */
    }
    .faq-subtitle {
        font-size: 0.9rem; /* Subtitle for clarity */
    }
    .custom-accordion .accordion-button {
        font-size: .9rem !important; /* Standard readable font size for buttons */
        padding: 1vh 3vw; /* Generous padding for tap targets */
        gap: 1vh;
    }
    .custom-accordion .accordion-button::after {
        font-size: 1.4rem !important; /* Ensure icon is visible */
        padding-top: 2%;
    }
    .accordion-icon {
        font-size: 1.1rem !important; /* Icon size */
        width: 18px; /* Fixed width */
        min-width: 14px;
    }
    .custom-accordion .accordion-body {
        font-size: 0.75rem !important; /* Good readable size for body text */
        padding: 1.8vh 3.5vw;
    }
}

@media (max-height: 800px) {
    
   
    #timeline {
        min-height: 35vh;
    }
    
    
    #dates {
        top: -14%;
    }
   
    #dates li {
        height: 12vh;

    }
    #dates li::before {

        height: 11vh;

        
    }
    
    
    #issues li {
       padding-top: 12vh;
       margin-bottom: 18vh;
    }
    
    
}


@media (max-height: 700px) {
    
   
    #timeline {
        min-height: 39vh;
    }
    
    #dates {
        top: -2%;
    }
   
    #dates li {
       height: 12vh;
    }
    #dates li::before {
       height: 11 vh;
 
    }

    #issues li {
       padding-top: 16vh;
       margin-bottom: 22vh;
    }
    
    
}


@media (max-height: 600px) {
    
    
    #timeline {
        min-height: 43vh;
    }
    
    #dates {
        top: -8%;
    }
   
    #dates li {
       height: 13vh;
    }
    #dates li::before {
        height: 12vh;
      
    }
    
   
    #issues li {
       padding-top: 23vh;
       margin-bottom: 30vh;
    }
    
    
}


@media (max-height: 500px) {
    
    
    #timeline {
        min-height: 52vh;
    }
    
    #dates {
        top: -8%;
    }
   
    #dates li {
       height: 16vh;
    }
   
    #issues li {
       padding-top: 24vh;
       margin-bottom: 32vh;
    }
    
    
}