/* ==========================================================================
   Travel insurance page — same brand palette as flight.css / hotel.css
   (template.css / inner.css): dark navy primary + orange accent.
   ========================================================================== */

:root {
    --first-color: #110e3f;
    --second-color: #f68216;
    --first-color-light: #e7eeff;
}

/* ---- shared "section title" pattern (bullet — heading — bullet) -------- */

.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.title-container h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.first-color {
    color: var(--first-color);
}

.caption-color {
    color: #6c7680;
    font-size: .95rem;
    line-height: 1.9;
}

/* ---- feature strip (سادگی در خرید / صدور آنی / ...) --------------------- */

.insurance-box {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 15px;
}

.insurance-box-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 18px 10px;
}

.img-insurance-section {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background-color: var(--first-color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .2s ease, transform .2s ease;
}

.img-insurance-section i {
    font-size: 1.4rem;
    color: var(--second-color);
}

.insurance-box-section:hover .img-insurance-section {
    background-color: var(--second-color);
    transform: translateY(-3px);
}

.insurance-box-section:hover .img-insurance-section i {
    color: #fff;
}

.insurance-box-section span {
    font-weight: 600;
    font-size: .9rem;
    color: var(--first-color);
}

/* ---- breadcrumb ----------------------------------------------------------- */

.page-title-area {
    background: linear-gradient(135deg, var(--first-color), #241d6b);
}

.page-title-road {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    list-style: none;
}

.page-title-road li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-title-road a {
    text-decoration: none;
    opacity: .9;
}

.page-title-road i {
    font-size: .7rem;
    opacity: .6;
}

/* ---- search widget --------------------------------------------------------- */

.search-box-area {
    max-width: 1200px;
    margin: 0 auto !important;
    padding: 0 15px;
}

.search-box {
    background-color: #fff;
    border: 1px solid #e7e7ef;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(17, 14, 63, .08);
}

.search-box-menu {
    border-bottom: 1px solid #e7e7ef;
}

/* the form wrapper re-uses the ".search-box" class one level deeper —
   neutralize the card styling there so it doesn't nest inside itself */
.search-box.search-box-content {
    background-color: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 12px;
}

.search-box-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 12px 16px;
    border-radius: 14px 14px 0 0;
    color: #6c7680;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.search-box-menu-btn svg {
    flex: 0 0 auto;
}

.search-box-menu-btn svg path,
.search-box-menu-btn svg ellipse {
    transition: fill .2s ease, stroke .2s ease;
}

.search-box-menu-btn:hover {
    background-color: var(--first-color-light);
    color: var(--first-color);
}

.search-box-menu-btn.active {
    background-color: var(--first-color-light);
    color: var(--first-color);
}

.search-box-menu-btn.active svg path,
.search-box-menu-btn.active svg ellipse {
    fill: var(--second-color);
    stroke: var(--second-color);
}

.search-box-content {
    padding: 8px 12px 20px;
}

.search-insurance {
    align-items: end;
    gap: 14px 0;
}

.floating-label {
    position: relative;
    flex: 1 1 220px;
    min-width: 200px;
}

.floating-label .floating-select {
    width: 100%;
    height: 58px;
    border: 1px solid #e7e7ef;
    border-radius: 14px;
    padding: 22px 16px 6px;
    background-color: #fff;
    color: var(--first-color);
    font-weight: 600;
}

.floating-label .floating-select:focus {
    outline: none;
    border-color: var(--first-color-light);
}

.searchbox-item-label {
    position: absolute;
    top: 8px;
    right: 17px;
    margin: 0;
    font-size: .75rem;
    font-weight: 400;
    color: #6c7680;
    pointer-events: none;
}

.select-passengers {
    height: 58px;
    border: 1px solid #e7e7ef;
    border-radius: 14px;
    padding: 6px 16px;
    cursor: pointer;
}

.select-passengers .searchbox-item-label {
    top: 6px;
}

.travellers-count {
    display: flex;
    align-items: baseline;
    gap: 4px;
    padding-top: 16px;
}

.travellers-count #pax {
    font-weight: 700;
    color: var(--first-color);
    font-size: 1.05rem;
}

.travellers-count span:last-child {
    color: #6c7680;
    font-size: .85rem;
}

.btn-search {
    flex: 0 0 auto;
}

@media (min-width: 992px) {
    /* the markup uses Bootstrap's col-lg-1 here, which squeezes the button
       down to 8.3% width — give it real room next to the inputs */
    .search-insurance .btn-search {
        width: 150px !important;
    }
}

.btn-search .btn-primary {
    height: 58px;
    width: 100%;
    margin-top: 0 !important;
    background-color: var(--second-color) !important;
    border-color: var(--second-color) !important;
    border-radius: 14px !important;
    font-weight: 700;
    box-shadow: none !important;
}

.btn-search .btn-primary:hover {
    background-color: #d96d0d !important;
    border-color: #d96d0d !important;
}

.search-box-counter-btn i.first-color {
    color: var(--second-color) !important;
}

/* dropdowns / mobile off-canvas menus — no toggle script wired up yet,
   keep them out of the layout so the search card doesn't overflow */

.travellers-dropdown,
.mobile-modal {
    display: none;
}

/* ---- about insurance -------------------------------------------------------- */

.about-insurance {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 15px 30px;
}

.content-about-insurance {
    margin: 0 !important;
}

.content-about-insurance::after {
    content: "";
    display: block;
    clear: both;
}

.title-insurance i {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--first-color-light);
    color: var(--second-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex: 0 0 auto;
}

.title-insurance h2 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--first-color);
}

.text-about-insurance h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--first-color);
    margin: 22px 0 12px;
}

.text-about-insurance p {
    color: #5c5c5c;
    line-height: 2.1;
}

.img-about-insurance {
    margin-bottom: 15px;
}

.img-about-insurance img {
    width: 100%;
    max-width: 380px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 12px 30px rgba(17, 14, 63, .1);
}

.blue-text {
    color: var(--first-color);
    background-color: var(--first-color-light);
    border-radius: 16px;
    padding: 18px 20px;
    line-height: 2.1;
}

/* ---- price factors ------------------------------------------------------------ */

.price-insurance {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px 40px;
}

.content_price_insuraance {
    flex-wrap: wrap;
    gap: 20px;
}

.content_price_insuraance > div {
    /* override the col-12/col-lg-4 percentage widths so they play nicely
       with the flex gap instead of overflowing the row */
    width: auto !important;
    flex: 1 1 260px;
    max-width: 380px;
    background-color: #fff;
    border: 1px solid #e7e7ef;
    border-radius: 18px;
    padding: 25px 15px 10px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.content_price_insuraance > div:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(17, 14, 63, .08);
}

.vector-in {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background-color: var(--first-color-light);
    justify-content: center;
}

.vector-in i {
    font-size: 1.6rem;
    color: var(--second-color);
}

.vector-in span {
    font-weight: 700;
    color: var(--first-color);
    font-size: .95rem;
}

.content_price_insuraance p {
    color: #6c7680;
    text-align: center !important;
    line-height: 1.9;
}

/* ---- Q&A accordion -------------------------------------------------------- */

.q-a-area-insurance {
    padding: 10px 0 50px;
}

.q-a {
    max-width: 900px;
    padding: 0 15px;
}

.q-a-head {
    margin-bottom: 25px;
}

.accordion-item {
    background-color: #fff;
    border: 1px solid #e7e7ef;
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 20px;
    cursor: pointer;
}

.accordion-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--first-color);
}

.accordion-header hr {
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    margin: 0;
    border: none;
    border-left: 2px solid var(--second-color);
    border-bottom: 2px solid var(--second-color);
    transform: rotate(-45deg);
    transition: transform .2s ease;
}

.accordion-header.active hr {
    transform: rotate(135deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
}

.accordion-header.active + .accordion-content {
    max-height: 400px;
}

.accordion-content .content {
    padding: 0 20px 18px;
}

.accordion-content .content p {
    margin: 0;
    color: #5c5c5c;
    line-height: 1.9;
}

/* ---- responsive ------------------------------------------------------------ */

@media (max-width: 991.98px) {
    .img-about-insurance {
        display: flex;
        justify-content: center !important;
        float: none !important;
        margin: 0 auto 20px !important;
    }

    .col-lg-5.float-start,
    .col-lg-5.float-end {
        float: none !important;
        width: 100%;
    }

    .content_price_insuraance {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .title-container h3 {
        font-size: 1.2rem;
    }

    .search-box-menu-btn {
        padding: 10px 12px;
        font-size: .8rem;
    }

    .floating-label {
        flex: 1 1 100%;
    }

    .title-insurance h2 {
        font-size: 1.1rem;
    }
}
