/* ============================================================
   home-pro.css — professional redesign for the Home page and the
   Gallery / Videos pages. Every class here is prefixed "rn-" so
   nothing in the older theme (style.css, theme-brand.css, the
   inline styles in _Layout.cshtml) is affected.
   Palette comes from the Kurian Thomas logo (blue #07346b + orange #fd7306); --rn-teal = blue, --rn-green = orange.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&display=swap');

:root {
    --rn-teal: #07346b;
    --rn-teal-dark: #052a56;
    --rn-teal-deep: #031a38;
    --rn-green: #fd7306;
    --rn-green-dark: #d95f00;
    --rn-ink: #14213a;
    --rn-muted: #5b6577;
    --rn-line: #e3e8f0;
    --rn-soft: #f4f6fa;
    --rn-radius: 14px;
    --rn-shadow: 0 10px 30px rgba(3, 26, 56, .08);
    --rn-shadow-hover: 0 20px 44px rgba(7, 52, 107, .18);
    --rn-head: 'Poppins', 'Lato', sans-serif;
}

/* ---------- generic section scaffolding ---------- */
.rn-section { padding: 90px 0; position: relative; }
.rn-section.rn-soft { background: var(--rn-soft); }
.rn-section.rn-dark { background: var(--rn-teal-deep); color: #fff; }

.rn-head { max-width: 680px; margin: 0 auto 50px; text-align: center; }
.rn-head.rn-left { margin-left: 0; text-align: left; }
.rn-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font: 600 13px/1 var(--rn-head); letter-spacing: 2px; text-transform: uppercase;
    color: var(--rn-green); margin-bottom: 14px;
}
.rn-eyebrow:before { content: ""; width: 28px; height: 2px; background: currentColor; }
.rn-head h2 {
    margin: 0 0 14px; font: 700 34px/1.25 var(--rn-head); color: var(--rn-ink);
}
.rn-head h2 span { color: var(--rn-teal); }
.rn-head p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--rn-muted); }
.rn-dark .rn-head h2 { color: #fff; }
.rn-dark .rn-head h2 span { color: var(--rn-green); }
.rn-dark .rn-head p { color: rgba(255, 255, 255, .72); }

/* ---------- buttons ---------- */
.rn-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px; border-radius: 50px; border: 2px solid transparent;
    font: 600 14px/1 var(--rn-head); letter-spacing: .3px;
    text-decoration: none !important; cursor: pointer;
    transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.rn-btn-primary { background: var(--rn-teal); color: #fff !important; box-shadow: 0 8px 20px rgba(7, 52, 107, .25); }
.rn-btn-primary:hover { background: var(--rn-teal-dark); transform: translateY(-2px); }
.rn-btn-accent { background: var(--rn-green); color: #fff !important; box-shadow: 0 8px 20px rgba(253, 115, 6, .3); }
.rn-btn-accent:hover { background: var(--rn-green-dark); transform: translateY(-2px); }
.rn-btn-ghost { border-color: var(--rn-teal); color: var(--rn-teal) !important; background: transparent; }
.rn-btn-ghost:hover { background: var(--rn-teal); color: #fff !important; }
.rn-btn-light { border-color: rgba(255, 255, 255, .6); color: #fff !important; background: transparent; }
.rn-btn-light:hover { background: #fff; color: var(--rn-teal) !important; border-color: #fff; }
.rn-cta-row { margin-top: 44px; text-align: center; }

/* ---------- news ticker ---------- */
.rn-ticker { background: var(--rn-teal); color: #fff; }
.rn-ticker .container { display: flex; align-items: center; min-height: 54px; }
.rn-ticker-label {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 16px; margin-right: 18px; border-radius: 30px;
    background: var(--rn-green); font: 600 12px/1 var(--rn-head); letter-spacing: 1px; text-transform: uppercase;
}
.rn-ticker marquee { flex: 1 1 auto; font-size: 15px; }
.rn-ticker marquee a { color: #fff !important; text-decoration: none; }
.rn-ticker marquee a:hover { color: #ffe0c4 !important; }
.rn-ticker .rn-sep { margin: 0 18px; color: rgba(255, 255, 255, .45); }

/* ---------- welcome / intro ---------- */
.rn-intro-media { position: relative; padding: 0 30px 30px 0; }
.rn-intro-media img { width: 100%; max-height: 560px; object-fit: cover; object-position: top; border-radius: var(--rn-radius); box-shadow: var(--rn-shadow); position: relative; z-index: 1; }
.rn-intro-media:before {
    content: ""; position: absolute; right: 0; bottom: 0; width: 70%; height: 70%;
    border-radius: var(--rn-radius); background: var(--rn-teal);
}
.rn-intro-badge {
    position: absolute; left: -10px; bottom: 60px; z-index: 2;
    display: flex; align-items: center; gap: 12px; padding: 14px 20px;
    background: #fff; border-radius: 12px; box-shadow: var(--rn-shadow);
}
.rn-intro-badge i { font-size: 28px; color: var(--rn-green); }
.rn-intro-badge strong { display: block; font: 600 15px/1.2 var(--rn-head); color: var(--rn-ink); }
.rn-intro-badge small { color: var(--rn-muted); font-size: 13px; }
.rn-intro-text p { color: var(--rn-muted); font-size: 16px; line-height: 1.8; }
.rn-checks { margin: 24px 0 30px; padding: 0; list-style: none; }
.rn-checks li { position: relative; padding-left: 34px; margin-bottom: 14px; color: var(--rn-ink); font-weight: 600; }
.rn-checks li:before {
    content: "\f00c"; font-family: FontAwesome; position: absolute; left: 0; top: 1px;
    width: 22px; height: 22px; border-radius: 50%; background: rgba(253, 115, 6, .15); color: var(--rn-green);
    font-size: 11px; line-height: 22px; text-align: center;
}
.rn-btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- highlight strip ---------- */
.rn-strip { margin-top: 50px; position: relative; z-index: 5; }
.rn-strip-inner {
    display: flex; flex-wrap: wrap; background: #fff; border-radius: var(--rn-radius);
    box-shadow: 0 18px 40px rgba(3, 26, 56, .12); overflow: hidden;
}
.rn-strip-item { flex: 1 1 25%; display: flex; gap: 16px; align-items: flex-start; padding: 28px 26px; border-right: 1px solid var(--rn-line); }
.rn-strip-item:last-child { border-right: 0; }
.rn-strip-item i {
    flex: 0 0 48px; width: 48px; height: 48px; border-radius: 12px; line-height: 48px; text-align: center;
    font-size: 20px; color: #fff; background: var(--rn-teal); transition: background .3s ease;
}
.rn-strip-item h4 { margin: 2px 0 4px; font: 600 16px/1.3 var(--rn-head); color: var(--rn-ink); }
.rn-strip-item p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--rn-muted); }
.rn-strip-item:hover i { background: var(--rn-green); }

/* ---------- equal-height card rows ---------- */
.rn-row-flex { display: flex; flex-wrap: wrap; }
.rn-row-flex > [class*="col-"] { display: flex; margin-bottom: 30px; }
.rn-row-flex > [class*="col-"] > * { width: 100%; }
/* Bootstrap 3 .row clearfix pseudo-elements become stray flex items in some browsers */
.rn-row-flex:before, .rn-row-flex:after { display: none; }
.rn-row-flex.rn-row-center { align-items: center; }
.rn-row-flex.rn-row-center > [class*="col-"] { display: block; margin-bottom: 0; }

/* ---------- service cards (What We Do) ---------- */
.rn-service {
    position: relative; padding: 36px 30px 30px; background: #fff; border: 1px solid var(--rn-line);
    border-radius: var(--rn-radius); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; overflow: hidden;
}
.rn-service:after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
    background: var(--rn-green); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.rn-service:hover { transform: translateY(-6px); box-shadow: var(--rn-shadow-hover); border-color: transparent; }
.rn-service:hover:after { transform: scaleX(1); }
.rn-service-icon {
    width: 64px; height: 64px; border-radius: 16px; margin-bottom: 22px; line-height: 64px; text-align: center;
    font-size: 26px; color: var(--rn-teal); background: rgba(7, 52, 107, .08); transition: background .3s ease, color .3s ease;
}
.rn-service:hover .rn-service-icon { background: var(--rn-teal); color: #fff; }
.rn-service h3 { margin: 0 0 10px; font: 600 20px/1.3 var(--rn-head); }
.rn-service h3 a { color: var(--rn-ink); text-decoration: none; }
.rn-service h3 a:hover { color: var(--rn-teal); }
.rn-service p { margin: 0 0 18px; color: var(--rn-muted); font-size: 15px; line-height: 1.7; }
.rn-link { font: 600 14px/1 var(--rn-head); color: var(--rn-teal) !important; text-decoration: none !important; }
.rn-link i { margin-left: 6px; transition: margin .25s ease; }
.rn-link:hover i { margin-left: 10px; }

/* ---------- image cards (Other Services) ---------- */
.rn-imgcard { background: #fff; border-radius: var(--rn-radius); overflow: hidden; box-shadow: var(--rn-shadow); transition: transform .3s ease, box-shadow .3s ease; display: flex; flex-direction: column; }
.rn-imgcard:hover { transform: translateY(-6px); box-shadow: var(--rn-shadow-hover); }
.rn-imgcard-media { position: relative; height: 220px; overflow: hidden; }
.rn-imgcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.rn-imgcard:hover .rn-imgcard-media img { transform: scale(1.07); }
.rn-imgcard-tag {
    position: absolute; left: 18px; top: 18px; padding: 6px 12px; border-radius: 30px;
    background: rgba(255, 255, 255, .92); color: var(--rn-teal); font: 600 11px/1 var(--rn-head); letter-spacing: 1px; text-transform: uppercase;
}
.rn-imgcard-body { padding: 26px 26px 28px; flex: 1 1 auto; display: flex; flex-direction: column; }
.rn-imgcard-body h3 { margin: 0 0 10px; font: 600 20px/1.3 var(--rn-head); color: var(--rn-ink); }
.rn-imgcard-body p { flex: 1 1 auto; margin: 0 0 18px; color: var(--rn-muted); font-size: 15px; line-height: 1.7; }

/* ---------- video cards (Home + Videos page) ---------- */
.rn-video {
    background: #fff; border-radius: var(--rn-radius); overflow: hidden; box-shadow: var(--rn-shadow);
    transition: transform .3s ease, box-shadow .3s ease; display: flex; flex-direction: column;
}
.rn-video:hover { transform: translateY(-6px); box-shadow: var(--rn-shadow-hover); }
.rn-video-thumb { position: relative; display: block; padding-top: 56.25%; overflow: hidden; background: #061226; }
.rn-video-thumb img { position: absolute; inset: 0; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s ease; }
.rn-video-thumb:after { content: ""; position: absolute; inset: 0; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(3, 26, 56, .65) 100%); }
.rn-video:hover .rn-video-thumb img { transform: scale(1.06); }
.rn-play {
    position: absolute; left: 50%; top: 50%; z-index: 2; width: 66px; height: 66px; margin: -33px 0 0 -33px;
    border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--rn-teal);
    display: flex; align-items: center; justify-content: center; font-size: 22px; padding-left: 4px;
    box-shadow: 0 0 0 10px rgba(255, 255, 255, .22); transition: transform .3s ease, background .3s ease, color .3s ease;
}
.rn-video:hover .rn-play { transform: scale(1.1); background: var(--rn-green); color: #fff; }
.rn-video-body { padding: 20px 22px 22px; flex: 1 1 auto; display: flex; flex-direction: column; }
.rn-video-body h4 { margin: 0 0 8px; font: 600 16px/1.45 var(--rn-head); color: var(--rn-ink); }
.rn-video-body p { margin: 0 0 12px; font-size: 14px; line-height: 1.6; color: var(--rn-muted); }
.rn-video-meta { margin-top: auto; font-size: 13px; color: var(--rn-muted); }
.rn-video-meta i { color: #e62117; margin-right: 6px; }

/* ---------- gallery tiles (Home + Gallery page) ---------- */
.rn-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rn-gallery-grid.rn-gallery-3 { grid-template-columns: repeat(3, 1fr); }
.rn-tile { position: relative; display: block; border-radius: var(--rn-radius); overflow: hidden; aspect-ratio: 4 / 3; background: #dfe5ee; box-shadow: var(--rn-shadow); }
.rn-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.rn-tile-overlay {
    position: absolute; inset: 0; top: 0; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; justify-content: flex-end;
    padding: 18px 20px; background: linear-gradient(180deg, rgba(3, 26, 56, 0) 35%, rgba(3, 26, 56, .88) 100%);
    opacity: 0; transition: opacity .35s ease;
}
.rn-tile-overlay h4 { margin: 0; color: #fff; font: 600 15px/1.4 var(--rn-head); transform: translateY(10px); transition: transform .35s ease; }
.rn-tile-zoom {
    position: absolute; right: 16px; top: 16px; width: 42px; height: 42px; border-radius: 50%;
    background: #fff; color: var(--rn-teal); text-align: center; line-height: 42px; font-size: 16px;
    transform: scale(.6); opacity: 0; transition: transform .35s ease, opacity .35s ease;
}
.rn-tile:hover img, .rn-tile:focus img { transform: scale(1.08); }
.rn-tile:hover .rn-tile-overlay, .rn-tile:focus .rn-tile-overlay { opacity: 1; }
.rn-tile:hover .rn-tile-overlay h4 { transform: none; }
.rn-tile:hover .rn-tile-zoom, .rn-tile:focus .rn-tile-zoom { transform: none; opacity: 1; }
.rn-dark .rn-tile { box-shadow: none; background: rgba(255, 255, 255, .06); }

/* ---------- empty states ---------- */
.rn-empty { padding: 60px 20px; text-align: center; color: var(--rn-muted); border: 2px dashed var(--rn-line); border-radius: var(--rn-radius); }
.rn-empty i { display: block; margin-bottom: 14px; font-size: 44px; color: rgba(7, 52, 107, .25); }
.rn-dark .rn-empty { color: rgba(255, 255, 255, .7); border-color: rgba(255, 255, 255, .15); }
.rn-dark .rn-empty i { color: rgba(255, 255, 255, .3); }

/* ---------- testimonials ---------- */
.rn-quote { max-width: 820px; margin: 0 auto; padding: 46px 50px 40px; background: #fff; border-radius: var(--rn-radius); box-shadow: var(--rn-shadow); text-align: center; position: relative; }
.rn-quote-mark { font-size: 40px; color: rgba(253, 115, 6, .35); margin-bottom: 10px; }
.rn-quote p { font-size: 17px; line-height: 1.8; color: var(--rn-ink); font-style: italic; margin: 0 0 26px; }
.rn-quote-author { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.rn-quote-author img { width: 58px !important; height: 58px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(7, 52, 107, .15); }
.rn-quote-author h5 { margin: 0; font: 600 16px/1.3 var(--rn-head); color: var(--rn-ink); }
.rn-quote-author small { color: var(--rn-green); font-weight: 600; }
.rn-testimonials .owl-theme .owl-dots { margin-top: 26px !important; }
.rn-testimonials .owl-theme .owl-dots .owl-dot span { width: 10px; height: 10px; background: #cdd6e3; transition: width .3s ease; }
.rn-testimonials .owl-theme .owl-dots .owl-dot.active span { width: 28px; background: var(--rn-teal); }
.rn-testimonials .owl-stage-outer { padding: 10px 0 30px; }

/* ---------- invest / feature split ---------- */
.rn-invest-card { background: #fff; border-radius: var(--rn-radius); padding: 30px; box-shadow: var(--rn-shadow); text-align: center; }
.rn-invest-card img { max-width: 100%; }

/* ---------- consult CTA band ---------- */
.rn-consult { padding: 70px 0; background: linear-gradient(120deg, var(--rn-teal-deep) 0%, var(--rn-teal) 100%); color: #fff; position: relative; overflow: hidden; }
.rn-consult:before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.rn-consult .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.rn-consult h2 { margin: 0 0 8px; font: 700 30px/1.3 var(--rn-head); color: #fff; }
.rn-consult p { margin: 0; color: rgba(255, 255, 255, .8); font-size: 16px; }

/* ---------- inner page hero (Gallery / Videos) ---------- */
.rn-page-hero { padding: 80px 0 70px; text-align: center; color: #fff; background: linear-gradient(120deg, var(--rn-teal-deep), var(--rn-teal)); position: relative; overflow: hidden; }
.rn-page-hero:after { content: ""; position: absolute; left: -100px; bottom: -160px; width: 380px; height: 380px; border-radius: 50%; background: rgba(255, 255, 255, .05); }
.rn-page-hero h1 { margin: 0 0 10px; font: 700 40px/1.2 var(--rn-head); color: #fff; }
.rn-page-hero p { margin: 0 auto; max-width: 600px; color: rgba(255, 255, 255, .8); font-size: 16px; }
.rn-crumb { margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.rn-crumb a { color: #fff !important; }
.rn-crumb span { margin: 0 8px; }
.rn-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 34px; }
.rn-count { font: 600 14px/1 var(--rn-head); color: var(--rn-muted); }
.rn-count strong { color: var(--rn-teal); font-size: 18px; margin-right: 4px; }
.rn-toolbar #shareIcons { padding: 0 !important; }

/* ---------- Power-of-compounding heading tweak ---------- */
.rn-poc-head { padding-top: 60px; }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
    .rn-strip-item { flex-basis: 50%; }
    .rn-strip-item:nth-child(2) { border-right: 0; }
    .rn-strip-item:nth-child(-n+2) { border-bottom: 1px solid var(--rn-line); }
}
@media (max-width: 991px) {
    .rn-section { padding: 70px 0; }
    .rn-row-flex.rn-row-center > [class*="col-"] { width: 100%; }
    .rn-head h2 { font-size: 28px; }
    .rn-gallery-grid, .rn-gallery-grid.rn-gallery-3 { grid-template-columns: repeat(2, 1fr); }
    .rn-intro-media { margin-bottom: 50px; }
    .rn-consult .container { flex-direction: column; text-align: center; }
    .rn-quote { padding: 36px 26px 30px; }
}
@media (max-width: 767px) {
    .rn-section { padding: 56px 0; }
    .rn-head { margin-bottom: 34px; }
    .rn-head h2 { font-size: 24px; }
    .rn-strip { margin-top: 30px; }
    .rn-strip-item { flex-basis: 100%; border-right: 0; border-bottom: 1px solid var(--rn-line); }
    .rn-strip-item:last-child { border-bottom: 0; }
    .rn-ticker-label span { display: none; }
    .rn-page-hero { padding: 56px 0 50px; }
    .rn-page-hero h1 { font-size: 30px; }
    .rn-consult h2 { font-size: 24px; }
    .rn-intro-badge { left: 10px; bottom: 40px; }
}
@media (max-width: 480px) {
    .rn-gallery-grid, .rn-gallery-grid.rn-gallery-3 { grid-template-columns: 1fr; }
    .rn-btn { padding: 13px 22px; }
}

/* ============================================================
   Power of Compounding calculator (Home page)
   Blue = money you put in, orange = growth it earns.
   ============================================================ */
.rn-poc-card {
    background: #fff; border: 1px solid var(--rn-line); border-radius: 20px;
    box-shadow: 0 24px 50px rgba(3, 26, 56, .08); overflow: hidden;
}
.rn-poc-card > .row { margin: 0; }
.rn-poc-row { display: flex; flex-wrap: wrap; }
.rn-poc-row:before, .rn-poc-row:after { display: none; }
.rn-poc-row > [class*="col-"] { float: none; width: 100%; }
@media (min-width: 992px) {
    .rn-poc-row > .rn-poc-inputs { width: 58.3333%; }
    .rn-poc-row > .rn-poc-result { width: 41.6667%; }
}
.rn-poc-inputs { padding: 40px 44px 30px; }
.rn-poc-result {
    padding: 40px 36px; background: var(--rn-soft); border-left: 1px solid var(--rn-line);
    display: flex; flex-direction: column; align-items: center; text-align: center;
}

/* --- input rows --- */
.rn-poc-field { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px dashed var(--rn-line); }
.rn-poc-field:last-child { margin-bottom: 0; border-bottom: 0; padding-bottom: 0; }
.rn-poc-label { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 6px; }
.rn-poc-label > span { display: flex; align-items: center; gap: 12px; font: 600 15px/1.3 var(--rn-head); color: var(--rn-ink); }
.rn-poc-label > span i {
    width: 36px; height: 36px; border-radius: 10px; line-height: 36px; text-align: center;
    font-size: 15px; color: var(--rn-teal); background: rgba(7, 52, 107, .08);
}
.rn-poc-value {
    display: inline-flex; align-items: center; gap: 4px; padding: 7px 14px; min-width: 120px; justify-content: flex-end;
    background: var(--rn-soft); border: 1px solid var(--rn-line); border-radius: 10px;
    font: 600 16px/1 var(--rn-head); color: var(--rn-teal);
}
.rn-poc-value input {
    width: 90px; border: 0; padding: 0; margin: 0; background: transparent; outline: none; box-shadow: none;
    font: 600 16px/1.2 var(--rn-head); color: var(--rn-teal); text-align: right;
    -webkit-text-fill-color: var(--rn-teal); opacity: 1; -moz-appearance: textfield;
}
.rn-poc-value input::-webkit-outer-spin-button,
.rn-poc-value input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rn-poc-value.is-short input { width: 34px; }
.rn-poc-value.is-money { border-color: rgba(7, 52, 107, .35); background: #fff; }
.rn-poc-value.is-money:focus-within { border-color: var(--rn-teal); box-shadow: 0 0 0 3px rgba(7, 52, 107, .12); }
.rn-poc-value small { font: 500 13px/1 var(--rn-head); color: var(--rn-muted); margin-left: 2px; }

/* --- ion range slider re-skin (overrides the sprite-based flat skin) --- */
.rn-poc .irs { height: 54px; font-family: var(--rn-head); }
.rn-poc .irs-line { top: 32px; height: 6px; border: 0; border-radius: 6px; background: var(--rn-line); }
.rn-poc .irs-line span, .rn-poc .irs-line-left, .rn-poc .irs-line-mid, .rn-poc .irs-line-right { background: none; height: 6px; }
.rn-poc .irs-bar, .rn-poc .irs-bar-edge { top: 32px; height: 6px; border: 0; background: var(--rn-teal); }
.rn-poc .irs-bar-edge { border-radius: 6px 0 0 6px; }
.rn-poc .irs-slider {
    top: 24px; width: 22px; height: 22px; border-radius: 50%; cursor: pointer;
    background: #fff; border: 5px solid var(--rn-green); box-shadow: 0 3px 10px rgba(3, 26, 56, .25);
    transition: transform .15s ease;
}
.rn-poc .irs-slider:hover, .rn-poc .irs-slider.state_hover { background: #fff; transform: scale(1.12); }
.rn-poc .irs-single {
    top: 0; padding: 3px 8px; border-radius: 6px; background: var(--rn-teal); color: #fff; font-size: 11px; font-weight: 600;
}
.rn-poc .irs-single:after { border-top-color: var(--rn-teal); }
.rn-poc .irs-min, .rn-poc .irs-max { top: 0; padding: 2px 4px; background: transparent; color: var(--rn-muted); font-size: 11px; }

/* --- results --- */
.rn-poc-chart { position: relative; width: 250px; height: 250px; margin: 0 auto 26px; }
.rn-poc-chart canvas { display: block; width: 250px !important; height: 250px !important; }
.rn-poc-center {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 170px;
    pointer-events: none;
}
.rn-poc-center small { display: block; margin-bottom: 6px; font: 500 12px/1.3 var(--rn-head); letter-spacing: 1px; text-transform: uppercase; color: var(--rn-muted); }
.rn-poc-center strong { display: block; font: 700 22px/1.2 var(--rn-head); color: var(--rn-ink); word-break: break-all; }
.rn-poc-center strong i { font-size: 18px; }

.rn-poc-stats { display: flex; gap: 14px; width: 100%; margin-bottom: 24px; }
.rn-poc-stat {
    flex: 1 1 50%; padding: 14px 16px; background: #fff; border-radius: 12px; border: 1px solid var(--rn-line);
    border-top: 4px solid var(--rn-teal); text-align: left;
}
.rn-poc-stat.is-gain { border-top-color: var(--rn-green); }
.rn-poc-stat small { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font: 500 13px/1.3 var(--rn-head); color: var(--rn-muted); }
.rn-poc-stat small:before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--rn-teal); flex: 0 0 10px; }
.rn-poc-stat.is-gain small:before { background: var(--rn-green); }
.rn-poc-stat strong { display: block; font: 700 18px/1.2 var(--rn-head); color: var(--rn-teal); word-break: break-all; }
.rn-poc-stat.is-gain strong { color: var(--rn-green-dark); }
.rn-poc-cta { justify-content: center; }
.rn-poc-note { margin: 14px 0 0; font-size: 12px; line-height: 1.5; color: var(--rn-muted); }

/* --- "For more details" popup buttons --- */
#exampleModal1 .contactmodal-container { border-radius: 14px; box-shadow: 0 20px 50px rgba(3, 26, 56, .25); background: #fff; }
#exampleModal1 .contactmodal-container h5 { font: 500 15px/1.6 var(--rn-head); color: var(--rn-ink); margin-bottom: 18px; }
#exampleModal1 .contactmodal-container input[type=text] { border-radius: 8px; border: 1px solid var(--rn-line); }
#exampleModal1 .button a.start-sip { background: var(--rn-green) !important; border-color: var(--rn-green); font-family: var(--rn-head); width: auto; min-width: 110px; }
#exampleModal1 .button a.start-sip:hover { background: var(--rn-teal) !important; border-color: var(--rn-teal); }

@media (max-width: 991px) {
    .rn-poc-result { border-left: 0; border-top: 1px solid var(--rn-line); }
}
@media (max-width: 575px) {
    .rn-poc-inputs { padding: 28px 20px 22px; }
    .rn-poc-result { padding: 30px 18px; }
    .rn-poc-label > span { font-size: 14px; }
    .rn-poc-label > span i { display: none; }
    .rn-poc-value { min-width: 0; padding: 6px 10px; }
    .rn-poc-stats { flex-direction: column; gap: 10px; }
}
