/* Theme color variables & misc overrides */
:root {
    --theme: #4376fb;
}

.contact-us-icon-data {
    color: white;
}

.top-nav-black i {
    margin-left: 8px;
}

/* Footer text color consistency */
.rjc-sec p,
.rjc-2col p,
.rjc-sec-head p,
.rjc-sub {
    color: #222 !important;
}

body .service-details-content p {
    color: #222 !important;
}

body .service-details-content .service-details-items p {
    color: #222 !important;
}

body .service-details-content .row p {
    color: #222 !important;
}

body .service-details-content .ser_all p {
    color: #222 !important;
}
/* Case detail hero: readable text on dark background (case pages only) */
.rjc-wrap .rjc-hero p,
.rjc-wrap .rjc-hero p span,
.rjc-wrap .rjc-hero .rjc-lead,
.rjc-wrap .rjc-hero .rjc-hero-desc,
.rjc-wrap .rjc-hero .rjc-sub {
    color: #EAF0FC !important;
}

.rjc-wrap .rjc-hero p strong,
.rjc-wrap .rjc-hero p b {
    color: #ffffff !important;
}
/* Case hero viz-badge secondary text: brighten on dark badges */
.rjc-wrap .rjc-hero .rjc-viz-badge span {
    color: #C7D4F5 !important;
}
/* Case Project Results module: lighter background, white text (case pages only) */
.rjc-wrap .rjc-results {
    background:
        radial-gradient(620px 320px at 88% -12%, rgba(67,118,251,.32), transparent 62%),
        radial-gradient(520px 280px at -8% 112%, rgba(67,118,251,.20), transparent 55%),
        linear-gradient(135deg, #1F2A44 0%, #2E3D61 48%, #3A4C76 100%) !important;
    position: relative;
    overflow: hidden;
}
.rjc-wrap .rjc-results::after {
    content: '';
    position: absolute;
    top: -45%;
    left: -12%;
    width: 46%;
    height: 190%;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.13) 46%, rgba(255,255,255,.05) 54%, transparent 68%);
    transform: rotate(12deg);
    pointer-events: none;
}
.rjc-wrap .rjc-results > * {
    position: relative;
    z-index: 1;
}

.rjc-wrap .rjc-results .rjc-sub,
.rjc-wrap .rjc-results .rjc-sec-head p {
    color: #FFFFFF !important;
}

.rjc-wrap .rjc-results .rjc-res span {
    color: #C7D2EC !important;
}
/* Case Project Results metric cards: subtle lift */
.rjc-wrap .rjc-results .rjc-res {
    background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.05)) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.18);
}
/* Case detail: professional module rhythm (case pages only) */
.rjc-wrap .rjc-sec {
    margin-bottom: 64px !important;
}

.rjc-wrap .rjc-sec-head {
    margin: 12px 0 40px !important;
}
/* Case detail: in-flow H3 headings need breathing room above */
.rjc-wrap h3 {
    margin-top: 36px !important;
}
/* Case detail: hide the old in-content CTA banner, replaced by the reusable quote section */
.rjc-wrap .rjc-cta-sec {
    display: none !important;
}
/* Case detail: capability cards left-aligned (label + title + desc), compact spacing */
.rjc-wrap .rjc-sol {
    text-align: left;
}
.rjc-wrap .rjc-sol .rjc-sn {
    margin-left: 0;
    margin-right: auto;
}

/* Case detail: keep a proper gap between the capability card grid and the following cutaway block */
.rjc-wrap .rjc-sols + .rjc-2col {
    margin-top: 64px;
}
/* Quote section: two-column layout matching product-page Bootstrap grid
   (g-4 gutter via column padding, identical to Bootstrap col-lg-5/7) */
.rjn-quote-reusable .row.g-4 {
    display: flex;
    flex-wrap: wrap;
    margin-left: -12px;
    margin-right: -12px;
}
.rjn-quote-reusable .row.g-4 > .col-lg-5,
.rjn-quote-reusable .row.g-4 > .col-lg-7 {
    padding-left: 12px;
    padding-right: 12px;
    flex: 0 0 auto;
    max-width: none;
}
.rjn-quote-reusable .row.g-4 > .col-lg-5 { width: 41.6667%; }
.rjn-quote-reusable .row.g-4 > .col-lg-7 { width: 58.3333%; }
@media (max-width: 991px) {
    .rjn-quote-reusable .row.g-4 > .col-lg-5,
    .rjn-quote-reusable .row.g-4 > .col-lg-7 { width: 100%; }
}

/* Case content pages: center section-head kicker labels */
.rjc-kicker {
    display: block !important;
    width: fit-content !important;
    margin: 0 auto 16px !important;
}
/* Case content hero: kicker label stays left-aligned */
.rjc-hero-left .rjc-kicker {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Case content .rjc-sols cards: compact label-to-title spacing (match design) */
.rjc-sols .rjc-sol > p { margin: 0; }
.rjc-sols .rjc-sol > p:empty { display: none; }
.rjc-sols .rjc-sol .rjc-sn { margin-bottom: 6px; }
.rjc-sols .rjc-sol h3 { margin-top: 0 !important; }



/* ===== Modal: compact layout (no scrollbar) ===== */
.rjn-q-modal-card .rjn-quote-reusable {
    padding-top: 24px !important;
    padding-bottom: 30px !important;
}
.rjn-q-modal-card .contact-right-box {
    padding-top: 14px !important;
    padding-bottom: 20px !important;
}
.rjn-q-modal-card .contact-form-items {
    padding-top: 8px !important;
}
.rjn-q-modal-card .contact-form-items h2,
.rjn-q-modal-card .contact-form-items .section-title,
.rjn-q-modal-card .contact-form-items .rjn-q-h2 {
    margin-top: 0 !important;
    margin-bottom: 6px !important;
}
.rjn-q-modal-card .contact-form-items h4,
.rjn-q-modal-card .contact-form-items p.rjn-q-sub,
.rjn-q-modal-card .contact-form-items .rjn-q-sub {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
}
.rjn-q-modal-card .rjn-q-form .row {
    --bs-gutter-y: 12px !important;
    margin-bottom: 0 !important;
}
.rjn-q-modal-card .wpcf7-form-control.wpcf7-text,
.rjn-q-modal-card .wpcf7-form-control.wpcf7-email,
.rjn-q-modal-card .wpcf7-form-control.wpcf7-tel {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}
.rjn-q-modal-card .rjn-upload-drop {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
}
.rjn-q-modal-card .wpcf7-form-control-wrap label.rjn-upload-drop {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
}
.rjn-q-modal-close {
    z-index: 999 !important;
}

/* ===== File drop highlight ===== */
.rjn-upload-drop.rjn-drag-over {
    border-color: #4376fb !important;
    background: #eef4ff !important;
    box-shadow: 0 0 0 3px rgba(67, 118, 251, .14) !important;
}
.rjn-upload-drop.rjn-drag-over .rjn-upload-title {
    color: #4376fb !important;
}
.rjn-upload-status.has-file .rjn-ok-icon {
    display: inline-block !important;
}
/* ===== intlTelInput dropdown refinement ===== */
#rjn-quote-modal .iti__dropdown-content,
.rjn-quote-reusable .iti__dropdown-content {
    border: none;
    background: transparent;
}
#rjn-quote-modal .iti__country-list,
.rjn-quote-reusable .iti__country-list {
    border: 1px solid #dbe5f5 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 32px rgba(31, 60, 120, .16) !important;
    margin-top: 6px !important;
    max-height: 260px !important;
    padding: 6px !important;
    scrollbar-width: thin;
    scrollbar-color: #b9cdf5 transparent;
}
#rjn-quote-modal .iti__country-list::-webkit-scrollbar,
.rjn-quote-reusable .iti__country-list::-webkit-scrollbar {
    width: 6px;
}
#rjn-quote-modal .iti__country-list::-webkit-scrollbar-thumb,
.rjn-quote-reusable .iti__country-list::-webkit-scrollbar-thumb {
    background: #b9cdf5;
    border-radius: 3px;
}
#rjn-quote-modal .iti__country,
.rjn-quote-reusable .iti__country {
    padding: 9px 12px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    color: #1c2333 !important;
    transition: background .15s;
}
#rjn-quote-modal .iti__country:hover,
.rjn-quote-reusable .iti__country:hover {
    background: #eef4ff !important;
}
#rjn-quote-modal .iti__country.iti__highlight,
.rjn-quote-reusable .iti__country.iti__highlight {
    background: #e3edff !important;
}
#rjn-quote-modal .iti__dial-code,
.rjn-quote-reusable .iti__dial-code {
    color: #7a8aa8 !important;
    font-size: 13px !important;
}
#rjn-quote-modal .iti__country.iti__preferred .iti__country-name::after,
.rjn-quote-reusable .iti__country.iti__preferred .iti__country-name::after {
    content: "Common";
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 10px;
    background: #eef4ff;
    color: #4376fb;
    font-size: 11px;
    font-weight: 600;
    vertical-align: 1px;
}
#rjn-quote-modal .iti__search,
.rjn-quote-reusable .iti__search {
    padding: 0 6px 8px !important;
    border-bottom: 1px solid #eef2f9 !important;
    margin-bottom: 6px !important;
}
#rjn-quote-modal .iti__search-input,
.rjn-quote-reusable .iti__search-input {
    width: 100%;
    padding: 8px 12px !important;
    border: 1px solid #dbe5f5 !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    color: #1c2333 !important;
    background: #f7faff !important;
    outline: none !important;
    box-sizing: border-box;
}
#rjn-quote-modal .iti__search-input:focus,
.rjn-quote-reusable .iti__search-input:focus {
    border-color: #4376fb !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(67, 118, 251, .12) !important;
}
#rjn-quote-modal .iti__search-input::placeholder,
.rjn-quote-reusable .iti__search-input::placeholder {
    color: #9aa8c2;
}
#rjn-quote-modal .iti__arrow,
.rjn-quote-reusable .iti__arrow {
    border-top: 4px solid #4376fb !important;
}
/* Case content: Request-a-Quote modal window */
.rjn-q-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    visibility: hidden;
    opacity: 0;
    transition: opacity .25s ease, visibility .25s ease;
}
.rjn-q-modal.rjn-q-open {
    visibility: visible;
    opacity: 1;
}
.rjn-q-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 13, 26, .62);
}
.rjn-q-modal-card {
    position: absolute;
    top: 3%;
    left: 50%;
    transform: translateX(-50%);
    width: min(1020px, 94vw);
    max-height: 94vh;
    overflow-y: auto;
    background: #f2f7ff;
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .38);
}
.rjn-q-modal-card .rjn-quote-reusable {
    border-radius: 18px;
}
.rjn-q-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border: 2px solid #4376fb;
    border-radius: 30px;
    background: #ffffff;
    color: #1c2333;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
    transition: background .2s, color .2s, transform .15s, box-shadow .2s;
}
.rjn-q-modal-close:hover {
    background: #4376fb;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(67, 118, 251, .4);
}
.rjn-q-modal-close svg {
    width: 15px;
    height: 15px;
    flex: none;
}
.rjn-q-modal.rjn-q-open .rjn-quote-reusable .rjn-process,
.rjn-q-modal.rjn-q-open .rjn-quote-reusable .rjn-q-contact {
    /* keep layout compact inside the modal */
}
@media (max-width: 767px) {
    .rjn-q-modal-card { top: 1%; width: 96vw; max-height: 98vh; }
}