/* AAX Custom Branding Variables & Global Styles */
:root {
    --aax-red: #e32526;
    --aax-dark: #0D0D0D;
    --aax-mid: #252525;
    --aax-text: #000000;
    --aax-white: #FFFFFF;
    --aax-light-hover: #F0F0F0;
    --aax-grey: #e8e8e8;
    --aax-dark-gray: #333333;
    --aax-dark-gray2:#d8d8d8;
    --aax-light-gray: #cccccc;
    --aax-light-gray2: #f4f4f4;
    --aax-btn-hover: #7e7e7e;
    --aax-green: #6d9b31;
    --milestone-height: 250px; /* Height of a single milestone item */
    --visible-items: 2; /* Number of visible items */
    --indicator-top: 125px; /* Initial indicator position (center of the first item) */
    --gap-to-dot: 15px; /* The desired space between the content edge and the dot center */
}

html[lang="en"] body {
    font-family: "DM Sans", "IBM Plex Sans Thai", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
}

a {
    color: var(--aax-red);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--aax-text);
}

/* ===============Utility Classes=============== */
.text-aax-red {
    color: var(--aax-red) !important;
}
.bg-aax-red {
    background-color: var(--aax-red) !important;
}
.bg-grey {
    background-color: var(--aax-grey) !important;
}
.bg-light-grey {
    background-color: var(--aax-light-gray) !important;
}
.bg-light-grey2 {
    background-color: var(--aax-light-gray2) !important;
}
.btn-link {
    display: inline-flex;
    align-items: center;
    -webkit-column-gap: .5rem;
    -moz-column-gap: .5rem;
    column-gap: .5rem;
    padding: 0;
    color: var(--aax-text);
    transition: all 0.15s ease-in-out;
    text-decoration: none;
}
.btn-link:hover {
    color: var(--aax-text);
}
.btn-link-icon {
    transform: rotate(-45deg);
    transition: transform 0.3s ease-in-out;
}
    
.btn-link:hover .btn-link-icon {
    transform: rotate(0deg);
}
.btn-link-title {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 600;
}
.page-header-subtitle {
    font-size: 2.5625rem;
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: 1px;
}
.intro-text {
    font-size: 1.325rem;
    line-height: 1.3;
    color: var(--aax-dark);
}

#rotate-device {
    display: none;
}

/* ===============Header=============== */
.navbar-brand img {
    height: 80px;
}

.search-magnify-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

#hamburgerToggle {
    width: 40px;
    height: 40px;
    padding: 0;
}

/* Fixed Navigation Bar */
.navbar-brand img {
    height: 80px; 
    transition: height 0.3s ease; 
}
.scrolled-logo {
    height: 40px !important; 
}

.fixed-navbar {
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    border-radius: 60px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    position: fixed;
    width: 90%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1030; 
    max-width: 1320px;
    padding: 0.75rem 1.5rem;
    margin-top: 1em;
}

.nav-link-aax {
    color: var(--aax-dark) !important;
    font-weight: 600;
    text-transform: uppercase;
    padding-bottom: 5px;
    margin-inline: 0.5rem;
    border-bottom: 3px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}

.nav-link-aax.active {
    border-bottom-color: var(--aax-red);
}

.menu-lv1 .nav-link-aax.show:after {
    content: "";
    position: absolute;
    bottom: -34px;
    top: unset;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 20px solid #fff;
}

/* Dropdown Menu Styles */
#navbarNavDropdown .dropdown-menu-aax {
    background-color: var(--aax-white);
    position: absolute;
    top: 72px!important;
    left: 0;
    width: 100%;
    min-width: 275px;
    border-radius: 20px;
    padding: 1rem .75rem;
    margin-top: 0;
    border: 0;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

#navbarNavDropdown .dropdown-menu-aax.dropdown-large {
    min-width: 585px;
}

#navbarNavDropdown .dropdown-menu-aax.investor-dropdown {
    min-width: 585px;
}

.investor-dropdown .dropdown-menu-lv2 {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
}

.dropdown-menu-aax {
    background-color: var(--aax-white);
    width: 100%;
    padding: 1rem .75rem;
    margin-top: 0;
    border: 0;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.dropdown-menu-aax .dropdown-header {
    color: var(--aax-text);
    font-weight: 600;
    font-size: 1rem;
    padding: 0;
    white-space: normal;
}

.dropdown-menu-aax .dropdown-item {
    color: var(--aax-text);
    font-size: 0.8125rem;
    background-color: transparent;
    border-radius: 4px;
    position: relative;
    white-space: normal;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr min-content;
    gap: .5rem;
    align-items: center;
    padding: .85rem .75rem;
    transition: all .3s ease-in-out;
}

/* Arrow Icon Styles */
.arrow-icon {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 24px;
    height: 24px;
    min-width: 24px;
    justify-self: end;
}

.arrow-icon::before,
.arrow-icon::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: opacity 320ms cubic-bezier(.2,.9,.2,1);
    transition-delay: 0ms;
    pointer-events: none;
    display: block;
}

.arrow-icon::before {
    background-image: url("../images/icon-button.png");
    opacity: 1;
}

.arrow-icon::after {
    background-image: url("../images/icon-button-hover.png");
    opacity: 0;
}

.dropdown-item:hover .arrow-icon::after,
.dropdown-item:focus .arrow-icon::after {
    opacity: 1;
    transition-delay: 120ms;
}

/* Dropdown Menu Level 2 & 3 */
.dropdown-menu-lv2 {
    list-style: none;
    padding: 0;
}

.dropdown-menu-lv2 > li {
    border-bottom: 1px solid #e8e8e8;
}

.dropdown-menu-lv2 > li:last-child {
    border-bottom: 0;
}

.dropdown-menu-lv2 .dropdown-item:before {
    position: absolute;
    content: " ";
    top: 0;
    bottom: 0;
    left: 0;
    width: 0;
    height: 85%;
    opacity: 0;
    background-color: #e8e8e8;
    border-radius: 37px;
    z-index: -1;
    transition: all .3s ease-in-out;
    margin: auto;
}

.dropdown-menu-lv2 .dropdown-item:hover:before,
.dropdown-menu-lv2 .dropdown-item:focus:before {
    width: 100%;
    opacity: 1;
}

.dropdown-menu-lv3 {
    list-style: disc;
    padding-left: 2.3rem;
    padding-bottom: 0.5rem;
}

.dropdown-menu-lv3 .dropdown-item {
    position: relative;
    padding: 6px 10px 6px 0;
}

.dropdown-menu-lv3 .dropdown-item:before {
    position: absolute;
    content: " ";
    top: 0;
    bottom: 0;
    margin: auto;
    left: -2.3rem;
    width: 0;
    height: 88%;
    opacity: 0;
    background-color: #e8e8e8;
    border-radius: 40px;
    z-index: -1;
    transition: all .3s ease-in-out;
}

.dropdown-menu-lv3 .dropdown-item:hover:before,
.dropdown-menu-lv3 .dropdown-item:focus:before {
    width: calc(100% + 2.3rem);
    opacity: 1;
}

/* Level 3 Arrow Icon Behaviors */
.dropdown-menu-lv3 .arrow-icon::before,
.dropdown-menu-lv3 .arrow-icon::after {
    opacity: 0;
    transition: opacity 320ms cubic-bezier(.2,.9,.2,1);
    transition-delay: 0ms;
}

.dropdown-menu-lv3 .dropdown-item:hover .arrow-icon::after,
.dropdown-menu-lv3 .dropdown-item:focus .arrow-icon::after {
    opacity: 1;
    transition-delay: 120ms;
}

/* Investors Dropdown 3-Column Layout */
.dropdown-menu-investors {
    min-width: 800px;
    max-width: 900px;
    padding: 2rem 1.5rem;
}

.dropdown-menu-investors__container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.dropdown-menu-investors__column {
    flex: 1;
    min-width: 0;
}

.dropdown-menu-investors__column .dropdown-menu-lv2 {
    list-style: none;
    padding: 0;
}

.dropdown-menu-investors__column .dropdown-menu-lv2 > li {
    border-bottom: 1px solid #e8e8e8;
}

.dropdown-menu-investors__column .dropdown-menu-lv2 > li:last-child {
    border-bottom: 0;
}

.dropdown-menu-investors__column .dropdown-item--title .dropdown-header {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--aax-dark);
}

.dropdown-menu-investors__column .dropdown-item:not(.dropdown-item--title) .dropdown-header {
    font-size: 0.875rem;
    font-weight: 500;
    color: #666;
    text-transform: none;
}

.dropdown-menu-investors__column .arrow-icon--external::before {
    background-image: url("../images/icon-button.png");
    transform: rotate(-45deg);
}

.dropdown-menu-investors__column .arrow-icon--external::after {
    background-image: url("../images/icon-button-hover.png");
    transform: rotate(-45deg);
}

/* Responsive adjustments for investors dropdown */
@media (max-width: 992px) {
    .dropdown-menu-investors {
        min-width: 100%;
        padding: 1.5rem 1rem;
    }
    
    .dropdown-menu-investors__container {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* ===============Footer & Off-Canvas=============== */
.footer-link-list a {
    color: var(--aax-text);
    text-decoration: none;
}

.footer-link-list a:hover {
    color: var(--aax-white);
}

#airasia-footer {
    background-color: var(--aax-mid);
    color: var(--aax-dark-gray);
}

#airasia-footer a {
    color: var(--aax-white);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

#airasia-footer a:hover {
    color: var(--aax-red) !important;
}

.footer-heading {
    color: var(--aax-white);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0;
    font-size: 1rem;
    cursor: pointer;
    border-bottom: 1px solid var(--aax-white);
    padding-bottom: 10px;
}

.footer-list li {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.list-subheading {
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
}

.collapse-icon {
    transition: transform 0.2s ease-in-out;
    transform-origin: center;
}

.footer-heading[aria-expanded="true"] .collapse-icon {
    transform: rotate(180deg);
}

.footer-list-sub {
    list-style: disc;
    padding-left: 2rem;
    font-size: small;
    color: var(--aax-white);
}

.secondary-footer {
    background-color: var(--aax-light-gray);
    color: var(--aax-text);
    padding: 1rem 0.7rem;
    font-size: 0.65rem;
}

/* Off-Canvas Menu */
.offcanvas.offcanvas-top {
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    background-color: var(--aax-white) !important;
    color: var(--aax-dark) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.offcanvas-body .col-lg {
    flex: 0 0 auto;
}

.offcanvas-header {
    padding: 1.5rem 3rem 0;
}

.menu-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #000;
    padding: 6px 0;
}

.menu-header .angle-down-icon {
    font-family: "Font Awesome 6 Pro";
    font-style: normal;
    font-weight: 400;
    -webkit-font-feature-settings: normal;
    font-feature-settings: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: block;
    -webkit-transform: rotate(0);
    transform: rotate(0);
    font-size: 1rem;
    padding-right: 1rem;
}

/* Hamburger Button */
.search-hamburger {
    display: flex;
    align-items: center;
}

.hamburger-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    -webkit-transform: translateX(-6px);
    transform: translate(-6px);
    transition: all .3s ease-in-out;
    border: 0;
}

.hamburger-btn span {
    position: relative;
    left: 0;
    display: block;
    height: 2px;
    width: 18px;
    -webkit-transform: rotate(0deg);
    transform: rotate(0);
    background-color: var(--aax-dark);
    transition: transform .32s cubic-bezier(.2,.9,.2,1), opacity .18s linear, background-color .18s;
    border-radius: 3px;
    will-change: transform, opacity;
}

.hamburger-btn span:nth-child(2) {
    width: 18px;
}

.hamburger-btn span:not(:first-child) {
    margin-top: 5px;
}

/* Hamburger Open State */
.hamburger-btn.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(.6);
}

.hamburger-btn.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Close Button */
button.btn-close-offcanvas {
    border: 0;
    background-color: var(--aax-text);
    padding: 10px;
    border-radius: 50%;
}

.close-offcanvas span {
    position: relative;
    left: 0;
    display: block;
    height: 2px;
    width: 18px;
    -webkit-transform: rotate(0deg);
    transform: rotate(0);
    background-color: var(--aax-white);
    transition: transform .32s cubic-bezier(.2,.9,.2,1), opacity .18s linear, background-color .18s;
    border-radius: 3px;
    will-change: transform, opacity;
}

.close-offcanvas span:not(:first-child) {
    margin-top: 5px;
}

.close-offcanvas span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.close-offcanvas span:nth-child(2) {
    opacity: 0;
    transform: scaleX(.6);
}

.close-offcanvas span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Close to Hamburger Animation */
.close-offcanvas.hamburger span:nth-child(1) {
    transform: translateY(0px) rotate(0deg);
}

.close-offcanvas.hamburger span:nth-child(2) {
    opacity: 1;
    transform: scaleX(1);
}

.close-offcanvas.hamburger span:nth-child(3) {
    transform: translateY(0px) rotate(0deg);
}


/* ===============Hero Section=============== */
.hero-bg {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: var(--aax-dark-gray);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.3)); */
    z-index: 1;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.banner-background {
    height: 70vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.banner-background:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .5) 100%);
    z-index: 1;
}

.page-header-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    color: var(--aax-white);
}

.page-header-title {
    font-size: calc(0.8rem + 4.5vw);
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0;
    color: var(--aax-white);
}

/* ===============Governance=============== */
.gov-image {
    width: 300px;
}

.card-list-item {
    background-color: white;
    padding: 2rem; 
    margin-bottom: 1.5rem;
    border-radius: 20px; 
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none; 
    color: #212529; 
    -webkit-column-gap: 1rem;
    -moz-column-gap: 1rem;
    column-gap: 1rem;
}

.card-list-item:last-child {
    margin-bottom: 0; 
}

.card-list-item .icon-circle {
    width: 38px; 
    height: 38px; 
    border-radius: 50%; 
    border: 1px solid var(--aax-btn-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.3s, background-color 0.3s, transform 0.3s;
}

.card-list-item .card-list-title {
    flex-grow: 1; 
    margin-bottom: 0; 
}

.card-list-item .icon-circle .bi-arrow-up-right {
    color: var(--aax-btn-hover); 
    transition: color 0.3s;
}

.card-list-item:hover .icon-circle {
    border-color: var(--aax-btn-hover); 
    background-color: var(--aax-btn-hover); 
    transform: rotate(45deg); 
}

.card-list-item:hover .icon-circle .bi-arrow-up-right {
    color: white; 
}

.card-list-title {
    font-size: 30px;
    margin-bottom: 0;
    font-weight: 600;
}

/* Override Bootstrap's default accordion icon with the custom unicode character \f144 */
.custom-accordion .accordion-button {
    border-radius: 20px;
    font-size: 24px;
    font-weight: 600;
    padding: 2rem;
}
.custom-accordion .accordion-item:first-of-type>.accordion-header .accordion-button {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.custom-accordion .accordion-item:last-of-type>.accordion-header .accordion-button.collapsed {
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
}
.custom-accordion .accordion-button::after {
    content: "\f144" !important;
    background-image: none !important;
    font-family: bootstrap-icons !important;
    font-weight: 400 !important;
    height: 38px;
    width: 38px;
    min-width: 38px; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--aax-btn-hover); 
    border: 1px solid var(--aax-btn-hover); 
    background-color: transparent;
    transform: rotate(0deg); 
    transition: transform 0.3s ease-in-out, background-color 0.3s, color 0.3s, border-color 0.3s;
}
.custom-accordion .accordion-button:focus {
    z-index: 3;
    outline: 0;
    box-shadow: none;
}
.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--aax-text);
    background-color: var(--aax-white);
    box-shadow: none;
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(45deg); 
    color: var(--aax-white); 
    background-color: var(--aax-btn-hover); 
    border-color: var(--aax-btn-hover); 
}

.custom-accordion .accordion-button:hover::after {
    color: var(--aax-white); 
    background-color: var(--aax-btn-hover); 
    border-color: var(--aax-btn-hover); 
}

.custom-accordion .accordion-item {
    border: none;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.custom-accordion .accordion-item:last-child {
    margin-bottom: 0;
}

.custom-accordion .accordion-body {
    padding: 2rem;
    padding-top: 0;
}

/* ===============Home=============== */
.kpi-section {
    background-color: var(--aax-red); 
    color: var(--aax-white);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.kpi-item {
    text-align: center;
    padding: 2rem 0;
    border-right: 1px solid var(--aax-white); 
}

.kpi-icon {
    margin-bottom: 1.5rem;
    height: 115px;
}

.kpi-icon img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.kpi-value {
    font-size: 3.5rem; 
    font-weight: 700;
    line-height: 1; 
    color: var(--aax-white); 
}

.kpi-unit {
    font-size: 1.25rem;
    font-weight: 300;
    margin-left: 0.5rem;
}

.kpi-label {
    font-size: 1rem;
    font-weight: 500;
    min-height: 3rem; 
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hub Overview */
.hub-section {
    min-height: 700px;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    background-color: var(--aax-light-gray2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hub-map-background {
    position: absolute;
    left: 0;
    top: 0;
    width: 65%; /* Extends beyond the container on the left */
    height: 100%;
    background-image: url('/images/image-asia-map.png'); 
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: 50% center; 
}

.hub-section .container > .row {
    position: relative;
    z-index: 1;
}

.icon-hubs {
    position: absolute;
    z-index: 2;
    width: 115px; 
    height: 115px;
    perspective: 1000px; 
}

.icon-hubs .flipper {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s; 
    transform-style: preserve-3d; 
}

.icon-hubs:hover .flipper {
    transform: rotateY(180deg);
}

.icon-hubs .front,
.icon-hubs .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-hubs .front {
    transform: rotateY(0deg);
}

.icon-hubs .back {
    transform: rotateY(180deg); 
}

.icon-hubs .front img,
.icon-hubs .back img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
}

/* Position for Hub 1 (Bangkok area) */
.hub-section .item-1 {
    top: 28%;
    left: 49.5%;
    transform: translate(-50%, -50%);
}

/* Position for Hub 2 (Kuala Lumpur area) */
.hub-section .item-2 {
    top: 79%;
    left: 52.5%;
    transform: translate(-50%, -50%);
}

/* AirAsia X Network */
.network-section {
    min-height: 800px; /* Ensure sufficient height */
    background-color: var(--aax-white);
    display: flex;
    align-items: center;
}

.network-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.network-plane-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center top; 
}

.network-link-box {
    text-align: center;
    z-index: 2; 
}

.network-content-container {
    position: relative;
    z-index: 1; 
}

.network-title {
    color: var(--aax-white); 
    font-size: 3rem !important; 
    margin-bottom: 5rem !important;
}

.network-content-container {
    position: relative;
    z-index: 1;
}

.network-title {
    color: var(--aax-white); 
    font-size: 3rem !important; 
    margin-bottom: 5rem !important;
}

.network-hub {
    color: var(--aax-text);
    margin-top: 2rem;
}

.hub-header {
    min-height: 70px; 
}

.flag-icon {
    width: 60px; 
    height: auto;
}

.hub-header h3 {
    margin-bottom: 0.25rem !important;
}

.hub-header h6 {
    font-size: 0.875rem !important;
}

.hub-divider {
    border-color: var(--aax-text);
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 1;
}

.kpi-box {
    text-align: left;
}

.country-tag {
    font-size: 0.875rem; 
    font-weight: 500;
    color: var(--aax-white);
    background-color: var(--aax-text);
    border-radius: 15px;
    border: 1px solid var(--aax-white);
    padding: 3px 8px;
    display: inline-block;
}

.kpi-value-lg {
    font-size: 3.5rem; 
    line-height: 1;
    color: var(--aax-text);
}

.kpi-unit-sm {
    font-size: 1rem; 
    font-weight: 500;
    color: var(--aax-dark-gray) !important;
    text-transform: capitalize;
}

/* IR */
/* Custom CSS for Investor Relations Dashboard */

:root {
    /* Define key colors for consistency */
    --main-text-color: #333;
    --light-text-color: #6c757d;
    --card-bg-color: #fff;
    --red-color: #d63031; /* Close to the red in the image */
    --link-color: #333;
    --placeholder-gray: #f8f9fa; /* Light gray for chart placeholders */
}

.ir-section .investor-relation-btn-wrapper {
    position: relative;
    margin-bottom: 2rem;
}
.link-group {
    display: flex; 
    align-items: center;
}

.horizontal-line {
    flex-grow: 1; 
    height: 0;
    border-top: 1px solid var(--aax-text);
    margin-left: 20px; 
}
.ir-section .investor-relation-btn {
    position: relative;
    background-color: #e5e5e5;
    z-index: 1;
    padding: 15px 30px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.investor-title {
    color: var(--main-text-color);
    font-size: 3rem; /* Adjust based on image scale */
}

.investor-link {
    color: var(--red-color); /* Matches the red link/underline in the image */
    font-weight: 500;
    margin-top: -0.5rem;
    cursor: pointer;
}

.financial-highlight-btn {
    background-color: var(--card-bg-color);
    border: 1px solid #ccc;
    color: var(--main-text-color);
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    border-radius: 0.5rem;
}

/* --- Card Styles --- */
.ir-card {
    height: 239px;
}
.card {
    border: none;
    border-radius: 0.75rem; /* Rounded corners for all cards */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: var(--aax-white);
}

/* --- Left Stock Card Styles --- */
.stock-card {
    line-height: 1.2;
    height: 635px;
}

.stock-meta-symbol, .stock-meta-company-name {
    font-size: 1.5rem;
    color: var(--aax-text);
}

.stock-meta-updated {
    font-size: 1.2rem;
}

.company-name {
    font-size: 1rem;
    color: var(--aax-text);
    font-weight: 500;
    margin-bottom: 0;
}

.stock-price {
    font-size: 2rem;
    font-weight: 600;
    color: var(--aax-text);
}
.latest-price {
    font-size: 3.8rem;
    margin-left: 15px;
}
.stock-data-row {
    display: flex;
    font-size: 1.5rem;
    gap: 15px;
    align-items: center;
}

.data-label {
    color: var(--aax-text);
    margin: 0;
}

.data-value {
    color: var(--aax-text);
    margin: 0;
    font-size: 2.5rem;
    font-weight: 600;
}

.data-change {
    color: var(--aax-green);
}

/* --- Right Chart Card Styles --- */
.chart-title {
    font-size: 2rem;
    font-weight: 500;
    color: var(--aax-dark-gray);
    margin-bottom: 0.5rem;
}

.chart-value {
    font-size: 1.5rem;
    color: var(--main-text-color);
    line-height: 1;
}

.chart-value .fs-1 {
    font-size: 3rem !important; /* Overriding Bootstrap's fs-1 for a specific size */
}

.chart-unit {
    font-size: 0.8rem;
    color: var(--light-text-color);
}

.margin-percent {
    color: var(--red-color);
    font-size: 1.5rem;
    margin-left: 0.5rem;
}

.chart-placeholder-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 350px; /* Adjust height for the visual representation */
}

.metric-label {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--aax-dark-gray);
    margin-bottom: 8px;
}

.metric-value-group {
    display: flex;
    align-items: center;
    line-height: 1;
    margin-bottom: 0;
}

.data-point {
    display: flex;
    align-items: center;
}

.metric-currency {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--aax-textk);
    margin-right: 4px;
    position: relative;
    top: -8px;
}

.vertical-separator {
    width: 1px;
    height: 40px;
    background-color: var(--aax-text);
    margin: 0 20px; 
    align-self: flex-start; 
}

.metric-number, .metric-percent-number, .metric-percent-unit {
    font-size: 2.8rem;
    font-weight: 500;
    color: var(--aax-text);
}

.metric-unit {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--aax-dark-gray);
}
/* Custom Styles for Card Appearance */
.latest-docs-card {
    border: none; 
    border-radius: 1rem; 
    overflow: hidden; 
    box-shadow: none; 
    transition: transform 0.3s ease-in-out;
}

/* .latest-docs-card:hover {
    transform: translateY(-5px); 
} */

.latest-docs-card .card-img-top-container {
    /* Sets a fixed aspect ratio for the image container */
    padding-top: 60%; /* 5:3 aspect ratio (100 / (5/3) = 60) */
    position: relative;
    overflow: hidden; /* Ensures image crop is smooth */
}

.latest-docs-card .card-img-top-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the container without distortion */
    border-radius: 1rem 1rem 0 0; /* Match container top corners */
}

.latest-docs-card .card-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
}

.latest-docs-card .card-title {
    margin-bottom: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--aax-text); 
}

.latest-docs-card .icon-circle {
    width: 38px; 
    height: 38px; 
    border-radius: 50%; 
    border: 1px solid var(--aax-btn-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.3s, background-color 0.3s, transform 0.3s;
}

.latest-docs-card .card-list-title {
    flex-grow: 1; 
    margin-bottom: 0; 
}

.latest-docs-card .icon-circle .bi-arrow-up-right {
    color: var(--aax-btn-hover); 
    transition: color 0.3s;
}

.latest-docs-card:hover .icon-circle {
    border-color: var(--aax-btn-hover); 
    background-color: var(--aax-btn-hover); 
    transform: rotate(45deg); 
}

.latest-docs-card:hover .icon-circle .bi-arrow-up-right {
    color: white; 
}

/* Latest news & happening */
.news-section {
    background-color: var(--aax-red); /* Fallback color */
    background-image: url('/images/image-latest-news-happening.jpg');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.main-title {
    color: var(--aax-white);
    font-size: clamp(2.5rem, 6vw, 4rem); /* Responsive font size */
    font-weight: 500;
    text-align: center;
    margin-bottom: 2rem;
    z-index: 10;
    position: relative;
}

.news-tabs-wrapper {
    position: relative;
    display: inline-flex; /* Use flex to contain the nav and indicator */
    padding: 0;
    /* Use CSS variables defined in JS for indicator position */
    --indicator-width: 100px; 
    --indicator-left: 5px; 
    border: 1px solid var(--aax-white);
    border-radius: 35px;
    padding: .5rem;
    background-color: rgba(255, 255, 255, 0.9);
}

.news-tabs {
    border-bottom: none; 
    justify-content: flex-start;
    z-index: 2; /* Tabs must be above the indicator */
    position: relative;
}

/* The element that slides/moves */
.moving-indicator {
    position: absolute;
    top: 7px;
    height: 75%;
    left: var(--indicator-left);
    width: var(--indicator-width);
    background-color: var(--aax-text);
    border-radius: 9999px;
    transition: left 0.3s ease-in-out, width 0.3s ease-in-out;
    z-index: 1;
    padding: 0.5rem;
}

.news-tabs .nav-link {
    background-color: transparent !important; /* Make tab background transparent */
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    margin-right: 0.25rem;
    border: 1px solid transparent; 
    transition: color 0.3s;
    z-index: 3;
    position: relative; /* Ensure link text is above indicator */
    color: var(--aax-text); 
}

.news-tabs .nav-link.active {
    color: var(--aax-white); 
}

.news-tabs .nav-link:not(.active):hover {
    color: var(--aax-text);
}

.news-content-area {
    position: relative;
    z-index: 20;
}

.news-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 1rem;
    padding: 2rem;
    height: 200px;
}

.news-date {
    color: var(--aax-red);
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--aax-text);
    line-height: 1.3;
    word-wrap: break-word;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -ms-box-orient: vertical;
    -moz-box-orient: vertical;
    -webkit-line-clamp: 3;
}

#prevArrow, #nextArrow {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: background-color 0.3s;
    background-color: #ababab;
    border: 1px solid #ababab;
}

#prevArrow:hover, #nextArrow:hover {
    background-color: #000;
    border: #000;
}

#nextArrow .arrow-icon {
    color: #fff;
}

#prevArrow .arrow-icon {
    color: #000;
}

.arrow-icon {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Hide default slick arrows (we use our custom ones) */
.slick-slider .slick-prev, .slick-slider .slick-next {
    display: none !important;
}

.view-all-link {
    color: var(--aax-white);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s;
}

/* ===============About=============== */
.vmmv-section {
    background-color: var(--aax-red);
    color: var(--aax-white);
}

.content-heading {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    background: var(--aax-white);
    width: auto;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 25px;
    color: var(--aax-red);
}

.content-paragraph {
    margin-bottom: 2rem;
}

.custom-list {
    list-style: none; /* Remove default bullets */
    padding-left: 0;
    margin-bottom: 2rem;
}

.custom-list:last-child {
    margin-bottom: 0;
}

.custom-list li {
    position: relative;
    padding-left: 1.5rem; /* Space for the custom bullet */
    margin-bottom: 0.75rem;
}

.custom-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em; /* Vertically align the dot with the text */
    width: 0.4rem;
    height: 0.4rem;
    background-color: var(--aax-white); /* White dot bullet */
    border-radius: 50%; /* Make it a circle/disc */
    transform: translateY(-50%);
}

/* key milestone */
.key-milestone-section {
    height: 100vh;
}
/* Full-page Background and Overlay */
.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Placeholder for the engine image */
    background: url('/images/Key-milestone.jpg') no-repeat center center;
    background-size: cover;
    z-index: -2;
}

.red-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(180, 0, 0, 0.75); /* Dark Red Overlay */
    z-index: -1;
}

/* Main Timeline Wrapper */
.timeline-wrapper {
    position: relative;
    z-index: 1;
    padding-top: 50px;
    height: 100vh;
}

/* Fixed-Height Scrollable Milestone Container */
.milestones-container-wrapper {
    position: relative;
    height: calc(var(--milestone-height) * var(--visible-items)); /* 500px fixed height */
    overflow: hidden;
    margin-bottom: 20px;
    margin-top: 80px; /* Space for Title and Arrows */
}

/* The scrolling list itself (uses CSS transform for smooth scrolling) */
.milestones-list {
    position: relative;
    transition: transform 0.4s ease-in-out;
    will-change: transform;
}

/* Vertical Timeline Line */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 40px;
    bottom: 40px;
    width: 4px;
    background-color: var(--aax-red);
    transform: translateX(-50%);
}

/* Timeline Milestone Item Styling */
.milestone-item {
    display: flex;
    align-items: center;
    height: var(--milestone-height);
    color: #fff;
    position: relative;
}

/* Content Box Styling (Left/Right side of the line) */
.milestone-content {
    padding: 20px;
    border-radius: 8px;
}

/* Headline/Description Styling */
.milestone-content .date-headline {
    font-size: 2.25rem; /* Large and bold */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 5px;
    margin-top: 0;
}

.milestone-content .description {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.milestone-content.content-right {
    text-align: left;
}

.milestone-content.content-left {
    text-align: right;
}

/* NEW: Horizontal Separator Line */
.milestone-separator {
    height: 2px;
    background-color: #fff;
    width: 100%; /* Default to full width for content block */
}

/* Separator container for alignment */
.milestone-separator-container {
    margin: 10px 0;
}


/* Dot/Connector on the line */
.milestone-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    background-color: var(--aax-red);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    /* NEW: Smooth transition for hiding/showing */
    transition: opacity 0.4s ease-in-out;
}

/* NEW: Rule to hide the dot when the item is active */
.milestone-item.active-milestone .milestone-dot {
    opacity: 0;
}


/* The custom floating airplane indicator */
.milestone-indicator {
    position: absolute;
    left: 50%;
    top: var(--indicator-top); /* Controlled by JS/CSS variable */
    transform: translate(-50%, -50%);
    z-index: 20;
    width: 40px;
    height: 40px;
    color: #fff;
    /* Removed border: 2px solid #fff; to match image */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Kept the shadows to make it stand out */
    transition: top 0.4s ease-in-out; /* Smooth vertical movement */
}

.milestone-indicator .airplane-icon {
    width: 70%; /* Adjust size of the image within the circle */
    height: 70%;
    object-fit: contain;
    /* Rotated slightly to the left/upward for initial state */
    transform: rotate(0deg); 
    transition: transform 0.4s ease-in-out; /* Add transition for smooth flipping */
}

/* NEW: Class for Downward Rotation (Flips the icon to point down/right) */
.milestone-indicator.downward .airplane-icon {
    transform: rotate(180deg);
}

/* Image/Logo Circle */
.milestone-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.milestone-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.milestone-circle.content-right {
    justify-content: flex-start; 
}

.milestone-circle.content-left {
    justify-content: flex-end;
}

/* Alignment for odd/even items */
/* --- Content on the LEFT side, Image on the RIGHT (for EVEN index items, like 0, 2, 4...) --- */
.milestone-item:nth-child(even) .row {
    flex-direction: row-reverse; /* Swap order to put content on left */
}
.milestone-item:nth-child(even) .col-6 { /* Image column */
    display: flex; /* Use flex to align image within its column */
    justify-content: flex-end; /* Image is on the right of the line, starts at the left of its column */
    padding-left: var(--gap-to-dot); /* Gap to the dot */
    padding-right: 20px;
}
.milestone-item:nth-child(even) .milestone-separator-container {
    display: flex;
    justify-content: flex-end; /* Separator aligns right, towards the line */
}


/* --- Content on the RIGHT side, Image on the LEFT (for ODD index items, like 1, 3, 5...) --- */
.milestone-item:nth-child(odd) .row {
    flex-direction: row; /* Default order, content on right */
}
.milestone-item:nth-child(odd) .col-6 { /* Content column */
    text-align: left; /* Text aligns left, towards the line */
    padding-left: var(--gap-to-dot); /* Gap to the dot */
    padding-right: 20px;
}
.milestone-item:nth-child(odd) .milestone-separator-container {
    display: flex;
    justify-content: flex-start; /* Separator aligns left, towards the line */
}

/* --- Navigation Arrows: Positioned ON the Timeline Line (15px from edge) --- */
.nav-arrow {
    position: absolute;
    left: 50%; /* Center horizontally on the line */
    transform: translateX(-50%);
    z-index: 30;
    
    background: grey; 
    color: #fff;
    border: 2px solid grey; 
    width: 30px; 
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s, opacity 0.3s, transform 0.2s;
}

#nav-up {
    top: 3px;
}

#nav-down {
    bottom: 3px;
}

.nav-arrow:hover:not(:disabled) {
    background: #fff;
    color: grey;
    border: 2px solid #fff;
}

.nav-arrow:disabled {
    opacity: 0.2;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

/* BOD */
/* --- Tab Navigation Styling --- */
.custom-tab.nav-pills {
    display: grid;
    /* Fixed 3-column layout for equal sizing on wide screens */
    grid-template-columns: repeat(3, 1fr); 
    /* FORCES two rows to have equal height (1fr 1fr), ensuring all 6 buttons share the same overall height */
    grid-template-rows: 1fr 1fr; 
    gap: 10px;
}

.custom-tab.nav-pills .nav-item {
    margin: 0 !important;
    width: 100%;
}

.custom-tab.nav-pills .nav-link {
    background-color: var(--aax-dark-gray2);
    color: var(--aax-text);
    margin: 0; 
    padding: 10px 10px; 
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    height: 100%; /* Ensures the link fills its parent grid cell completely */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-tab.nav-pills .nav-link.active,
.custom-tab.nav-pills .nav-link:hover {
    background-color: var(--aax-red);
    color: var(--aax-white);
    transform: translateY(-2px);
}

/* --- Director Card Styling --- */
.director-card {
    background-color: #fff;
    border-radius: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%; /* Important for grid alignment */
    gap: 20px;
}

/* .director-card:hover {
    box-shadow: 0 4px 20px #00000040;
} */

/* Disable hover pointer on the inner link/button to ensure the card click handles the modal */
.director-card .text-end a {
    pointer-events: none;
}

.img-container {
    position: relative;
    padding: 15px;
    padding-bottom: 0; 
    background-color: transparent; 
    overflow: hidden; 
    border-radius: 1rem 1rem 0 0;
    flex-shrink: 0;
    border-radius: 25px;
}

.img-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/Profile-Background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1; 
    opacity: 0.9;
    pointer-events: none;
    border-radius: 1rem 1rem 0 0;
}

.director-img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2; 
    border-radius: 0.75rem;
    object-fit: contain; 
    height: 400px;
    -webkit-transform: scale(1);
    transform: scale(1);
    transition: all .3s ease-in-out;
}

.director-card:hover .director-img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}


.director-content {
    padding: 1rem;
    flex-grow: 1; 
    display: flex;
    justify-content: space-between;
    background: #e2e2e2;
    align-items: center;
    border-radius: 25px;
}

.director-content .icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--aax-btn-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.3s, background-color 0.3s, transform 0.3s;
}

.director-content .icon-circle .bi-arrow-up-right {
    color: var(--aax-btn-hover); 
    transition: color 0.3s;
}

.director-card:hover .icon-circle {
    border-color: var(--aax-btn-hover); 
    background-color: var(--aax-btn-hover); 
    transform: rotate(45deg); 
}

.director-card:hover .icon-circle .bi-arrow-up-right {
    color: white; 
}

.director-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--aax-text);
    margin-bottom: 0.25rem;
}

.director-title {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0;
}

.arrow-icon {
    color: var(--aax-red);
    transition: transform 0.3s ease;
    font-size: 1.5rem;
}
.director-card:hover .arrow-icon {
    transform: translateX(5px);
}

/* --- Modal Styling --- */
.modal-header {
    border-bottom: none;
    padding: 1.5rem 1.5rem 0 1.5rem;
}
.modal-content {
    background-color: var(--aax-light-gray2);
}
.profile-img-modal {
    max-width: 250px;
    height: auto;
    border-radius: 1rem;
    margin-bottom: 1rem;
}
.profile-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--aax-red);
    border-left: 4px solid var(--aax-red);
    padding-left: 10px;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

/* Network & Fleet */
.hub-card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05), 0 6px 6px rgba(0, 0, 0, 0.05);
    max-width: 550px;
    margin: auto;
    background-color: var(--aax-white);
}

.p-hub {
    font-size: 12px;
}

/* Styling for the list box */
.destination-list {
    height: 400px; /* Fixed height as seen in the image */
    overflow-y: scroll;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 0;
}

/* Styling for individual list items */
.list-group-item-action {
    padding: 10px 15px;
    cursor: pointer;
    border-left: none;
    border-right: none;
}
.list-group-item-action:hover,
.list-group-item-action.active {
    background-color: #e9ecef;
    color: #212529;
    border-color: #e9ecef;
    z-index: 1; /* Keep it above other items */
}
.list-group-item:first-child { border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; }
.list-group-item:last-child { border-bottom-left-radius: 0.5rem; border-bottom-right-radius: 0.5rem; }

/* Map Container and Pin Styling */
.map-container {
    position: relative;
    /* background-color: #f8f9fa;  */
    height: 400px;
    /* border-radius: 0.5rem; */
    /* border: 1px solid #dee2e6; */
    overflow: hidden; /* Ensure pins stay within bounds */
}

/* SVG Styling */
#asiaMapSvg {
    width: 100%;
    height: 100%;
    /* Map outlines */
    stroke: #adb5bd; 
    stroke-width: 0.5;
    fill: #e9ecef; /* Light gray fill for landmasses */
}

.map-pin {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--aax-red); /* Red dot */
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 5px rgba(220, 53, 69, 0.8);
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 10;
}

.map-pin.active {
    /* width: 16px;
    height: 16px; */
    background-color: var(--aax-red); 
    box-shadow: 0 0 10px var(--aax-red);
}

.pin-label {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background-color: var(--aax-white); /* White background */
    color: #212529; /* Dark text color */
    padding: 8px 12px; /* Increased padding */
    border-radius: 6px; /* Increased border radius */
    font-size: 16px; /* Larger font size */
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Add shadow */
    display: none;
    z-index: 50;
}

/* Create the pointer/tail using a pseudo-element */
.pin-label:after {
    content: '';
    position: absolute;
    bottom: -8px; /* Position below the label */
    left: 50%;
    margin-left: -8px;
    width: 0;
    height: 0;
    border-top: 8px solid var(--aax-white); /* White triangle pointing down */
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);  */
    z-index: 50;
}
.map-pin:hover .pin-label {
    display: block;
}

.map-pin.active .pin-label {
    display: block;
}

/* awards & achievements */
.latest-award-card {
    background-color: var(--aax-white);
    border-radius: 1.5rem; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); 
    padding: 0;
    width: 100%;
    height: 500px; 
    overflow: hidden; 
    position: relative; 
}

.content-panel {
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

.content-panel.with-shadow {
    box-shadow: 1px 0 3px 0 rgba(0, 0, 0, 0.2); 
    position: relative; 
    z-index: 2; 
}

.graphic-panel {
    background-color: #f7f7f7; 
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    z-index: 1; 
}

.slick-nav-btn {
    background-color: black;
    color: var(--aax-white);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
    border: none;
}

.slick-nav-btn i {
    font-size: 1.2rem; 
    line-height: 1; 
}

.slick-nav-btn:hover {
    background-color: #333;
}

.slick-slide > div {
    height: 100%;
}
.slick-list, .slick-track, .slick-slide {
    height: 100%;
}

.slick-nav-wrapper {
    position: absolute;
    bottom: 3rem; 
    left: 3rem; 
    z-index: 10;
}

.award-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; 
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.award-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.award-logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    min-height: 200px; 
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 1px 0 3px 0 rgba(0, 0, 0, 0.2);
}

.award-logo {
    width: 80%;
    height: auto;
    max-height: 140px;
    object-fit: contain;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 14px;
    text-align: center;
    padding: 10px;
}

.award-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.award-date {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--aax-red); 
    margin-bottom: 8px;
}

.award-description {
    font-size: 1rem;
    color: var(--aax-text);
    line-height: 1.5;
}

/* --- Custom Filter Pill Styling --- */
.dropdown-toggle::after {
    display: none !important;
}

.custom-filter-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 50rem;
    background-color: var(--aax-white);
    border: 1px solid #e0e0e0;
    padding: 0;
    font-weight: 600;
    color: #333;
    transition: all 0.2s ease;
    height: 48px; 
    min-width: 140px; 
}

.custom-filter-pill:hover, 
.custom-filter-pill:focus, 
.custom-filter-pill:active {
    background-color: var(--aax-white) !important;
    box-shadow: none !important;
    border: 1px solid #e0e0e0 !important;
}

#yearDropdownMenu .dropdown-item.active, #yearDropdownMenu .dropdown-item:active {
    color: var(--aax-white);
    text-decoration: none;
    background-color: var(--aax-red);
}

.filter-text-display {
    padding: 0 1rem;
}

.filter-icon-btn {
    background-color: #333;
    color: var(--aax-white);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-right: 5px;
}

.filter-icon-btn i {
    transition: transform 0.3s ease;
    display: block;
}

.custom-filter-pill[aria-expanded="true"] .filter-icon-btn i {
    transform: rotate(-180deg);
}




/* ===============Responsive=============== */
/* min-width */
@media (min-width: 768px) {
    .headline-sticky {
        position: sticky;
        top: 100px; 
        z-index: 10;
        align-self: flex-start;
    }
    .footer-heading {
        cursor: default;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .hub-map-background {
        /*background-size: cover;
        background-position: -5% center;*/
    }
}

@media (min-width: 992px) {
    .home-awards-section .fs-6 {
        font-size: 1.25rem!important;
    }  
    .kpi-section .row > .col:nth-child(4n) {
        border-right: none;
    }
    .ir-section .display-5 {
        font-size: 4rem;
    }
}

@media (min-width: 1170px) {
    .offcanvas-body .dropdown-menu-aax {
        display: block !important;
        position: static !important;
        border: none;
        box-shadow: none;
        padding: 0;
        margin-top: 0.5rem;
    }

    .offcanvas-body .nav-link[data-bs-toggle="dropdown"] {
        pointer-events: none;
    }

    .offcanvas-body .dropdown-menu-lv2 {
        padding-left: 0;
    }

    .offcanvas-body .dropdown-menu-lv3 {
        display: block;
    }

    .offcanvas-body .col-lg {
        flex: 1 0 0%;
    }

    .menu-lv1 + .menu-lv1 {
        margin-top: 20px!important;
    }
}

@media (min-width: 1200px) {
    .kpi-value {
        font-size: 4rem; 
    }
    .ir-section .display-5 {
        font-size: 5rem;
    }
}

/* max-width */
@media (max-width: 1400px) {
    .page-header-title {
        font-size: calc(1.5625rem + 1.9285714286vw);
    }
    .page-header-subtitle {
        font-size: calc(1.390625rem + 1.3392857143vw);
    }
    .card-list-title {
        font-size: calc(1.0625rem + .2142857143vw);
    }
    .card-list-item, .latest-docs-card .card-body, .ir-section .investor-relation-btn {
        padding: 1rem; 
    }
    .custom-accordion .accordion-button {
        font-size: calc(1.0625rem + .2142857143vw);
        padding: 1rem;
    }
    .custom-accordion .accordion-body {
        padding: 1rem;
        padding-top: 0;
    }
    .gov-image {
        width: 150px;
    }
    .metric-number, .metric-percent-number, .metric-percent-unit {
        font-size: 1.8rem; 
    }
    .metric-currency {
        font-size: 1.2rem;
        top: -5px; /* Adjust relative position for smaller font size */
    }
    .metric-label {
        font-size: 1.4rem;
    }
    .metric-unit {
        font-size: 1rem;
    }
    .vertical-separator {
        height: 30px;
    }
    .stock-data-row {
        font-size: 1.2rem;
    }
    .tab-content .news-card {
        height: 160px;
    }
    .tab-content .news-title {
        font-size: calc(1.0625rem + .2142857143vw);
    }
    .tab-content .news-date {
        font-size: .8125rem;
    }
}

@media (max-width: 1199.98px) {
    .hamburger-btn {
        -webkit-transform: translateX(0);
        transform: translate(0);
    }
}

@media (max-width: 1169.98px) {
    .fixed-navbar {
        padding: 0.75rem 1rem;
    }

    .hero-bg {
        padding-top: 5.5rem;
        height: 400px;
    }

    .hero-content {
        padding-top: 0;
    }

    .offcanvas-header {
        padding: 1rem 1.5rem;
    }

    .offcanvas-body .container-fluid {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    #navbarNavDropdown .menu-lv1 .nav-link-aax[data-bs-toggle="dropdown"] {
        display: none;
    }

    .offcanvas-body .dropdown-menu-aax {
        display: none;
    }

    .offcanvas-body .dropdown-menu-aax.show {
        display: block;
        position: static !important;
        transform: translate3d(0px, 0px, 0px) !important;
    }

    .menu-header .angle-down-icon:before {
        content: "\f107";
    }

    .offcanvas-body .menu-lv1 {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 991.98px) {
    #airasia-footer .col-lg-2,
    #airasia-footer .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .banner-background {
        height: 450px;
    }
    .kpi-section .row > .col:nth-child(2n) {
        border-right: none;
    }
    .hub-section {
        min-height: initial;
    }
    .network-section {
        min-height: 500px;
    }
    .network-plane-image {
        object-position: 50% 10%; 
    }
    .network-title {
        color: var(--aax-text); 
        font-size: 2.5rem !important;
        margin-bottom: 2rem !important;
    }
    .network-hub {
        background-color: rgba(255, 255, 255, 0.9); 
        padding: 1rem;
        border-radius: 10px;
    }
    .ir-card {
        height: auto;
    }
    .content-panel.with-shadow {
        box-shadow: none; /* Remove shadow when columns stack */
    }
}

@media (max-width: 767.98px) {
    .hamburger-btn {
        width: 32px;
        height: 32px;
    }
    .banner-background {
        height: 350px;
    }
    .kpi-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .kpi-section .kpi-value {
        font-size: 3rem; 
    }
    /* Add some padding between stacked columns on mobile */
    .kpi-section .row > .col {
        padding: 3rem 0;
        margin-bottom: 0;
    }
    .kpi-section .row > .col {
        border-right: none;
        border-top: 1px solid var(--aax-white);
    }
    .kpi-section .row > .col:first-child {
        border-top: none;
    }
    .timeline-line {
        left: 10%;
        transform: translateX(-50%);
    }

    .milestones-container-wrapper {
        height: 400px;
        --milestone-height: 200px;
        margin-top: 40px;
    }

    .milestone-item {
        height: var(--milestone-height);
    }

    /* Force all content to the right of the line for mobile */
    .milestone-item:nth-child(odd) .row,
    .milestone-item:nth-child(even) .row {
        flex-direction: row;
    }

    /* Content and Image/Dot positioning for mobile */
    .milestone-item .col-6 {
        width: 100% !important; /* Stack vertically */
        padding: 0 !important; /* Reset padding for mobile */
    }

    .milestone-content {
        text-align: left !important;
        padding-left: calc(10% + var(--gap-to-dot)) !important; /* Align with new line position + gap */
        padding-right: 10px !important;
    }

    .milestone-content.content-left, .milestone-content.content-right {
        text-align: left !important;
    }
    
    /* Mobile separator alignment */
    .milestone-item:nth-child(odd) .milestone-separator-container,
    .milestone-item:nth-child(even) .milestone-separator-container {
        justify-content: flex-start; /* All separators align left on mobile */
    }
    
    .milestone-item:nth-child(odd) .milestone-separator,
    .milestone-item:nth-child(even) .milestone-separator {
        width: calc(100% - var(--gap-to-dot)); /* Make the line span most of the available content width */
        max-width: unset;
    }

    .milestone-content .date-headline {
        font-size: 1.25rem;
    }

    .milestone-dot {
        left: 10%;
    }

    .milestone-indicator {
        left: 10%;
    }
    
    .milestone-circle {
        display: none !important; /* Hide large circles on small screens */
    }

    .nav-arrow {
        left: 10%; /* Center horizontally on the mobile line position (10%) */
        transform: translateX(-50%);
    }
    .custom-tab.nav-pills {
        grid-template-columns: 1fr;
        grid-template-rows: auto; 
    }
    .img-container {
        height: 300px; 
    }
    .director-img {
        max-height: 100%;
        width: auto;
        margin: 0 auto; 
    }
}
@media (max-width: 600px) {
    #rotate-device {
        display: block;
    }
    #rotate-device:before {
        content: "";
        position: relative;
        display: block;
        width: 120px;
        height: 70px;
        top: 0;
        margin: 15px 0 5px;
        background: url(/images/rotate.png) no-repeat;
        background-size: 100% 100%;
    }
}