/* ============================================
   BEACON HEALTH - MAIN STYLESHEET
   ============================================ */

/* RESET & BASE STYLES */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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


:root {
    --color-primary: #1a9b8e;
    --color-gradient: #196b79;
    --color-secondary: #0f7066;
    --color-dark: #1a1a1a;
    --color-light: #f5f5f5;
    --color-gray: #666666;
    --color-white: #ffffff;
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;


    /* Spacing scale */
    --space-xs: 10px;
    --space-sm: 20px;
    --space-md: 40px;
    --space-lg: 60px;
    --space-xl: 80px;
}

html,
body {
    font-family: var(--font-primary);
    color: var(--color-dark);
    background: var(--color-white);
    line-height: 1.6;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background: var(--color-white);
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-img {
    height: 70px;
    width: auto;
}

.company-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
}

/* ===== HEADER & NAVIGATION ===== */

.nav-menu {
    display: flex;
    gap: 50px;
    align-items: center;

}

.nav-menu a {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    cursor: pointer;
    position: relative;
    display: inline-block;
    /* ensures pseudo-elements render reliably */
    padding-right: 22;
    /* word-only width */
    padding-bottom: 6px;
    /* space for underline */
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.nav-toggle {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-dark);
}

/* Tablet */

@media (max-width: 1024px) {
    .nav-menu {
        gap: 18px;
    }

    .nav-menu a {
        font-size: 14px;
    }
}

/* Mobile */

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        display: none;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        z-index: 2000;
    }

    .nav-menu.active {
        display: flex;
        /* shown ONLY on toggle */
    }

    .nav-menu a {
        padding: 12px 0;
        font-size: 16px;
    }

    /* remove desktop underline + separators */
    .nav-menu a::after,
    .nav-menu a.active::before {
        display: none;
    }
}


/* Centered, text-relative underline */
@media (min-width: 769px) {

    /* Full-word underline */
    .nav-menu a.active::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 2px;
        background-color: var(--color-primary);
        border-radius: 2px;
    }

    /* Separator positioned OUTSIDE the link box */
    .nav-menu a:not(:last-child)::after {
        content: "";
        position: absolute;
        right: -25px;
        /* pushes separator into the gap */
        top: 45%;
        transform: translateY(-50%);
        height: 18px;
        width: 2px;
        background-color: var(--color-primary);
    }
}

.card .features-list {
    text-align: left;
}

.card .features-list li {
    line-height: 1.4;
    /* single / tight line spacing */
    padding: 6px 0;
    /* reduce vertical gaps */
}

.cta-button {
    background: var(--color-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: var(--color-secondary);
}

/* ===== PAGE SECTIONS (Hidden by default) ===== */
.page {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.page.active {
    display: block;
}

.css-marquee {
    overflow: hidden;
    white-space: nowrap;
}

.css-marquee-inner {
    display: inline-block;
    padding-left: 100%;
    animation: cssMarquee 35s linear infinite;
    margin-bottom: 10px;
}

@keyframes cssMarquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.section {
    margin-top: var(--space-sm);
}

section[class*="hero"] h1 {
    font-weight: 500;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    color: white;
    padding: 20px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
}

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

.hero h1 {
    font-size: 40px;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 12px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 12px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition:
        transform 0.25s ease-out,
        box-shadow 0.25s ease-out,
        border-color 0.25s ease-out;
    text-decoration: none;
    display: inline-block;
    pointer-events: auto;
}

.btn-primary {
    background: white;
    color: var(--color-primary);
    padding: 14px 28px;
    /* bigger tap target */
    font-size: 15px;
    /* slightly larger */
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(26, 155, 142, 0.18);
    border-color: var(--color-primary);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

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

.hero .btn-secondary {
    color: #fff;
    border-color: #fff;
}

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

#service-delivery {
    scroll-margin-top: 90px;
    /* adjust to header height */
}

/*.service-delivery-actions {
            display: flex;
            justify-content: center;
            gap: 5px;
            margin-top: 5px; /* was ~24px */
/* flex-wrap: wrap;
        } */

#insights-hero {
    scroll-margin-top: 30px;
}

/* ======  Ececution Page additions (non-responsive)====*/

.execution-flowline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px 12px;
    margin: 12px auto 18px;
    max-width: 900px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    background: white;
    font-weight: 600;
}

.execution-arrow {
    opacity: 0.55;
}

/* Lifecycle inside-card layout */
.execution-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 14px;
}

.execution-step {
    padding: 12px 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    background: white;
}

/* Ensure good spacing for model + audience on responsive layouts */
.execution-model-grid,
.execution-audience-grid {
    gap: 18px;
}

/* Optional: tighten final nav on small screens */
.execution-final-nav {
    gap: 12px;
}

.hub-pill-implication {
    margin-left: 8px;
    opacity: 0.9;
}

.hub-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}

.hub-news-source {
    margin-top: 12px;
}

/* ===== Knowledge Hub additions (non-responsive) ===== */

.hub-card-tag {
    margin-top: 15px;
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 600;
}

.hub-news-feed {
    display: grid;
    gap: 18px;
}

.hub-news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.hub-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.hub-date {
    font-size: 12px;
    opacity: 0.75;
    text-align: center;
}

.hub-news-title {
    margin: 0 0 8px 0;
}

.hub-news-why {
    margin: 0 0 10px 0;
}


.hub-news-source a {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}

.hub-news-source a:hover {
    text-decoration: underline;
}

/* Panel visibility controlled by showHub() */
#knowledgehub .hub-detail {
    display: none;
}

/* ===== CONTENT SECTIONS ===== */
/* .hero+.container {
    padding-top: 24px;
}

.flagship-section+.insights-preview {
    padding-top: 12px;
}

.insights-preview+.solution-cta {
    margin-top: 12px;
}

.hpod-detail-grid+.container {
    padding-top: 24px; */
    /* reduced from 60px */
/* }

.insights-selector+.insights-content {
    padding-top: 24px;
    /* reduced from 60px */
/* }
.insights-selector {
    margin-bottom: 24px;
} */ */



.about .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-lg) 20px;
}

.container-tight {
    padding-top: var(--space-sm);
    /* 20px instead of 60px */
    margin-bottom: 28px;
}

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

.hpod-detail-grid {
    margin-top: 24px;
    /* keeps it connected to flagship */
}

.hpod-detail-grid .card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hpod-detail-grid .features-list li {
    padding: 6px 0;
    line-height: 1.4;
}

.hpod-detail-grid p {
    font-size: 15px;
    line-height: 1.6;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 10px;
    margin-top: 10px;
    text-align: center;
}

.section-subtitle {
    font-size: 16px;
    color: var(--color-gray);
    margin-bottom: 30px;
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.solution-cta {
    margin: 20px 0;
}

.solution-cta-text {
    font-size: 22px;
    margin: 0 0 10px 0;
    /* reduced gap */
    color: var(--color-dark);
}

.ai-badge-link {
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
}

.solution-cta .ai-badge-link {
    font-size: 14px;
    /* instead of very small */
    line-height: 1.3;
    padding: 14px 28px;
    /* bigger tap target */
    font-weight: 600;
    border-radius: 24px;
}

/* Right column */
.video-side {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Text card */
.video-side-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    max-width: 260px;
    width: 100%;
}

/* ===== End-of-page navigation (shared) ===== */

.page-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.page-nav>* {
    flex: 0 0 auto;
    /* ⬅ prevents stretch */
}

.page-nav:last-child {
    margin-bottom: 24px;
}

/*.page-nav:hover {
            transform: translateY(-6px);
            border-color: var(--color-primary);
        }*/

/* ===== GRID LAYOUTS ===== */
.grid {
    display: grid;
    gap: 30px;
    margin-top: 10px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ===== CARD COMPONENTS ===== */
.card {
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}


@media (hover: hover) {
    .card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 24px rgba(26, 155, 142, 0.15);
    }
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
}

.card-svg {
    width: 60px;
    height: 60px;
    background: #fff;
    border: 2px solid #0fb9b1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.card-cbot {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-dark);
}

.card p {
    font-size: 14px;
    color: var(--color-gray);
    line-height: 1.8;
}

/* ===== Card variant: narrative / text-heavy ===== */
.card-narrative {
    text-align: left;
}

.card-narrative p {
    text-align: center;
    /* justified paragraphs */
    text-justify: inter-word;
    line-height: 1.6;
}

/* ===== Card variant: Customer Success / Testimonials ===== */
.customer-success-card {
    padding: 32px;
    /* slightly generous for reading */
}

.customer-success-card p {
    text-align: left;
    /* key change */
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
}

.customer-success-card p strong {
    display: block;
    /* labels on their own line */
    margin-bottom: 6px;
}

.hpod-detail-grid .card.solution-quadrants {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 20px;
    align-items: stretch;
}

.hpod-detail-grid .card.solution-quadrants .quadrant-card {
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 28px 20px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
}

.hpod-detail-grid .card.solution-quadrants .quadrant-card h3 {
    margin: 0;
}

.solution-quadrants-wrapper{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.hpod-capabilities-title{
    text-align:center;
    margin-bottom:10px;
}

.solution-quadrants{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

.solution-quadrants .quadrant-card{
    border:1px solid #e6e6e6;
    border-radius:12px;
    padding:24px;
    background:#fff;
    transition: all 0.3s ease;
}

.quadrant-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(26, 155, 142, 0.15);
}

.solution-quadrants .quadrant-card h3{
    margin-bottom:10px;
    text-align:center;
}

.leadership-section {
    padding: 80px 24px;
}

.leadership-text h3 {
    margin-bottom: 16px;
}

.leadership-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 16px;
}

.leadership-cards {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.leadership-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.leadership-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.leadership-content h2 {
    margin-bottom: 16px;
}

.leadership-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 16px;
}

/* ===== IMAGE SECTION ===== */
.image-section {
    margin: 40px 0;
    text-align: center;
}

.image-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ai-badge {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 15px;
}

/* ===== FEATURES LIST ===== */
.features-list {
    list-style: none;
    margin: 20px 0;
}

.features-list li {
    padding: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 16px;
}

.features-list li::before {
    content: '✓';
    color: var(--color-primary);
    font-weight: 700;
    font-size: 18px;
    width: 24px;
    /* 🔑 fixed bullet column */
    flex-shrink: 0;
    text-align: left;
}

.features-list li strong {
    display: block;
    flex-shrink: 0;
    width: 180px;
    /* adjust once, stays consistent */
    white-space: normal;
}

/* ===== Solutions page: desktop spacing cleanup ===== */

#solutions .section {
    margin-top: 32px;
}

#solutions .container-tight {
    margin-bottom: 28px;
}

#solutions .section-title {
    margin-top: 0;
}

#solutions .grid {
    margin-top: 4px;
}

#solutions .hpod-detail-grid {
    margin-top: 16px;
}

/* ===== Ecosystem: tighten transition to "Who We Work With" ===== */

#ecosystem p.section-subtitle[style] {
    margin-bottom: 4px;
    /* override stacked spacing */
}

#ecosystem .ecosystem-core {
    padding-top: 8px;
    /* ↓ from 32px */
}

#ecosystem .contact-info {
    margin-bottom: 8px;
    /* creates controlled exit */
}

#ecosystem .container-tight {
    padding-top: 8px;
    /* ↓ from 20px */
}

#ecosystem .container-tight .section-title {
    margin-top: 8px;
    /* ↓ from 20px */
}

#about .leadership-intro p:last-of-type {
    margin-bottom: 8px;
}

#about .leadership-section {
    padding-top: 24px;
    padding-bottom: 32px;
    /* ↓ from 80px */
}

/* ===== About page: Leadership → Explore More spacing ===== */

#about .container-tight {
    padding-top: 8px;
    /* ↓ from 20px */
}

#about .container-tight .section-title {
    margin-top: 8px;
    /* ↓ from 20px */
}

/* CTO Content Leadership text card paragraph spacing */
.ceo-content p {
    margin-bottom: 12px;
}

.ceo-content p:last-child {
    margin-bottom: 0;
}

/* ===== Compact Video CTA Card (FINAL) ===== */

.video-cta-card {
    display: flex;
    max-width: 640px;
    height: 100px;
    margin: 24px auto;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #ffffff;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.video-cta-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* LEFT: image (25%) */
.video-cta-thumb {
    width: 25%;
    min-width: 100px;
    height: 100%;
    background: #f5f5f5;
}

.video-cta-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* RIGHT: body (75%) */
.video-cta-body {
    position: relative;
    width: 75%;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

/* Text content */
.video-cta-content {
    padding-right: 56px;
    /* reserve space for play button */
}

.video-cta-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.video-cta-subtitle {
    font-size: 13px;
    color: var(--color-gray);
    line-height: 1.4;
}

/* Play button — NO OVERLAP WITH IMAGE */
.video-cta-play {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: background 0.25s ease, transform 0.25s ease;
}

/* Hover emphasis */
@media (hover: hover) {
    .video-cta-card:hover .video-cta-play {
        background: rgba(26, 155, 142, 0.9);
        transform: translateY(-50%) scale(1.1);
    }
}

/* ===== About: Mission section ===== */

.mission-content {
    max-width: 1200px;
    margin: 0 auto;
}

.mission-content p {
    font-size: 16px;
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: 16px;
    text-align: justify;
    text-justify: inter-word;
}

.mission-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 480px) {
    .mission-content p {
        text-align: left;
    }
}

/* ===== Leadership section ===== */

.leadership-intro {
    max-width: 1200px;
    margin: 0 auto 32px;
}

.leadership-intro p {
    font-size: 16px;
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: 16px;
    text-align: justify;
}

/* CEO card emphasis */
.ceo-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    text-align: left;
    border: 1px solid rgba(26, 155, 142, 0.3);
    box-shadow: 0 12px 30px rgba(26, 155, 142, 0.12);
}

.ceo-card p {
    text-align: justify;
    line-height: 1.6;
}

/* Slightly constrain CEO text width for readability */
.ceo-content {
    max-width: 540px;
}

/* Philosophy card stays lighter */
.leadership-text {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}


/* ===== FOOTER ===== */
footer {
    background: var(--color-dark);
    color: white;
    padding: 30px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.footer-section p{
    font-size: 14px;
    color: #ccc;
    line-height: 1.8;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.footer-section a {
    font-size: 14px;
    color: #ccc;
    line-height: 1.8;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
}

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

.footer-bottom {
    text-align: center;
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 13px;
    color: #888;
}

.footer-social {
    margin-top: 16px;
    margin-bottom: 8px;
    width: 60px;
    height: 60px;
    padding-left: 32px;
    justify-content: flex-start;
}

.footer-social svg {
    width: 50px;
    /* 4 × 18px */
    height: 50px;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    color: #9a9a9a;
    transition: color 0.2s ease, transform 0.2s ease;
}

.linkedin-link:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.ceo-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
    display: block;
}

.ceo-content h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ceo-info h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ceo-linkedin svg {
    width: 20px;
    height: 20px;
    color: #0a66c2;
}

.ceo-title {
    font-size: 14px;
    color: #777;
    margin: 4px 0 12px;
}

.ceo-bio {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.insights-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.insights-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-6px);
}

.insights-detail {
    display: none;
    margin-top: 20px;
    scroll-margin-top: 110px;
    /* adjust to header height */
}

.trust-strip {
    background: var(--color-light);
    border-radius: 12px;
    padding: 50px 30px;
    margin-top: 20px;
}

.trust-item {
    text-align: center;
}

.trust-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.trust-item p {
    font-size: 14px;
    color: var(--color-gray);
    line-height: 1.6;
}

.insights-preview {
    margin-top: 10px;
}

.insights-preview-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.insights-preview-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-primary);
}

.insights-preview-cta {
    text-align: center;
    margin-top: 30px;
}

.flagship-section {
    margin-top: 20px;
    /* increases space from previous container */
}

.video-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

.video-modal-content {
    position: relative;
    max-width: 900px;
    margin: 5% auto;
    background: #000;
    border-radius: 10px;
    padding: 12px;
}

.video-modal video {
    width: 100%;
    border-radius: 8px;
}

.video-close {
    position: absolute;
    top: -38px;
    right: 0;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

.ecosystem-how {
    padding-bottom: 32px;
    /* tighter transition */
}

.ecosystem-core {
    padding-top: 32px;
}

.ecosystem-emerging {
    padding-top: 24px;
    background: #fafafa;
    /* very subtle separation */
}

.ecosystem-emerging+.container {
    padding-top: 32px;
    /* was 60px */
}

/*.ecosystem-actions {
            display: flex;
            justify-content: center;
            gap: 16px;
            margin-top: 24px;
            flex-wrap: wrap;
        }*/
.ecosystem-principles {
    max-width: 800px;
    margin: 0 auto;
}

.ecosystem-how+.ecosystem-core {
    padding-top: 16px;
}

#about .card {
    max-width: 900px;
    margin: 0 auto;
}

/*.about-actions {
            display: flex;
            justify-content: center;
            gap: 16px;
            margin-top: 24px;
            flex-wrap: wrap;
        } */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-section p {
    line-height: 1.5;
}

.footer-section a {
    display: block;
    margin: 6px 0;
}

.footer-section:last-child p {
    font-size: 14px;
}

.footer-bottom a {
    color: inherit;
    text-decoration: underline;
}

.footer-brand-header {
    display: flex;
    align-items: center;
    /* THIS is the key */
    gap: 16px;
}

.footer-logo {
    height: 48px;
    /* your current size */
    width: auto;
    flex-shrink: 0;
    /* prevents logo from shrinking */
}

.footer-brand-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}

/* ===== ABOUT PAGE STYLES ===== */
.about-hero {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    color: white;
    padding: 24px 20px;
    text-align: center;
}

.about-hero+.container {
    padding-top: 24px;
    /* reduced from 60px */
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.value-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--color-primary);
}

.value-item h3 {
    color: var(--color-primary);
    margin-bottom: 10px;
}

/* ===== CONTACT SECTION ===== */

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.contact-item {
    padding: 20px;
    background: var(--color-light);
    border-radius: 8px;
}

.contact-item h3 {
    color: var(--color-primary);
    margin-bottom: 10px;
}

.contact-item p {
    color: var(--color-gray);
    margin: 5px 0;
}

/* ===== FORM STYLES ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26, 155, 142, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    background: var(--color-primary);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-submit:hover {
    background: var(--color-secondary);
}

/* ================================================================= Chatbot CSS ========================================================= */

/* .bh-faqbot {
            --teal: var(--color-primary, #1a9b8e);
            position: fixed;
            right: 18px;
            bottom: 18px;
            z-index: 9999;
        }
        
        .bh-faqbot__launch {
            width: 60px;
            height: 60px;
            border: 0;
            border-radius: 999px;
            cursor: pointer;
            place-items: center;
            background: var(--teal);
            color: #fff;
            box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
            transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
            padding: 0;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .bh-faqbot__avatar {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
            display: block;
        }

        .bh-faqbot__panel {
            will-change: transform, opacity;
        }
        
        .bh-faqbot__panel.bh-open {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
        
        .bh-faqbot__launch:hover {
            transform: translateY(-2px);
            box-shadow: 0 16px 36px rgba(0, 0, 0, .22);
        }
        
        .bh-faqbot__launch:active {
            transform: translateY(0);
            opacity: .9;
        }
        
        .bh-faqbot.bh-open .bh-faqbot__launch {
            display: none;
        }
        
        .bh-faqbot__panel {
            position: fixed;
            right: 18px;
            bottom: 18px;
            top: calc(var(--bh-header-offset, 90px) + 12px);
            width: 380px;
            max-width: calc(100vw - 36px);
            background: #fff;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
            opacity: 0;
            transform: translateY(14px);
            pointer-events: none;
            transition: .22s ease;
            display: flex;
            flex-direction: column;
        }
        
        .bh-faqbot__panel.bh-open {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }
        
        .bh-faqbot__header {
            background: var(--color-primary);
            color: #fff;
            padding: 12px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 10px;
        }

        .bh-faqbot__title {
            font-weight: 700;
            font-size: 14px;
            display: flex;
            place-items: center;
        }
        
        .bh-faqbot__subtitle {
            font-size: 12px;
            opacity: .9;
            margin-top: 2px;
        }
        
        .bh-faqbot__close {
            width: 36px;
            height: 36px;
            border: 0;
            border-radius: 10px;
            cursor: pointer;
            display: grid;
            place-items: center;
            color: #fff;
            background: rgba(255, 255, 255, .22);
            transition: background .18s ease, transform .18s ease;
        }
        
        .bh-faqbot__close:hover {
            background: rgba(255, 255, 255, .30);
            transform: scale(1.03);
        }
        
        .bh-faqbot__close:active {
            transform: scale(.98);
        }
        
        .bh-faqbot__body {
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 0;
        }
        
        .bh-faqbot__messages {
            flex: 1;
            overflow-y: auto;
            padding: 12px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            min-height: 0;
        }
        
        .bh-msg {
            max-width: 92%;
            padding: 10px 12px;
            border-radius: 14px;
            border: 1px solid rgba(0, 0, 0, .08);
            background: #fff;
            font-size: 13.5px;
            line-height: 1.45;
        }
        
        .bh-msg.bot {
            align-self: flex-start;
        }
        
        .bh-msg.user {
            align-self: flex-end;
            background: rgba(26, 155, 142, .06);
            border-color: rgba(26, 155, 142, .25);
        }
        
        .bh-qlist {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .bh-qbtn {
            width: 100%;
            text-align: center;
            border: none;
            color: #0f5a53;
            background-color: white;
            text-align: left;
            padding: 4px 10px;
            border-radius: 12px;
            cursor: pointer;
            font-size: 13px;
            transition: transform .15s ease, background .15s ease, border-color .15s ease;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }
        
        .q-emoji {
            width: 22px;
            flex: 0 0 22px;
            text-align: center;
            line-height: 1.4;
        }
        
        .q-text {
            flex: 1;
            line-height: 1.45;
        }
        
        .bh-qbtn:hover {
            background: rgba(26, 155, 142, .08);
            transform: translateY(-1px);
            border-color: rgba(26, 155, 142, .55);
        }
        
        .bh-qbtn:active {
            transform: translateY(0);
        }
        
        .bh-faqbot__cats {
            margin-top: auto;
            border-top: 1px solid rgba(0, 0, 0, .08);
            background: #fafafa;
            padding: 10px;
            display: flex;
            gap: 10px;
            overflow: visible;
            overflow-x: hidden;
            flex-wrap: wrap;
            align-items: center;
        }
        
        .bh-cat {
            white-space: nowrap;
            border: 1px solid rgba(0, 0, 0, .10);
            background: #fff;
            padding: 8px 10px;
            border-radius: 999px;
            cursor: pointer;
            font-size: 12.5px;
            transition: background .15s ease, transform .15s ease, border-color .15s ease;
        }
        
        .bh-cat:hover {
            transform: translateY(-1px);
            background: rgba(26, 155, 142, .06);
            border-color: rgba(26, 155, 142, .35);
        }
        
        .bh-cat.active {
            background: rgba(26, 155, 142, .12);
            border-color: rgba(26, 155, 142, .55);
            color: #0f5a53;
        }
        


        
        .bh-faqbot__inputbar {
            display: flex;
            gap: 8px;
            padding: 10px;
            border-top: 1px solid rgba(0, 0, 0, .08);
            background: #fff
        }
        
        .bh-faqbot__input {
            flex: 1;
            padding: 10px 12px;
            border: 1px solid rgba(0, 0, 0, .12);
            border-radius: 12px;
            outline: none
        }
        
        .bh-faqbot__send {
            padding: 10px 14px;
            border: 0;
            border-radius: 12px;
            background: var(--teal, #1a9b8e);
            color: #fff;
            cursor: pointer
        } */




/* ================================================================ RESPONSIVE ================================================================ */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 26px;
        line-height: 1.2;
    }

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


@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
        padding-left: 7px;
        padding-right: 7px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .nav-menu {
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .hero h1 {
        font-size: 30px;
        line-height: 1.25;
        margin-bottom: 16px;
    }

    .page-nav {
        flex-direction: column;
        gap: 12px;
    }

    .page-nav .btn {
        width: 100%;
        max-width: 320px;
        /* optional, keeps buttons elegant */
    }

    .ceo-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    .hero-buttons {
        gap: 12px;
    }

    .btn {
        padding: 14px 20px;
        font-size: 15px;
    }

    .logo-img {
        height: 48px;
    }

    .company-name {
        font-size: 16px;
    }

    .leadership-card {
        padding: 24px;
    }

    .solution-quadrants {
        grid-template-columns: 1fr;
    }
    
    .ceo-photo {
        width: 96px;
        height: 96px;
    }

    .footer-logo {
        height: 36px;
    }

    .footer-content {
        gap: 28px;
    }

    .card {
        padding: 22px;
    }

    .card-icon {
        margin-bottom: 14px;
    }

    .card-svg {
        margin-bottom: 14px;
    }

    .card h3 {
        font-size: 17px;
    }

    .grid-2 {
        gap: 30px;
    }

    .grid-2 p {
        font-size: 15px;
        line-height: 1.6;
    }

    .trust-strip {
        padding: 40px 20px;
    }

    .trust-item {
        margin-bottom: 20px;
    }

    .trust-item h4 {
        font-size: 15px;
    }

    .trust-item p {
        font-size: 14px;
    }
    .features-list li strong {
    display: block;
    flex-shrink: 0;
    width: 125px;
    /* adjust once, stays consistent */
    white-space: normal;
}

    header .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        background: #ffffff;
        padding: 20px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 9999;
        max-height: 0;
        opacity: 0;
        transform: translateY(-8px);
        overflow: hidden;
        pointer-events: none;
        transition:
            max-height 0.7s ease,
            opacity 0.45s ease,
            transform 0.7s cubic-bezier(.16, 1, .3, 1);
    }

    header .nav-menu.active {
        display: flex;
        max-height: 70vh;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    header .nav-menu a {
        display: block;
        width: 100%;
        padding: 12px 0;
        font-size: 16px;
    }

    header .nav-menu a::after,
    header .nav-menu a::before {
        display: none;
    }

    .container,
    .container-tight {
        padding-left: 10px;
        padding-right: 10px;
    }

    .flagship-section,
    .insights-preview,
    .solution-cta,
    .hero {
        padding-left: 10px;
        padding-right: 10px;
    }

    .video-cta-title {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .video-cta-subtitle {
        max-width: 160px;
        margin: 0 auto;
    }

    .video-cta-subtitle div {
        font-size: 12px;
        line-height: 1.35;
        white-space: nowrap;
    }

    .flagship-section .card img {
        object-position: 46% 45%;
    }

    .section-subtitle,
    .hero p {
        padding-left: 7px;
        padding-right: 7px;
    }

    .grid,
    .grid-2,
    .grid-3,
    .hpod-detail-grid {
        padding-left: 15px;
        padding-right: 15px;
    }

    .grid .card,
    .grid-2 .card,
    .grid-3 .card,
    .hpod-detail-grid .card {
        width: 100%;
    }

    #solutions>div[style*="text-align: center"]>p:last-of-type {
        padding-left: 10px;
        padding-right: 10px;
    }

    .customer-success-card {
        margin-left: 10px;
        margin-right: 10px;
    }

    .leadership-section .leadership-cards {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .leadership-section .leadership-card {
        width: 100%;
    }

    .about-actions .btn {
        padding-left: 16px;
        padding-right: 16px;
    }

    header .nav-menu .cta-button {
        background: none;
        padding: 12px 0;
        border-radius: 0;
        font-weight: 600;
        color: #1a9b8e;
        margin-left: 0;
    }

    header .nav-menu .cta-button:hover {
        background: none;
        opacity: 0.85;
    }

    header .nav-menu a.cta-button {
        background: none;
        color: #1a9b8e;
        /* force override */
        font-weight: 600;
        padding: 12px 0;
    }

    /* Shrink the card, NOT the column */
    .video-side-card {
        max-width: 180px;
    }

    .video-cta-title {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .video-cta-subtitle {
        max-width: 150px;
        margin: 0 auto;
    }

    .video-cta-subtitle div {
        font-size: 12px;
        line-height: 1.35;
        white-space: nowrap;
    }

    .video-cta-button {
        margin-top: 12px;
    }


    /* =========================Chatbot Responsive====================================================================== */
    /* .bh-faqbot {
                right: 14px;
                bottom: 14px;
            }

            .bh-faqbot__panel {
                top: 0;
                right: 0;
                left: 0;
                bottom: 0;
                width: auto;
                max-width: none;
                border-radius: 0;
            }
            .bh-faqbot__inputbar {
                display: block;
            } */
}