/* === Base styles (mobile first) === */

.dropdown-menu {
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
}

.containercenter {
    display: flex;
    justify-content: center;
}

.search-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.search-input {
    padding-left: 35px;
    flex: 1;
    background-color: white;
}

.search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.position-relative {
    width: 100%;
}

.comcolor {
    color: white;
    text-align: left;
}

a {
    color: #0C2B8E;
    text-decoration: none;
}

.btn {
    background-color: #6BF2D2 !important;
}

.titels {
    color: white;
}

.bgborder {
    border: 1px solid white;
    background-color: #131F3B;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    padding: 50px 0;
    height: auto;
}

.bgborderone {
    border: 1px solid #131F3B;
    padding: 50px 0;
    height: auto;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 18px 50px -10px;
    color: #131F3B;
}

.bgborderone h5 {
    color: #131F3B;
}

.bigborderone {
    background-color: #cbe4f9 !important;
}

.contact {
    border: 1px solid #0C2B8E;
    width: 100%;
    padding: 13px;
    border-radius: 36px;
}

.contact:hover {
    background-color: #0C2B8E;
    color: white;
}

.imglist {
    background-color: #131F3B;
    height: 50px;
    width: 50px;
    border-radius: 5px;
    object-fit: contain;
}

.imghadding h5 {
    color: black;
    font-weight: 100;
}

.bgcols {
    background: linear-gradient(110deg, #131F3B 60%, #6BF2D2 60%);
}

input::placeholder {
    color: rgb(17, 16, 16);
    font-style: italic;
    opacity: 1;
}

#searchBar {
    border: 1px solid #000000 !important;
    padding-inline-start: 30px !important;
    color: black;
    background-color: white;
}

.faq-answers {
    padding-left: 20px;
    padding-right: 20px;
    text-align: start;
}

.item-center-custom {
    align-items: center !important;
}

.hidden {
    display: none;
}

.align-start-gap-20 {
    align-items: flex-start !important;
    gap: 20px !important;
}

.logo-image-size {
    width: 50px;
    height: 50px;
}

/* Accessible interactive card button */
.interactive-card {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.interactive-card:focus-visible {
    outline: 3px solid #6BF2D2;
    outline-offset: 4px;
}

/* Subtle hover state for cards */
.interactive-card .bgborder {
    transition: transform 120ms ease, box-shadow 120ms ease;
}

.interactive-card:hover .bgborder,
.interactive-card:focus-visible .bgborder {
    transform: translateY(-2px);
    box-shadow: rgba(107, 242, 210, 0.35) 0px 8px 20px;
}

/* Left column: vertical theme list */
.faq-theme-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-theme-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(19, 31, 59, 0.15);
    background: #fff;
    border-radius: 10px;
    text-align: left;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.faq-theme-item:hover {
    background: #f7fbff;
    border-color: #0C2B8E;
}

.faq-theme-item:focus-visible {
    outline: 3px solid #6BF2D2;
    outline-offset: 2px;
}

.faq-theme-item[aria-current="true"],
.faq-theme-item.active {
    background: #e9f4ff;
    border-color: #0C2B8E;
    box-shadow: 0 0 0 .15rem rgba(12, 43, 142, .08);
}

.faq-theme-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #131F3B;
    border-radius: 6px;
    overflow: hidden;
}

.faq-theme-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: sepia(0%) saturate(0%) hue-rotate(93deg) brightness(105%) contrast(101%);
}

.faq-theme-label {
    color: #131F3B;
    font-weight: 600;
}

/* Improve CTA button visuals and focus */
.contact-cta {
    font-size: 1.125rem; /* ~18px */
    padding: 14px 24px;
}

.contact-cta:focus-visible {
    outline: 3px solid #0C2B8E;
    outline-offset: 3px;
}

/* Ensure FAQ questions always left-aligned */
.faq-question-btn,
.faq-question-title,
.imghadding,
.imghadding h5,
.imghadding button {
    text-align: left !important;
}

/* Optional: make question button neutral */
.faq-question-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.faq-question-btn:focus-visible {
    outline: 3px solid #6BF2D2;
    outline-offset: 2px;
}

/* Right column: framed Q/A items (mirror left theme list style) */
.faq-qa-item {
    border: 1px solid rgba(19, 31, 59, 0.15);
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 10px;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.faq-qa-item:hover {
    background: #f7fbff;
    border-color: #0C2B8E;
}

.faq-qa-item.active {
    background: #e9f4ff;
    border-color: #0C2B8E;
    box-shadow: 0 0 0 .15rem rgba(12, 43, 142, .08);
}

/* Answer area styling inside framed item */
.faq-qa-answer {
    border-top: 1px solid rgba(19, 31, 59, 0.1);
    padding-top: 10px;
}

/* === Responsive overrides === */

@media (min-width: 576px) {
    .faq-answers {
        padding-left: 50px;
        padding-right: 50px;
    }

    .search-container {
        flex-direction: row;
    }

    .contact {
        width: 280px;
    }
}


@media (min-width: 1200px) {


    .search-container {
        width: 600px;
    }

    .bgborder {
        height: 250px;
    }

    .bgborderone {
        height: 200px;
    }
}


.faq-answers img {
    object-fit: contain !important;
    height: unset !important;
}

/* FAQ Intro section */
.faq-intro {
    background: #ffffff;
    border: 1px solid rgba(19, 31, 59, 0.12);
    border-radius: 12px;
    padding: 16px;
}

.faq-intro-list {
    list-style: none;
    margin: 0;
    padding-left: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.faq-intro-item {
    padding: 10px 12px;
    border: 1px solid rgba(19, 31, 59, 0.10);
    border-radius: 10px;
    background: #fbfdff;
}

.faq-intro-item strong {
    color: #131F3B;
}

@media (min-width: 768px) {
    .faq-intro-list {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* Active option highlight for accessible suggestions */
.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item[aria-selected="true"] {
    background-color: #e9f4ff;
    color: #0C2B8E;
}

/* Privacy note chip to guarantee contrast on gradient backgrounds */
.privacy-note {
    color: #0A0B11 !important; /* dark text */
    background: rgba(255, 255, 255, 0.95); /* nearly solid white */
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 8px 12px;
    display: inline-block;
    max-width: 100%;
}

.privacy-note a {
    color: #0C2B8E !important; /* brand blue for good contrast */
    text-decoration: underline;
}

.privacy-note a:focus-visible {
    outline: 3px solid #6BF2D2;
    outline-offset: 2px;
}
