/* Variables */
:root {
    --Compass-Overlays-Dimmed-overlay: rgba(0, 0, 0, 0.60);
    --Sem-text-colour-text-primary: #000;
    --Sem-object-fills-colour-bg-fill-brand-tertiary: #000;
    --Sem-text-colour-text-label: #1460AA;
    --Sem-object-fills-colour-bg-fill-primary: #1460AA; 
    --Sem-brdr-colour-border-primary: #1460AA;
    --Sem-text-colour-text-inverse: #fff;
    --Sem-object-fills-colour-bg-fill-secondary: #fff;
    --Sem-icon-colour-icon-primary-disabled: #6D6D6F;
    --Sem-brdr-colour-border-secondary: #C9CACC;
}

.page-heading-section + .content-wrapper {
    display: none;
}

.template-basic .section-wrapper {
    margin: 0;
}

.col-lg-12.col-md-12.col-sm-12.col-xs-12.bannerStyle {
    width: 100%;
}

/* Header Carousel Section */
#new-cabins {
    width: 100%;
}

.header-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

@media (max-width: 767px) {
    .header-carousel {
        height: 458px;
        margin: 0 auto;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .header-carousel {
        height: 384px;
        margin: 0 auto;
    }
}

@media (min-width: 1025px) {
    .header-carousel {
        width: 100%;
        max-height: 720px;
        padding-bottom: 0;
        position: relative;
        height: 720px;
    }
}
/* Carousel Images Container */
.carousel-images {
    position: relative;
    width: 100%;
    overflow: hidden;
}

@media (max-width: 767px) {
    .carousel-images {
        height: 190px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .carousel-images {
        height: 384px;
    }
}

@media (min-width: 1025px) {
    .carousel-images {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
    }
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Carousel Overlay */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--Compass-Overlays-Dimmed-overlay);
    display: flex;
    justify-content: flex-start;
    z-index: 10;
    height: 100%;
}

@media (max-width: 767px) {
    .carousel-overlay {
        position: static;
        background-color: var(--Sem-object-fills-colour-bg-fill-brand-tertiary);
        padding: 24px 16px;
        justify-content: center;
        margin: 0 auto;
        align-items: unset;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .carousel-overlay {
        width: 384px;
        padding: 40px 32px;
        align-items: center;
    }
}

@media (min-width: 1025px) {
    .carousel-overlay {
        width: 522px;
        padding: 40px 64px 40px 120px;
        align-items: center;
    }
}

.overlay-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .overlay-content {
        height: 100%;
        justify-content: center;
    }
}

@media (min-width: 1025px) {
    .overlay-content {
        height: 100%;
        justify-content: center;
    }
}

.carousel-overlay h2 {
    font-weight: 700;
    color: var(--Sem-text-colour-text-inverse);
    line-height: 1.2;
    margin: 0;
}

@media (max-width: 767px) {
    .carousel-overlay h2 {
        font-size: 24px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .carousel-overlay h2 {
        font-size: 28px;
    }
}

@media (min-width: 1025px) {
    .carousel-overlay h2 {
        font-size: 36px;
    }
}

.carousel-overlay p {
    font-weight: 400;
    font-size: 18px;
    color: var(--Sem-text-colour-text-inverse);
    line-height: 1.5;
    margin: 0;
}

.overlay-link {
    font-weight: 700;
    font-size: 16px;
    color: var(--Sem-text-colour-text-inverse);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.overlay-link:hover {
    color: var(--Sem-text-colour-text-inverse);
}   

/* .overlay-link::after {
    content: '›';
    font-size: 20px;
} */

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    display: flex;
    align-items: center;
    z-index: 20;
    background: var(--Sem-object-fills-colour-bg-fill-brand-tertiary);
    border-radius: 100px;
    padding: 4px 12px;
}

@media (max-width: 767px) {
    .carousel-controls {
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        right: auto;
        bottom: 284px;
        gap: 12px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .carousel-controls {
        bottom: 24px;
        right: 24px;
        gap: 16px;
    }
}

@media (min-width: 1025px) {
    .carousel-controls {
        bottom: 24px;
        right: 24px;
        gap: 10px;
    }
}

.play-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--Sem-text-colour-text-inverse);
    transition: all 0.3s ease;
    padding: 0;
    background: transparent;
    border: none; 
}

.play-btn:focus {
    outline: none;
}

.play-btn svg {
    width: 24px;
    height: 24px;
    margin-left: 2px;
}

@media (max-width: 767px) {
    .play-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    gap: 16px;
}

@media (max-width: 767px) {
    .carousel-indicators {
        gap: 8px;
    }
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--Sem-icon-colour-icon-primary-disabled);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator.active {
    background: var(--Sem-object-fills-colour-bg-fill-secondary);
}

.indicator:hover {
    background: var(--Sem-icon-colour-icon-primary-disabled);
}

.indicator:focus {
    outline: none;
}

@media (max-width: 767px) {
    .indicator {
        width: 8px;
        height: 8px;
    }
}

/* Tabs Section */
.tabs-section {
    width: 100%;
    padding: 40px 20px;
}

@media (max-width: 767px) {
    .tabs-section {
        48px 0 24px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .tabs-section {
       padding: 48px 0 0;
    }
}

@media (min-width: 1025px) {
    .tabs-section {
        padding: 60px 0;
    }
}

.tabs-nav {
    display: flex;
    justify-content: center;
}

@media (max-width: 1024px) {
    .tabs-nav {
        margin-bottom: 24px;
    }
}

@media (min-width: 1025px) {
    .tabs-nav {
        margin-bottom: 48px;
    }
}

/* Aircraft tabs (Level 1) */
.aircraft-tabs {
    border-bottom: 2px solid var(--Sem-brdr-colour-border-secondary);
    display: flex;
    justify-content: center;
}

.aircraft-tabs .tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 12px 16px 0;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--Sem-text-colour-text-primary);
    font-size: 16px;
    font-weight: 600;
}

.aircraft-tabs .tab-btn img {
    height: 66px;
    width: auto;
}

.aircraft-tabs .tab-btn.active {
    color: var(--Sem-text-colour-text-label);
    border-bottom: 3px solid var(--Sem-brdr-colour-border-primary);
    padding-bottom: 13px;
}

@media (max-width: 768px) {
    .aircraft-tabs .tab-btn img {
        height: 40px !important;
        width: auto;
    }
}

/* Cabin tabs (Level 2) */
.tabs-nav.cabin-tabs {
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
}

.cabin-tabs .tab-btn {
    padding: 10px 16px;
    border: 1px solid var(--Sem-brdr-colour-border-secondary);
    border-radius: 999px;
    background: var(--Sem-object-fills-colour-bg-fill-secondary);
    cursor: pointer;
    color: var(--Sem-text-colour-text-primary);
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.cabin-tabs .tab-btn:hover {
    background: var(--Sem-object-fills-colour-bg-fill-tertiary);
}

.cabin-tabs .tab-btn.active {
    background: var(--Sem-object-fills-colour-bg-fill-secondary);
    color: var(--Sem-text-colour-text-label);
    border-color: var(--Sem-brdr-colour-border-primary);
}

@media screen and (max-width: 450px) {
    .tabs-nav.aircraft-tabs {
        overflow-x: auto;
        scrollbar-width: none;
        justify-content: flex-start;
    }

    .tabs-nav.cabin-tabs {
        justify-content: flex-start;
        padding-left: 16px;
    }
}

@media screen and (min-width: 451px) and (max-width: 820px) {
    [data-pane="boeing-787"] .cabin-tabs {
        justify-content: flex-start;
        padding-left: 16px;
    }
}

@media screen and (max-width: 767px) {
    .tabs-nav.cabin-tabs, .tabs-nav.aircraft-tabs {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .tabs-nav.aircraft-tabs {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .aircraft-tabs .tab-btn {
        white-space: nowrap;
    }
}

/* Feature tabs (Level 3) */
.feature-tabs {
    background: var(--Sem-object-fills-colour-bg-fill-secondary);
    border-radius: 100px;
    justify-content: center;
    flex-wrap: nowrap;
    padding: 1px;
    overflow-x: auto;
    position: static;
    margin-top: 16px;
    z-index: 15;
}

@media (max-width: 767px) {
    .feature-tabs {
        display: none;
    }
}

@media (min-width: 768px) {
    .feature-tabs {
        display: flex;
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
}


.feature-tabs .tab-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    background: transparent;
    color: var(--Sem-text-colour-text-primary);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.feature-tabs .tab-btn.active {
    background: var(--Sem-object-fills-colour-bg-fill-primary);
    color: var(--Sem-text-colour-text-inverse);
}

/* Tab Content */
.tabs-content {
    position: relative;
}

.tab-pane {
    display: none;
    margin-top: 48px;
}

.tab-pane.active {
    display: block;
}

.tab-pane .intro-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.tab-pane .intro-text p {
    color: var(--Sem-text-colour-text-primary);
    font-size: 16px;
    font-weight: 400;
}

.tab-pane h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: var(--Sem-text-colour-text-primary);
}

.tab-pane h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: var(--Sem-text-colour-text-primary);
    display: flex;
    text-align: center;
}

.tab-pane > p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--Sem-text-colour-text-primary);
    margin: 0 0 32px 0;
}

@media (max-width: 767px) {
    .tab-pane h2 {
        font-size: 24px;
    }
    .tab-pane h3 {
        font-size: 18px;
        text-align: center;
        padding: 0 16px;
    }
    .tab-pane > p {
        font-size: 14px;
    }

    .tabs-content.cabin-content .tab-pane > h3 {
        padding: 0 16px;
        text-align: center;
    }

    .tabs-content.cabin-content .tab-pane {
        margin-top: 32px;
    }
}

@media screen and (max-width: 768px) {
    .tab-pane .intro-text {
        padding: 0 16px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .tab-pane h3 {
        justify-content: center;
    }
}

@media (min-width: 1025px) {
    .tab-pane h3 {
        justify-content: center;
    }

    .tab-pane .intro-text {
        max-width: 792px;
        margin: 0 auto;
    }
}

/* Feature Component */
.feature-component {
    margin-top: 40px;
    position: relative;
}

.feature-image {
    position: relative;
    width: 100%;
    max-width: 1200px;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .feature-image {
        height: auto;
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        display: flex;
        gap: 16px;
        scroll-behavior: smooth;
    }

    .feature-image-item:nth-of-type(1) {
        padding-left: 24px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .feature-image {
        width: 704px;
        height: 352px;
    }
}

@media (min-width: 1025px) {
    .feature-image {
        height: 600px;
    }
}

.feature-image-item {
    position: relative;
    width: 100%;
    height: 100%;
}

@media (max-width: 767px) {
    .feature-image-item {
        flex: 0 0 calc(50% - 8px);
        height: auto;
        display: flex;
        flex-direction: column;
        position: relative;
    }
}

@media (min-width: 768px) {
    .feature-image-item {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 0.6s ease-in-out;
    }

    .feature-image-item::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(62deg, rgba(0, 0, 0, 0.00) 49.35%, #000 88.27%), rgba(0, 0, 0, 0);
    }

.feature-image-item[data-image="screens-plus"]::after {
    background: linear-gradient(62deg, rgba(0, 0, 0, 0.00) 49.35%, rgba(0, 0, 0, 0.4) 88.27%), rgba(0, 0, 0, 0);
}

.feature-text {
        z-index: 1;
    }
}

.feature-image-item.active {
    opacity: 1;
}

@media (max-width: 767px) {
    .feature-image-item.active {
        opacity: 1;
    }
}

.feature-image-item img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

@media (max-width: 767px) {
    .feature-image-item img, .feature-image-item video {
        height: 141px !important;
        width: 282px !important;
    }
}

.feature-image-item video {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

.feature-carousel-indicators {
    display: flex;
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    gap: 8px;
    z-index: 10;
}

@media (max-width: 767px) {
    .feature-carousel-indicators {
        position: static;
        transform: none;
        justify-content: center;
        margin-top: 16px;
    }
}

@media (min-width: 768px) {
    .feature-carousel-indicators {
        display: none;
    }
}

.feature-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #C9CACC;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.feature-indicator.active {
    background: #1460AA;
    width: 24px;
    border-radius: 4px;
}

.feature-indicator:hover {
    background: #C9CACC;
}

.feature-text {
    position: absolute;
    top: 48px;
    right: 48px;
    color: #fff;
    max-width: 50%;
    display: none;
}

@media (max-width: 767px) {
    .feature-text {
        position: static;
        top: auto;
        right: auto;
        color: var(--Sem-text-colour-text-primary);
        max-width: 100%;
        display: block;
        padding: 12px 0;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .feature-text {
        position: absolute;
        top: 24px;
        right: 24px;
        display: block;
    }
}

@media (min-width: 1025px) {
    .feature-text {
        position: absolute;
        top: 48px;
        right: 48px;
        display: block;
    }
}

.feature-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

.feature-text h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.disclaimer {
    position: absolute;
    bottom: 24px;
    left: 24px;
    color: #fff;
    margin: 0;
    font-size: 10px;
    line-height: 1.4;
    font-weight: 500;
    max-width: 200px;
    display: none;
}

@media (max-width: 767px) {
    .disclaimer {
        position: static;
        bottom: auto;
        left: auto;
        color: var(--Sem-text-colour-text-primary);
        display: block;
        padding: 8px 0;
        max-width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .disclaimer {
        position: absolute;
        display: block;
        bottom: 8px !important;
        left: 8px !important;
        max-width: 180px;
    }
}

@media (min-width: 1025px) {
    .disclaimer {
        position: absolute;
        display: block;
    }
}

@media (max-width: 767px) {
    .feature-text h3 {
        font-size: 16px;
        padding: 0 !important;
    }
    
    .feature-text p {
        font-size: 14px;
    }
}

@media (min-width: 768px) {
    .feature-text p {
        max-width: 300px;
    }
    
    .feature-text h3 {
        display: none;
    }
}

.feature-content .tab-pane p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--Sem-text-colour-text-primary);
}

@media screen and (max-width: 767px) {
    .feature-text p {
        margin: 0;
        font-size: 16px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .feature-text p {
        margin: 0;
        font-size: 18px;
    }
}

@media screen and (min-width: 1025px) {
    .feature-text p {
        margin: 0;
        font-size: 20px;
        line-height: 24px;
    }
}

/* New Routes Section */
.new-routes-section {
    width: 100%;
    background: var(--Sem-object-fills-colour-bg-fill-secondary);
}

@media (max-width: 768px) {
    .new-routes-section {
        padding: 16px 0 48px 0;
    }
}

@media (min-width: 767px) and (max-width: 1335px) {
    .new-routes-section {
        padding: 32px 0 80px;
        margin: 0 auto;
    }

    .route-card:nth-of-type(1) {
        margin-left: 24px;
    }

    .new-routes-header {
        padding: 0 32px 48px;
        text-align: center;
    }

    .routes-cards {
        justify-content: center;
    }
}

.new-routes-container {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

@media (min-width: 1336px) {
    .new-routes-section {
        padding: 60px 0 60px 120px;
        max-width: 1440px;
        margin: 0 auto;
    }

    .new-routes-container {
        flex-direction: row;
        align-items: flex-start;
        gap: 24px;
    }
}

.new-routes-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 1336px) {
    .new-routes-header {
        width: 381px;
    }
}

.new-routes-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: var(--Sem-text-colour-text-primary);
    line-height: 1.2;
}

@media (min-width: 1025px) {
    .new-routes-header h2 {
        font-size: 28px;
    }
}

@media (min-width: 768px) and (max-width: 930px) {
    .routes-cards {
        justify-content: flex-start;
    }
}

.new-routes-header p {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    color: var(--Sem-text-colour-text-primary);
    line-height: 1.5;
}

.routes-cards-wrapper {
    flex: 1;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

@media (min-width: 1025px) {
    .routes-cards-wrapper {
        overflow-x: visible;
    }
}

.routes-cards {
    display: flex;
    gap: 24px;
    min-width: 100%;
}

@media (max-width: 768px) {
    .routes-cards {
        padding-left: 16px;
    }
}

@media (min-width: 1336px) {
    .routes-cards {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

.route-card {
    flex: 0 0 282px;
    height: 420px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

@media (min-width: 1025px) {
    .route-card {
        flex: 0 0 282px;
        height: 420px;
    }
}

.route-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 282px;
    background: rgba(0, 0, 0, 0.6);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: #fff;
    box-sizing: border-box;
}

.card-overlay h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #fff;
    line-height: 1.2;
}

.card-overlay p {
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 16px 0;
    color: #fff;
    line-height: 1.3;
}

.cta-btn {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 4px;
}

.cta-btn:hover {
    color: #fff;
}

@media (max-width: 767px) {
    .new-routes-header h2 {
        font-size: 20px;
        text-align: center;
        padding: 0 16px;
    }

    .new-routes-header p {
        font-size: 16px;
        text-align: center;
        padding: 0 16px;
        margin-bottom: 32px;
    }
}