@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

.booking-section {
    position: relative;
    overflow: hidden;
    padding-right: 0;
}

.both-side {
    padding-left: 30px;
}

.booking-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.booking-section-inner {
    position: relative;
    z-index: 1;
}

.booking-section-left {
    padding-right: 30px;
    padding-top: 50px;
}

.booking-section-left-h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 60px;
    margin-bottom: 20px;
    background-clip: text;
    color: #1C1C1E;
}

.booking-section-left-p {
    font-size: 18px;
    line-height: 28px;
    color: #555A6A;
    margin-bottom: 40px;
    font-weight: 500;
}


.booking-section-right-side {
    display: flex;
    align-items: center;
    /* Changed from center to stabilize position */
    justify-content: center;
    padding: 0;
}

.booking-section-right-img {
    width: 100%;
    max-width: 698px;
    height: auto;
    border-radius: 20px;
}



@media (max-width: 991px) {
    .booking-section {
        padding: 40px 25px;
        /* Increased from 15px to 25px for better breathing room */
        margin-top: 50px;
        margin-bottom: 50px;
        margin-left: 15px;
        /* Added margin to separate from screen edge */
        margin-right: 15px;
    }

    .both-side {
        padding-left: 0;
    }

    .booking-section-left {
        padding: 0 15px;
        margin-bottom: 40px;
        text-align: center;
    }

    .booking-section-left-h2 {
        font-size: 32px;
        line-height: 40px;
    }

    .booking-section-left-p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .booking-section-right-side {
        padding: 0;
        justify-content: center;
    }

    .booking-section-right-img {
        width: 100%;
        height: auto;
        border-radius: 15px;
        margin-top: 20px;
    }

    /* Dual Section Specific Fix */
    .booking-section-dual {
        padding: 40px 25px;
        /* Increased from 15px to 25px */
        margin-top: 50px;
        margin-bottom: 50px;
        margin-left: 15px;
        /* Added margin to separate from screen edge */
        margin-right: 15px;
        border: 2px solid #B3B3B3;
        border-radius: 20px;
    }

    .both-side-dual {
        flex-direction: column-reverse;
        padding-left: 0;
    }

    .booking-dual-left {
        padding: 0 15px;
        margin-bottom: 40px;
        text-align: center;
    }

    .img-dual {
        width: 100% !important;
        height: auto !important;
        border-radius: 15px;
        margin-top: 0;
        margin-bottom: 30px;
        object-fit: cover;
    }

    .section-right-side-acc {
        padding-left: 15px;
        padding-right: 15px;
    }
}



/* Dropdown Section Accordion Redesign */
.accordion {
    --bs-accordion-bg: transparent;
}

.dropdown-wrapper .accordion-item {
    border: none;
    border-bottom: 1px solid;
    border-image: linear-gradient(to right, #F1F2F5 50%, transparent) 1;
    /* margin-bottom: 10px; */
    /* border-radius: 12px !important; */
    transition: all 0.3s ease;
}

.dropdown-wrapper .accordion-item:last-child {
    border-bottom: none;
}

.dropdown-wrapper .accordion-button {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    padding: 20px;
    border-radius: 20px !important;
    background-color: #fafafb !;
    border-bottom: none;
}

.dropdown-wrapper .accordion-button:not(.collapsed) {
    color: #2563EC !important;
    border: 1px solid transparent;
    background-image:
        linear-gradient(#fafafb, #fafafb),
        linear-gradient(to right,
            #D6E0FF 0%,
            rgba(214, 224, 255, 0.4) 50%,
            transparent 50%,
            transparent 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    background-color: #fafafb !important;
    border-top-right-radius: 20px !important;
    box-shadow: none !important;

}

.dropdown-wrapper .accordion-item:has(.accordion-button:not(.collapsed)) {
    border: 1px solid transparent;
    background-image:
        linear-gradient(#fff, #fff),
        linear-gradient(to right,
            rgba(214, 224, 255, 0.8) 0%,
            rgba(214, 224, 255, 0.3) 50%,
            transparent 50%,
            transparent 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 20px;
}

.dropdown-wrapper-one {
    padding: 59px 0px 59px 40px;
}

.dropdown-wrapper-two {
    padding: 59px 40px 59px 15px;
}

/* .dropdown-wrapper .accordion-collapse {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    background-color: #fff;
} */

.dropdown-wrapper .accordion-body {
    padding: 20px 20px 20px 20px;
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
    font-weight: 400;
    background-color: #fafafb !important;
}

.dropdown-wrapper .accordion-button::after {
    filter: grayscale(1) opacity(0.5);
}

.dropdown-wrapper .accordion-button:not(.collapsed)::after {
    filter: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232D60FF'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-color: #fafafb !important;
}

/* Consolidated rule for #main-dropdown-image and #booking-image */
#main-dropdown-image,
#booking-image {
    width: 663px;
    height: 663px !important;
    object-fit: contain;
    z-index: 2;
    transition: all 0.5s ease-in-out;
    border-radius: 24px;
    /* Added border-radius */
}

/* Animations and Hover Effects for Desktop Only */
@media (min-width: 992px) {

    #main-dropdown-image,
    #booking-image {
        animation: floatImage 4s ease-in-out infinite;
    }

    #main-dropdown-image:hover,
    #booking-image:hover {
        transform: scale(1.02) translateY(-5px);
    }
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.first-accordion-image-container {
    position: relative;
    /* Animated Gradient Background */
    background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(33, 46, 143, 1) 43%, rgba(0, 47, 255, 1) 85%);
    background-size: 200% 200%;
    animation: gradientAnimation 5s ease infinite;

    width: 100%;
    aspect-ratio: 663 / 663;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10%;
    border-radius: 24px;
    /* Soften the container edges */
    overflow: hidden;
    /* Ensure sparkles don't overflow */
}

/* Sparkle Animation */
.first-accordion-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    /* Wider width for movement */
    height: 200%;
    /* Taller height for movement */
    background-image:
        radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 30% 10%, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 60% 30%, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 70% 10%, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 100% 30%, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
    background-size: 200px 200px;
    animation: sparkleAnimation 20s linear infinite;
    z-index: 1;
    /* Above background, below image (image is z-index 2) */
    pointer-events: none;
}

@keyframes sparkleAnimation {
    0% {
        transform: translateY(0) translateX(0);
    }

    100% {
        transform: translateY(-50%) translateX(-50%);
    }
}

/* .booking-image-container {
    position: relative;
    background-image: url('../images/new-rec.svg');
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    aspect-ratio: 663 / 663;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10%;
} */

/* Removed duplicate #booking-image rule as it's now handled in the shared block */

@media (max-width: 991px) {

    #main-dropdown-image,
    #booking-image {
        width: 100% !important;
        height: auto !important;
    }
}

@media (max-width: 767px) {
    .dropdown-wrapper .accordion-button {
        font-size: 18px;
    }
}

.shorts-section {
    padding: 80px 0;
    background: #f8f9fa;
    overflow: hidden;
}

.shorts-ticker-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
    -webkit-user-drag: none;
}

.shorts-ticker-wrapper:active {
    cursor: grabbing;
}

.shorts-ticker-wrapper.dragging .shorts-ticker {
    animation-play-state: paused !important;
    pointer-events: none;
}

.shorts-ticker-wrapper.dragging {
    cursor: grabbing;
}

.shorts-ticker {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: ticker-scroll 35s linear infinite;
}

.short-item {
    width: 315px;
    height: 560px;
    border-radius: 15px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s ease, z-index 0s linear 0s;
    position: relative;
    z-index: 1;
}

.short-item.featured {
    transform: scale(1.1);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.short-item:hover {
    transform: scale(1.02);
}

.short-item.featured:hover {
    transform: scale(1.12);
}


@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {

        transform: translateX(calc(-50% - 10px));
    }
}


.shorts-ticker-wrapper:hover .shorts-ticker {
    animation-play-state: paused;
}

.shorts-title h2 {
    font-weight: 700;
    font-size: 36px;
    color: #1C1C1E;
}


.group-level-section {
    padding: 50px 0;
}

.group-level-both {
    display: flex;
    align-items: flex-end;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #F1F2F5;

}

.group-level-left {
    flex: 1.2;
    padding: 80px 60px;
}


.group-level-left-h3 {
    font-family: "Poppins", sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 35px;
    color: #000000;
    letter-spacing: 0px;
    line-height: 46px;
}

.group-level-left ul {
    list-style: none;
    padding: 0;
    margin-bottom: 45px;
}

.group-level-left ul li {
    font-size: 18px;
    line-height: 24.3px;
    color: #000000;
    margin-bottom: 22px;
    position: relative;
    padding-left: 20px;
    font-weight: 400;
    letter-spacing: 0px;

}

.group-level-left ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #555A6A;
    font-size: 20px;
}

.book-demo-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(180deg, #1E59FF 0%, #123599 100%);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    width: auto;
    height: 55px;
    padding: 12px 20px 13px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.book-demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.book-demo-btn:hover::after {
    transform: translateX(4px);
}

.book-arrow-btn {
    padding-left: 5px;
}

.group-level-right {
    flex: 1;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 709px;
    height: auto;
    margin: 0 auto;
}

.graph-logo {
    width: 200px;
    padding-bottom: 20px;
}

.graph-chart {
    width: 100%;
    height: 400px;
    /* Adjust height as needed to match the visual weight of the previous image */
    background: transparent;
}

.logo-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 255px;
    height: 90.23px;
    object-fit: contain;
    margin-left: 25px;
    margin-top: 10px;
}

/* enagke */
.both-side-dual {
    margin-left: 0;
    padding-left: 0;
}

.bsi {
    padding: 40px 0 0 0;
}

.booking-section-dual {
    padding: 0;
    margin-top: 100px;
    margin-bottom: 100px;
}

.img-dual {
    border-top-right-radius: 16px;
    border-top-left-radius: 0px;
}

.booking-dual-left {
    padding-top: 0;
}

@media (max-width: 991px) {
    .group-level-both {
        flex-direction: column;
    }

    .group-level-left {
        padding: 60px 30px;
        text-align: center;
    }

    .group-level-left ul li {
        text-align: left;
    }

    .group-level-left-h3 {
        font-size: 36px;
    }

    .group-level-right {
        border-left: none;
        border-top: 1px solid #f1f2f5;
        padding: 40px 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .image-container {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .logo-image {
        width: 150px;
        height: auto;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 0;
        top: 10px;
        z-index: 10;
        position: absolute;
    }

    .graph-chart {
        height: 300px;
        width: 100%;
    }
}

.feature-section-parent {
    background-color: #EFEFF6;
    padding: 100px 0;
    overflow: hidden;
}

.feature-section-inner {
    text-align: left;
    margin-bottom: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.feature-section-h3 {
    font-weight: 700;
    font-size: 48px;
    line-height: 67px;
    color: #1C1C1E;
    max-width: 500px;
    margin: 0;
    letter-spacing: 0;
    font-family: "poppins", sans-serif;
}

.feature-section-p {
    font-size: 20px;
    line-height: 34px;
    color: #000000;
    max-width: 500px;
    margin: 0;
    font-weight: 400;
}

.feature-ticker-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 20px 0 60px 0;
}

.feature-ticker-inner {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: feature-scroll 35s linear infinite;
}

.feature-ticker-wrapper:hover .feature-ticker-inner {
    animation-play-state: paused;
}

.feature-section-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    width: 400px;
    min-height: 480px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #F1F2F5;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.feature-card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 30px;
    object-fit: contain;
}

.feature-section-card-title {
    font-weight: 700;
    font-size: 25px;
    line-height: 100%;
    color: #000000;
    margin-bottom: 20px;
}

.feature-section-card-desc {
    font-size: 16px;
    font-family: "Montserrat", sans-serif;
    line-height: 28px;
    color: #000000;
    margin: 0;
    font-weight: 500;
}

.text-center {
    text-align: center;
    margin-top: 40px;
}

@keyframes feature-scroll {
    0% {
        transform: translateX(calc(-50% - 15px));
    }

    100% {
        transform: translateX(0);
    }
}

@media (max-width: 991px) {
    .feature-section-inner {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding: 0 20px;
    }

    .feature-section-h3 {
        font-size: 36px;
        line-height: 44px;
        max-width: 100%;
    }

    .feature-section-p {
        max-width: 100%;
    }

    .feature-section-card {
        width: 320px;
        min-height: auto;
    }
}

/* Stage Section Grid Layout */
.stage-section {
    padding: 100px 0;
    background-color: #F8F9FA;
    /* Light grey background as per screenshot */
    overflow: hidden;
}

.stage-section-h3 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 55px;
    color: #1C1C1E;
}

.stage-section-p {
    font-family: "Noto", sans-serif;
    font-size: 18px;
    line-height: 28px;
    color: #555A6A;
    max-width: 800px;
    font-weight: 400;
    letter-spacing: -0.09px;
    margin-bottom: 50px;
}

.stage-section-card {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 32px;
    /* Larger, premium rounded corners */
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 1;
}

/* Base state for the new animation */
.stage-card-initial {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

/* Animate state */
.stage-card-animate {
    opacity: 1;
    transform: scale(1);
}

.stage-section-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
    border-color: rgba(30, 89, 255, 0.08);
}

.stage-card-icon {
    width: 65px !important;
    height: 65px;
    margin-bottom: 30px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.stage-section-card:hover .stage-card-icon {
    transform: scale(1.1);
}

.stage-section-card h4 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 20px;
    color: #1C1C1E;
    line-height: 1.3;
}

.stage-section-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #555A6A;
    margin: 0;
    font-weight: 400;
}

.stage-nav-custom,
.stage-nav-btn {
    display: none !important;
}

@media (max-width: 991px) {
    .stage-section-card {
        min-height: auto;
        padding: 30px 25px;
    }

    /* Disable entrance animation on mobile/tablet */
    .stage-card-initial {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

@media (max-width: 768px) {
    .stage-section {
        padding: 60px 0;
    }

    .stage-section-h3 {
        font-size: 32px;
        line-height: 40px;
    }
}

.section-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: Bold;
    font-size: 48px;
    line-height: 60px;
    letter-spacing: 0px;
    vertical-align: middle;
}

/* Accordion Animation Classes */
.accordion-item-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.accordion-item-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stage section animation classes removed - now using animate.css via JS */


/* Ensure the auto-opening effect looks smooth */
.accordion-collapse.collapsing {
    transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animated Comparison Table */
.animated-compare-table {
    width: 100%;
    position: relative;
    /* margin-top: 30px; */
}

.animated-compare-table .line {
    display: flex;
    justify-content: start;
    font-size: 18px;
    font-weight: 400;
    color: #334155;
    border-bottom: 1px solid #E5E7EB;
    background: #fff;
    width: 100%;
}

.animated-compare-table .line.th {
    background: linear-gradient(180deg, #1E59FF 0%, #123599 100%) !important;
    color: #ffffff;
    font-weight: 700;
    font-size: 20px;
    text-transform: capitalize;
    z-index: 10;
    position: relative;
    border-radius: 12px 12px 0 0;
    border-bottom: none;
}

.animated-compare-table .line:not(.th) {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 0;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);

}

.animated-compare-table .line>div {
    flex: 1;
    padding: 20px 15px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;

}

.animated-compare-table .line>div:first-child {
    justify-content: flex-start;
    text-align: left;
    flex: 1.2;
}

.animated-compare-table .line>*:first-child:not(th) {
    font-weight: 600;

}

.animated-compare-table .line i {
    font-size: 18px;
}

.animated-compare-table .line .fa-circle-check {
    color: #22C55E;
}

.animated-compare-table .line .fa-xmark {
    color: #EF4444;
}

.animated-compare-table .line .fa-triangle-exclamation {
    color: #F59E0B;
}

/* Response Fixes */
@media (max-width: 768px) {
    .animated-compare-table .line {
        font-size: 14px;

    }

    .animated-compare-table .line>div {
        padding: 8px 2px;
        font-size: 16.5px;
    }

    .animated-compare-table .line.th {
        border-radius: 5px;
        padding-left: 5px;
    }

    .booking-image-container {
        position: relative;
        background-image: url(../images/first-acc.svg);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        width: 100%;
        aspect-ratio: 663 / 663;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10%;
    }
}


/* Dollar Counter Styles */
.dollar-counter {
    position: absolute;
    background: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: "Poppins", sans-serif;
    font-size: 24px;
    font-weight: 700;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 3px;
    pointer-events: none;
    transition: left 0.05s ease-out, top 0.05s ease-out;
}

.dollar-sign {
    color: #22C55E;
}

.dollar-value {
    color: #000000;
}

@media (max-width: 991px) {
    .dollar-counter {
        font-size: 18px;
        padding: 6px 10px;
    }
}