/* ==========================================================
   RNI SOLUTIONS
   Enterprise Website 2026
   Homepage Styles - Cleaned 03 Sep 2026
========================================================== */

:root {
    --primary: #0A3D91;
    --secondary: #0F6CBD;
    --accent: #1CB5E0;
    --dark: #0F172A;
    --text: #334155;
    --muted: #64748B;
    --light: #F8FAFC;
    --border: #E2E8F0;
    --radius: 18px;
    --shadow: 0 15px 45px rgba(0, 0, 0, .08);
    --shadow-hover: 0 25px 55px rgba(15, 61, 145, .13);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: var(--text);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    transition: .35s ease;
}

button {
    font-family: inherit;
}

/* ==========================================================
   HEADER
========================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
    transition: box-shadow .3s ease, background .3s ease;
}

.main-header.header-scrolled {
    background: rgba(255, 255, 255, .99);
    box-shadow: 0 8px 28px rgba(15, 23, 42, .10);
}

.navbar {
    padding: 9px 0;
    min-height: 68px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
}

.navbar-brand img {
    width: 128px;
    height: auto;
    max-height: 62px;
    object-fit: contain;
}

.nav-link {
    font-size: 13px;
    font-weight: 600;
    margin-left: 12px;
    color: #1E293B !important;
    position: relative;
}

.nav-link::after {
    transition: transform .25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

.dropdown-menu {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .12);
}

.dropdown-item {
    border-radius: 9px;
    padding: 9px 12px;
    font-size: 13px;
}

.dropdown-item:hover {
    background: #EEF6FF;
    color: var(--primary);
}

.demo-btn {
    margin-left: 25px;
    padding: 11px 24px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

/* ==========================================================
   HERO
========================================================== */
.hero {
    padding-top: 116px;
    padding-bottom: 62px;
    background: linear-gradient(135deg, #EEF6FF, #FFFFFF);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    right: -250px;
    top: -200px;
    background: radial-gradient(circle, rgba(28, 181, 224, .18), transparent 70%);
    pointer-events: none;
}

.hero .container,
.hero .row {
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-block;
    padding: 8px 16px;
    background: #E8F3FF;
    border-radius: 40px;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 18px;
}

.hero h1 {
    font-size: 1.95rem;
    line-height: 1.15;
    font-weight: 800;
    max-width: 650px;
    color: var(--dark);
    margin-bottom: 16px;
}

.hero p {
    font-size: 13px;
    line-height: 1.7;
    max-width: 620px;
    margin-bottom: 25px;
    color: #475569;
}

/* ==========================================================
   BUTTONS
========================================================== */
.btn {
    border-radius: 40px;
    padding: 12px 27px;
    font-weight: 700;
}

.btn-primary {
    background: var(--primary);
    border: none;
}

.btn-primary:hover {
    background: #082F73;
    transform: translateY(-1px);
}

.btn-outline-primary {
    border: 1.5px solid var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ==========================================================
   STATS
========================================================== */
.hero-stats {
    display: flex;
    gap: 42px;
    margin-top: 35px;
}

.hero-stats h2 {
    font-size: 1.75rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 0;
    line-height: 1.2;
}

.hero-stats span {
    font-size: .72rem;
    color: #475569;
}

/* ==========================================================
   DASHBOARD VIEWER
========================================================== */
.dashboard-viewer {
    position: relative;
    perspective: 1800px;
    padding: 18px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .12);
}

.dashboard-slider {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 18px;
}

.dashboard-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: rotateY(18deg) rotateX(5deg) scale(.92);
    transition: transform .9s ease, opacity .9s ease;
    pointer-events: none;
}

.dashboard-slide.active {
    opacity: 1;
    transform: rotateY(0deg) rotateX(0deg) scale(1);
    z-index: 2;
    pointer-events: auto;
}

.dashboard-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 25px 55px rgba(0, 0, 0, .14), 0 10px 25px rgba(0, 0, 0, .06);
    animation: floatDashboard 6s ease-in-out infinite;
}

@keyframes floatDashboard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.platform-switch {
    display: flex;
    justify-content: center;
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.platform-btn {
    border: none;
    background: #F1F5F9;
    padding: 8px 15px;
    font-size: 11px;
    border-radius: 30px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: .35s ease;
}

.platform-btn:hover {
    background: var(--secondary);
    color: #fff;
}

.platform-btn.active {
    background: var(--primary);
    color: #fff;
}

/* ==========================================================
   TRUSTED CLIENTS
========================================================== */
.trusted-clients {
    padding: 58px 0 65px;
    background: #fff;
}

.trusted-clients .section-title {
    margin-bottom: 28px;
}

.client-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.client-track {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 70px;
    width: max-content;
    white-space: nowrap;
    animation: scrollClients 35s linear infinite;
    will-change: transform;
}

.client-track img {
    height: 52px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: .62;
    filter: grayscale(100%);
    transition: opacity .3s ease, filter .3s ease, transform .3s ease;
}

.client-track img:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.05);
}

.client-slider:hover .client-track {
    animation-play-state: paused;
}

@keyframes scrollClients {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ==========================================================
   SECTIONS
========================================================== */
section {
    padding: 78px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: 2.15rem;
    line-height: 1.2;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.section-title p {
    max-width: 700px;
    margin: auto;
    font-size: 13px;
    color: var(--muted);
}

/* ==========================================================
   PLATFORM CARDS
========================================================== */
.platforms {
    background: #F8FAFC;
}

.platform-card {
    height: 500px;
    min-height: 500px;
    padding: 25px 22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
    transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}

.platform-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}

.platform-card:hover {
    transform: translateY(-8px);
    border-color: #B9D5F5;
    box-shadow: var(--shadow-hover);
}

.platform-card:hover::before {
    transform: scaleX(1);
}

.platform-logo {
    height: 112px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 14px;
}

.platform-logo img {
    max-height: 105px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.platform-card h3 {
    font-size: 1.25rem;
    line-height: 1.25;
    font-weight: 750;
    color: var(--dark);
    margin-bottom: 10px;
}

.platform-description {
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
    min-height: 78px;
    margin-bottom: 12px;
}

.platform-card ul {
    padding-left: 17px;
    margin-bottom: 18px;
}

.platform-card li {
    font-size: 12px;
    line-height: 1.45;
    color: #334155;
    margin-bottom: 6px;
}

.platform-link {
    margin-top: auto;
    font-size: 12px;
    font-weight: 750;
    color: var(--primary);
}

.platform-link span {
    display: inline-block;
    margin-left: 4px;
    transition: transform .3s ease;
}

.platform-link:hover span {
    transform: translateX(5px);
}

/* ==========================================================
   NEXT SECTION ANCHORS
========================================================== */
.section-anchor-placeholder {
    display: none;
}

/* ==========================================================
   RESPONSIVE
========================================================== */
@media (max-width: 991px) {
    .navbar-brand img {
        width: 115px;
    }

    .navbar-collapse {
        padding: 15px 0 8px;
    }

    .nav-link {
        margin-left: 0;
        padding: 10px 0 !important;
    }

    .demo-btn {
        margin: 12px 0 0;
    }

    .hero {
        text-align: center;
        padding-top: 125px;
    }

    .hero h1,
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-stats {
        justify-content: center;
    }

    .dashboard-viewer {
        margin-top: 15px;
    }

    .platform-card {
        height: 500px;
        min-height: 500px;
    }
}

@media (max-width: 576px) {
    .navbar {
        min-height: 62px;
    }

    .navbar-brand img {
        width: 108px;
    }

    .hero {
        padding-top: 105px;
        padding-bottom: 50px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 14px;
        margin-top: 28px;
    }

    .dashboard-viewer {
        padding: 12px;
        border-radius: 20px;
    }

    .dashboard-slider {
        height: 230px;
    }

    .platform-switch {
        gap: 6px;
    }

    .platform-btn {
        flex: 1;
        min-width: 65px;
    }

    section {
        padding: 58px 0;
    }

    .section-title {
        margin-bottom: 35px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .client-track {
        gap: 45px;
    }

    .client-track img {
        height: 42px;
        max-width: 125px;
    }

    .platform-card {
        height: auto;
        min-height: 0;
    }
}

/* Respect reduced-motion accessibility preferences. */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* ==========================================================
   GLOBAL CORPORATE HOMEPAGE - SPRINT 2
========================================================== */
.section-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--secondary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.reveal-section {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .75s ease, transform .75s ease;
}

.reveal-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.text-link {
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}

.text-link span,
.industry-card a span,
.case-card a span {
    display: inline-block;
    margin-left: 5px;
    transition: transform .3s ease;
}

.text-link:hover span,
.industry-card a:hover span,
.case-card a:hover span {
    transform: translateX(5px);
}

/* ==========================================================
   INDUSTRIES
========================================================== */
.industries-section {
    background: #fff;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.industry-card {
    min-height: 225px;
    padding: 27px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #fff;
    position: relative;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.industry-card::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -65px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(28,181,224,.13), transparent 68%);
    transition: transform .4s ease;
}

.industry-card:hover {
    transform: translateY(-7px);
    border-color: #b9d5f5;
    box-shadow: var(--shadow-hover);
}

.industry-card:hover::after {
    transform: scale(1.3);
}

.industry-number {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    margin-bottom: 18px;
}

.industry-card h3 {
    color: var(--dark);
    font-size: 18px;
    line-height: 1.3;
    font-weight: 800;
    margin-bottom: 10px;
}

.industry-card p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
    margin-bottom: 18px;
}

.industry-card a,
.case-card a {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    position: relative;
    z-index: 2;
}

.industry-card-dark {
    background: linear-gradient(135deg, #082f73, #0a3d91 55%, #0d78ba);
    border-color: transparent;
}

.industry-card-dark h3,
.industry-card-dark p,
.industry-card-dark a {
    color: #fff;
}

.industry-card-dark .industry-number {
    color: rgba(255,255,255,.6);
}

/* ==========================================================
   PLATFORM SHOWCASE
========================================================== */
.showcase-section {
    background: #f4f8fc;
}

.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: -18px auto 28px;
}

.showcase-tab {
    border: 1px solid var(--border);
    background: #fff;
    color: #475569;
    border-radius: 40px;
    padding: 10px 19px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: .3s ease;
}

.showcase-tab:hover,
.showcase-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.showcase-panel {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 35px;
    align-items: center;
    padding: 34px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid #dbe7f3;
    box-shadow: 0 24px 70px rgba(15,61,145,.10);
}

.showcase-copy {
    padding: 10px 0 10px 8px;
}

.showcase-kicker {
    color: var(--secondary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}

.showcase-copy h3 {
    color: var(--dark);
    font-size: 32px;
    font-weight: 800;
    margin: 9px 0 13px;
}

.showcase-copy p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
    margin-bottom: 20px;
}

.showcase-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.showcase-points span {
    padding: 7px 10px;
    border-radius: 8px;
    background: #f1f6fb;
    color: #334155;
    font-size: 10px;
    font-weight: 700;
}

.showcase-browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px;
    background: #e9eef4;
    border-radius: 15px 15px 0 0;
}

.showcase-browser-bar span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #aab7c6;
}

.showcase-browser-bar small {
    margin-left: 9px;
    color: #64748b;
    font-size: 9px;
    font-weight: 700;
}

.showcase-image-wrap {
    padding: 14px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
}

.showcase-image-wrap img {
    width: 100%;
    max-height: 390px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(15,23,42,.10);
    transition: opacity .35s ease, transform .45s ease;
}

.showcase-image-wrap img.changing {
    opacity: .25;
    transform: scale(.985);
}

/* ==========================================================
   WHY RNI
========================================================== */
.why-rni-section {
    background: #fff;
}

.why-rni-layout {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 55px;
    align-items: start;
}

.why-rni-intro h2 {
    color: var(--dark);
    font-size: 2.15rem;
    line-height: 1.18;
    font-weight: 800;
    margin-bottom: 18px;
}

.why-rni-intro p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
    margin-bottom: 22px;
}

.why-rni-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.why-rni-grid article {
    min-height: 175px;
    padding: 23px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background .3s ease;
}

.why-rni-grid article:hover {
    background: #f7fbff;
}

.why-rni-grid article > span {
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
}

.why-rni-grid h3 {
    color: var(--dark);
    font-size: 15px;
    font-weight: 800;
    margin: 9px 0 7px;
}

.why-rni-grid p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================
   GLOBAL EXPANSION
========================================================== */
.global-section {
    background: #071a3a;
    color: #fff;
    overflow: hidden;
}

.global-panel {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 40px;
    align-items: center;
}

.global-copy .section-eyebrow {
    color: #65d5f2;
}

.global-copy h2 {
    font-size: 2.35rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 15px;
}

.global-copy p {
    color: rgba(255,255,255,.72);
    font-size: 13px;
    line-height: 1.75;
    max-width: 560px;
}

.global-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.global-tags span {
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
    padding: 7px 11px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 700;
}

.global-map {
    min-height: 240px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.map-line {
    position: absolute;
    left: 9%;
    right: 9%;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, rgba(28,181,224,.2), #1cb5e0, rgba(28,181,224,.2));
}

.global-node {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: #102d59;
    border: 1px solid rgba(101,213,242,.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 8px rgba(28,181,224,.05);
    animation: globalPulse 3.5s ease-in-out infinite;
}

.global-node:nth-of-type(3) { animation-delay: .5s; }
.global-node:nth-of-type(4) { animation-delay: 1s; }
.global-node-final { animation-delay: 1.5s; background: #0a3d91; }

.global-node b { font-size: 15px; }
.global-node small { color: rgba(255,255,255,.65); font-size: 8px; margin-top: 3px; }

@keyframes globalPulse {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

/* ==========================================================
   CASE STUDIES
========================================================== */
.case-studies-section {
    background: #f8fafc;
}

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.case-card {
    padding: 27px;
    min-height: 365px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(15,23,42,.04);
    transition: transform .35s ease, box-shadow .35s ease;
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.case-card-featured {
    background: linear-gradient(145deg, #082f73, #0a3d91);
    color: #fff;
    border-color: transparent;
}

.case-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.case-top span {
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
}

.case-top em {
    color: #94a3b8;
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .12em;
}

.case-card-featured .case-top em { color: rgba(255,255,255,.62); }

.case-card h3 {
    color: var(--dark);
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 9px;
}

.case-card-featured h3 { color: #fff; }

.case-lead {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
    min-height: 58px;
}

.case-card-featured .case-lead { color: rgba(255,255,255,.72); }

.case-flow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 17px 0;
    padding: 11px;
    border-radius: 10px;
    background: #f3f7fb;
    color: #334155;
    font-size: 9px;
}

.case-card-featured .case-flow { background: rgba(255,255,255,.08); color: #fff; }
.case-flow span { color: var(--accent); }

.case-card ul {
    padding-left: 17px;
    margin-bottom: 18px;
}

.case-card li {
    color: #475569;
    font-size: 11px;
    margin-bottom: 5px;
}

.case-card-featured li { color: rgba(255,255,255,.78); }
.case-card-featured a { color: #fff; }

.case-note,
.team-note {
    text-align: center;
    color: #94a3b8;
    font-size: 10px;
    margin: 24px auto 0;
}

/* ==========================================================
   LEADERSHIP
========================================================== */
.leadership-section {
    background: #fff;
}

.leadership-panel {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 55px;
    align-items: center;
    padding: 46px;
    border-radius: 28px;
    background: linear-gradient(135deg, #f2f7fc, #fff);
    border: 1px solid #dbe7f3;
}

.leadership-photo {
    min-height: 360px;
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(145deg, #dfeaf5, #edf5fb);
    border: 1px solid #d5e3f0;
    box-shadow: 0 18px 45px rgba(15, 61, 145, .10);
}

.leadership-photo img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.leadership-message h2 {
    color: var(--dark);
    font-size: 2.25rem;
    line-height: 1.18;
    font-weight: 800;
    margin-bottom: 20px;
}

.leadership-message blockquote {
    margin: 0 0 18px;
    padding-left: 20px;
    border-left: 3px solid var(--accent);
    color: #1e293b;
    font-size: 19px;
    line-height: 1.55;
    font-weight: 600;
}

.leadership-message > p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.75;
}

.signature {
    margin-top: 22px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
}

.signature span { color: var(--accent); padding: 0 5px; }

/* ==========================================================
   IT DIRECTOR / CO-FOUNDER
========================================================== */
.leadership-secondary {
    background: #f8fafc;
}

.leadership-panel-reverse {
    background: linear-gradient(135deg, #ffffff, #f3f8fd);
}

.leadership-panel-reverse .leadership-photo {
    order: 1;
}

.leadership-panel-reverse .leadership-message {
    order: 2;
}

/* Keep both leadership profiles visually consistent: photo left, message right. */
@media (max-width: 991px) {
    .leadership-panel-reverse .leadership-photo { order: 1; }
    .leadership-panel-reverse .leadership-message { order: 2; }
}

/* ==========================================================
   TEAM
========================================================== */
.team-section { background: #f8fafc; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.team-card {
    padding: 24px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
}

.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.team-avatar {
    width: 74px;
    height: 74px;
    margin: 0 auto 17px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dceeff, #eef7ff);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    border: 1px solid #cfe1f2;
}

.team-card h3 { color: var(--dark); font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.team-card p { color: var(--muted); font-size: 11px; line-height: 1.6; margin: 0; }

/* ==========================================================
   TESTIMONIALS
========================================================== */
.testimonials-section { background: #fff; }

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.testimonial-card,
.testimonial-video {
    min-height: 300px;
    border-radius: 24px;
    overflow: hidden;
}

.testimonial-card {
    padding: 28px;
    background: #f7fafc;
    border: 1px solid var(--border);
}

.quote-mark { color: var(--accent); font-size: 44px; line-height: .8; font-weight: 900; }
.testimonial-card p { color: #475569; font-size: 13px; line-height: 1.75; margin: 19px 0 26px; }

.testimonial-person { display: flex; align-items: center; gap: 10px; }
.person-avatar { width: 35px; height: 35px; border-radius: 50%; background: #e4eef8; color: var(--primary); display: grid; place-items: center; font-weight: 800; }
.testimonial-person b { display: block; color: var(--dark); font-size: 11px; }
.testimonial-person small { color: #94a3b8; font-size: 9px; }

.testimonial-video { background: #081d40; overflow: hidden; }
.customer-video-wrap { height: 100%; min-height: 300px; display: flex; flex-direction: column; }
.customer-video-wrap iframe { width: 100%; aspect-ratio: 16 / 9; min-height: 270px; border: 0; display: block; background: #06152f; }
.video-caption { padding: 18px 22px 20px; display: flex; flex-direction: column; gap: 5px; color: #fff; }
.video-caption .section-eyebrow { color: #78d7f2; margin-bottom: 2px; }
.video-caption strong { font-size: 17px; line-height: 1.25; }
.video-caption > span:last-child { color: rgba(255,255,255,.68); font-size: 11px; line-height: 1.55; }

/* ==========================================================
   ASK RNI AI
========================================================== */
.ask-rni-section { background: #eef6ff; }

.ask-rni-panel {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 45px;
    align-items: center;
    padding: 45px;
    border-radius: 30px;
    background: linear-gradient(135deg, #082f73, #0a3d91 55%, #0c6fb0);
    box-shadow: 0 28px 70px rgba(10,61,145,.20);
    color: #fff;
}

.ask-copy .section-eyebrow { color: #65d5f2; }
.ask-copy h2 { font-size: 2.7rem; line-height: 1; font-weight: 850; margin-bottom: 14px; }
.ask-copy > p { max-width: 500px; color: rgba(255,255,255,.74); font-size: 12px; line-height: 1.7; }

.ask-suggestions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.ask-suggestions button { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); color: #fff; border-radius: 30px; padding: 8px 11px; font-size: 9px; font-weight: 700; cursor: pointer; transition: .25s ease; }
.ask-suggestions button:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }

.ask-box { padding: 25px; border-radius: 20px; background: #fff; color: var(--dark); box-shadow: 0 18px 50px rgba(0,0,0,.14); }
.ask-box label { display: block; font-size: 11px; font-weight: 800; margin-bottom: 9px; }
.ask-input-wrap { display: flex; gap: 7px; padding: 5px; border: 1px solid #dbe5ef; border-radius: 13px; }
.ask-input-wrap input { min-width: 0; flex: 1; border: none; outline: none; padding: 10px 11px; font-family: inherit; font-size: 11px; color: var(--dark); }
.ask-input-wrap button { border: none; border-radius: 10px; background: var(--primary); color: #fff; padding: 0 17px; font-size: 10px; font-weight: 800; cursor: pointer; }
.ask-response { margin-top: 13px; min-height: 42px; padding: 11px 12px; border-radius: 10px; background: #f5f8fb; color: #64748b; font-size: 10px; line-height: 1.6; }

/* ==========================================================
   DEMO + CONTACT + FOOTER
========================================================== */
.demo-section { padding: 60px 0; background: #fff; }
.demo-panel { display: flex; justify-content: space-between; gap: 35px; align-items: center; padding: 42px 46px; border-radius: 28px; background: linear-gradient(135deg, #0a3d91, #0d73b7); color: #fff; }
.demo-panel .section-eyebrow { color: #65d5f2; }
.demo-panel h2 { font-size: 2.25rem; font-weight: 800; margin-bottom: 10px; }
.demo-panel p { max-width: 720px; color: rgba(255,255,255,.76); font-size: 12px; line-height: 1.7; margin: 0; }
.demo-actions { display: flex; gap: 9px; flex-shrink: 0; }
.demo-actions .btn { white-space: nowrap; }

.btn-light { color: var(--primary); font-weight: 800; }
.btn-outline-light:hover { color: var(--primary); }

.contact-section { padding: 55px 0; background: #f8fafc; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.contact-grid h2 { color: var(--dark); font-size: 2rem; font-weight: 800; margin-bottom: 10px; }
.contact-grid p { color: var(--muted); font-size: 12px; }
.contact-details { display: grid; gap: 14px; }
.contact-details div { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.contact-details span { color: #94a3b8; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.contact-details a,
.contact-details strong { color: var(--dark); font-size: 11px; font-weight: 750; text-align: right; }

.site-footer { padding: 50px 0 22px; background: #071a3a; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 35px; padding-bottom: 35px; }
.footer-brand img { width: 150px; height: auto; background: #fff; border-radius: 8px; padding: 4px 7px; }
.footer-brand p { max-width: 330px; margin-top: 15px; color: rgba(255,255,255,.62); font-size: 10px; line-height: 1.7; }
.footer-grid h4 { font-size: 11px; margin-bottom: 14px; color: #fff; }
.footer-grid > div:not(.footer-brand) a { display: block; margin-bottom: 8px; color: rgba(255,255,255,.58); font-size: 10px; }
.footer-grid > div:not(.footer-brand) a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.10); color: rgba(255,255,255,.42); font-size: 9px; }

/* ==========================================================
   RESPONSIVE - CORPORATE SECTIONS
========================================================== */
@media (max-width: 991px) {
    .industry-grid { grid-template-columns: repeat(2, 1fr); }
    .showcase-panel,
    .why-rni-layout,
    .global-panel,
    .ask-rni-panel { grid-template-columns: 1fr; }
    .why-rni-layout { gap: 30px; }
    .global-map { min-height: 190px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-grid { grid-template-columns: 1fr 1fr; }
    .testimonial-video { grid-column: span 2; }
    .leadership-panel { grid-template-columns: 230px 1fr; gap: 30px; padding: 30px; }
    .leadership-photo { min-height: 300px; }
    .leadership-photo img { min-height: 300px; }
    .demo-panel { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-brand { grid-column: span 3; }
}

@media (max-width: 576px) {
    .industry-grid,
    .case-study-grid,
    .team-grid,
    .testimonial-grid,
    .why-rni-grid { grid-template-columns: 1fr; }
    .testimonial-video { grid-column: auto; }
    .showcase-panel,
    .leadership-panel,
    .ask-rni-panel,
    .demo-panel { padding: 24px; border-radius: 22px; }
    .showcase-copy h3,
    .why-rni-intro h2,
    .global-copy h2,
    .leadership-message h2,
    .demo-panel h2 { font-size: 1.8rem; }
    .showcase-copy { padding: 0; }
    .showcase-image-wrap img { max-height: 250px; }
    .global-map { min-height: 150px; }
    .global-node { width: 58px; height: 58px; }
    .global-node b { font-size: 11px; }
    .global-node small { font-size: 7px; }
    .leadership-panel { grid-template-columns: 1fr; }
    .leadership-photo { min-height: 220px; }
    .leadership-photo img { min-height: 220px; }
    .leadership-message blockquote { font-size: 16px; }
    .ask-copy h2 { font-size: 2.25rem; }
    .ask-input-wrap { flex-direction: column; border: none; padding: 0; }
    .ask-input-wrap input { border: 1px solid #dbe5ef; border-radius: 10px; }
    .ask-input-wrap button { min-height: 42px; }
    .demo-actions { width: 100%; flex-direction: column; }
    .demo-actions .btn { width: 100%; }
    .contact-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
    .footer-bottom { flex-direction: column; }
}


/* ==========================================================
   RNI UPDATES / LINKEDIN
========================================================== */
.updates-section { background: #f8fafc; }
.updates-header { display:flex; justify-content:space-between; align-items:flex-end; gap:30px; margin-bottom:38px; }
.updates-header .section-title { margin:0; }
.updates-header .section-title h2 { margin-bottom:10px; }
.updates-header .section-title p { margin:0; max-width:720px; }
.linkedin-follow-btn, .linkedin-outline-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; white-space:nowrap; border-radius:999px; font-size:11px; font-weight:800; padding:12px 18px; transition:.3s ease; }
.linkedin-follow-btn { background:#0a66c2; color:#fff; box-shadow:0 12px 25px rgba(10,102,194,.16); }
.linkedin-follow-btn:hover { color:#fff; transform:translateY(-2px); box-shadow:0 16px 30px rgba(10,102,194,.22); }
.updates-grid { display:grid; grid-template-columns:1.25fr 1fr 1fr; gap:18px; }
.update-card { min-height:245px; padding:28px; background:#fff; border:1px solid var(--border); border-radius:24px; box-shadow:0 10px 30px rgba(15,23,42,.05); display:flex; flex-direction:column; transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.update-card:hover { transform:translateY(-7px); border-color:#bcd5ef; box-shadow:0 24px 50px rgba(15,61,145,.10); }
.update-featured { background:linear-gradient(135deg,#082f73,#0a3d91 62%,#0d73b7); color:#fff; border-color:transparent; }
.update-meta { display:flex; justify-content:space-between; gap:15px; margin-bottom:20px; font-size:9px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.update-meta span { color:var(--primary); }
.update-featured .update-meta span { color:#6ee0fa; }
.update-meta time { color:#94a3b8; letter-spacing:.04em; font-weight:600; text-transform:none; }
.update-featured .update-meta time { color:rgba(255,255,255,.58); }
.update-card h3 { font-size:19px; line-height:1.3; font-weight:800; color:var(--dark); margin-bottom:12px; }
.update-featured h3 { color:#fff; }
.update-card p { color:var(--muted); font-size:11px; line-height:1.7; margin-bottom:20px; }
.update-featured p { color:rgba(255,255,255,.74); }
.update-card a { margin-top:auto; color:var(--primary); font-size:11px; font-weight:800; }
.update-featured a { color:#fff; }
.linkedin-share-row { margin-top:20px; padding:18px 22px; border:1px solid #dbe7f3; border-radius:18px; background:#fff; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.linkedin-share-row strong { display:block; color:var(--dark); font-size:12px; margin-bottom:3px; }
.linkedin-share-row span { display:block; color:#94a3b8; font-size:10px; }
.linkedin-outline-btn { border:1px solid #b8cfe5; color:#0a66c2; background:#fff; }
.linkedin-outline-btn:hover { background:#eef6ff; color:#0a66c2; transform:translateY(-2px); }

/* ==========================================================
   SEO / PERFORMANCE DETAILS
========================================================== */
.hero-buttons .btn, .demo-actions .btn, .platform-link, .industry-card a, .case-card a { position:relative; }
img { height:auto; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}

@media (max-width: 991px) {
    .updates-grid { grid-template-columns:1fr 1fr; }
    .update-featured { grid-column:span 2; }
}
@media (max-width: 576px) {
    .updates-header, .linkedin-share-row { flex-direction:column; align-items:flex-start; }
    .updates-grid { grid-template-columns:1fr; }
    .update-featured { grid-column:auto; }
    .linkedin-follow-btn, .linkedin-outline-btn { width:100%; }
}
