/* ============================================
   CONVEY365 DESIGN SYSTEM
   Shared CSS for all pages
   ============================================ */

/* ---- Variables ---- */
:root {
    --c365-blue: #2b2d67;
    --c365-blue2: #26408a;
    --c365-green: #4eb857;
    --c365-ice: #b8dff1;
    --c365-mint: #d5e8db;
    --c365-dark: #303a43;
    --c365-radius-pill: 999px;
    --c365-shadow: 0 10px 25px rgba(0, 0, 0, .18);
    --c365-blue-light: #2e4a9a;
    --c365-green-hover: #43a34d;
    --c365-green-soft: rgba(78, 184, 87, 0.1);
    --c365-ice-soft: rgba(184, 223, 241, 0.15);
    --c365-light-grey: #f8fafc;
    --c365-body-bg: #f7f9fc;
    --c365-white: #ffffff;
    --c365-grey-100: #f1f4f8;
    --c365-grey-200: #e2e8f0;
    --c365-grey-400: #94a3b8;
    --c365-grey-600: #64748b;
    --c365-text: #1e293b;
    --c365-text-muted: #64748b;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- Reset ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    color: var(--c365-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
}

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

/* ---- Section Spacing ---- */
.c365-section {
    padding-block: 3rem;
}

@media (min-width: 768px) {
    .c365-section {
        padding-block: 4rem;
    }
}

.c365-section.c365-pad-sm {
    padding-block: 2rem;
}

@media (min-width: 768px) {
    .c365-section.c365-pad-sm {
        padding-block: 4rem;
    }
}

.c365-section.c365-pad-lg {
    padding-block: 4rem;
}

@media (min-width: 768px) {
    .c365-section.c365-pad-lg {
        padding-block: 10rem;
    }
}

.c365-section.c365-pad-none {
    padding-block: 0;
}

/* Half background — colour only top or bottom half */
.c365-bg-half {
    position: relative;
}

.c365-bg-half::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 50%;
    background-color: var(--section-bg);
    z-index: 0;
    pointer-events: none;
}

.c365-bg-half--top::before {
    top: 0;
}

.c365-bg-half--bottom::before {
    bottom: 0;
}

.c365-bg-half>* {
    position: relative;
    z-index: 1;
}


.c365-bg-half .col-lg-6 div {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 1.75rem;
    text-align: center;
    transition: all 0.4s var(--ease-out);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.c365-bg-half .col-lg-6 div h3 {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--c365-blue2);
    margin-bottom: 0.75rem;
}

.c365-bg-half .col-lg-6 div p {
    margin-bottom: 1rem;
    color: var(--c365-text-muted);
}

.c365-bg-half .col-lg-6 img {
    border-radius: 20px !important;
}

/* Section heading default */
.c365-section h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--c365-blue2);
    margin-bottom: 0.5rem;
}

/* ============================================
   UTILITY / SHARED COMPONENTS
   ============================================ */
.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--c365-blue2);
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--c365-blue2);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--c365-text-muted);
    max-width: 650px;
    margin: 0 auto 2.5rem;
}

.btn-c365 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.75rem;
    border-radius: var(--c365-radius-pill);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.35s var(--ease-out);
}

.btn-c365-green {
    background: var(--c365-green);
    color: white;
}

.btn-c365-green:hover {
    background: var(--c365-green-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(78, 184, 87, 0.35);
}

.btn-c365-outline {
    background: transparent;
    color: var(--c365-blue2);
    border: 2px solid var(--c365-blue2);
}

.btn-c365-outline:hover {
    background: var(--c365-blue2);
    color: white;
    transform: translateY(-2px);
}

.btn-c365-white {
    background: white;
    color: var(--c365-blue2);
}

.btn-c365-white:hover {
    background: var(--c365-ice);
    color: var(--c365-blue2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-c365-ghost {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}

.btn-c365-ghost:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-2px);
}

.btn-c365-dark {
    background: var(--c365-blue2);
    color: white;
}

.btn-c365-dark:hover {
    background: var(--c365-blue-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(38, 64, 138, 0.35);
}

/* ============================================
   HEADER
   ============================================ */
.c365-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s var(--ease-out);
}

.c365-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.c365-header .container {
    display: flex;
    align-items: center;
    height: 72px;
    gap: 1rem;
}

.c365-header .c365-nav {
    margin-left: auto;
}

.c365-logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--c365-blue2);
}

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

.c365-logo .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--c365-blue2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

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

.c365-nav li a {
    display: block;
    padding: 0.5rem 1.1rem;
    color: var(--c365-dark);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 8px;
    position: relative;
}

.c365-nav li a:hover,
.c365-nav li a.active {
    color: var(--c365-blue2);
    background: var(--c365-ice-soft);
}

.c365-nav li a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--c365-green);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out);
}

.c365-nav li a:hover::after,
.c365-nav li a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-nav-actions {
    display: none;
}

.btn-introducer {
    padding: 0.55rem 1.25rem;
    border-radius: var(--c365-radius-pill);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    background: transparent;
    color: var(--c365-blue2);
    border: 1.5px solid var(--c365-grey-200);
    transition: all 0.3s var(--ease-out);
}

.btn-introducer:hover {
    border-color: var(--c365-blue2);
    background: var(--c365-ice-soft);
    color: var(--c365-blue2);
}

.btn-contact-header {
    padding: 0.55rem 1.5rem;
    border-radius: var(--c365-radius-pill);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    background: var(--c365-green);
    color: white;
    border: none;
    transition: all 0.3s var(--ease-out);
}

.btn-contact-header:hover {
    background: var(--c365-green-hover);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(78, 184, 87, 0.3);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--c365-blue2);
    cursor: pointer;
}

/* ============================================
   HERO
   ============================================ */
/* Centered Hero */
.c-hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 5rem;
}

.c-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.c-hero-dots {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: radial-gradient(circle at 2px 2px, var(--c365-blue) 1px, transparent 0);
    background-size: 48px 48px;
}

.c-hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(64px);
    pointer-events: none;
}

.c-hero-glow--green {
    background-color: var(--c365-green);
    right: -40px;
    top: -40px;
    animation: glow-pulse-green 8s ease-in-out infinite alternate;
}

.c-hero-glow--blue {
    background-color: var(--c365-blue2);
    left: -40px;
    bottom: -40px;
    animation: glow-pulse-blue 10s ease-in-out infinite alternate;
}

@keyframes glow-pulse-green {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
    }

    100% {
        transform: scale(1.05);
    }
}

@keyframes glow-pulse-blue {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1.15);
    }
}

.c-hero-heading {
    font-size: clamp(3rem, 6.5vw, 5rem);
    font-weight: 800;
    color: var(--c365-blue);
    line-height: 1.08;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.c-highlight {
    color: var(--c365-green);
}

.c-hero-sub {
    font-size: 1.15rem;
    color: var(--c365-grey-600);
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.c-hero-sub p {
    margin-bottom: 0;
}

/* Hero video embed wrapper — card style */
.c-hero-video-wrap {
    background: var(--c365-white);
    border: 1px solid var(--c365-grey-200);
    border-radius: 20px;
    padding: 0.5rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.03);
    margin-top: 2rem;
}

.c-hero-video-wrap .ratio {
    border-radius: 14px;
    overflow: hidden;
}

.c-hero-video-wrap--large {
    margin-top: 2.5rem;
    padding: 0.625rem;
}

/* Hero Split - left-align text */
.c-hero--split .c-hero-heading {
    text-align: center;
}

.c-hero--split .c-hero-sub {
    margin: 0 0 1.5rem;
    text-align: center;
}

.c-hero--split .hero-buttons {
    justify-content: center;
}

.c-hero--split {
    min-height: auto;
    padding: calc(72px + 3rem) 0 calc(72px + 3rem);
}

.c-iam-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--c365-grey-400);
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.c-persona-cards {
    display: inline-flex;
    gap: 1.5rem;
}

.c-persona-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 2rem 3rem;
    flex: 1 1 0;
    min-width: 200px;
    border-radius: 16px;
    cursor: pointer;
    background: var(--c365-white);
    border: 1px solid var(--c365-grey-200);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s var(--ease-out);
    text-decoration: none;
    color: inherit;
    min-width: 200px;
}

.c-persona-card:hover {
    border-color: var(--c365-green);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10);
    transform: translateY(-4px);
}

.c-persona-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(78, 184, 87, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--c365-green);
}

.c-persona-card strong {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--c365-blue);
}

.c-persona-card small {
    font-size: 0.82rem;
    color: var(--c365-grey-600);
    line-height: 1.4;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--c365-green);
    border-radius: 999px;
    padding: 0.45rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
}

.hero-eyebrow i {
    color: var(--c365-green);
    font-size: 1rem;
}

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

/* Play button (still used in other sections) */
.play-btn-lg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--c365-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 0 0 0 rgba(78, 184, 87, 0.4);
    animation: pulse-ring 2s ease infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(78, 184, 87, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(78, 184, 87, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(78, 184, 87, 0);
    }
}

.play-btn-lg:hover {
    transform: scale(1.1);
}

/* ============================================
   PAGE HERO (for inner pages)
   ============================================ */
.page-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--c365-blue2) 0%, var(--c365-blue2) 40%, var(--c365-blue2) 100%);
    display: flex;
    align-items: center;
    padding: calc(72px + 3rem) 0 3rem !important;
}

.page-hero > .container {
    width: 100%; position: relative; z-index: 2;
}

.page-hero-content {
    position: relative;
    z-index: 3;
}

.page-hero h1 {
    font-size: 3.75rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.page-hero h1 em {
    font-style: normal;
    color: var(--c365-green);
}

.page-hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-left: auto;
    margin-right: auto;
}

/* Page-hero / section animated background */
.s-hero-bg {
    position: absolute; inset: 0; z-index: 1;
    overflow: hidden; pointer-events: none;
}
.s-hero-dots {
    position: absolute; inset: 0; opacity: 0.03;
    background-image: radial-gradient(circle at 2px 2px, var(--c365-blue) 1px, transparent 0);
    background-size: 48px 48px;
}
.s-hero-glow {
    position: absolute; width: 500px; min-height: 400px;
    border-radius: 50%; opacity: 0.2;
    filter: blur(64px); pointer-events: none;
}
/* Sub page hero: green glow top-right */
.s-hero-glow--green {
    background-color: var(--c365-green);
    right: -40px; top: -40px;
    animation: glow-pulse-green 8s ease-in-out infinite alternate;
}

/* Blue2 sections — glow injected as divs via c365_section_open() */
.c365-bg-c365-blue2 {
    position: relative; overflow: hidden;
}
.c365-bg-c365-blue2 > * { position: relative; z-index: 2; }
.c365-bg-c365-blue2 > .s-hero-bg { z-index: 1; }
/* White dots on dark backgrounds */
.c365-bg-c365-blue2 .s-hero-dots,
.c365-bg-c365-blue .s-hero-dots {
    background-image: radial-gradient(circle at 2px 2px, #fff 1px, transparent 0);
    opacity: 0.05;
}
/* Half-background blue2: glow bottom-left */
.c365-bg-half.c365-bg-c365-blue2 .s-hero-glow--green {
    right: auto; top: auto;
    left: -80px; bottom: -80px;
}

/* ============================================
   ANCHOR NAV
   ============================================ */
.anchor-nav {
    position: relative;
    z-index: 10;
    padding: 1.5rem 0;
    background: var(--c365-blue2);
}

.anchor-nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.anchor-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    border-radius: var(--c365-radius-pill);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    border: 1.5px solid var(--c365-grey-200);
    background: white;
    color: var(--c365-dark);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.anchor-btn:hover,
.anchor-btn.active {
    background: var(--c365-blue2);
    color: white;
    border-color: var(--c365-blue2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(38, 64, 138, 0.2);
}

.anchor-btn i {
    font-size: 1rem;
}

/* ============================================
   SOLUTION / ICON CARDS
   ============================================ */
.solution-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 1.75rem;
    text-align: center;
    transition: all 0.4s var(--ease-out);
    border: 1px solid var(--c365-grey-200);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--c365-shadow);
    border-color: transparent;
}

.solution-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.75rem;
    transition: all 0.4s var(--ease-out);
}

.solution-icon.blue {
    background: rgba(38, 64, 138, 0.08);
    color: var(--c365-blue2);
}

.solution-icon.green {
    background: var(--c365-green-soft);
    color: var(--c365-green);
}

.solution-icon.ice {
    background: var(--c365-ice-soft);
    color: var(--c365-blue2);
}

.solution-card:hover .solution-icon {
    transform: scale(1.1);
}

.solution-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c365-blue2);
    margin-bottom: 0.75rem;
}

.solution-card p {
    font-size: 0.9rem;
    color: var(--c365-text-muted);
    line-height: 1.6;
    margin: 0;
}

.solution-card--inline {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    text-align: left;
    padding: 1.5rem 2rem;
}

.solution-card--inline .solution-icon {
    margin-bottom: 0;
    margin: 0;
    flex-shrink: 0;
}

.solution-card--inline h4 {
    margin-bottom: 0;
}

/* ============================================
   FEATURE SHOWCASE
   ============================================ */
.c365-feature-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.c365-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.c365-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: transform 0.3s var(--ease-out);
}

.c365-feature-icon.green {
    background: var(--c365-green-soft);
    color: var(--c365-green);
}

.c365-feature-icon.blue {
    background: rgba(38, 64, 138, 0.08);
    color: var(--c365-blue2);
}

.c365-feature-icon.ice {
    background: var(--c365-ice-soft);
    color: var(--c365-blue2);
}

.c365-feature-item:hover .c365-feature-icon {
    transform: scale(1.1);
}

.c365-feature-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--c365-blue2);
    margin-bottom: 0.25rem;
}

.c365-feature-text p {
    font-size: 0.9rem;
    color: var(--c365-text-muted);
    line-height: 1.6;
    margin: 0;
}

.c365-showcase-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.c365-showcase-image:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.c365-showcase-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* Custom content card */
.c365-showcase-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--c365-grey-200);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.c365-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* ============================================
   ILLUSTRATIONS (CSS)
   ============================================ */
.c365-illus {
    width: 100%;
}

/* -- Brand Cards -- */
.c365-illus-brand-cards {
    display: flex;
    gap: 1rem;
    padding: 2rem;
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--c365-grey-200);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.c365-illus-brand-cards:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.c365-illus-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: #f9fafb;
    border-radius: 14px;
}

.c365-illus-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
}

.c365-illus-bar {
    height: 10px;
    border-radius: 5px;
    width: 70%;
}

.c365-illus-btn {
    height: 32px;
    border-radius: 8px;
    width: 80%;
}

/* -- Payment Form -- */
.c365-illus-payment {
    width: 100%;
}

.c365-illus-form-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--c365-grey-200);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.c365-illus-form-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.c365-illus-form-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--c365-blue2);
    margin-bottom: 1.5rem;
}

.c365-illus-form-group {
    margin-bottom: 1rem;
}

.c365-illus-form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--c365-blue2);
    margin-bottom: 0.4rem;
}

.c365-illus-form-input {
    background: #f4f5f7;
    border-radius: 10px;
    height: 44px;
    padding: 0 1rem;
    display: flex;
    align-items: center;
}

.c365-illus-form-dots {
    display: block;
    width: 30%;
    height: 10px;
    background: #c8cdd3;
    border-radius: 5px;
}

.c365-illus-form-row {
    display: flex;
    gap: 1rem;
}

.c365-illus-form-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin: 1.25rem 0;
    background: #f9fafb;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--c365-blue2);
}

.c365-illus-form-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--c365-blue2);
}

.c365-illus-form-btn {
    background: var(--c365-green);
    color: #fff;
    border-radius: 12px;
    padding: 0.85rem;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
}

.c365-illus-form-secure {
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--c365-text-muted);
}

.c365-illus-form-secure i {
    color: var(--c365-green);
}

/* -- Dashboard -- */
.c365-illus-dashboard {
    width: 100%;
}

.c365-illus-dash-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--c365-grey-200);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.c365-illus-dash-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.c365-illus-dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.c365-illus-dash-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c365-blue2);
}

.c365-illus-dash-badge {
    background: var(--c365-green-soft);
    color: var(--c365-green);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    text-transform: uppercase;
}

.c365-illus-dash-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.c365-illus-dash-stat {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 12px;
}

.c365-illus-dash-stat-num {
    font-size: 1.35rem;
    font-weight: 800;
}

.c365-illus-dash-stat-label {
    font-size: 0.7rem;
    color: var(--c365-text-muted);
    margin-top: 0.2rem;
}

.c365-illus-dash-bars {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.c365-illus-dash-bar-row {
    background: #f4f5f7;
    border-radius: 6px;
    height: 12px;
    overflow: hidden;
}

.c365-illus-dash-bar-row span {
    display: block;
    height: 100%;
    border-radius: 6px;
}

/* -- Ranking List -- */
.c365-illus-ranking {
    width: 100%;
}

.c365-illus-rank-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--c365-grey-200);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.c365-illus-rank-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.c365-illus-rank-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c365-blue2);
    margin-bottom: 1.25rem;
}

.c365-illus-rank-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: #f9fafb;
    border-radius: 12px;
}

.c365-illus-rank-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--c365-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.c365-illus-rank-name {
    flex: 1;
    font-weight: 600;
    color: var(--c365-blue2);
    font-size: 0.95rem;
}

.c365-illus-rank-score {
    text-align: right;
}

.c365-illus-rank-pct {
    display: block;
    font-weight: 800;
    color: var(--c365-green);
    font-size: 0.95rem;
}

.c365-illus-rank-label {
    font-size: 0.7rem;
    color: var(--c365-text-muted);
}

.c365-illus-rank-trend {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.c365-illus-rank-trend--up {
    background: var(--c365-green-soft);
    color: var(--c365-green);
}

.c365-illus-rank-trend--down {
    background: #fee2e2;
    color: #dc2626;
}

.c365-illus-rank-trend--neutral {
    background: #f4f5f7;
    color: var(--c365-text-muted);
}

/* -- Integration -- */
.c365-illus-integration {
    width: 100%;
}

.c365-illus-int-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--c365-grey-200);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.c365-illus-int-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.c365-illus-int-center {
    margin-bottom: 2rem;
}

.c365-illus-int-hub {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: var(--c365-blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 6px 20px rgba(43, 45, 103, 0.2);
}

.c365-illus-int-nodes {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.c365-illus-int-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.c365-illus-int-node i {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    border: 2px solid var(--node-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--node-color);
    transition: transform 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.c365-illus-int-node:hover i {
    background: var(--node-color);
    color: #fff;
    transform: scale(1.1);
}

.c365-illus-int-node span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--c365-text-muted);
}

/* ============================================
   VIDEO + TEXT
   ============================================ */
.video-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--c365-shadow);
    background: var(--c365-dark);
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.watch-learn-text h3 {
    font-size: 2.5rem;
    color: var(--c365-blue2);
    margin-bottom: 1.25rem;
}

.watch-learn-text p {
    color: var(--c365-text-muted);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.check-list li {
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--c365-text);
    font-weight: 500;
}

.check-list li i {
    color: var(--c365-green);
    font-size: 1.1rem;
}

/* ============================================
   EXPANDING PANELS (Accordion)
   ============================================ */
.expand-panel {
    margin-bottom: 0.75rem;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
}

.expand-header {
    background: var(--c365-blue2);
    color: white;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s var(--ease-out);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.expand-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(78, 184, 87, 0.08));
    pointer-events: none;
}

.expand-panel.open .expand-header {
    border-radius: 16px 16px 0 0;
    background: linear-gradient(135deg, var(--c365-blue2), #2e4a9a);
}

.expand-header:hover {
    background: linear-gradient(135deg, var(--c365-blue2), #2e4a9a);
}

.expand-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.expand-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.expand-header h3,
.c365-wysiwyg .expand-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.expand-header .subtitle,
.c365-wysiwyg .expand-header .subtitle {
    font-size: 0.85rem;
    opacity: 0.7;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

.expand-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease-out);
    flex-shrink: 0;
}

.expand-toggle i {
    font-size: 1.2rem;
    transition: transform 0.4s var(--ease-out);
}

.expand-panel.open .expand-toggle {
    background: var(--c365-green);
}

.expand-panel.open .expand-toggle i {
    transform: rotate(180deg);
}

.expand-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-out);
    background: white;
    border-radius: 0 0 16px 16px;
    border: 1px solid var(--c365-grey-200);
    border-top: none;
}

.expand-panel.open .expand-body {
    max-height: 600px;
}

.expand-body-inner {
    padding: 2rem;
}

.expand-body-inner h4 {
    color: var(--c365-blue2);
    margin-bottom: 1rem;
}

.expand-body-inner p {
    color: var(--c365-text-muted);
    line-height: 1.7;
}

.expand-video {
    border-radius: 12px;
    overflow: hidden;
}

.expand-body-inner .ratio iframe {
    border-radius: 12px;
}

.expand-body-inner .img-fluid {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-item i {
    color: var(--c365-green);
    margin-top: 0.2rem;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature-item strong {
    display: block;
    color: var(--c365-dark);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.feature-item span {
    font-size: 0.85rem;
    color: var(--c365-text-muted);
}

/* ============================================
   FULLWIDTH CTA
   ============================================ */
.fullwidth-cta {
    position: relative; overflow: hidden;
    padding: 6rem 0 !important;
    background: var(--c365-blue2);
}

.fullwidth-cta .container {
    position: relative;
    z-index: 2;
}

.fullwidth-cta h2 {
    color: white;
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.fullwidth-cta p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin: 0 auto 2rem;
}

/* ============================================
   TABS
   ============================================ */
.c365-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 2.5rem;
    border-radius: var(--c365-radius-pill);
    background: var(--c365-grey-100);
    padding: 0.35rem;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.c365-tab {
    padding: 0.65rem 1.75rem;
    border-radius: var(--c365-radius-pill);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    background: transparent;
    color: var(--c365-text-muted);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.c365-tab.active {
    background: var(--c365-blue2);
    color: white;
    box-shadow: 0 4px 12px rgba(38, 64, 138, 0.25);
}

.c365-tab:hover:not(.active) {
    color: var(--c365-blue2);
    background: white;
}

.tab-pane {
    display: none;
    animation: fadeUp 0.4s var(--ease-out);
}

.tab-pane.active {
    display: block;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SERVICE / INFO CARDS
   ============================================ */
.service-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--c365-grey-200);
    transition: all 0.3s var(--ease-out);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: var(--c365-green);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.service-card h4 {
    color: var(--c365-blue2);
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.service-card h4 i {
    color: var(--c365-green);
    margin-right: 0.5rem;
}

.service-card p {
    color: var(--c365-text-muted);
    font-size: 0.925rem;
    flex: 1;
    margin-bottom: 1.5rem;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--c365-green);
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

.learn-more:hover {
    gap: 0.75rem;
    color: var(--c365-green-hover);
}

/* ============================================
   REVIEW CARDS
   ============================================ */
.review-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--c365-grey-200);
    height: 100%;
}

.review-stars {
    color: #f59e0b;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.review-card blockquote {
    color: var(--c365-text);
    font-style: italic;
    line-height: 1.7;
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
}

.review-author {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--c365-blue2);
    font-size: 0.9rem;
}

.review-author span {
    display: block;
    font-weight: 400;
    color: var(--c365-text-muted);
    font-size: 0.8rem;
}

/* ============================================
   NEWS CARDS
   ============================================ */
.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--c365-grey-200);
    transition: all 0.4s var(--ease-out);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--c365-shadow);
    border-color: transparent;
}

.news-thumb {
    height: 200px;
    background: linear-gradient(135deg, var(--c365-blue2), #2e4a9a);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.news-thumb i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.15);
}

.news-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.3rem 0.9rem;
    border-radius: var(--c365-radius-pill);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
    background: var(--c365-green);
    color: white;
    z-index: 2;
}

.news-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    color: var(--c365-text-muted);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.news-body h4 {
    font-size: 1.1rem;
    color: var(--c365-blue2);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-body p {
    color: var(--c365-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--c365-green);
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.read-more:hover {
    gap: 0.75rem;
}

/* ============================================
   BLOG CARDS / FILTERS / PAGINATION
   ============================================ */
.blog-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.blog-filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: var(--c365-radius-pill);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    border: 1.5px solid var(--c365-grey-200);
    background: white;
    color: var(--c365-text-muted);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    text-decoration: none;
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
    background: var(--c365-blue2);
    color: white;
    border-color: var(--c365-blue2);
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--c365-grey-200);
    transition: all 0.4s var(--ease-out);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--c365-shadow);
    border-color: transparent;
}

.blog-card-img {
    height: 200px;
    background: linear-gradient(135deg, var(--c365-blue2), #2e4a9a);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-img i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.12);
}

.blog-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: var(--c365-text-muted);
}

.blog-card-meta .cat {
    background: var(--c365-green-soft);
    color: var(--c365-green);
    padding: 0.2rem 0.65rem;
    border-radius: var(--c365-radius-pill);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
}

.blog-card-body h4 {
    font-size: 1.1rem;
    color: var(--c365-blue2);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card-body h4 a {
    color: inherit;
    text-decoration: none;
}

.blog-card-body h4 a:hover {
    color: var(--c365-green);
}

.blog-card-body p {
    color: var(--c365-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
}

.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.blog-pagination a,
.blog-pagination span {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1.5px solid var(--c365-grey-200);
    color: var(--c365-text-muted);
    background: white;
    transition: all 0.3s var(--ease-out);
    text-decoration: none;
}

.blog-pagination a:hover,
.blog-pagination span.current,
.blog-pagination .page-numbers.current {
    background: var(--c365-blue2);
    color: white;
    border-color: var(--c365-blue2);
}

/* ============================================
   BLOG SINGLE + SIDEBAR
   ============================================ */
.blog-single-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--c365-text-muted);
}

.blog-single-meta .cat {
    background: var(--c365-green-soft);
    color: var(--c365-green);
    padding: 0.3rem 0.8rem;
    border-radius: var(--c365-radius-pill);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
}

.blog-single-img {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--c365-blue2), #2e4a9a);
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-single-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-single-img i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.12);
}

.blog-content h2 {
    font-size: 1.5rem;
    color: var(--c365-blue2);
    margin: 2rem 0 1rem;
}

.blog-content p {
    color: var(--c365-text);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.blog-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--c365-grey-200);
}

.blog-share span {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--c365-dark);
}

.blog-share a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--c365-grey-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c365-text-muted);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
}

.blog-share a:hover {
    background: var(--c365-blue2);
    color: white;
}

.blog-sidebar-card {
    background: white;
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid var(--c365-grey-200);
    margin-bottom: 1.5rem;
}

.blog-sidebar-card h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--c365-blue2);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--c365-green);
}

.sidebar-post {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.sidebar-post-thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--c365-blue2), #2e4a9a);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sidebar-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-post-thumb i {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1rem;
}

.sidebar-post-text h6 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--c365-dark);
    margin-bottom: 0.2rem;
    line-height: 1.3;
}

.sidebar-post-text h6 a {
    color: var(--c365-dark);
    text-decoration: none;
}

.sidebar-post-text h6 a:hover {
    color: var(--c365-green);
}

.sidebar-post-text small {
    color: var(--c365-text-muted);
    font-size: 0.75rem;
}

.sidebar-cats {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-cats li {
    margin-bottom: 0.25rem;
}

.sidebar-cats a {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    color: var(--c365-text-muted);
    font-size: 0.9rem;
    transition: all 0.2s;
    text-decoration: none;
}

.sidebar-cats a:hover {
    background: var(--c365-ice-soft);
    color: var(--c365-blue2);
}

.blog-breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    text-decoration: none;
}

.blog-breadcrumb a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.blog-breadcrumb .separator {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 0.5rem;
}

.blog-breadcrumb .current {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* ============================================
   VALUES GRID
   ============================================ */
.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--c365-grey-200);
    transition: all 0.3s var(--ease-out);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--c365-shadow);
    border-color: transparent;
}

.value-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--c365-green-soft);
    color: var(--c365-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.value-card h4 {
    color: var(--c365-blue2);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.value-card p {
    color: var(--c365-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================
   TEAM GRID
   ============================================ */
.team-member {
    text-align: center;
    margin-bottom: 2rem;
}

.team-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--c365-grey-200), var(--c365-ice));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--c365-blue2);
    border: 3px solid white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s var(--ease-out);
    overflow: hidden;
}

.team-member:hover .team-avatar {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.team-member h5 {
    font-size: 1rem;
    color: var(--c365-blue2);
    margin-bottom: 0.25rem;
}

.team-member p {
    font-size: 0.85rem;
    color: var(--c365-green);
    font-weight: 500;
    margin: 0;
}

/* ============================================
   BENEFITS CARDS (Careers)
   ============================================ */
.benefit-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--c365-grey-200);
    height: 100%;
    transition: all 0.3s var(--ease-out);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--c365-shadow);
    border-color: transparent;
}

.benefit-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(38, 64, 138, 0.08);
    color: var(--c365-blue2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.benefit-card h4 {
    color: var(--c365-blue2);
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: var(--c365-text-muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   CONTENT BLOCK (image + text)
   ============================================ */
.content-block {
    padding: 4rem 0;
}

.content-img {
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--c365-blue2), #2e4a9a);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-img i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.15);
}

/* ============================================
   CONTACT CARDS & FORM
   ============================================ */
.contact-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--c365-grey-200);
    text-align: center;
    transition: all 0.3s var(--ease-out);
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--c365-shadow);
    border-color: transparent;
}

.contact-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(38, 64, 138, 0.08);
    color: var(--c365-blue2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 1rem;
}

.contact-card h4 {
    color: var(--c365-blue2);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--c365-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--c365-green);
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-card a:hover {
    color: var(--c365-green-hover);
}

.contact-form {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--c365-grey-200);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.contact-form .form-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--c365-dark);
    margin-bottom: 0.4rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border-radius: 12px;
    border: 1.5px solid var(--c365-grey-200);
    padding: 0.7rem 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--c365-green);
    box-shadow: 0 0 0 3px rgba(78, 184, 87, 0.1);
}

/* Gravity Forms styling to match contact form design */
.c365-contact-form .gform_wrapper {
    max-width: 100%;
}

.c365-contact-form .gform_wrapper .gform_body .gform_fields .gfield {
    margin-bottom: 0.75rem;
}

.c365-contact-form .gform_wrapper label.gfield_label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--c365-dark);
    margin-bottom: 0.4rem;
}

.c365-contact-form .gform_wrapper input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]),
.c365-contact-form .gform_wrapper select,
.c365-contact-form .gform_wrapper textarea {
    border-radius: 12px !important;
    border: 1.5px solid var(--c365-grey-200) !important;
    padding: 0.7rem 1rem !important;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.3s;
    background: #fff;
}

.c365-contact-form .gform_wrapper input:not([type="submit"]):focus,
.c365-contact-form .gform_wrapper select:focus,
.c365-contact-form .gform_wrapper textarea:focus {
    border-color: var(--c365-green) !important;
    box-shadow: 0 0 0 3px rgba(78, 184, 87, 0.1) !important;
    outline: none;
}

.c365-contact-form .gform_wrapper .gform_footer input[type="submit"],
.c365-contact-form .gform_wrapper .gform_page_footer input[type="submit"] {
    background: var(--c365-green);
    color: white;
    border: none;
    padding: 0.85rem 2.5rem;
    border-radius: var(--c365-radius-pill);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.c365-contact-form .gform_wrapper .gform_footer input[type="submit"]:hover,
.c365-contact-form .gform_wrapper .gform_page_footer input[type="submit"]:hover {
    background: var(--c365-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(78, 184, 87, 0.25);
}

.c365-contact-form .gform_wrapper .gform_footer {
    text-align: center;
    margin-top: 1rem;
}

.c365-contact-form .gform_wrapper .validation_message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.c365-contact-form .gform_wrapper .gfield_required {
    color: var(--c365-green);
}

.c365-contact-form .gform_wrapper .gfield_description {
    color: var(--c365-text-muted);
    font-size: 0.8rem;
}

/* ---- WYSIWYG Section ---- */
.c365-wysiwyg {
    color: var(--c365-text);
    font-size: 1.05rem;
    line-height: 1.8;
}

.c365-wysiwyg h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--c365-blue2);
    margin-bottom: 1rem;
}

.c365-wysiwyg h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--c365-blue2);
    margin-bottom: 0.75rem;
}

.c365-wysiwyg h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--c365-blue2);
    margin-bottom: 0.5rem;
}

.c365-wysiwyg p {
    margin-bottom: 1rem;
    color: var(--c365-text-muted);
}

.c365-wysiwyg a:not([class*="btn-c365"]) {
    color: var(--c365-green);
    font-weight: 600;
}

.c365-wysiwyg a:not([class*="btn-c365"]):hover {
    color: var(--c365-green-hover);
}

.c365-wysiwyg ul,
.c365-wysiwyg ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.c365-wysiwyg li {
    margin-bottom: 0.4rem;
    color: var(--c365-text-muted);
}

.c365-wysiwyg img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.c365-wysiwyg blockquote {
    border-left: 4px solid var(--c365-green);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--c365-green-soft);
    border-radius: 0 12px 12px 0;
}

/* ============================================
   FOOTER
   ============================================ */
.c365-footer {
    background: var(--c365-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer-top {
    padding-top: 2rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: white;
    margin-bottom: 0.25rem;
}

.footer-logo span {
    color: var(--c365-green);
}

.footer-tagline {
    color: var(--c365-green);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
    margin-bottom: 1.5rem;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    transition: all 0.3s var(--ease-out);
}

.footer-social a:hover {
    background: var(--c365-green);
    color: white;
    transform: translateY(-3px);
}

.footer-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: white;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--c365-green);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--c365-green);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input-group {
    display: flex;
    gap: 0;
    margin-top: 1rem;
}

.newsletter-input-group input {
    flex: 1;
    padding: 0.7rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-right: none;
    border-radius: var(--c365-radius-pill) 0 0 var(--c365-radius-pill);
    background: rgba(255, 255, 255, 0.06);
    color: white;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
}

.newsletter-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.newsletter-input-group input:focus {
    border-color: var(--c365-green);
}

.newsletter-input-group button {
    padding: 0.7rem 1.5rem;
    border-radius: 0 var(--c365-radius-pill) var(--c365-radius-pill) 0;
    background: var(--c365-green);
    color: white;
    border: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
}

.newsletter-input-group button:hover {
    background: var(--c365-green-hover);
}

.footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.825rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a:hover {
    color: var(--c365-green);
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal-links a:hover {
    color: var(--c365-green);
}

/* ============================================
   STEPS
   ============================================ */
.c365-steps {
    --step-color: var(--c365-green);
    display: flex;
    text-align: center;
}

.c365-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.c365-step-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--step-color);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    border: 4px solid rgba(255, 255, 255, 0.9);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.c365-step:hover .c365-step-circle {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

/* Connecting line between circles */
.c365-step--has-line::after {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(50% + 40px);
    right: calc(-50% + 40px);
    height: 3px;
    background: var(--step-color);
    opacity: 0.3;
    border-radius: 2px;
    z-index: 1;
}

.c365-step-info {
    padding: 1.5rem 1rem 0;
}

.c365-step-info h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--c365-blue);
    margin-bottom: 0.4rem;
}

.c365-step-info p {
    font-size: 0.88rem;
    color: var(--c365-text-muted);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 767px) {
    .c365-steps {
        flex-direction: column;
        gap: 2rem;
    }

    .c365-step--has-line::after {
        display: none;
    }

    .c365-step-circle {
        width: 56px;
        height: 56px;
        font-size: 1.1rem;
    }

    .c365-step-info {
        padding: 1rem 0 0;
    }
}

/* ============================================
   PROCESS FLOW
   ============================================ */
.c365-process-flow {
    --flow-color: var(--c365-green);
    display: flex;
    justify-content: center;
    text-align: center;
    position: relative;
}

.c365-flow-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.c365-flow-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    border: 2px solid var(--flow-color);
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--c365-blue2);
    position: relative;
    z-index: 2;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.c365-flow-step:hover .c365-flow-icon {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    background: #fff;
}

/* Connecting line between icons */
.c365-flow-step--has-line::after {
    content: '';
    position: absolute;
    top: 32px;
    left: calc(50% + 36px);
    right: calc(-50% + 36px);
    height: 2px;
    background: var(--flow-color);
    opacity: 0.3;
    z-index: 1;
}

.c365-flow-label {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--c365-blue2);
}

@media (max-width: 767px) {
    .c365-process-flow {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .c365-flow-step--has-line::after {
        display: none;
    }

    .c365-flow-step {
        flex-direction: row;
        gap: 1rem;
        text-align: left;
    }

    .c365-flow-icon {
        width: 52px;
        height: 52px;
        font-size: 1.25rem;
        flex-shrink: 0;
    }
}

/* ============================================
   COUNTERS
   ============================================ */
.c365-counter-item {
    padding: 1rem 0;
}

.c365-counter-num {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.c365-counter-label {
    font-size: 0.9rem;
    opacity: 0.75;
    line-height: 1.4;
}

/* ============================================
   IMAGE CARDS
   ============================================ */
.c365-image-card {
    display: block;
    background: var(--c365-white);
    border: 1px solid var(--c365-grey-200);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
    height: 100%;
}

.c365-image-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

a.c365-image-card:hover {
    color: inherit;
}

.c365-image-card__img img {
    width: 100%;
    height: auto;
    display: block;
}

.c365-image-card__text {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    color: var(--c365-grey-600);
    text-align: center;
}

/* ============================================
   THREE COLUMN COUNTER
   ============================================ */
.c365-3col-image {
    overflow: hidden;
}

.c365-3col-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    max-height: 180px;
}

.c365-3col-counter {
    padding: 2rem 0;
}

.c365-3col-num {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.c365-3col-label {
    font-size: 1.1rem;
    opacity: 0.7;
    line-height: 1.4;
    color: var(--c365-grey-600);
}

@media (max-width: 767px) {
    .three-col-counter .row {
        flex-direction: column;
        align-items: center;
    }
    .c365-3col-image {
        max-width: 200px;
        margin: 0 auto;
    }
}

/* ============================================
   FEATURE CARDS (alternate card display)
   ============================================ */
.c-feature-card {
    background: var(--c365-white);
    border: 1px solid var(--c365-grey-200);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.c-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--c365-shadow);
    border-color: var(--c365-green);
}

.c-feature-icon-wrap {
    font-size: 2rem;
    color: var(--c365-green);
    margin-bottom: 1rem;
}

.c-feature-icon-wrap.blue {
    color: var(--c365-blue2);
}

.c-feature-icon-wrap.ice {
    color: var(--c365-ice);
}

.c-feature-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c365-blue);
    margin-bottom: 0.5rem;
}

.c-feature-card p {
    font-size: 0.9rem;
    color: var(--c365-grey-600);
    line-height: 1.6;
    margin: 0;
}

/* Checklist Cards */
.c-checklist-card {
    background: var(--c365-white);
    border: 1px solid var(--c365-grey-200);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    height: 100%;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.c-checklist-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--c365-shadow);
}

.c-checklist-icon {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.c-checklist-icon.blue {
    color: var(--c365-blue2);
}

.c-checklist-icon.green {
    color: var(--c365-green);
}

.c-checklist-icon.ice {
    color: var(--c365-ice);
}

.c-checklist-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--c365-blue);
    margin-bottom: 0.5rem;
}

.c-checklist-card p {
    font-size: 0.9rem;
    color: var(--c365-grey-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.c-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.c-checklist li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--c365-text);
}

.c-checklist li i {
    color: var(--c365-green);
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Image Showcase */
.c365-showcase {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.c365-showcase:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
}

.c365-showcase img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   IMAGE/TEXT ICON + INLINE COUNTERS
   ============================================ */
.c365-text-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--c365-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.c365-inline-counters {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.c365-inline-counter-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.c365-inline-counter-label {
    font-size: 0.85rem;
    color: var(--c365-grey-600);
    line-height: 1.4;
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* Section-level animations (set via ACF Section Settings) */
.c365-anim {
    opacity: 0;
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.c365-anim-fade-in {
    opacity: 0;
}

.c365-anim-slide-up {
    transform: translateY(40px);
}

.c365-anim-slide-down {
    transform: translateY(-40px);
}

.c365-anim-slide-left {
    transform: translateX(-60px);
}

.c365-anim-slide-right {
    transform: translateX(60px);
}

.c365-anim.c365-anim-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .c365-nav {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        height: calc(100vh - 72px);
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 0;
        z-index: 999;
        overflow-y: auto;
    }

    .c365-nav.mobile-active {
        display: flex;
    }

    .c365-nav li a {
        padding: 1rem 1.5rem;
        width: 100%;
        font-size: 1.1rem;
        text-align: left;
        color: var(--c365-blue2);
    }

    .header-actions {
        display: none;
    }

    .c365-nav.mobile-active ~ .header-actions {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    body.mobile-nav-open {
        overflow: hidden;
    }

    .mobile-nav-actions {
        display: flex !important;
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.5rem;
        margin-top: auto;
    }

    .mobile-nav-actions a {
        text-align: center;
        width: 100%;
        padding: 0.75rem 1rem;
        display: block;
    }

    .mobile-nav-actions .btn-contact-header {
        color: white;
    }

    .mobile-nav-actions .btn-introducer {
        text-align: center;
        display: block;
    }

    .c-persona-cards {
        flex-direction: column;
        gap: 1rem;
    }

    .c-persona-card {
        padding: 1.5rem 2rem;
        min-width: auto;
    }

    .page-hero h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 767px) {
    .c-hero-heading {
        font-size: 2.25rem;
    }

    .c-persona-card {
        padding: 1.25rem 1.5rem;
    }

    .c-persona-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .anchor-nav-inner {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 0 1rem;
    }

    .anchor-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .c365-tabs {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .expand-header {
        padding: 1rem 1.25rem;
    }

    .expand-header h3 {
        font-size: 1rem;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom .row>div {
        text-align: center !important;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .footer-legal-links {
        justify-content: center;
    }

    .page-hero h1 {
        font-size: 1.75rem;
    }

    .page-hero {
        padding: calc(72px + 3.5rem) 0 5rem;
    }
}

.c365-bg-c365-blue2 p,
.c365-bg-c365-blue2 h3,
.c365-bg-c365-blue2 h2 {
    color: #fff
}