/* ============================================
   OIRRC Website Styles
   Professional brand system refresh
   ============================================ */

:root {
    --navy: #0c1b33;
    --navy-light: #163154;
    --navy-dark: #07111f;
    --teal: #17b6b0;
    --teal-dark: #0f8f8a;
    --teal-light: #dff8f5;
    --gold: #f2c36b;
    --gold-soft: #fff3db;
    --white: #ffffff;
    --cream: #f5f1e8;
    --grey-50: #f7f8fb;
    --grey-100: #eef2f7;
    --grey-200: #dde4ee;
    --grey-300: #c3cfdd;
    --grey-400: #98a6b7;
    --grey-500: #7c8796;
    --grey-600: #596473;
    --grey-700: #354052;
    --grey-800: #202b3b;
    --grey-900: #0f1724;

    --shadow-sm: 0 8px 20px rgba(8, 20, 38, 0.06);
    --shadow-md: 0 18px 40px rgba(8, 20, 38, 0.1);
    --shadow-lg: 0 28px 70px rgba(8, 20, 38, 0.14);
    --shadow-xl: 0 40px 100px rgba(8, 20, 38, 0.2);
    --radius-sm: 0.85rem;
    --radius-md: 1.2rem;
    --radius-lg: 1.8rem;
    --radius-xl: 2.4rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(23, 182, 176, 0.08), transparent 28%),
        radial-gradient(circle at top right, rgba(242, 195, 107, 0.08), transparent 24%),
        linear-gradient(180deg, #fbfcfe 0%, #f3f7fb 100%);
    color: var(--grey-800);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sora', 'Manrope', sans-serif;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: var(--grey-900);
}

h1 {
    font-size: clamp(3rem, 6vw, 5.7rem);
    margin-bottom: 1.35rem;
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--grey-600);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
    position: relative;
}

.section-light {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 252, 0.98)),
        var(--grey-50);
}

.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal) 0%, #39d2bf 100%);
    color: var(--navy-dark);
    padding: 0.95rem 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 14px 34px rgba(23, 182, 176, 0.24);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(23, 182, 176, 0.32);
}

.btn-secondary {
    color: var(--white);
    padding: 0.95rem 1.8rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-3px);
}

.btn-outline {
    color: var(--navy);
    padding: 0.9rem 1.55rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(12, 27, 51, 0.08);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 5%;
    background: rgba(7, 17, 31, 0.72);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    color: var(--white);
    font-family: 'Sora', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.18);
}

.logo span {
    color: var(--gold);
}

.site-logo-image {
    filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.28)) contrast(1.08) brightness(1.08);
}

.nav-links {
    display: flex;
    gap: 1.15rem;
    align-items: center;
    flex-wrap: wrap;
    padding: 0.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
}

.nav-links a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    transition: color 0.25s ease, background-color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.portal-btn {
    background: linear-gradient(135deg, rgba(23, 182, 176, 0.2), rgba(242, 195, 107, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white) !important;
    padding-inline: 1.15rem !important;
}

.mobile-toggle {
    display: none;
    color: var(--white);
    font-size: 1.35rem;
    cursor: pointer;
}

.hero {
    position: relative;
    padding: 7rem 5% 5.5rem;
    color: var(--white);
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 20%, rgba(23, 182, 176, 0.22), transparent 22%),
        radial-gradient(circle at 83% 18%, rgba(242, 195, 107, 0.18), transparent 18%),
        linear-gradient(135deg, #081321 0%, #10233f 54%, #173459 100%);
}

.hero.hero-has-background {
    background:
        linear-gradient(110deg, rgba(8, 19, 33, 0.9) 0%, rgba(8, 19, 33, 0.72) 46%, rgba(8, 19, 33, 0.88) 100%),
        radial-gradient(circle at 18% 20%, rgba(23, 182, 176, 0.16), transparent 22%),
        radial-gradient(circle at 83% 18%, rgba(242, 195, 107, 0.12), transparent 18%),
        var(--hero-bg-image),
        linear-gradient(135deg, #081321 0%, #10233f 54%, #173459 100%);
    background-position: center, center, center, center, center;
    background-size: auto, auto, auto, cover, auto;
    background-repeat: no-repeat;
}

.tech-hero,
.capabilities-hero,
.solutions-hero,
.contact-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 20%, rgba(23, 182, 176, 0.18), transparent 22%),
        radial-gradient(circle at 82% 16%, rgba(242, 195, 107, 0.16), transparent 18%),
        linear-gradient(135deg, #081321 0%, #10233f 54%, #173459 100%);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.tech-hero h1,
.tech-hero h2,
.tech-hero h3,
.tech-hero p,
.capabilities-hero h1,
.capabilities-hero h2,
.capabilities-hero h3,
.capabilities-hero p,
.solutions-hero h1,
.solutions-hero h2,
.solutions-hero h3,
.solutions-hero p,
.contact-hero h1,
.contact-hero h2,
.contact-hero h3,
.contact-hero p {
    color: var(--white);
}

.tech-hero p,
.capabilities-hero p,
.solutions-hero p,
.contact-hero p {
    color: rgba(255, 255, 255, 0.8);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 92%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 42rem;
    height: 42rem;
    right: -14rem;
    top: -14rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(23, 182, 176, 0.24) 0%, rgba(23, 182, 176, 0) 68%);
    pointer-events: none;
}

.hero-content {
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 3rem;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.4rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.84);
}

.hero-eyebrow span {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 0.35rem rgba(242, 195, 107, 0.16);
}

.hero h1 {
    max-width: 13ch;
    color: var(--white);
    text-wrap: balance;
}

.hero-subhead {
    font-size: 1.14rem;
    max-width: 42rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.78);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-proof {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-proof-item {
    min-width: 150px;
}

.hero-proof-value {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 1.45rem;
    color: var(--gold);
    margin-bottom: 0.25rem;
}

.hero-proof-label {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.68);
}

.hero-visual {
    position: relative;
    min-height: 360px;
}

.hero-carousel {
    position: relative;
    min-height: 360px;
    height: auto;
}

.hero-carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    pointer-events: none;
}

.hero-carousel-slide.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero-panel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    padding: 2rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
        rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-xl);
}

.hero-panel-image {
    height: 100%;
    min-height: 100%;
    padding: 0;
    display: flex;
    align-items: stretch;
}

.hero-panel::before {
    content: '';
    position: absolute;
    inset: auto -10% -35% auto;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(23, 182, 176, 0.34), rgba(23, 182, 176, 0));
}

.hero-carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.hero-panel-label {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.hero-panel-title {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 0.2rem;
}

.hero-panel-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1.2rem;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(23, 182, 176, 0.25), rgba(242, 195, 107, 0.28));
    color: var(--white);
    font-size: 1.5rem;
}

.hero-panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.hero-stat-card {
    padding: 1rem 1.05rem;
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.hero-stat-value {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 1.7rem;
    color: var(--white);
}

.hero-stat-label {
    display: block;
    margin-top: 0.25rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
}

.hero-note {
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 5%;
    color: var(--white);
    background:
        radial-gradient(circle at 15% 18%, rgba(23, 182, 176, 0.2), transparent 24%),
        radial-gradient(circle at 84% 16%, rgba(242, 195, 107, 0.16), transparent 20%),
        linear-gradient(135deg, #091423 0%, #112846 54%, #183a60 100%);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.68), transparent 92%);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 2rem;
    align-items: end;
}

.page-hero-copy h1,
.page-hero-copy p,
.page-hero-aside h2,
.page-hero-aside p {
    color: var(--white);
}

.page-hero-copy h1 {
    max-width: 12ch;
    margin-bottom: 1rem;
}

.page-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.2rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.84);
}

.page-hero-kicker::before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 0.35rem rgba(242, 195, 107, 0.14);
}

.page-hero-subhead {
    max-width: 44rem;
    margin-bottom: 0;
    font-size: 1.14rem;
    color: rgba(255, 255, 255, 0.78);
}

.page-hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.6rem;
}

.page-hero-highlight {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.88rem;
    font-weight: 600;
}

.page-hero-highlight i {
    color: var(--gold);
}

.page-hero-aside {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
        rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-lg);
}

.page-hero-aside::after {
    content: '';
    position: absolute;
    inset: auto -18% -38% auto;
    width: 16rem;
    height: 16rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(23, 182, 176, 0.26), rgba(23, 182, 176, 0));
    pointer-events: none;
}

.page-hero-label {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-bottom: 0.8rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.page-hero-aside h2 {
    position: relative;
    z-index: 1;
    font-size: 1.55rem;
    margin-bottom: 0.6rem;
}

.page-hero-aside p {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.76);
}

.stats-bar {
    position: relative;
    z-index: 2;
    margin: -2.4rem auto 0;
    width: min(1280px, calc(100% - 2rem));
    padding: 1.45rem 1.5rem 1.2rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(12, 27, 51, 0.06);
    box-shadow: var(--shadow-lg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.stat-tile {
    position: relative;
    padding: 1.25rem;
    border-radius: 1.2rem;
    background: linear-gradient(180deg, #ffffff, #f6f9fc);
    border: 1px solid rgba(12, 27, 51, 0.06);
    text-align: center;
}

.stat-tile::after {
    content: '';
    position: absolute;
    inset: auto 18% 0.75rem;
    height: 0.24rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--teal), var(--gold));
    opacity: 0.85;
}

.stat-number {
    font-family: 'Sora', sans-serif;
    font-size: 2.15rem;
    font-weight: 700;
    color: var(--navy);
}

.stat-label {
    color: var(--grey-600);
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.compliance-strip {
    background: linear-gradient(135deg, #0a1830, #11294a);
    padding: 1.75rem 5%;
    text-align: center;
}

.compliance-line {
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}

.badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.84rem;
}

.badge i {
    color: var(--teal);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-md);
    padding: 1.7rem;
    border: 1px solid rgba(12, 27, 51, 0.08);
    box-shadow: var(--shadow-sm);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.32rem;
    background: linear-gradient(180deg, var(--teal), var(--gold));
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(23, 182, 176, 0.18);
}

.service-card h4 {
    color: var(--navy);
    margin-bottom: 0.7rem;
}

.service-card p {
    color: var(--grey-600);
    font-size: 0.96rem;
    margin-bottom: 0;
}

.home-services-section .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card-compact {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        radial-gradient(circle at top right, rgba(242, 195, 107, 0.2), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 251, 0.98));
}

.service-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.service-card-icon {
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 1.1rem;
    background: linear-gradient(135deg, rgba(23, 182, 176, 0.14), rgba(242, 195, 107, 0.22));
    display: grid;
    place-items: center;
    color: var(--navy);
    font-size: 1.1rem;
    box-shadow: inset 0 0 0 1px rgba(12, 27, 51, 0.04);
}

.service-card-arrow {
    color: var(--teal);
    font-size: 1.35rem;
    line-height: 1;
    transform: translateY(0);
    transition: transform 0.28s ease;
}

.service-card-compact:hover .service-card-arrow {
    transform: translate(4px, -2px);
}

.service-card-compact h4 {
    margin: 1.5rem 0 0;
    font-size: 1.2rem;
    line-height: 1.4;
    max-width: 16rem;
}

.service-card-media-layout {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.service-card-media {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, rgba(23, 182, 176, 0.12), rgba(218, 184, 112, 0.18));
    border-bottom: 1px solid rgba(12, 27, 51, 0.08);
}

.service-card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.service-card-body {
    padding: 1.7rem;
}

.two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
    align-items: center;
}

.rich-text-content p + p {
    margin-top: 1rem;
}

.rich-text-content ul,
.rich-text-content ol {
    padding-left: 1.5rem;
    margin: 0.9rem 0;
}

.dashboard-preview {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 249, 252, 0.98));
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(12, 27, 51, 0.08);
    box-shadow: var(--shadow-lg);
}

.dashboard-preview-media {
    width: 100%;
    height: 280px;
    max-width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    background: #0c1b33;
}

.dashboard-preview-asset {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    background: #0c1b33;
}

.dashboard-preview-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #0097a7;
    font-size: 3rem;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.1rem;
}

.dashboard-stats div {
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff, #eef4f8);
    padding: 0.9rem;
    border: 1px solid rgba(12, 27, 51, 0.06);
}

.illustrative-note {
    font-size: 0.8rem;
    color: var(--grey-500);
    margin-top: 0.8rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 252, 0.98));
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid rgba(12, 27, 51, 0.08);
    box-shadow: var(--shadow-sm);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    display: flex;
    flex-direction: column;
    height: 360px;
    overflow: hidden;
}

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

.testimonial-content {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 0.45rem;
}

.quote-mark {
    font-family: 'Sora', sans-serif;
    font-size: 3.2rem;
    color: var(--teal);
    opacity: 0.5;
    line-height: 0.9;
}

.testimonial-text {
    font-size: 1rem;
    margin: 1rem 0;
    color: var(--grey-700);
    font-style: italic;
    line-height: 1.7;
    white-space: pre-wrap;
}

.testimonial-meta {
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(12, 27, 51, 0.08);
    flex-shrink: 0;
}

.testimonial-author {
    font-weight: 800;
    color: var(--navy);
}

.testimonial-company {
    font-size: 0.88rem;
    color: var(--grey-600);
}

.cta-band {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(23, 182, 176, 0.18), transparent 24%),
        radial-gradient(circle at bottom right, rgba(242, 195, 107, 0.18), transparent 24%),
        linear-gradient(135deg, #081321 0%, #11284a 100%);
    text-align: center;
    padding: 5rem 2rem;
    color: white;
}

.cta-band h2 {
    color: white;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer {
    background:
        linear-gradient(180deg, #08111f 0%, #0c192d 100%);
    color: rgba(255, 255, 255, 0.74);
    padding: 4rem 5% 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr repeat(3, minmax(180px, 1fr));
    gap: 2rem;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer p {
    margin-bottom: 0.65rem;
    color: rgba(255, 255, 255, 0.64);
}

.footer a {
    color: rgba(255, 255, 255, 0.72);
    transition: color 0.25s ease;
}

.footer a:hover {
    color: var(--gold);
}

.footer i {
    margin-right: 0.45rem;
    width: 20px;
}

.brand-tagline {
    font-size: 0.92rem;
    color: var(--teal);
    margin-top: 0.6rem;
    font-weight: 700;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.76rem;
}

.dark-surface {
    background:
        linear-gradient(135deg, #0b1830 0%, #132947 100%);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.dark-surface p,
.dark-surface h1,
.dark-surface h2,
.dark-surface h3,
.dark-surface h4,
.dark-surface h5,
.dark-surface h6,
.dark-surface li,
.dark-surface a {
    color: inherit;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(23, 182, 176, 0.1);
    color: var(--teal-dark);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section-kicker::before {
    content: '';
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--gold));
}

.science-library-shell {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at top right, rgba(23, 182, 176, 0.12), transparent 24%),
        radial-gradient(circle at bottom left, rgba(242, 195, 107, 0.14), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 252, 0.98));
    border: 1px solid rgba(12, 27, 51, 0.08);
    box-shadow: var(--shadow-lg);
}

.science-library-header {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr);
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 2rem;
}

.science-library-copy {
    max-width: 760px;
    margin-bottom: 0;
}

.science-library-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.science-library-stat {
    padding: 1.1rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(12, 27, 51, 0.08);
    box-shadow: var(--shadow-sm);
}

.science-library-stat strong {
    display: block;
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: 1.9rem;
    color: var(--navy);
}

.science-library-stat span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.82rem;
    color: var(--grey-600);
}

.publication-spotlight {
    position: relative;
    overflow: hidden;
    padding: 1.9rem;
    margin-bottom: 1.5rem;
    border-radius: 1.6rem;
    background:
        radial-gradient(circle at top right, rgba(57, 210, 191, 0.18), transparent 28%),
        linear-gradient(135deg, #091426 0%, #102542 54%, #17345d 100%);
    color: var(--white);
    box-shadow: var(--shadow-xl);
}

.publication-spotlight::after {
    content: '';
    position: absolute;
    inset: auto -8% -35% auto;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(242, 195, 107, 0.12);
    filter: blur(8px);
}

.publication-spotlight h3,
.publication-spotlight p,
.publication-spotlight span,
.publication-spotlight a {
    position: relative;
    z-index: 1;
}

.publication-spotlight h3 {
    margin-bottom: 0.75rem;
    color: var(--white);
    font-size: clamp(1.5rem, 2vw, 2.2rem);
}

.publication-spotlight-authors {
    color: rgba(255, 255, 255, 0.8);
    max-width: 960px;
}

.publication-spotlight-meta,
.publication-spotlight-citation,
.publication-spotlight-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.publication-spotlight-meta {
    margin-bottom: 1rem;
}

.publication-spotlight-citation {
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.92rem;
}

.hero-carousel-dots {
    position: absolute;
    left: 50%;
    bottom: -1.8rem;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.hero-carousel-dot {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transition: transform 0.3s ease, background 0.3s ease;
}

.hero-carousel-dot.is-active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.15);
}

.publication-spotlight-links .btn-outline {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.18);
}

.publication-spotlight-links .btn-outline:hover {
    background: rgba(255, 255, 255, 0.18);
}

.publication-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(12, 27, 51, 0.06);
    border: 1px solid rgba(12, 27, 51, 0.08);
    color: var(--grey-700);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
}

.publication-badge-featured {
    background: rgba(242, 195, 107, 0.16);
    border-color: rgba(242, 195, 107, 0.28);
    color: var(--gold-soft);
}

.publication-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(170px, 0.7fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.publication-search {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(12, 27, 51, 0.1);
    box-shadow: var(--shadow-sm);
}

.publication-search i {
    color: var(--grey-500);
}

.publication-search input,
.publication-select {
    min-height: 3.5rem;
    border: none;
    outline: none;
    background: transparent;
    font: inherit;
    color: var(--grey-800);
}

.publication-search input {
    width: 100%;
}

.publication-select {
    width: 100%;
    padding: 0 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(12, 27, 51, 0.1);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
}

.publication-chip-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.publication-chip {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(12, 27, 51, 0.08);
    background: rgba(255, 255, 255, 0.72);
    color: var(--grey-700);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.publication-chip:hover,
.publication-chip.is-active {
    transform: translateY(-2px);
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.publication-results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 1.2rem 0 1.25rem;
}

.publication-list-panel {
    position: relative;
    max-height: clamp(32rem, 62vh, 46rem);
    overflow-y: auto;
    padding: 0 0.35rem 0 0;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(23, 182, 176, 0.7) rgba(12, 27, 51, 0.08);
}

.publication-list-panel::before,
.publication-list-panel::after {
    content: '';
    position: sticky;
    left: 0;
    display: block;
    height: 1rem;
    pointer-events: none;
    z-index: 2;
}

.publication-list-panel::before {
    top: 0;
    margin-bottom: -1rem;
    background: linear-gradient(180deg, rgba(246, 249, 252, 0.98), rgba(246, 249, 252, 0));
}

.publication-list-panel::after {
    bottom: 0;
    margin-top: -1rem;
    background: linear-gradient(0deg, rgba(246, 249, 252, 0.98), rgba(246, 249, 252, 0));
}

.publication-list-panel::-webkit-scrollbar {
    width: 0.8rem;
}

.publication-list-panel::-webkit-scrollbar-track {
    background: rgba(12, 27, 51, 0.08);
    border-radius: 999px;
}

.publication-list-panel::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(23, 182, 176, 0.9), rgba(12, 27, 51, 0.7));
    border-radius: 999px;
    border: 2px solid rgba(246, 249, 252, 0.95);
}

.publication-list-panel::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(23, 182, 176, 1), rgba(12, 27, 51, 0.85));
}

.publication-results-bar p {
    margin-bottom: 0;
    color: var(--grey-700);
    font-weight: 700;
}

.publication-reset {
    min-width: 170px;
}

.publication-list-panel .publication-results-bar {
    position: sticky;
    top: 0;
    z-index: 3;
    margin-top: 0;
    padding: 1rem 0 1.1rem;
    background: linear-gradient(180deg, rgba(246, 249, 252, 0.98) 0%, rgba(246, 249, 252, 0.92) 78%, rgba(246, 249, 252, 0) 100%);
    backdrop-filter: blur(6px);
}

.publication-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.15rem;
}

.publication-card {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-height: 100%;
    padding: 1.5rem;
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(12, 27, 51, 0.08);
    box-shadow: var(--shadow-sm);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.publication-card:hover {
    transform: translateY(-6px);
    border-color: rgba(23, 182, 176, 0.18);
    box-shadow: var(--shadow-lg);
}

.publication-card-top,
.publication-card-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.publication-card h3 {
    margin-bottom: 0;
    font-size: 1.18rem;
    line-height: 1.2;
}

.publication-year {
    color: var(--grey-500);
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.publication-card-authors,
.publication-card-citation {
    margin-bottom: 0;
    font-size: 0.92rem;
}

.publication-card-authors {
    color: var(--grey-700);
}

.publication-card-citation {
    color: var(--teal-dark);
}

.publication-study-type {
    color: var(--grey-600);
    font-size: 0.82rem;
    font-weight: 700;
}

.publication-card-links {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.publication-card-links a {
    color: var(--navy);
    font-size: 0.86rem;
    font-weight: 800;
}

.publication-card-links a:hover {
    color: var(--teal-dark);
}

.publication-empty-state {
    margin-top: 1rem;
    padding: 1rem 1.2rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.86);
    border: 1px dashed rgba(12, 27, 51, 0.18);
    text-align: center;
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.service-card,
.testimonial-card,
.dashboard-preview {
    animation: riseIn 0.7s ease both;
}

@media (max-width: 1180px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .page-hero-content {
        grid-template-columns: 1fr;
    }

    .science-library-header,
    .publication-toolbar {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

@media (max-width: 1024px) {
    section {
        padding: 4.5rem 0;
    }

    .home-services-section .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nav-container {
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        border-radius: 1.25rem;
        padding: 0.75rem;
        margin-top: 0.75rem;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .services-grid,
    .two-column,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .science-library-stats {
        grid-template-columns: 1fr;
    }

    .stats-bar {
        margin-top: -1.25rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    .home-services-section .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card-compact {
        min-height: 160px;
    }

    .hero {
        padding-top: 5.8rem;
        padding-bottom: 4.5rem;
    }

    .page-hero {
        padding-top: 4rem;
        padding-bottom: 3.5rem;
    }

    .hero-buttons,
    .cta-buttons,
    .publication-results-bar {
        flex-direction: column;
    }

    .hero-proof {
        gap: 1rem;
    }

    .hero-proof-item {
        min-width: 120px;
    }

    .page-hero-highlight {
        width: 100%;
        justify-content: center;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline {
        width: 100%;
    }

    .science-library-shell,
    .publication-spotlight,
    .publication-card {
        padding: 1.25rem;
    }

    .publication-list-panel {
        max-height: 28rem;
        padding-right: 0.2rem;
    }

    .publication-card-top,
    .publication-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.35rem;
    }

    h2 {
        font-size: 1.85rem;
    }

    .hero-panel {
        padding: 1.35rem;
    }

    .dashboard-stats,
    .hero-panel-grid {
        grid-template-columns: 1fr;
    }
}
