/*
Theme Name: Cohort
Theme URI: https://example.com/themes/cohort
Author: Your Name
Author URI: https://example.com
Description: A custom single-page WordPress theme designed to match the Cohort mockup.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cohort
Tags: one-column, single-page, responsive-layout
*/

:root {
    /* Brand palette */
    --brand-orange: #E46C0A;
    --brand-blue: #00194C;
    --brand-dark-blue: #0A1929;
    --brand-navy: #051119;

    /* Mapped tokens (theme uses these throughout) */
    --color-primary: var(--brand-blue);
    --color-primary-dark: #061845;
    --color-accent: var(--brand-orange);
    --color-accent-dark: #d95509;
    --color-sky: #f3f7ff;
    --color-mid: #344159;
    --color-muted: #5f6a83;
    --color-border: rgba(14, 43, 104, 0.12);
    --color-card: #ffffff;
    --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-soft: 0 16px 30px rgba(11, 44, 109, 0.12);
    --shadow-hover: 0 24px 48px rgba(11, 44, 109, 0.18);
}
.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 28px 48px rgba(11,44,109,.18);
    border-color: var(--brand-orange, #E46C0A);
    background: linear-gradient(180deg, #fff 0%, #fff8f4 100%);
}

/* Hero rotator */
.hero-slides {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 600ms ease;
}

.hero-slide.is-active {
    opacity: 1;
}

[data-hero-dots] {
    position: relative;
    z-index: 3;
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 1rem;
}

[data-hero-dots] button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
}

[data-hero-dots] button.is-active {
    background: #fff;
}

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-size: 16px;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: #000;
    background-color: #ffffff;
    line-height: 1.6;
}

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

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

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: min(1280px, 92vw);
    margin: 0 auto;
}

header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: #00194C;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

header.site-header.is-scrolled {
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

.site-main { padding-top: 72px; }
@media (max-width: 900px) { .site-main { padding-top: 64px; } }

.nav-cta { display: none; }
@media (min-width: 900px) {
  .nav-cta { display: block; }
}

/* Header CTA Button */
.header-cta {
    display: none;
}
@media (min-width: 900px) {
    .header-cta {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.7rem 1.25rem;
        background: var(--brand-orange);
        color: #fff;
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.9rem;
        white-space: nowrap;
        transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }
    .header-cta:hover {
        background: var(--color-accent-dark);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(228,108,10,0.35);
    }
}

.top-bar {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8rem;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    gap: 1rem;
}

.top-bar-contact,
.top-bar-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.top-bar-meta a {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s ease;
}

.top-bar-meta a:hover {
    color: #fff;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.contact-divider {
    display: inline-block;
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.3);
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0 0;
    min-height: 80px;
}

.brand {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    text-transform: uppercase;
}

/* Brand logo image sizing */
.brand .custom-logo-link,
.brand .custom-logo {
    display: inline-flex;
    align-items: center;
}

.brand img.custom-logo {
    width: 126px;
    height: 48px;
    object-fit: contain;
}

.primary-nav-wrapper {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Mobile nav toggle (hamburger) */
.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(14, 43, 104, 0.12);
    border-radius: 10px;
    padding: 0.5rem;
    width: 44px;
    height: 40px;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.nav-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-mid);
}

.primary-nav > li {
    list-style: none;
}

.primary-nav a,
.primary-nav > li > a {
    font-size: 1rem;
    font-weight: 400;
    color: #FFFFFF;
    padding: 0.25rem 0;
    position: relative;
    transition: color 0.2s ease;
}

.primary-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transition: width 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a:focus { color: var(--brand-orange); }
/* Hide Contact from menu per mock */
.primary-nav a[href="#contact"],
.primary-nav a[href$="/#contact"],
.primary-nav a[href*="#contact"] { display: none; }

.primary-nav a:hover::after,
.primary-nav a:focus::after {
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-primary {
    background: var(--brand-orange);
    color: #fff;
    box-shadow: none;
}

.btn-secondary {
    background: transparent;
    color: var(--brand-blue);
    border: 2px solid var(--brand-blue);
    box-shadow: none;
}

.btn-secondary:hover {
    background: #f3f4f6;
    color: var(--brand-blue);
}

.btn-soft {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: none;
}

.btn-soft:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    background: transparent;
}

.section {
    padding: 96px 0;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.2vw, 2.25rem);
    font-weight: 600;
    line-height: 1.35;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--color-muted);
    margin: 0;
}


.hero {
    position: relative;
    height: clamp(600px, 86vh, 860px);
    padding: 0 0 clamp(4rem, 6vw, 5rem);
    background: #0e2b68;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: -4rem -6rem;
    background: url('assets/images/hero-bg.svg') center/cover no-repeat;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 25, 59, 0.92), rgba(8, 24, 58, 0.5));
    z-index: 1;
    transform: translateY(calc(var(--hero-scroll, 0px) * -0.12));
    pointer-events: none;
}

/* Hero background video (matches React overlay look) */
.hero-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-video-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(3,37,121,0.30), rgba(3,37,121,0.25) 50%, rgba(3,37,121,0.20));
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding-top: clamp(0.25rem, 1vw, 0.75rem);
}

.hero-centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.hero-media {
    position: relative;
    width: clamp(260px, 25vw, 320px);
    display: flex;
    justify-content: flex-end;
}

/* hero-media removed in centered variant */

/* Value Prop Rotating Carousel */
.value-prop-carousel {
    position: relative;
    min-height: clamp(3.5rem, 7vw, 4.5rem);
    margin-top: 40px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.value-prop-carousel h1.value-prop-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5.2vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.005em;
    opacity: 0;
    transform: translateY(100%) scale(0.9);
    filter: blur(8px);
    pointer-events: none;
    background: linear-gradient(90deg, #fff 0%, #fff 50%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    background-size: 200% 100%;
    background-position: 100% 0;
}

/* Entering animation */
.value-prop-carousel h1.value-prop-item.is-active {
    position: relative;
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    pointer-events: auto;
    animation: valueReveal 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
               textShine 1.5s ease 0.3s forwards;
}

/* Leaving animation */
.value-prop-carousel h1.value-prop-item.is-leaving {
    animation: valueExit 0.4s cubic-bezier(0.55, 0, 1, 0.45) forwards;
}

@keyframes valueReveal {
    0% {
        opacity: 0;
        transform: translateY(100%) scale(0.9) rotateX(20deg);
        filter: blur(8px);
    }
    50% {
        opacity: 0.7;
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
        filter: blur(0);
    }
}

@keyframes valueExit {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-80%) scale(0.9);
        filter: blur(6px);
    }
}

@keyframes textShine {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

/* Glow effect behind active text */
.value-prop-carousel h1.value-prop-item.is-active::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    color: transparent;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.5),
                 0 0 80px rgba(228, 108, 10, 0.3);
    z-index: -1;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

/* Progress bar indicator */
.value-prop-carousel::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.value-prop-carousel::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--brand-orange, #E46C0A);
    border-radius: 3px;
    z-index: 1;
    animation: progressFill 3s linear infinite;
    transform-origin: left center;
}

@keyframes progressFill {
    0% {
        transform: translateX(-50%) scaleX(0);
    }
    100% {
        transform: translateX(-50%) scaleX(1);
    }
}

.hero-copy h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5.2vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    letter-spacing: -0.005em;
}

.hero-copy p {
    font-size: 1.125rem;
    line-height: 1.625;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 1024px) {
  .hero-actions { margin-bottom: 1.75rem; }
}

.hero-secondary {
    background: #1b2b6b;
    color: #fff;
    border: none;
    box-shadow: 0 10px 18px rgba(15, 30, 70, 0.25);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.meta-pill {
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.85rem;
}

.hero-card-grid {
    position: absolute;
    left: 50%;
    bottom: clamp(1rem, 2vw, 1.5rem);
    transform: translateX(-50%);
    width: min(1100px, 92%);
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 1.5rem;
    justify-items: stretch;
    z-index: 2; /* above overlay, below header */
}

.hero-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 22px;
    padding: clamp(1.6rem, 2.2vw, 1.9rem);
    color: var(--color-primary);
    border: 1px solid rgba(14, 43, 104, 0.08);
    box-shadow: 0 30px 56px rgba(10, 24, 58, 0.2);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    cursor: pointer;
}

.hero-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 28px 48px rgba(11,44,109,.18);
    border-color: var(--brand-orange, #E46C0A);
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,248,244,0.98) 100%);
}

.hero-card:hover .hero-card-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 24px rgba(255,107,26,.45);
}

.hero-card:hover h3 {
    color: var(--brand-orange, #E46C0A);
}

.hero-card-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(180deg, #ff8b35 0%, #ff6b1a 100%);
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 12px 24px rgba(255, 107, 26, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    transition: color 0.25s ease;
}

.hero-card p {
    margin: 0;
    color: var(--color-mid);
}

.hero-card-grid + .hero-gradient-shadow {
    display: none;
}

.how-we-work {
    background: #F9FAFB;
    padding-top: 96px;
}

/* How We Work - Dynamic Cards Grid */
.hw-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.hw-card {
    background: #fff;
    border: 1px solid rgba(14, 43, 104, 0.08);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 18px 28px rgba(11,44,109,.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    cursor: pointer;
    text-align: center;
}

.hw-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 28px 48px rgba(11,44,109,.18);
    border-color: var(--brand-orange, #E46C0A);
    background: linear-gradient(180deg, #fff 0%, #fff8f4 100%);
}

.hw-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(180deg, #ff8b35 0%, #ff6b1a 100%);
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(255, 107, 26, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hw-card:hover .hw-card-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 24px rgba(255,107,26,.45);
}

.hw-card h3 {
    color: var(--brand-blue, #00194C);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    transition: color 0.25s ease;
}

.hw-card:hover h3 {
    color: var(--brand-orange, #E46C0A);
}

.hw-card p,
.hw-card-text {
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.hw-card-text p {
    margin: 0 0 0.5em;
}

.hw-card-text p:last-child {
    margin-bottom: 0;
}

.hw-card-text ul,
.hw-card-text ol {
    margin: 0.5em 0;
    padding-left: 1.2em;
}

.hw-card-text a {
    color: var(--brand-orange, #E46C0A);
    text-decoration: underline;
}

.hw-card-text strong {
    font-weight: 600;
    color: var(--brand-blue, #00194C);
}

/* Responsive: Cards grid */
@media (max-width: 1200px) {
    .hw-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .hw-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hw-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* 5 R's Section */
.five-rs-section {
    display: grid;
    grid-template-columns: auto 1px 1fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
}

.five-rs-pills {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    padding-left: 20px;
}

/* Vertical connector line */
.rs-connector {
    position: absolute;
    left: 0;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: #9ca3af;
}

.rs-pill {
    display: flex;
    align-items: center;
    position: relative;
}

.rs-pill span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    background: var(--brand-blue, #00194C);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 999px;
    min-width: 160px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 25, 76, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.rs-pill span i {
    font-size: 1rem;
}

.rs-pill:hover span {
    transform: translateX(4px) scale(1.05);
    box-shadow: 0 8px 22px rgba(0, 25, 76, 0.4);
    background: var(--brand-orange, #E46C0A);
}

/* Connector dot */
.rs-dot {
    position: absolute;
    left: -20px;
    width: 12px;
    height: 12px;
    background: #fff;
    border: 2px solid #9ca3af;
    border-radius: 50%;
    z-index: 1;
}

/* Horizontal line from dot to pill */
.rs-pill::before {
    content: '';
    position: absolute;
    left: -8px;
    width: 28px;
    height: 2px;
    background: #9ca3af;
}

/* Vertical divider */
.five-rs-divider {
    width: 1px;
    background: #d1d5db;
    align-self: stretch;
    min-height: 300px;
}

/* Content side */
.five-rs-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 0.5rem;
}

/* Dim non-highlighted steps when one is highlighted */
.five-rs-content:has(.rs-step.is-highlighted) .rs-step:not(.is-highlighted) {
    opacity: 0.4;
}

.rs-step {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border-left: 3px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.rs-step.is-highlighted {
    background: linear-gradient(180deg, #fff 0%, #fff8f4 100%);
    border-left-color: var(--brand-orange, #E46C0A);
    transform: translateX(8px);
    box-shadow: 0 12px 28px rgba(228, 108, 10, 0.15);
}

.rs-step.is-highlighted h3 {
    transform: scale(1.05);
}

.rs-step h3 {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--brand-orange, #E46C0A);
    margin: 0 0 0.5rem;
    transition: transform 0.3s ease;
}

.rs-step p,
.rs-step-text {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    margin: 0;
}

.rs-step-text p {
    margin: 0 0 0.5em;
}

.rs-step-text p:last-child {
    margin-bottom: 0;
}

.rs-step-text ul,
.rs-step-text ol {
    margin: 0.5em 0;
    padding-left: 1.4em;
}

.rs-step-text a {
    color: var(--brand-orange, #E46C0A);
    text-decoration: underline;
}

.rs-step-text strong {
    font-weight: 600;
    color: var(--brand-blue, #00194C);
}

/* Responsive */
@media (max-width: 768px) {
    .five-rs-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .five-rs-pills {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding-left: 0;
        gap: 0.75rem;
    }
    
    .rs-connector,
    .rs-dot,
    .rs-pill::before {
        display: none;
    }
    
    .rs-pill span {
        padding: 0.7rem 1.25rem;
        font-size: 0.95rem;
        min-width: auto;
    }
    
    .five-rs-divider {
        display: none;
    }
}

/* Legacy step grid (keeping for backwards compatibility) */
.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(1.5rem, 3vw, 2.25rem);
}

.step-card {
    background: linear-gradient(180deg, #ffffff 0%, #f4f6ff 100%);
    border-radius: 22px;
    padding: clamp(2rem, 3vw, 2.3rem) clamp(1.8rem, 3vw, 2.1rem);
    border: 1px solid rgba(14, 43, 104, 0.08);
    box-shadow: 0 24px 50px rgba(10, 24, 58, 0.16);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    cursor: pointer;
}

.step-card::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(135deg, rgba(14, 43, 104, 0.06), rgba(255, 107, 26, 0.08));
    transition: opacity 0.25s ease;
}

.step-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 28px 48px rgba(11,44,109,.18);
    border-color: var(--brand-orange, #E46C0A);
    background: linear-gradient(180deg, #fff 0%, #fff8f4 100%);
}

.step-card:hover::after {
    opacity: 1;
}

.step-card:hover .step-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 24px rgba(255,107,26,.45);
}

.step-card:hover h3 {
    color: var(--brand-orange, #E46C0A);
}

.step-card .step-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(180deg, #ff8b35 0%, #ff6b1a 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    color: var(--color-primary);
    font-weight: 700;
    font-family: var(--font-display);
    box-shadow: 0 6px 16px rgba(255,107,26,.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card h3 {
    margin: 0 0 0.75rem;
    color: var(--color-primary);
    font-weight: 600;
    transition: color 0.25s ease;
}

.step-index {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.section-cta {
    margin-top: clamp(2rem, 4vw, 3rem);
    text-align: center;
}

.split {
    position: relative;
    padding: clamp(5rem, 8vw, 6.5rem) 0;
}

.split:nth-of-type(odd) {
    background: linear-gradient(180deg, #ffffff 0%, #f2f5ff 100%);
}

.split:nth-of-type(even) {
    background: linear-gradient(180deg, #f4f6ff 0%, #ffffff 100%);
}

.split-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
}

.split.reverse .split-inner {
    direction: rtl;
}

.split.reverse .split-content,
.split.reverse .split-media {
    direction: ltr;
}

.split-media {
    background: linear-gradient(180deg, #e8efff 0%, #fbfcff 100%);
    padding: clamp(1.8rem, 3vw, 2.4rem);
    border-radius: 28px;
    box-shadow: 0 26px 52px rgba(15, 33, 68, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.split-media img {
    width: 100%;
    border-radius: 16px;
    box-shadow: none;
    object-fit: cover;
}

/* FinOps typography and spacing to match mock */
#finops .split-content h2 {
    font-size: clamp(2.5rem, 4.6vw, 3rem);
    margin-bottom: 1.25rem;
}
#finops .split-content > div p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #374151;
    margin: 0 0 1.75rem 0;
}
#finops .finops-features { gap: 1.2rem; margin-bottom: 1.75rem; }
#finops .finops-feature h4 { font-weight: 600; margin-bottom: 0.35rem; }
#finops .finops-feature p { color: #6B7280; }

/* Remove frame around FinOps image and control size */
#finops .split-media {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}
#finops .split-media img {
    display: block;
    width: 100%;
    height: clamp(260px, 36vw, 360px);
    border-radius: 16px;
    box-shadow: none;
}
#finops .split-media .finops-accent { right: -16px; bottom: -16px; opacity: 0.18; }

/* Align section internal spacing with mock */
#finops.section.split { padding-top: clamp(5rem, 7vw, 6rem); padding-bottom: clamp(5rem, 7vw, 6rem); }

/* AI section visual alignment */
#ai .split-content h2 { font-size: clamp(2.5rem, 4.6vw, 3rem); margin-bottom: 1.25rem; color: var(--color-primary); }
#ai .split-content > div p { font-size: 1.125rem; line-height: 1.7; color: #374151; margin: 0 0 1.75rem 0; }
#ai .finops-features { gap: 1.2rem; margin-bottom: 1.75rem; }
#ai .finops-feature h4 { font-weight: 600; margin-bottom: 0.35rem; }
#ai .finops-feature p { color: #6B7280; }
#ai .split-media { background: transparent; padding: 0; border-radius: 0; box-shadow: none; position: relative; }
#ai .split-media img { display: block; width: 100%; height: clamp(260px, 36vw, 360px); border-radius: 16px; box-shadow: none; }
#ai.section.split { padding-top: clamp(5rem, 7vw, 6rem); padding-bottom: clamp(5rem, 7vw, 6rem); }

/* Security section visual alignment */
#security .split-content h2 { font-size: clamp(2.5rem, 4.6vw, 3rem); margin-bottom: 1.25rem; color: var(--color-primary); }
#security .split-content > div p { font-size: 1.125rem; line-height: 1.7; color: #374151; margin: 0 0 1.75rem 0; }
#security .finops-features { gap: 1.2rem; margin-bottom: 1.75rem; }
#security .finops-feature h4 { font-weight: 600; margin-bottom: 0.35rem; }
#security .finops-feature p { color: #6B7280; }
#security .split-media { background: transparent; padding: 0; border-radius: 0; box-shadow: none; position: relative; }
#security .split-media img { display: block; width: 100%; height: clamp(260px, 36vw, 360px); border-radius: 16px; box-shadow: none; }
#security.section.split { padding-top: clamp(5rem, 7vw, 6rem); padding-bottom: clamp(5rem, 7vw, 6rem); }

.eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.9rem;
}

.split-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.2vw, 2.25rem);
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.split-content p {
    margin-bottom: 1.5rem;
}

.feature-list {
    padding: 0;
    margin: 0 0 2rem;
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.feature-list li {
    position: relative;
    padding-left: 2rem;
    color: var(--color-mid);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0.55rem;
    top: 0.6rem;
    width: 6px;
    height: 12px;
    border-radius: 3px;
    background: linear-gradient(135deg, var(--color-accent), #ff9b54);
}

.testimonials {
    background: #F9FAFB;
}

/* Testimonials section header alignment */
section.testimonials .section-header h2 {
    color: var(--brand-blue, #00194C);
    font-weight: 800;
    font-size: clamp(1.75rem, 2.6vw, 2.25rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 0.35rem;
}
section.testimonials .section-header > div {
    color: var(--color-mid, #4B5A7D);
    font-size: clamp(0.98rem, 1.2vw, 1.0625rem);
    line-height: 1.7;
}

/* Explicit alternating backgrounds per section */
section#services.how-we-work { background: #F9FAFB; }
section#finops.split { background: #FFFFFF !important; }
section#ai.split { background: #F9FAFB !important; }
section#security.split { background: #FFFFFF !important; }
section.testimonials { background: #F9FAFB; }
section.about { background: #FFFFFF; }
section.resources { background: #F9FAFB; }

.testimonial-wide {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

/* Carousel container */
.testimonial-carousel { --tc-gap: 1.25rem; position: relative; overflow: visible; }
.testimonial-carousel .tc-track {
    display: flex;
    gap: var(--tc-gap);
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.testimonial-carousel .tc-track::-webkit-scrollbar { display: none; }
.testimonial-carousel .tc-item { flex: 0 0 auto; }

/* Controls */
.testimonial-carousel .tc-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-top: .8rem;
}
.testimonial-carousel .tc-btn {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 2px solid var(--brand-orange, #E46C0A);
    background: transparent;
    color: var(--brand-orange, #E46C0A);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, color .15s ease;
}
.testimonial-carousel .tc-btn:hover { transform: translateY(-1px); background: var(--brand-orange, #E46C0A); color: #fff; }
.testimonial-carousel .tc-icon { font-size: 16px; line-height: 1; }

/* Dots */
.testimonial-carousel .tc-dots { display: inline-flex; gap: .5rem; }
.testimonial-carousel .tc-dot {
    width: 8px; height: 8px; border-radius: 999px; border: none; cursor: pointer;
    background: rgba(228,108,10,0.35);
}
.testimonial-carousel .tc-dot.active { background: var(--brand-orange, #E46C0A); }

/* Testimonials grid (two cards) */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: #fff;
    border: 1px solid rgba(14,43,104,0.08);
    border-radius: 14px;
    padding: clamp(1.15rem, 2.4vw, 1.5rem);
    box-shadow: 0 16px 36px rgba(10, 24, 58, 0.12);
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
    cursor: pointer;
}
.testimonial-card::before {
    content: "\201D"; /* right double quote mark for stylized glyph */
    position: absolute;
    top: 14px;
    left: 16px;
    font-size: 2.2rem;
    color: rgba(14, 43, 104, 0.12);
}
.testimonial-card .quote {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-primary);
    margin-bottom: 0.9rem;
    position: relative;
}

.testimonial-card .quote::before {
    content: '“';
    position: absolute;
    left: -0.6rem;
    top: -0.8rem;
    font-size: 2.2rem;
    color: rgba(14, 43, 104, 0.12);
}

.testimonial-card .author {
    display: grid;
    gap: 0.25rem;
    color: var(--color-mid);
}

/* Partner logo strip */
.logo-strip {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.25rem, 3vw, 2.25rem) clamp(1.75rem, 4vw, 3.5rem);
    justify-content: center;
    align-items: center;
}
.logo-strip .partner img {
    display: block;
    height: clamp(40px, 6vw, 64px);
    width: auto;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: filter .2s ease, opacity .2s ease, transform .2s ease;
}
.logo-strip .partner:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-1px);
}
.logo-strip .partner-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    background: #EFF2F7;
    border-radius: 999px;
    color: var(--brand-blue, #00194C);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.9375rem;
    border: 1px solid rgba(3,37,121,0.08);
    transition: transform .15s ease, background .2s ease, color .2s ease;
}
.logo-strip .partner-pill:hover { transform: translateY(-1px); background: #e8edf6; }

.partners-eyebrow {
    text-align: center;
    color: var(--color-mid, #4B5A7D);
    font-weight: 600;
    font-size: clamp(0.95rem, 1.2vw, 1rem);
    margin: clamp(1.75rem, 3.5vw, 2.25rem) 0 0.75rem;
}
.testimonials-cta { text-align: center; margin-top: 1rem; }
.btn-outline {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1.5px solid var(--brand-blue, #00194C);
    color: var(--brand-blue, #00194C);
    font-weight: 600;
    background: transparent;
    transition: background .15s ease, color .15s ease;
}
.btn-outline:hover { background: var(--brand-blue, #00194C); color: #fff; }

.logos-row {
    margin-top: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    color: rgba(14, 43, 104, 0.55);
    font-weight: 600;
}

/* Removed outline around testimonial block */

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding-right: clamp(1rem, 3vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-slide .quote {
    font-size: 1.1rem;
    color: var(--color-primary);
    position: relative;
}

.testimonial-slide .quote::before {
    content: '“';
    position: absolute;
    left: -0.75rem;
    top: -0.75rem;
    font-size: 3rem;
    color: rgba(14, 43, 104, 0.12);
}

.testimonial-controls {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.testimonial-controls .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(14, 43, 104, 0.2);
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.testimonial-controls .dot.is-active {
    background: linear-gradient(135deg, var(--color-accent), #ff8b35);
    transform: scale(1.1);
}

.logo-strip {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
    font-weight: 600;
    color: rgba(14, 43, 104, 0.55);
    justify-content: center;
}

.about-grid { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: clamp(1.5rem, 4vw, 2rem); 
    align-items: start; 
}

.about-media { 
    max-width: 980px; 
    margin: 0 auto; 
}
.about-media img { 
    width: 100%; 
    height: auto; 
    border-radius: 18px; 
    display: block; 
    transition: transform .5s ease; 
}
.about-media:hover img { transform: scale(1.05); }

.about-cards { 
    display: grid; 
    grid-template-columns: repeat(3, minmax(0,1fr)); 
    gap: 1rem; 
    margin-top: .9rem; 
    max-width: 1100px; 
    margin-left: auto; 
    margin-right: auto; 
}

.about-cards .mini-card {
    background: #fff;
    border: 1px solid rgba(4,26,74,.08);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 18px 28px rgba(11,44,109,.12);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
    cursor: pointer;
}

.about-cards .mini-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 28px 48px rgba(11,44,109,.18);
    border-color: var(--brand-orange, #E46C0A);
    background: linear-gradient(180deg, #fff 0%, #fff8f4 100%);
}

.about-cards .mini-card:hover .icon-box {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 24px rgba(228,108,10,.45);
}

.about-cards .mini-card:hover h3 {
    color: var(--brand-orange, #E46C0A);
}
.about-cards .mini-card h3 {
    color: var(--brand-blue, #00194C);
    font-size: 1.06rem;
    margin: 0 0 .5rem;
    font-weight: 900;
    transition: color .25s ease;
}

.about-cards .mini-card p { color: #374151; font-size: 1rem; line-height: 1.7; margin: 0; }

.about-cards .mini-card .icon-box {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--brand-orange, #E46C0A);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .6rem;
    box-shadow: 0 6px 16px rgba(228,108,10,.35);
    transition: transform .25s ease, box-shadow .25s ease;
}

.about-cards .mini-card .icon-box i {
    font-size: 16px;
}

.about-cards .mini-card .icon-box svg {
    width: 18px;
    height: 18px;
}

.stat-grid { 
    display: grid; 
    grid-template-columns: repeat(4, minmax(0,1fr)); 
    gap: 1rem; 
    margin-top: 1.4rem; 
    padding-top: .9rem; 
    border-top: 1px solid rgba(4,26,74,.08); 
    max-width: 980px; 
    margin-left: auto; 
    margin-right: auto; 
}

.stat-grid .stat {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 18px 16px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(11,44,109,.10);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 110px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    cursor: default;
}

.stat-grid .stat:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(11,44,109,.16);
    border-color: var(--brand-orange, #E46C0A);
}

.stat-grid .stat:hover strong {
    transform: scale(1.1);
}

.stat-grid .stat strong { display:block; color: var(--brand-orange,#E46C0A); font-weight: 500; font-size: 2.25rem; line-height: 1; letter-spacing: 0; transition: transform .25s ease; }

.stat-grid .stat span { display:block; color: #374151; font-size: 1rem; margin-top: .5rem; }

.contact-card a {
    color: var(--brand-blue, #00194C);
    font-weight: 600;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.about-grid .stat-grid { grid-column: 1 / -1; }
.contact-heading { text-align:center; margin: 2.25rem 0 1.25rem; color: var(--brand-blue, #00194C); font-size: clamp(1.15rem, 2.5vw, 1.25rem); font-weight: 800; }

/* Strategy Session Form */
.strategy-session-form {
    margin-top: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 2rem 2.5rem 2.5rem;
    box-shadow: 0 24px 48px rgba(10, 24, 58, 0.12);
    text-align: center;
}

.strategy-session-form .form-heading {
    font-family: var(--font-display);
    color: var(--brand-blue, #00194C);
    font-size: clamp(1.35rem, 2.8vw, 1.65rem);
    font-weight: 700;
    margin: 0 0 1.5rem;
    text-align: center;
}

.hubspot-form-wrapper {
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
}

/* HubSpot form styling overrides */
.hubspot-form-wrapper .hs-form {
    font-family: var(--font-body);
}

.hubspot-form-wrapper .hs-form-field {
    margin-bottom: 1.25rem;
}

.hubspot-form-wrapper .hs-form-field label {
    font-family: var(--font-body);
    color: var(--brand-blue, #00194C);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: block;
}

.hubspot-form-wrapper .hs-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #f9fafb;
}

.hubspot-form-wrapper .hs-input:focus {
    outline: none;
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px rgba(228, 108, 10, 0.15);
    background: #fff;
}

.hubspot-form-wrapper .hs-button {
    background: var(--brand-orange);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    margin-top: 0.5rem;
}

.hubspot-form-wrapper .hs-button:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(228, 108, 10, 0.35);
}

.hubspot-form-wrapper .hs-error-msgs {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 0.35rem;
}

.hubspot-form-wrapper .submitted-message {
    font-family: var(--font-body);
    color: var(--brand-blue, #00194C);
    font-size: 1.1rem;
    text-align: center;
    padding: 1rem 0;
}
.contact-card {
    background:#fff;
    border:1px solid var(--color-border);
    border-radius: 16px;
    padding: 32px 36px;
    box-shadow: 0 30px 50px rgba(10, 24, 58, 0.12);
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 1.5rem 2rem;
    max-width: 960px;
    margin: 0 auto;
}
.contact-card .ci-item { display:flex; flex-direction: column; align-items: center; gap: .75rem; justify-content: flex-start; text-align: center; transition: transform .25s ease; cursor: pointer; }
.contact-card .ci-item:hover { transform: translateY(-4px); }
.contact-card .ci-item:hover .ci-ico { transform: scale(1.1); box-shadow: 0 10px 24px rgba(228,108,10,.45); }
.contact-card .ci-ico { width: 56px; height: 56px; border-radius: 8px; background: var(--brand-orange,#E46C0A); color:#fff; display:flex; align-items:center; justify-content:center; box-shadow: 0 6px 16px rgba(228,108,10,.35); transition: transform .25s ease, box-shadow .25s ease; }
.contact-card .ci-ico i { font-size: 16px; }
.contact-card .ci-text { display:flex; flex-direction: column; align-items: center; }
.contact-card .ci-text strong { color: var(--brand-blue,#00194C); font-weight: 700; font-size: 1rem; }
.contact-card .ci-text span { color: #374151; font-size: .95rem; margin-top: 4px; }
@media (max-width: 900px){ .contact-card{ grid-template-columns: 1fr; } .contact-card .ci-item{ justify-content:flex-start; } }

@media (max-width: 1024px) {
    .about-cards {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
    .stat-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 640px) {
    .about-cards {
        grid-template-columns: 1fr;
    }
    .stat-grid {
        grid-template-columns: 1fr 1fr;
    }
    .contact-card > div {
        grid-template-columns: 1fr;
    }
}

.about {
    background: #FFFFFF;
}

.finops-features {
    display: grid;
    gap: 1rem;
    margin: 0 0 1.25rem;
}

.finops-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 12px;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.finops-feature:hover { 
    transform: translateX(8px) translateY(-2px); 
    background: linear-gradient(180deg, #fff 0%, #fff8f4 100%);
    box-shadow: 0 12px 24px rgba(11,44,109,.10);
}

.finops-feature .icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--brand-orange);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(228,108,10,.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.finops-feature:hover .icon-box { 
    transform: scale(1.15) rotate(5deg); 
    box-shadow: 0 10px 24px rgba(228,108,10,.45);
}

.finops-feature:hover h4 {
    color: var(--brand-orange, #E46C0A);
}

.split-content h4 { margin: 0 0 0.35rem; transition: color 0.25s ease; }

.split-media .finops-accent {
    position: absolute;
    right: -24px;
    bottom: -24px;
    width: 128px;
    height: 128px;
    border-radius: 999px;
    background: var(--brand-orange);
    opacity: 0.2;
    z-index: 0;
}

.split-media img { position: relative; z-index: 1; transition: transform 0.5s ease, box-shadow 0.5s ease; }
.split-media:hover img { transform: scale(1.05); }

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.resource-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 26px 52px rgba(10, 24, 58, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    cursor: pointer;
}

.resource-card.dark {
    background: linear-gradient(180deg, #0f1f4a 0%, #102559 100%);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.86);
}

.resource-card.dark .resource-body h3 { color: #fff; }
.resource-card.dark .resource-body p { color: rgba(255,255,255,0.82); }
.resource-card.dark .resource-tag {
    color: #fff;
    background: rgba(255,255,255,0.12);
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
}
.resource-card.dark .link-arrow { color: #ff9b54; }

.resource-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 28px 48px rgba(11,44,109,.18);
    border-color: var(--brand-orange, #E46C0A);
}

.resource-card:hover .resource-body h3 {
    color: var(--brand-orange, #E46C0A);
}

.resource-card:hover .resource-pill {
    transform: scale(1.1);
}

.resource-media { position: relative; }
.resource-card img { width: 100%; height: 200px; object-fit: cover; display:block; }
.resource-pill {
    position: absolute;
    left: 14px;
    top: 14px;
    background: var(--brand-orange);
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(228,108,10,0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.resource-body { padding: 1.25rem 1.25rem 1.35rem; }

.resource-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.resource-body h3 { margin: 0 0 0.6rem; font-size: 1.2rem; font-weight: 700; color: var(--color-primary); transition: color 0.25s ease; }
.resource-body p { color: #4b5563; font-size: .95rem; margin: 0 0 .9rem; }

.resource-meta { display: flex; align-items: center; gap: 1rem; color: #6b7280; font-size: .85rem; margin-bottom: .9rem; }
.rm-item { display: inline-flex; align-items: center; gap: .4rem; }
.rm-item i { color: #9ca3af; }

.link-arrow {
    color: var(--color-accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    position: relative;
}

.link-arrow::after {
    content: '→';
    transition: transform 0.2s ease;
}

.link-arrow:hover::after {
    transform: translateX(4px);
}

.footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: clamp(3.5rem, 6vw, 5rem);
    padding-bottom: 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(2rem, 4vw, 3rem);
    align-items: start;
}

.footer-brand .logo-mark {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff;
}

.footer-brand .footer-logo { height: 40px; width: auto; display: block; margin-bottom: 0.75rem; }

.footer-brand p { margin: 0 0 1.2rem; max-width: 360px; line-height: 1.6; }

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-actions .btn {
    font-size: 0.85rem;
    padding: 0.7rem 1.4rem;
    box-shadow: none;
}

/* Footer social pills */
.footer-social .pill {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    color: #fff;
    transition: background 0.2s ease, transform 0.2s ease;
}
.footer-social .pill:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }
.footer-social .pill i { font-size: 16px; }

.footer-columns {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 2.25rem;
    align-items: start;
}

.footer-col h4 { color: #fff; margin-bottom: 0.9rem; font-size: 1rem; font-weight: 600; }

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #fff;
}

.social-links {
    display: grid;
    gap: 0.6rem;
}

.footer-bottom {
    margin-top: clamp(2.2rem, 3.5vw, 3rem);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 1.25rem 0 2.2rem;
    color: rgba(255, 255, 255, 0.65);
}

.footer-bottom .container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

/* Footer legal menu */
.footer-legal { margin-left: auto; }
.footer-legal .menu { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; align-items: center; }
.footer-legal .menu li { position: relative; padding-left: 0; }
.footer-legal .menu li + li::before { content: '\2022'; color: rgba(255,255,255,0.65); margin-right: 1.25rem; }
.footer-legal .menu a { color: inherit; }

@media (max-width: 900px) {
    .nav-toggle { display: inline-flex; }

    /* Primary menu is hidden by default on mobile */
    .primary-nav-wrapper {
        position: absolute;
        right: 1rem;
        top: 72px;
        background: #00194C;
        border-top: 1px solid rgba(255,255,255,0.2);
        box-shadow: 0 18px 40px rgba(0,0,0,0.14);
        border-radius: 0 0 14px 14px;
        padding: 0.75rem 1rem;
        display: none;
        z-index: 50;
    }

    .primary-nav { display: grid; gap: 0.75rem; }
    .primary-nav a { color: #fff; }

    /* When open */
    .primary-nav-wrapper.is-open { display: block; }

    .top-bar-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .top-bar-contact,
    .top-bar-meta {
        justify-content: center;
    }

    .hero {
        text-align: center;
    }

    .hero-actions,
    .hero-meta {
        justify-content: center;
    }

    .hero-card-grid {
        position: static;
        transform: none;
        width: 100%;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        margin-top: 1.25rem;
    }

    .split.reverse .split-inner {
        direction: ltr;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
}

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

    .testimonial-slide .quote::before {
        left: -0.35rem;
    }

    .footer-actions {
        justify-content: flex-start;
    }
}

/* ==========================================================================
   SINGLE POST & PAGE STYLES
   ========================================================================== */

/* Container narrow for content */
.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Post Hero Section */
.post-hero,
.page-hero {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    overflow: hidden;
}

.post-hero-image,
.page-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.post-hero-image img,
.page-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-hero-no-image,
.page-hero-no-image {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.post-hero-overlay,
.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
}

.post-hero-content,
.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

/* Post Categories */
.post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.post-category {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: var(--accent, #6366f1);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.post-category:hover {
    background: var(--accent-dark, #4f46e5);
}

/* Post/Page Title */
.post-title,
.page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 1.5rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.page-excerpt {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    margin: 0;
    max-width: 700px;
}

/* Post Meta */
.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.post-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.3);
}

.post-author-info {
    display: flex;
    flex-direction: column;
}

.post-author-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.post-author-role {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
}

.post-details {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.post-date,
.post-read-time {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.post-date svg,
.post-read-time svg {
    opacity: 0.7;
}

/* Post Content */
.post-content-wrapper,
.page-content-wrapper {
    padding: 3rem 0 4rem;
}

.post-content,
.page-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--fg, #333);
}

.post-content h2,
.page-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: var(--fg, #1a1a1a);
}

.post-content h3,
.page-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
    color: var(--fg, #1a1a1a);
}

.post-content p,
.page-content p {
    margin-bottom: 1.5rem;
}

.post-content img,
.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.post-content a,
.page-content a {
    color: var(--accent, #6366f1);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.post-content a:hover,
.page-content a:hover {
    color: var(--accent-dark, #4f46e5);
}

.post-content blockquote,
.page-content blockquote {
    border-left: 4px solid var(--accent, #6366f1);
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    background: rgba(99, 102, 241, 0.05);
    font-style: italic;
    color: var(--fg-muted, #555);
    border-radius: 0 8px 8px 0;
}

.post-content ul,
.post-content ol,
.page-content ul,
.page-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.post-content li,
.page-content li {
    margin-bottom: 0.5rem;
}

.post-content pre,
.page-content pre {
    background: #1a1a2e;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.post-content code,
.page-content code {
    background: rgba(99, 102, 241, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
}

.post-content pre code,
.page-content pre code {
    background: none;
    padding: 0;
}

/* Post Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border, #e5e7eb);
}

.post-tags-label {
    font-weight: 600;
    color: var(--fg-muted, #666);
    margin-right: 0.5rem;
}

.post-tag {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background: var(--bg-alt, #f3f4f6);
    color: var(--fg-muted, #666);
    font-size: 0.85rem;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.post-tag:hover {
    background: var(--accent, #6366f1);
    color: #fff;
}

/* Share Links */
.post-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border, #e5e7eb);
}

.post-share-label {
    font-weight: 600;
    color: var(--fg-muted, #666);
}

.post-share-links {
    display: flex;
    gap: 0.75rem;
}

.share-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-alt, #f3f4f6);
    color: var(--fg-muted, #666);
    transition: all 0.2s ease;
}

.share-link:hover {
    transform: translateY(-2px);
}

.share-twitter:hover {
    background: #1da1f2;
    color: #fff;
}

.share-linkedin:hover {
    background: #0077b5;
    color: #fff;
}

.share-email:hover {
    background: var(--accent, #6366f1);
    color: #fff;
}

/* Author Bio */
.author-bio {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-alt, #f8fafc);
    border-radius: 12px;
    border: 1px solid var(--border, #e5e7eb);
}

.author-bio-avatar img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
}

.author-bio-content {
    flex: 1;
}

.author-bio-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--fg, #1a1a1a);
}

.author-bio-desc {
    color: var(--fg-muted, #666);
    line-height: 1.6;
    margin: 0;
}

/* Related Posts */
.related-posts {
    padding: 4rem 0;
    background: var(--bg-alt, #f8fafc);
}

.related-posts .section-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--fg, #1a1a1a);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.related-post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.related-post-image {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 1.25rem;
}

.related-post-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent, #6366f1);
    margin-bottom: 0.5rem;
}

.related-post-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 0.75rem;
}

.related-post-title a {
    color: var(--fg, #1a1a1a);
    text-decoration: none;
    transition: color 0.2s ease;
}

.related-post-title a:hover {
    color: var(--accent, #6366f1);
}

.related-post-date {
    font-size: 0.8rem;
    color: var(--fg-muted, #888);
}

/* Responsive Adjustments for Single Post/Page */
@media (max-width: 1024px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .post-hero,
    .page-hero {
        min-height: 380px;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .post-hero,
    .page-hero {
        min-height: 320px;
        padding-bottom: 2rem;
    }
    
    .post-content-wrapper,
    .page-content-wrapper {
        padding: 2rem 0 3rem;
    }
    
    .post-content,
    .page-content {
        font-size: 1rem;
    }
    
    .post-share {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   ARCHIVE / BLOG LISTING STYLES
   ========================================================================== */

/* Archive Hero */
.archive-hero {
    position: relative;
    padding: 5rem 0 3rem;
    text-align: center;
    overflow: hidden;
}

.archive-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f1629 0%, #1a1f3a 50%, #0d2847 100%);
    z-index: 0;
}

.archive-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(228, 108, 10, 0.1) 0%, transparent 50%);
}

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

.archive-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.archive-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 1rem;
}

.archive-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.archive-desc p {
    margin: 0;
}

/* Archive Search */
.archive-search {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.archive-search:focus-within {
    background: rgba(255,255,255,0.15);
    border-color: var(--accent, #6366f1);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.archive-search-input {
    flex: 1;
    padding: 0.9rem 1.5rem;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1rem;
    outline: none;
}

.archive-search-input::placeholder {
    color: rgba(255,255,255,0.5);
}

.archive-search-btn {
    padding: 0.9rem 1.5rem;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: color 0.2s ease;
}

.archive-search-btn:hover {
    color: #fff;
}

/* Archive Filters */
.archive-filters {
    background: var(--bg-alt, #f8fafc);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border, #e5e7eb);
    position: sticky;
    top: 70px;
    z-index: 50;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: #fff;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 25px;
    color: var(--fg-muted, #666);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.filter-pill:hover {
    border-color: var(--accent, #6366f1);
    color: var(--accent, #6366f1);
}

.filter-pill.is-active {
    background: var(--accent, #6366f1);
    border-color: var(--accent, #6366f1);
    color: #fff;
}

.filter-count {
    font-size: 0.75rem;
    padding: 0.1rem 0.4rem;
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
}

.filter-pill.is-active .filter-count {
    background: rgba(255,255,255,0.2);
}

/* Archive Posts Section */
.archive-posts {
    padding: 3rem 0 5rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Resource Card Link Wrapper */
.resource-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.resource-card {
    height: 100%;
}

/* Resource Placeholder for no image */
.resource-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    color: #94a3b8;
}

/* Resource Meta with Avatar */
.rm-item.rm-author {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.rm-item.rm-author img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

/* Pagination */
.archive-pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.pagination-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-nav a,
.pagination-nav span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 0.75rem;
    background: #fff;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 8px;
    color: var(--fg-muted, #666);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination-nav a:hover {
    border-color: var(--accent, #6366f1);
    color: var(--accent, #6366f1);
}

.pagination-nav .current {
    background: var(--accent, #6366f1);
    border-color: var(--accent, #6366f1);
    color: #fff;
}

.pagination-nav .prev,
.pagination-nav .next {
    gap: 0.3rem;
    padding: 0 1rem;
}

.pagination-nav .dots {
    background: transparent;
    border: none;
}

/* No Posts Found */
.no-posts {
    text-align: center;
    padding: 5rem 1rem;
}

.no-posts-icon {
    margin-bottom: 1.5rem;
    color: var(--fg-muted, #94a3b8);
}

.no-posts h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--fg, #1a1a1a);
    margin: 0 0 0.75rem;
}

.no-posts p {
    color: var(--fg-muted, #666);
    margin: 0 0 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Adjustments for Archive */
@media (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .archive-hero {
        padding: 4rem 0 2rem;
    }
    
    .archive-filters {
        top: 60px;
    }
    
    .filter-pills {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-pill {
        white-space: nowrap;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pagination-nav span:not(.prev):not(.next):not(.current) {
        display: none;
    }
}

@media (max-width: 640px) {
    .archive-hero {
        padding: 3rem 0 1.5rem;
    }
    
    .archive-search {
        flex-direction: row;
    }
    
    .archive-search-input {
        padding: 0.75rem 1rem;
    }
}

/* ==========================================================================
   TESTIMONIALS ARCHIVE STYLES
   ========================================================================== */

/* Testimonials Hero */
.testimonials-hero {
    position: relative;
    padding: 5rem 0 3rem;
    text-align: center;
    overflow: hidden;
}

.testimonials-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f1629 0%, #1a1f3a 50%, #0d2847 100%);
    z-index: 0;
}

.testimonials-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(228, 108, 10, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
}

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

.testimonials-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.testimonials-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 1rem;
}

.testimonials-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
}

.testimonials-desc p {
    margin: 0;
}

/* Testimonials Listing */
.testimonials-listing {
    padding: 4rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Testimonial Item Card */
.testimonial-item {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border, #e5e7eb);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border-color: var(--brand-orange, #E46C0A);
}

.testimonial-item.is-featured {
    border-color: var(--brand-orange, #E46C0A);
    background: linear-gradient(135deg, #fffbf7 0%, #fff 100%);
}

/* Featured Badge */
.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.6rem;
    background: var(--brand-orange, #E46C0A);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: 4px;
}

/* Testimonial Quote */
.testimonial-quote {
    position: relative;
    flex: 1;
    margin-bottom: 1.5rem;
}

.testimonial-quote .quote-icon {
    position: absolute;
    top: -0.5rem;
    left: -0.5rem;
    color: var(--brand-orange, #E46C0A);
}

.testimonial-quote .quote-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--fg, #333);
}

.testimonial-quote .quote-text p {
    margin: 0;
}

/* Testimonial Author */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border, #e5e7eb);
}

.testimonial-item .author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-item .author-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt, #f3f4f6);
    color: var(--fg-muted, #9ca3af);
}

.testimonial-item .author-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.testimonial-item .author-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--fg, #1a1a1a);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-item .author-meta {
    font-size: 0.8rem;
    color: var(--fg-muted, #666);
}

/* Testimonial CTA Section */
.testimonials-cta-section {
    padding: 4rem 0;
    background: var(--bg-alt, #f8fafc);
}

.testimonials-cta-section .cta-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    background: linear-gradient(135deg, #0f1629 0%, #1a1f3a 100%);
    border-radius: 20px;
    color: #fff;
}

.testimonials-cta-section .cta-box h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.testimonials-cta-section .cta-box p {
    color: rgba(255,255,255,0.75);
    margin: 0 0 1.5rem;
}

/* Testimonial Card Avatar in Homepage Carousel */
.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-card .author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-card .author-info {
    display: flex;
    flex-direction: column;
}

/* Responsive Adjustments for Testimonials Archive */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-hero {
        padding: 4rem 0 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonials-listing {
        padding: 3rem 0;
    }
    
    .testimonials-cta-section .cta-box {
        padding: 2rem;
    }
}

@media (max-width: 640px) {
    .testimonials-hero {
        padding: 3rem 0 1.5rem;
    }
    
    .testimonial-item {
        padding: 1.5rem;
    }
}

