/*
============================
Name:  Arva
Version: 1.0.0
Description: Arva - Modern Business Consulting HTML Template
Author: Vikiglab
Author URI: https://themeforest.net/user/vikinglab/portfolio
Location:
============================
*/

/* =========================================
   Custom Chatbox Styles
========================================= */
.arva-chatbox-container {
    position: fixed;
    bottom: 110px;
    right: 30px;
    z-index: 99;
    font-family: inherit;
}
.arva-chatbox-btn::after {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    left: 30px;
    top: 30px;
    border-radius: 50%;
    background: var(--ztc-bg-bg-3);
    animation: pulse-border 1500ms ease-out infinite;
    opacity: 40%;
    z-index: -1;

}

.arva-chatbox-btn {
    width: 60px;
    height: 60px;
    position: relative;
    background-color: var(--ztc-bg-bg-3);
    color: var(--ztc-text-text-1);
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            -webkit-justify-content: center;
               -moz-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            -webkit-align-items: center;
               -moz-box-align: center;
            align-items: center;
    -webkit-box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    font-size: 24px;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.arva-chatbox-btn:hover {
    -webkit-transform: scale(1.05);
        -ms-transform: scale(1.05);
            -o-transform: scale(1.05);
       transform: scale(1.05);
    background-color: var(--ztc-bg-bg-3);
}

.arva-chatbox-btn .fa-xmark {
    display: none;
}

.arva-chatbox-container.open .arva-chatbox-btn .fa-comment-dots {
    display: none;
}

.arva-chatbox-container.open .arva-chatbox-btn .fa-xmark {
    display: block;
}

.arva-chatbox-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: var(--ztc-bg-bg-1);
    border-radius: 12px;
    -webkit-box-shadow: 0 10px 30px rgba(0,0,0,0.15);
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            -webkit-flex-direction: column;
               -moz-box-orient: vertical;
               -moz-box-direction: normal;
            flex-direction: column;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateY(20px);
        -ms-transform: translateY(20px);
            -o-transform: translateY(20px);
       transform: translateY(20px);
    -webkit-transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -o-transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.arva-chatbox-container.open .arva-chatbox-window {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            -o-transform: translateY(0);
       transform: translateY(0);
    pointer-events: all;
}

.arva-chatbox-header {
    background-color: var(--ztc-bg-bg-3);
    color: var(--ztc-text-text-1);
    padding: 18px 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            -webkit-align-items: center;
               -moz-box-align: center;
            align-items: center;
}

.arva-chatbox-header h4 {
    margin: 0;
    font-size: var(--ztc-font-size-font-s16);
    font-weight: var(--ztc-weight-semibold);
    color: var(--ztc-text-text-1);
}

.arva-chatbox-header h2 {
    margin: 0;
    font-size: var(--ztc-font-size-font-s16);
    font-weight: var(--ztc-weight-semibold);
    color: var(--ztc-text-text-1);
}

.arva-chatbox-header p {
    margin: 4px 0 0;
    font-size: var(--ztc-font-size-font-s12);
    opacity: 0.8;
}

.arva-chatbox-body {
    padding: 20px;
    height: 300px;
    overflow-y: auto;
    background-color: #f9f9fc;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            -webkit-flex-direction: column;
               -moz-box-orient: vertical;
               -moz-box-direction: normal;
            flex-direction: column;
    gap: 15px;
}

.chat-message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.chat-message.bot {
    background-color: #e2e8f0;
    color: var(--ztc-text-text-3);
    -ms-flex-item-align: start;
        -webkit-align-self: flex-start;
            align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-message.user {
    background-color: var(--ztc-bg-bg-3);
    color: var(--ztc-text-text-1);
    -ms-flex-item-align: end;
        -webkit-align-self: flex-end;
            align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.arva-chatbox-footer {
    padding: 15px;
    background: var(--ztc-text-text-1);
    border-top: 1px solid #eee;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    gap: 10px;
}

.arva-chatbox-footer input {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            -webkit-flex: 1;
               -moz-box-flex: 1;
            flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 14px;
    outline: none;
    -webkit-transition: border 0.3s;
    -o-transition: border 0.3s;
    transition: border 0.3s;
}

.arva-chatbox-footer input:focus {
    border-color: var(--ztc-bg-bg-3);
}

.arva-chatbox-footer button {
    background: var(--ztc-bg-bg-3);
    color: var(--ztc-text-text-1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            -webkit-justify-content: center;
               -moz-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            -webkit-align-items: center;
               -moz-box-align: center;
            align-items: center;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.arva-chatbox-footer button:hover {
    background: var(--ztc-bg-bg-2);
}

/* =========================================
   Text wordmark logo (interim, until the Fintopia
   logo image is supplied and dropped into assets/img/logo)
========================================= */
.fintopia-wordmark {
    font-family: 'Instrument Serif', serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1;
    letter-spacing: .3px;
    color: #1c2350;
    display: inline-block;
    text-decoration: none;
}
.fintopia-wordmark span {
    display: block;
    font-family: 'Mulish', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #56af87;
    margin-top: 3px;
}

/* =========================================
   Inner pages: transparent header over the dark green
   breadcrumb banner — force header content to light so it
   is readable. Reverts to dark automatically when the header
   becomes sticky (white background) on scroll.

   Scoped to desktop (>=1200px) only: below that the menu
   collapses to a white bar with a hamburger, where the logo
   must stay dark to remain visible.
========================================= */
@media (min-width: 1200px) {
    body.body_color1 #vl-header-sticky:not(.header-sticky) .vl-main-menu ul > li > a,
    body.body_color1 #vl-header-sticky:not(.header-sticky) .vl-main-menu ul > li > a.nav-link {
        color: #ffffff;
    }
    body.body_color1 #vl-header-sticky:not(.header-sticky) .vl-main-menu ul > li:hover a,
    body.body_color1 #vl-header-sticky:not(.header-sticky) .vl-main-menu ul > li > a.nav-link.active {
        color: #8fd4b0; /* Growth Green accent on hover */
    }
    /*body.body_color1 #vl-header-sticky:not(.header-sticky) .vl-logo img {
        filter: brightness(0) invert(1); !* white logo on dark banner *!
    }*/
    body.body_color1 #vl-header-sticky:not(.header-sticky) .vl-logo .fintopia-wordmark,
    body.body_color1 #vl-header-sticky:not(.header-sticky) .vl-logo .fintopia-wordmark span {
        color: #ffffff !important; /* white text wordmark on dark banner */
    }
    body.body_color1 #vl-header-sticky:not(.header-sticky) .header__search a,
    body.body_color1 #vl-header-sticky:not(.header-sticky) .search-icon a,
    body.body_color1 #vl-header-sticky:not(.header-sticky) .search-icon a i {
        color: #ffffff;
    }
    body.body_color1 #vl-header-sticky:not(.header-sticky) .search-icon a svg path {
        stroke: #ffffff;
    }
}
/* =========================================
   About "Our Values" icon boxes — white icons,
   equal-height cards, aligned titles
========================================= */
.about_h1_icons_boxarea .row { display: flex; flex-wrap: wrap; }
.about_h1_icons_boxarea .row > [class*="col-"] { display: flex; margin-bottom: 24px; }
.about_h1_icons_boxarea .about_icons_content_box { width: 100%; height: 100%; }
.about_h1_icons_boxarea .icons_content_h1 { display: flex; align-items: center; gap: 16px; min-height: 70px; }
.about_h1_icons_boxarea .icons_content_h1 h3 { margin: 0; }
.about_h1_icons_boxarea .icons { flex: none; display: flex; align-items: center; justify-content: center; }
.about_h1_icons_boxarea .icons i { color: #ffffff; font-size: 24px; line-height: 1; }

/* =========================================
   Testimonial preview grids (About / Service) — equal-height cards
========================================= */
.bu_testimonial_section_area .row,
.bu_testimonial_section_area_2 .row { display: flex; flex-wrap: wrap; }
.bu_testimonial_section_area .row > [class*="col-"],
.bu_testimonial_section_area_2 .row > [class*="col-"] { display: flex; margin-bottom: 24px; }
.bu_testimonial_section_area .bu_testimonial_boxarea,
.bu_testimonial_section_area_2 .bu_testimonial_boxarea {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
}
.bu_testimonial_section_area .bu_testimonial_boxarea .content_area,
.bu_testimonial_section_area_2 .bu_testimonial_boxarea .content_area { margin-top: auto; }

/* =========================================
   Founder credentials grid (About page)
========================================= */
.founder_creds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 20px; }
.founder_creds .fc_item {
    background: #f6f8fc; border: 1px solid #e6e9f5; border-radius: 12px;
    padding: 12px 16px; display: flex; flex-direction: column; gap: 2px;
}
.founder_creds .fc_item span { font-size: 12px; color: #8a93a6; letter-spacing: .3px; }
.founder_creds .fc_item strong { font-size: 16px; color: #1c2350; font-weight: 700; }
@media (max-width: 575px){ .founder_creds { grid-template-columns: 1fr; } }

/* =========================================
   Fintopia logo image (replaces the interim text wordmark).
   Stacked logo sized for readability in each context.
========================================= */
/* Header logo */
.vl-logo a { display: inline-block; line-height: 0; }
.homepage10-body .vl-transparent-header .vl-logo img,
.vl-logo img {
    width: auto;
    height: 100%;
    max-width: 260px;
    object-fit: contain;
    transition: filter .3s ease;
}
@media (max-width: 767px) {
    .homepage10-body .vl-transparent-header .vl-logo img,
    .vl-logo img { height: 46px; }
}

/* Mobile slide-out (offcanvas) menu has a blue background:
   render the logo white so it stays legible. */
.vl-offcanvas-logo a { display: inline-block; line-height: 0; }
.vl-offcanvas-logo img {
    width: auto;
    height: 50px;
    max-width: 170px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Footer sits on a light background: keep the logo full-colour. */
.vl-footer-logo a { display: inline-block; line-height: 0; }
.vl-footer-logo img {
    width: auto;
    height: 68px;
    max-width: 300px;
    object-fit: contain;
}

/* FAQ accordion: gap between the number and the question text */
.faq-details-widget .accordion-button .number {
    margin-right: 12px;
    display: inline-block;
}
