/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Lato", sans-serif;
}

body {
    margin: 0;
    overflow-x: hidden;
}

@font-face {
    font-family: 'Chronicle Display';
    src: url('Chronicle-Display-Semibold.woff2') format('woff2'), url('Chronicle-Display-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Banner Section - Full Height Layout */
#banner {
    min-height: 100vh;
    background-color: #F5F5F0;
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
}

#banner .container {
    display: flex;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
}

/* Left Content Section */
.left-section {
    width: 50%;
    background-color: #F5F5F0;
    display: flex;
    align-items: center;
    overflow-y: auto;
    justify-content: center;
}

.left-section h1 {
    font-size: 48px;
    font-weight: 400;
    color: #062A34;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'Chronicle Display';
    font-weight: 500;
}

.subtitle {
    font-size: 18px;
    color: #171717;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 50px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #0000001A;
    padding-bottom: 15px;
}

.feature-item img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-item p {
    font-size: 16px;
    color: #062A34;
    line-height: 1.4;
    margin: 0;
}

/* CTA Section */
.cta-section {
    border-radius: 16px;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;
}

.cta-content img {
    width: 50px;
    height: 50px;
}

.cta-content p {
    font-size: 14px;
    color: #062A34;
    line-height: 1.5;
    margin: 0;
}

.cta-content p span {
    font-weight: 600;
}

.btn {
    display: block;
    width: 100%;
    background: #062A34;
    color: #FFFFFF;
    text-align: center;
    padding: 22px 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 5px;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 94, 207, 0.3);
}

.cta-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: center;
    font-size: 13px;
    color: #062A34;
    margin-top: 12px;
    font-family: 'Chronicle Display';
}

.cta-note::before,
.cta-note::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #062A34;
}

/* Right Carousel Section */
.right-section {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.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;
}

/* Show desktop slides by default, hide mobile slides */
.desktop-slide {
    display: block;
}

.mobile-slide {
    display: none;
}

/* Carousel Pagination Dots */
.carousel-dots {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background-color: #FFFFFF;
    width: 12px;
    height: 12px;
}

/* Disclaimer */
#disclaimer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    padding: 15px 40px;
    text-align: center;
    z-index: 20;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

#disclaimer.visible {
    opacity: 1;
    transform: translateY(0);
}

#disclaimer p {
    font-size: 11px;
    color: #666666;
    line-height: 1.6;
    margin: 0 auto;
}

#disclaimer a {
    color: #005ECF;
    text-decoration: underline;
}

#disclaimer-mob {
    display: none;
}

/* Responsive Design */
@media screen and (max-width: 1440px) {
    .left-section {
        padding: 50px 60px;
    }

    .left-section h1 {
        font-size: 42px;
    }
}

@media screen and (max-width: 1199px) {
    .left-section {
        padding: 40px 50px;
    }

    .left-section h1 {
        font-size: 36px;
    }

    .features-grid {
        gap: 20px;
    }
}

/* Tablet and Mobile - Overlay Carousel Design */
@media screen and (max-width: 991px) {

    /* Change banner to overlay layout */
    #banner {
        background-color: transparent;
        min-height: 79vh;
        position: relative;
    }

    #banner .container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        margin: 0 auto;
        padding: 0;
        position: relative;
        z-index: 10;
    }

    /* Reposition sections for overlay */
    .left-section {
        width: 100%;
        background-color: transparent;
        position: relative;
        z-index: 10;
        padding: 0;
        min-height: 100vh;
    }

    .right-section {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    #disclaimer {
        display: none;
    }

    #disclaimer-mob {
        display: block;
        position: relative;
        /* bottom: 0; */
        left: 0;
        right: 0;
        background-color: #FFFFFF;
        padding: 15px;
        text-align: center;
        z-index: 20;
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    #disclaimer-mob p {
        font-size: 11px;
        color: #666666;
        line-height: 1.6;
        margin: 0 auto;
    }



    /* Carousel as background */
    .carousel-container {
        width: 100%;
        height: 100%;
    }

    .carousel-slides {
        width: 100%;
        height: 100%;
    }

    /* Content wrapper as overlay */
    .content-wrapper {
        text-align: center;
        color: #FFFFFF;
        width: 100%;
        position: relative;
        z-index: 10;
        height: 100vh;
        padding: 81px 0 0;
        display: flex;
        flex-direction: column;

    }

    /* Create gradient overlay on carousel for tablet */
    .content-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(19, 26, 54, 0.9) 61.89%);
        z-index: -1;
    }

    .content-wrapper h1,
    .left-section h1 {
        font-size: 32px;
        color: #FFFFFF;
        margin-bottom: 15px;
    }

    .content-wrapper .subtitle,
    .left-section .subtitle {
        font-size: 16px;
        color: #FFFFFF;
        margin-bottom: 30px;
    }

    /* Features as single column with white text */
    .features-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-bottom: 30px;
        padding: 0 20px;
    }

    .feature-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        border-top: none;
        padding: 12px 0;
    }

    .feature-item:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .feature-item img {
        width: 24px;
        height: 24px;
        filter: brightness(0) invert(1);
    }

    .feature-item p {
        font-size: 15px;
        color: #FFFFFF;
        text-align: left;
    }

    /* Carousel dots positioned in visual flow */
    .carousel-dots {
        position: absolute;
        bottom: auto;
        top: 61%;
        left: 50%;
        transform: translateX(-50%);
        justify-content: center;
        z-index: 10;
        display: flex;
        gap: 12px;
    }

    .dot {
        background-color: rgba(255, 255, 255, 0.7);
        width: 10px;
        height: 10px;
    }

    .dot.active {
        background-color: #FFFFFF;
        width: 12px;
        height: 12px;
    }

    /* CTA section with background */
    .cta-section {
        background-color: #F5F5F0;
        border-radius: 0;
        padding: 30px 25px;
        width: 100%;
        margin-top: auto;
    }

    .cta-content {
        gap: 8px;
    }

    .cta-content img {
        width: 40px;
        height: 40px;
    }

    .cta-content p {
        font-size: 13px;
    }

    .btn {
        padding: 18px 30px;
    }
}

@media screen and (max-width: 767px) {
    #banner .container {
        padding: 0;
        max-width: 100%;
    }

    .content-wrapper {
        height: 100vh;
        padding: 50px 0 0;
        display: flex;
        flex-direction: column;
    }

    /* Override gradient with solid overlay for mobile */
    #banner::before {
        background: rgba(0, 0, 0, 0.5);
    }

    .content-wrapper h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .content-wrapper .subtitle {
        font-size: 14px;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .feature-item {
        padding: 12px 0;
    }

    .feature-item img {
        width: 20px;
        height: 20px;
    }

    .feature-item p {
        font-size: 14px;
    }

    .carousel-dots {
        margin-bottom: 20px;
        display: none;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .content-wrapper::before {
        display: none;
    }

    .dot.active {
        width: 10px;
        height: 10px;
    }

    .features-grid {
        margin-bottom: 40px;
    }

    .cta-section {
        padding: 25px 20px;
    }

    .cta-content {
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 15px;
    }

    .cta-content img {
        width: 35px;
        height: 35px;
    }

    .cta-content p {
        font-size: 12px;
        text-align: left;
    }

    .btn {
        padding: 16px 25px;
        font-size: 13px;
    }

    .cta-note {
        font-size: 12px;
    }

    #disclaimer {
        padding: 15px 20px;
    }

    #disclaimer p {
        font-size: 10px;
    }

    /* Show mobile slides, hide desktop slides */
    .desktop-slide {
        display: none !important;
    }

    .mobile-slide {
        display: block;
    }
}