﻿/* Forms */
.section-cloud-form-check {
    display: inline-block; /* allows width to adapt to content */
    width: 100%;
    background-color: var(--white);
    /*    font-size: 1rem;*/
    font-weight: 400;
    text-align: left;
    border-radius: 9999px; /* ensures pill shape */
    white-space: nowrap; /* keeps text on one line */
}

@media (max-width: 576px) {
    .section-cloud-form-check {
        /*        font-size: 18px;*/
        border-radius: var(--btn-border-radius);
    }
}

.section-cloud-form-check-active {
    background-color: var(--lighter-teal);
    font-weight: 500;
}

/* Custom styles for the list group in Why Choose section */
.list-group {
    border-radius: var(--btn-border-radius);
}

.list-group-item {
    border: none;
    border-radius: var(--btn-border-radius);
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.list-group-item.active {
    background-color: var(--light-teal) !important;
    color: #333 !important;
    font-weight: bold;
}

/* Carousel */
#carouselWhyChoose {
    height: 60vh;
}

/* Chatbot */
.chatbot-container {
    background-color: var(--dark-teal) !important;
    width: 100%;
    max-width: 900px;
    padding: 10px;
    border-radius: 6px 6px 0 0;
}

.chatbot-input-wrapper {
    background-color: white;
    border-radius: 6px;
}

.chatbot-form {
    width: 100%;
}

.input-group {
    display: flex;
    align-items: center;
    background-color: var(--input-bg);
    border-radius: 15px;
    padding: 5px 5px;
}

.avatar-container {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    margin-left: 5px;
}

.avatar-image {
    width: 30px;
    height: 30px;
}

.chatbot-input {
    border: none;
    background-color: transparent !important;
    box-shadow: none !important;
    color: #666;
    font-size: 16px;
    padding: 5px;
}

    .chatbot-input:focus {
        outline: none;
        box-shadow: none;
    }

.send-button {
    background-color: transparent;
    border: none;
    color: #757575;
    display: flex;
    align-items: center;
    justify-content: center;
}

.minimize-button {
    position: absolute;
    top: -20px;
    right: -5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--avatar-bg);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    padding: 0;
    line-height: 1;
}

    .minimize-button:hover {
        background-color: #2c6158;
    }

#chatbot-minimized {
    position: absolute;
    bottom: 5px;
    right: 5px;
}

/*Feature Card*/
.feature-card {
    transition: background-color 0.3s ease-in-out;
}

.feature-card-icon {
    transition: transform 0.3s ease-in-out;
}

/* Sections */
.hero-section {
    position: relative;
    height: 649.5px;
    overflow: hidden;
    background: none; /* remove image background */
}
.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none; /* allows clicking buttons on top */
}
.hero-text-panel {
    max-width: 640px; /* similar width to your screenshot */
/*    max-height:600px;*/
    padding: 6rem 4rem;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: black; /* readable dark text */
    margin-top: 0;
}

.inactive {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
}
/* Ensure content stays above video/overlay */
.hero-content {
    position: relative;
    z-index: 2;
}
@media (max-width: 992px) {
    .hero-section {
        height: auto;
        background: var(--light-teal);
/*        color: black;*/
    }
    .hero-bg-video {
        display: none;
    }
    .hero-text-panel {
        max-width: 100%;
        background: transparent; /* or keep it if you want */
        backdrop-filter: none;
        padding: 0;
    }
    .hero-content{
        z-index:0;
        padding-top:3rem !important;
    }
}

#hero-demo-personalization {
    padding: 36px 0;
}

.demoFormSelectionLabel {
    font-size: 15px;
}

.hero_ .demoFormSelectionLabel {
    font-size: 13px;
}

.cloud_mobile_ .demoFormSelectionLabel {
    font-size: 13px;
}

.demoFormSubtitle {
    font-size: 14px;
    font-weight: 400;
}

.demoFormTitle {
    font-size: 20px;
    font-weight: 500;
}

.hero_ .demoFormSubtitle {
    font-size: 14px;
}

.hero_ .demoFormTitle {
    font-size: 16px;
}

@media (min-width: 992px) {
    #hero-demo-personalization {
        padding: 76px 86px;
    }

    .hero_ .demoFormSubtitle {
        font-size: 20px;
    }

    .hero_ .demoFormTitle {
        font-size: 32px;
    }

    .hero_ .demoFormSelectionLabel {
        font-size: 16px;
    }
}
.cloud-distribution-text {
    padding-right: 12px
}

@media (min-width: 992px) {
    .cloud-distribution-text {
        padding-right: 6rem
    }
}

#cloud-distribution-section {
    padding-top: 20px;
}

#key-features-section {
    padding: 20px 0;
}

#why-choose-section {
    padding-bottom: 3rem;
}

@media (min-width: 576px) {
    #why-choose-section {
        padding-top: 3rem;
    }
}

@media(min-width: 992px) {
    #cloud-distribution-section {
        padding: 48px 0;
    }

    #key-features-section {
        padding: 48px 0;
    }
}

@media (min-width: 1400px) {
    #why-choose-section {
        padding-bottom: 120px;
    }
}

.dashboard-section {
    background: url('/images/dashboard_wave_bg.svg');
    background-repeat: no-repeat;
    background-size: 101vw;
    background-position: top center;
}


.cta-section {
    background-color: var(--light-teal)
}

@media (min-width: 992px) {
    .cta-section .container {
        width: 65vw;
    }
}

.inventory-section {
    position: relative;
    overflow: hidden;
    min-height: 36rem;
    width: 100%;
    margin: 0;
    padding: 0;
}

.inventory-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)); /* Adjust opacity as needed */
    z-index: 1;
    pointer-events: none;
}

.bg-video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

.inventory-section > .container {
    position: relative;
    z-index: 2;
}

/* Pain Points section*/
.bg-danger-light {
    background-color: rgba(209, 69, 69, 0.05) !important;
}

/* Card background matches open/closed state */
.pain-accordion-card {
    background-color: var(--white);
}

    .pain-accordion-card.is-open {
        background-color: var(--light-teal);
    }

/* Make header behave like a clickable accordion toggle */
.pain-accordion-toggle {
    cursor: pointer;
    text-align: left;
    background: transparent;
}

    .pain-accordion-toggle:focus {
        outline: none;
        box-shadow: none;
    }

.pain-accordion-chevron {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.pain-accordion-toggle[aria-expanded="true"] .pain-accordion-chevron {
    transform: rotate(180deg);
}

/* Keep 01/02/03 perfectly circular on all sizes */
.pain-category-badge {
    width: 41px;
    height: 41px;
    flex: 0 0 41px;
    aspect-ratio: 1 / 1;
    font-weight: bold;
    line-height: 1;
}

/* Row layout: pain box -> arrow -> solution box (equal height per row) */
.pain-solution-header {
    display: grid;
    grid-template-columns: 1fr 56px 1fr;
    column-gap: 1.25rem;
    align-items: end;
}

.pain-solution-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pps-row {
    display: grid;
    grid-template-columns: 1fr 56px 1fr;
    gap: 1.25rem;
    align-items: stretch;
}

.pps-box {
    min-height: 86px;
    height: 100%;
}

.pain-point-box {
    border-color: rgba(209, 69, 69, 0.2) !important;
}

.solution-box {
    border-color: var(--lighter-teal) !important;
}

.arrow-circle {
    width: 40px;
    height: 40px;
}

/* Mobile-only arrow spacing */
.pps-arrow-mobile {
    padding: 0.25rem 0;
}

@media (max-width: 767.98px) {
    .pps-arrow-mobile .arrow-circle {
        width: 40px;
        height: 40px;
    }
}
/* Mobile adjustments */
@media (max-width: 767.98px) {
    .pps-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .pps-box {
        min-height: auto;
    }
}

/*First Verison*/
/* Pain Points section*/
/*.cursor-pointer {
    cursor: pointer;
}

.bg-danger-light {
    background-color: rgba(209, 69, 69, 0.05) !important;
}

.pain-point-box {
    min-height: 86px;
    border-color: rgba(209, 69, 69, 0.2) !important;
    display: flex;
    align-items: center;
    height: 100%;
}

.solution-box {
    min-height: 86px;
    border-color: var(--lighter-teal) !important;
    display: flex;
    align-items: center;
    height: 100%;
}

.card-header[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
}*/

/* Ensure equal height columns for pain points and solutions */
/*.pain-points-container {
    display: flex;
    flex-direction: column;
}

    .pain-points-container > div {
        display: flex;
        flex-direction: column;
    }

.solution-container {
    display: flex;
    flex-direction: column;
}

    .solution-container > div {
        display: flex;
        flex-direction: column;
    }*/

/* Mobile adjustments */
/*@media (max-width: 767.98px) {
    .pain-point-box, .solution-box {
        min-height: auto;
        height: auto;
    }

    .arrow-circle {
        display: none !important;
    }
}*/