/* =========================================================
   RJR Services custom fixes
   - clearer heading/navigation fonts
   - visible icons in all service/card circles
   - disabled blue cursor dots
   - cookie consent bar
   - contact form feedback
========================================================= */

:root {
    --rjr-heading-font: "Segoe UI", Arial, Helvetica, sans-serif;
    --rjr-body-font: "DM Sans", "Segoe UI", Arial, Helvetica, sans-serif;
    --rjr-dark: #031F3A;
    --rjr-green: #BFDD34;
}

body {
    font-family: var(--rjr-body-font) !important;
}

h1, h2, h3, h4, h5, h6,
.hero_title,
.tv_hero_title,
.hero_title_1,
.section-title h2,
.section-title h3,
.section-title h4,
.section-title h5,
.section-title h6,
.sub-title,
.main-menu ul li a,
.mobile-nav li a,
.single-footer-widget .widget-head h3,
.service-box-items-style-2 .top-box-items h3,
.feature-box-items-2 h4,
.icon-box-items h4,
.icon-box-items h5,
.work-prosec-card-style-3 h3,
.about-feature-icon-box h4 {
    font-family: var(--rjr-heading-font) !important;
    letter-spacing: 0 !important;
    word-spacing: normal !important;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3,
.hero_title,
.tv_hero_title,
.hero_title_1,
.section-title h2 {
    font-weight: 800 !important;
    line-height: 1.15 !important;
    color: inherit;
}

.main-menu ul li a,
.mobile-nav li a {
    font-weight: 700 !important;
}

/* Stop unclear/grey split-text animation from making headings look vague */
.text-anim,
.text-anim *,
.text_invert,
.text_invert *,
.text_invert-2,
.text_invert-2 *,
.title-anim,
.title-anim * {
    font-family: var(--rjr-heading-font) !important;
    background-image: none !important;
    background-size: auto !important;
    background-position: initial !important;
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
    opacity: 1 !important;
}

/* Remove the moving blue cursor dots completely */
.mouseCursor,
.cursor-inner,
.cursor-outer {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Keep icons centered and visible inside circles/cards */
.service-box-items-style-2 .top-box-items .icon,
.service-box-items-style-2 .icon,
.icon-box-items .icon,
.about-feature-icon-box .icon,
.work-prosec-card-style-3 .icon,
.rjr-card-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
}

.service-box-items-style-2 .top-box-items .icon i,
.service-box-items-style-2 .icon i,
.icon-box-items .icon i,
.about-feature-icon-box .icon i,
.work-prosec-card-style-3 .icon i,
.rjr-card-icon i {
    display: inline-block !important;
    font-size: 42px !important;
    line-height: 1 !important;
    color: var(--rjr-green) !important;
}

.service-box-items-style-2:hover .top-box-items .icon i,
.service-box-items-style-2:hover .icon i {
    color: var(--rjr-dark) !important;
}

.icon-box-items .icon:empty::before,
.about-feature-icon-box .icon:empty::before,
.work-prosec-card-style-3 .icon:empty::before {
    content: "\f058";
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    font-size: 38px;
    color: var(--rjr-green);
}

.feature-box-items-2 .rjr-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 0 22px 0;
    background: rgba(191, 221, 52, 0.15);
    border: 1px solid rgba(191, 221, 52, 0.55);
}

.feature-box-items-2 .rjr-card-icon i {
    font-size: 32px !important;
    color: var(--rjr-dark) !important;
}

.form-message {
    display: none;
    width: 100%;
    margin: 0 0 22px;
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: 700;
}

.form-message.success,
.form-message.error {
    display: block;
}

.form-message.success {
    background: rgba(191, 221, 52, 0.18);
    color: #234000;
    border: 1px solid rgba(191, 221, 52, 0.75);
}

.form-message.error {
    background: rgba(220, 53, 69, 0.12);
    color: #842029;
    border: 1px solid rgba(220, 53, 69, 0.35);
}

button[disabled],
.theme-btn[disabled] {
    opacity: 0.75;
    cursor: not-allowed;
}

.rjr-cookie-consent {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px 20px;
    border-radius: 16px;
    background: #031F3A;
    color: #ffffff;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.25);
}

.rjr-cookie-consent.show {
    display: flex;
}

.rjr-cookie-text {
    font-size: 15px;
    line-height: 1.5;
}

.rjr-cookie-accept {
    border: 0;
    border-radius: 999px;
    padding: 11px 20px;
    background: var(--rjr-green);
    color: #031F3A;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
}

.rjr-cookie-accept:hover {
    filter: brightness(0.95);
}

@media (max-width: 767px) {
    .rjr-cookie-consent {
        left: 12px;
        right: 12px;
        bottom: 12px;
        flex-direction: column;
        align-items: flex-start;
    }

    .rjr-cookie-accept {
        width: 100%;
    }
}
