/* ==============================================
   GLOBAL RESET & BASE STYLES
   ============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==============================================
   CSS VARIABLES - THEME COLORS & SETTINGS
   ============================================== */
/* Edit these variables to change colors throughout the site */
:root {
    /* ===== BREAKMETRIC CORE PALETTE ===== */
    --bm-primary: #0895da;
    --bm-primary-dark: #1069a5;
    --bm-accent: #2bb2eb;
    --bm-surface: #2e4156;
    --bm-neutral-1: #f1f0ef;
    --bm-neutral-2: #b4b7b4;
    --bm-neutral-3: #a8acb7;
    --bm-neutral-4: #bfc3c6;

    /* RGB helpers for rgba overlays */
    --bm-primary-rgb: 8, 149, 218;
    --bm-primary-dark-rgb: 16, 105, 165;
    --bm-accent-rgb: 43, 178, 235;
    --bm-surface-rgb: 46, 65, 86;
    --bm-neutral-1-rgb: 241, 240, 239;

    /* Background colors for different sections */
    --bg-primary: var(--bm-surface);
    --bg-secondary: var(--bm-primary-dark);
    --bg-hero: linear-gradient(180deg, var(--bm-primary-dark) 0%, var(--bm-surface) 100%);
    --bg-card-1: var(--bm-surface);
    --bg-card-2: var(--bm-primary-dark);
    --bg-footer: linear-gradient(180deg, var(--bm-surface) 0%, var(--bm-primary-dark) 100%);
    --bg-news-roller: linear-gradient(90deg, var(--bm-primary-dark), var(--bm-surface));
    --bg-patient-full: linear-gradient(120deg, rgba(var(--bm-surface-rgb), 0.95), rgba(var(--bm-primary-dark-rgb), 0.9));

    /* Text colors */
    --text-primary: var(--bm-neutral-1);
    --text-secondary: var(--bm-neutral-3);
    --text-light: var(--bm-neutral-1);
    --text-muted: var(--bm-neutral-4);

    /* Special effects */
    --marquee-color: var(--bm-neutral-1);
    --marquee-opacity: 0.9;
    --engagement-gradient: linear-gradient(90deg, var(--bm-accent) 0%, rgba(var(--bm-neutral-1-rgb), 0.25) 100%);

    /* Animated background circles */
    --circle-bg-1: radial-gradient(circle at 60% 15%, rgba(var(--bm-neutral-1-rgb), 0.45), transparent 55%);
    --circle-bg-2: radial-gradient(circle at 20% 50%, rgba(var(--bm-accent-rgb), 0.15), transparent 70%);
    --circle-bg-3: radial-gradient(circle at 80% 20%, rgba(var(--bm-accent-rgb), 0.15), transparent 75%);

    /* Smooth transitions for theme switching */
    --theme-transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* ==============================================
   DARK MODE THEME OVERRIDES
   ============================================== */
/* These colors replace light mode when dark theme is active */
[data-theme=\"dark\"] {
    --bg-primary: var(--bm-surface);
    --bg-secondary: var(--bm-primary-dark);
    --bg-hero: linear-gradient(180deg, var(--bm-primary-dark) 0%, var(--bm-surface) 100%);
    --bg-card-1: var(--bm-surface);
    --bg-card-2: var(--bm-primary-dark);
    --bg-footer: linear-gradient(180deg, var(--bm-surface) 0%, var(--bm-primary-dark) 100%);
    --bg-news-roller: linear-gradient(90deg, var(--bm-primary-dark), var(--bm-surface));
    --bg-patient-full: linear-gradient(135deg, rgba(var(--bm-surface-rgb), 0.95), rgba(var(--bm-primary-dark-rgb), 0.95));

    --text-primary: var(--bm-neutral-1);
    --text-secondary: var(--bm-neutral-2);
    --text-light: var(--bm-neutral-1);
    --text-muted: var(--bm-neutral-4);

    --marquee-color: var(--bm-neutral-1);
    --marquee-opacity: 0.95;
    --engagement-gradient: linear-gradient(90deg, var(--bm-accent) 0%, rgba(var(--bm-neutral-1-rgb), 0.3) 100%);

    --circle-bg-1: radial-gradient(circle at 60% 15%, rgba(var(--bm-neutral-1-rgb), 0.2), transparent 60%);
    --circle-bg-2: radial-gradient(circle at 20% 50%, rgba(var(--bm-accent-rgb), 0.12), transparent 70%);
    --circle-bg-3: radial-gradient(circle at 80% 20%, rgba(var(--bm-accent-rgb), 0.12), transparent 75%);
}

/* ==============================================
   BODY & GLOBAL TYPOGRAPHY
   ============================================== */
body {
    font-family: "Inter", sans-serif; /* Main font - change here for different font */
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow: hidden; /* Prevent scroll */
    transition: var(--theme-transition);
    -webkit-font-smoothing: antialiased; /* Smooth font rendering */
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;

    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==============================================
   THEME TOGGLE BUTTON (Sun/Moon Icon)
   ============================================== */
/* Controls the appearance of the theme switcher */
.theme-toggle {
    position: relative;
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.theme-toggle:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.theme-toggle i {
    font-size: 16px;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.theme-toggle .fa-sun {
    display: none;
}

.theme-toggle .fa-moon {
    display: block;
}

[data-theme="dark"] .theme-toggle .fa-sun {
    display: block;
}

[data-theme="dark"] .theme-toggle .fa-moon {
    display: none;
}

/* ==============================================
   STICKY NAVIGATION BAR
   ============================================== */
/* Appears when scrolling down - glassmorphism effect */
.sticky-nav {
    position: fixed;
    top: -100px;
    left: 0;
    z-index: 99999;
    opacity: 0;
    transition:
        top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.4s ease;
    pointer-events: none;
    width: 100%;
    background: rgba(var(var(--bm-surface-rgb)), 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.sticky-nav.visible {
    top: 0;
    opacity: 1;
    pointer-events: all;
}

.sticky-nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 8px 68px;
    will-change: transform, opacity;
}

.sticky-brand-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sticky-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.sticky-brand-text h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(var(var(--bm-surface-rgb)), 0.2);
}

.sticky-nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0 0 0 auto;
    padding: 0;
}

.sticky-nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 1px 2px rgba(var(var(--bm-surface-rgb)), 0.2);
}

.sticky-nav-links a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bm-neutral-1);
    transition: width 0.3s ease;
}

.sticky-nav-links a:hover {
    opacity: 0.9;
}

.sticky-nav-links a:hover::after {
    width: 100%;
}

/* ==============================================
   MOBILE HAMBURGER MENU
   ============================================== */
/* Three-line menu icon for mobile devices */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100001;
    margin-left: auto;
    transition: all 0.3s ease;
    position: relative;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background: var(--bm-neutral-1);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* ==============================================
   HERO SECTION (Top Banner)
   ============================================== */
/* Main landing section with title and CTA button */
.hero-section {
    background: var(--bg-hero);
    /*background-image: url('images/header-bg.jpg');*/
    background-size: cover;
    background-position: center;
    min-height: calc(100vh - 64px);
    height: calc(100vh - 64px);
    max-height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    padding-bottom: 0;
    transition: var(--theme-transition);
}

/* Animated blockchain grid background */
#blockchainCanvas {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    opacity: 0.9;
    z-index: 1;
    pointer-events: none;
}

/* Main navigation bar at top */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 68px;
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    z-index: 99999;
    max-width: 1920px;
    margin: 0 auto;
}

/* Logo container */
.logo {
    padding: 8px 4px;
    border-radius: 20px;
    background: rgba(var(var(--bm-surface-rgb)), 0.25);
    border: 1px solid rgba(var(var(--bm-neutral-1-rgb)), 0.25);
    box-shadow: inset 0 0 0 1px rgba(var(var(--bm-neutral-1-rgb)), 0.25), 0 14px 45px rgba(var(var(--bm-surface-rgb)), 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 50px;
    background: linear-gradient(135deg, rgba(2, 187, 235, 0.2), rgba(8, 149, 218, 0.85));
    border-radius: 50%;
    padding: 12px;
    box-shadow:
        0 10px 40px rgba(2, 187, 235, 0.25),
        inset 0 0 0 1px rgba(var(var(--bm-neutral-1-rgb)), 0.3);
    animation: logo-pulse 6s ease-in-out infinite;
}

.hero-logo {
    margin: 0 0 16px;
    width: fit-content;
    transform: none;
}

/* Logo image sizing */
.logo img {
    width: 70px;
    height: 72px;
}

/* Company name and tagline */
.brand-text {
    margin-left: 16px;
    color: var(--text-light);
    padding-right: 28px;
    border-right: 1px solid rgba(var(var(--bm-neutral-1-rgb)), 0.25);
}

.brand-text h2 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
    text-shadow: 0px 4px 4px rgba(var(var(--bm-surface-rgb)), 0.25);
}

.brand-text p {
    font-size: 12px;
    font-weight: 200;
    text-transform: uppercase;
    text-shadow: 0px 4px 4px rgba(var(var(--bm-surface-rgb)), 0.25);
}

/* Navigation menu links */
.nav-links {
    display: flex;
    list-style: none;
    margin-left: clamp(0.5rem, 1vw, 1rem);
    gap: 40px;
    transform: translateX(-40px);
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: opacity 0.3s;
    letter-spacing: 0.2rem;
    text-shadow: 0 2px 6px rgba(var(var(--bm-surface-rgb)), 0.35);
}

.nav-links a:hover {
    opacity: 0.8;
}

.nav-links .nav-pill,
.btn-login.nav-pill {
    background: linear-gradient(120deg, var(--bm-accent), var(--bm-primary));
    color: var(--bm-surface);
    padding: 8px 26px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2rem;
    border: 1px solid transparent;
    box-shadow: 0 12px 30px rgba(var(--bm-accent-rgb), 0.35);
    text-transform: capitalize;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.nav-links .nav-pill:hover,
.nav-links .nav-pill:focus-visible,
.btn-login.nav-pill:hover,
.btn-login.nav-pill:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(var(--bm-accent-rgb), 0.45);
    text-decoration: none;
}

/* Hide mobile login elements on desktop */
.mobile-login-item {
    display: none;
}

/* Login container with username field and button */
.login-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 40px;
}

/* Username input field */
.username-input {
    background: transparent;
    border: 1px solid var(--bm-neutral-1);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 18px;
    font-size: 12px;
    font-weight: 500;
    font-family: "Inter", sans-serif;
    outline: none;
    transition: all 0.3s;
    width: 180px;
}

.username-input::placeholder {
    color: rgba(var(var(--bm-neutral-1-rgb)), 0.6);
    text-transform: uppercase;
}

.username-input:focus {
    background: rgba(var(var(--bm-neutral-1-rgb)), 0.1);
    border-color: rgba(var(var(--bm-neutral-1-rgb)), 0.8);
}

/* Login button in navigation */
.btn-login {
    align-self: flex-end;
    background: linear-gradient(135deg, rgba(8, 149, 218, 0.9), rgba(16, 105, 165, 0.95));
    border: 1px solid rgba(241, 240, 239, 0.7);
    border-radius: 40px;
    box-shadow: 0 6px 25px rgba(2, 187, 235, 0.35);
    color: #f1f0ef;
    padding: 10px 28px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.25rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    margin-left: auto;
}

.btn-login::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50px;
    background: radial-gradient(circle, rgba(2, 187, 235, 0.35), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-login:hover,
.btn-login:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(2, 187, 235, 0.45);
}

.btn-login:hover::after,
.btn-login:focus-visible::after {
    opacity: 1;
}

/* Hero section content wrapper */
.hero-content {
    padding: 0;
    max-width: 560px;
    position: relative;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Main hero headline - adjust font-size here */
.hero-title {
    font-size: clamp(36px, 4vw, 60px);
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.2;
    margin: 0 0 12px;
    position: relative;
    transform: none;
    text-align: center;
}

.hero-title .line1,
.hero-title .line2 {
    display: block;
}

.hero-title .line2 {
    font-size: 0.5em;
    white-space: nowrap;
}

.hero-title .line1 {
    margin-bottom: 28px;
}

.hero-title strong {
    font-weight: 700;
}

.hero-layout {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 48px clamp(32px, 4vw, 110px) 24px;
    max-height: 100%;
    min-height: 0;
    gap: 16px;
    align-items: center;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(200px, 1fr));
    gap: 12px;
    width: 100%;
    margin-top: 56px;
    padding-top: 18px;
    position: relative;
}

.pillar-grid::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(var(--bm-neutral-1-rgb)), 0.3), transparent);
    opacity: 0.7;
    pointer-events: none;
}

.pillar-card {
    background: var(--bg-card-1);
    border-radius: 28px;
    padding: 14px;
    min-height: auto;
    box-shadow: 0 12px 30px rgba(var(var(--bm-surface-rgb)), 0.35);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
}

.pillar-card:nth-child(even) {
    background: var(--bg-card-2);
    transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
}

.pillar-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 45px rgba(var(var(--bm-surface-rgb)), 0.45);
}

.pillar-card:nth-child(1):hover {
    background: rgba(var(var(--bm-surface-rgb)), 0.85);
}

.pillar-card:nth-child(2):hover {
    background: rgba(var(var(--bm-primary-rgb)), 0.35);
}

.pillar-card:nth-child(3):hover {
    background: rgba(var(var(--bm-surface-rgb)), 0.85);
}

.pillar-card:nth-child(4):hover {
    background: rgba(var(var(--bm-primary-rgb)), 0.35);
}

.pillar-card h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 10px;
}

.pillar-card p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.25;
    margin-bottom: 4px;
}

.pillar-card strong {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    display: inline-block;
    margin-right: 6px;
}

@media (max-width: 1200px) {
    .pillar-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

#aboutCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-title {
    position: relative;
}

.hero-title strong {
    background: linear-gradient(120deg, var(--bm-accent), var(--bm-primary), var(--bm-primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo img {
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(var(var(--bm-surface-rgb)), 0.4), 0 0 20px rgba(var(var(--bm-primary-rgb)), 0.35);
    border: 1px solid rgba(var(var(--bm-neutral-1-rgb)), 0.25);
    background: rgba(var(var(--bm-surface-rgb)), 0.4);
    backdrop-filter: blur(12px);
}

/* ==============================================
   FEATURES SECTION (Two Cards)
   ============================================== */
/* Two large feature cards with animations */
.features-section {
    padding: 0 270px 25px;
    display: flex;
    gap: 73px;
    background: transparent;
    margin-top: -250px;
    position: relative;
    z-index: 10;
    justify-content: center;
}

/* Individual feature card styling */
.feature-card {
    background: var(--bg-card-1);
    border-radius: 30px;
    width: 557px;
    height: 557px;
    display: flex;
    align-items: flex-end;
    padding: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(var(var(--bm-surface-rgb)), 0.3);
    transition:
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}

/* Right card alternate background */
.card-right {
    background: var(--bg-card-2);
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 20% 80%, rgba(var(var(--bm-accent-rgb)), 0.12) 0%, transparent 55%),
        radial-gradient(circle at 80% 20%, rgba(var(var(--bm-neutral-1-rgb)), 0.07) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(var(var(--bm-neutral-1-rgb)), 0.08) 0%, transparent 70%);
    opacity: 0.5;
    z-index: 1;
}

.feature-card:hover {
    box-shadow: 0 15px 50px rgba(var(var(--bm-surface-rgb)), 0.45);
}

.feature-card:hover::before {
    opacity: 0.65;
}

.card-content {
    color: var(--text-light);
    z-index: 2;
    position: relative;
}

.card-subtitle {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 10px;
}

.card-title {
    font-size: 40px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 20px;
}

.card-description {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.5;
}

/* ==============================================
   CARD LEFT SPECIFIC STYLES
   ============================================== */
.card-left .card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-left .card-subtitle {
    margin-bottom: 0px;
}

.card-left .card-title {
    font-size: 35px;
    font-weight: 300;
    margin-bottom: 118px;
}

/* ==============================================
   CARD RIGHT SPECIFIC STYLES
   ============================================== */
.card-right .card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 4;
}

.card-right .card-subtitle {
    margin-bottom: 0px;
}

.card-right .card-title {
    font-size: 35px;
    font-weight: 300;
    margin-bottom: 40%;
}

.card-right .card-description {
    font-size: 16px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.card-bottom-row {
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
}

.card-bottom-row .btn-book-demo {
    margin-bottom: 0;
    flex-shrink: 0;
}

.card-bottom-row .card-description {
    margin-bottom: 20px;
}

.btn-book-demo {
    background: transparent;
    border: 1px solid var(--bm-neutral-1);
    color: var(--text-light);
    padding: 12px 32px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.btn-book-demo:hover {
    background: rgba(var(var(--bm-accent-rgb)), 0.12);
    color: var(--text-light);
    border-color: rgba(var(var(--bm-accent-rgb)), 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(var(var(--bm-surface-rgb)), 0.35);
}

.card-left .card-description {
    font-size: 16px;
    margin-bottom: 60px;
}

/* ==============================================
   CARD IMAGE & DECORATIONS
   ============================================== */
/* Phone/device mockup image positioning */
.card-image {
    position: absolute;
    bottom: -150px;
    left: 185px;
    rotate: -17deg;
    z-index: 3;
    pointer-events: none;
}

.card-image img {
    width: 600px;
    height: auto;
}

/* Animated grid pattern background */
.card-background {
    border-radius: inherit;
    position: absolute;
    inset: 0;
    overflow: hidden;
    -webkit-mask-image: radial-gradient(circle at 60% 5%, black 0%, black 15%, transparent 60%);
    mask-image: radial-gradient(circle at 60% 5%, black 0%, black 15%, transparent 60%);
}

.card-background .tiles {
    opacity: 1;
    transition: opacity 0.25s;
}

.card-background .tiles .tile {
    position: absolute;
    background-color: rgba(var(var(--bm-accent-rgb)), 0.12);
    animation-name: tile;
    animation-duration: 8s;
    animation-iteration-count: infinite;
    opacity: 0;
}

.card-background .tiles .tile.tile-4,
.card-background .tiles .tile.tile-6,
.card-background .tiles .tile.tile-10 {
    animation-delay: -2s;
}

.card-background .tiles .tile.tile-3,
.card-background .tiles .tile.tile-5,
.card-background .tiles .tile.tile-8 {
    animation-delay: -4s;
}

.card-background .tiles .tile.tile-2,
.card-background .tiles .tile.tile-9 {
    animation-delay: -6s;
}

/* Different animation pattern for second card */
.card-right .card-background .tiles .tile.tile-1,
.card-right .card-background .tiles .tile.tile-7 {
    animation-delay: -1s;
}

.card-right .card-background .tiles .tile.tile-2,
.card-right .card-background .tiles .tile.tile-5,
.card-right .card-background .tiles .tile.tile-9 {
    animation-delay: -3s;
}

.card-right .card-background .tiles .tile.tile-3,
.card-right .card-background .tiles .tile.tile-6,
.card-right .card-background .tiles .tile.tile-10 {
    animation-delay: -5s;
}

.card-right .card-background .tiles .tile.tile-4,
.card-right .card-background .tiles .tile.tile-8 {
    animation-delay: -7s;
}

.card-background .tiles .tile.tile-1 {
    top: 0;
    left: 0;
    height: 10%;
    width: 22.5%;
}

.card-background .tiles .tile.tile-2 {
    top: 0;
    left: 22.5%;
    height: 10%;
    width: 27.5%;
}

.card-background .tiles .tile.tile-3 {
    top: 0;
    left: 50%;
    height: 10%;
    width: 27.5%;
}

.card-background .tiles .tile.tile-4 {
    top: 0;
    left: 77.5%;
    height: 10%;
    width: 22.5%;
}

.card-background .tiles .tile.tile-5 {
    top: 10%;
    left: 0;
    height: 22.5%;
    width: 22.5%;
}

.card-background .tiles .tile.tile-6 {
    top: 10%;
    left: 22.5%;
    height: 22.5%;
    width: 27.5%;
}

.card-background .tiles .tile.tile-7 {
    top: 10%;
    left: 50%;
    height: 22.5%;
    width: 27.5%;
}

.card-background .tiles .tile.tile-8 {
    top: 10%;
    left: 77.5%;
    height: 22.5%;
    width: 22.5%;
}

.card-background .tiles .tile.tile-9 {
    top: 32.5%;
    left: 50%;
    height: 22.5%;
    width: 27.5%;
}

.card-background .tiles .tile.tile-10 {
    top: 32.5%;
    left: 77.5%;
    height: 22.5%;
    width: 22.5%;
}

@keyframes tile {
    0%,
    12.5%,
    100% {
        opacity: 1;
    }
    25%,
    82.5% {
        opacity: 0;
    }
}

.card-background .line {
    position: absolute;
    inset: 0;
    opacity: 1;
    transition: opacity 0.35s;
}

.card-background .line:before,
.card-background .line:after {
    content: "";
    position: absolute;
    background-color: rgba(var(var(--bm-neutral-1-rgb)), 0.06);
    transition: transform 0.35s;
}

.card-background .line:before {
    left: 0;
    right: 0;
    height: 1px;
    transform-origin: 0 50%;
    transform: scaleX(1);
}

.card-background .line:after {
    top: 0;
    bottom: 0;
    width: 1px;
    transform-origin: 50% 0;
    transform: scaleY(1);
}

.card-background .line.line-1:before {
    top: 10%;
}

.card-background .line.line-1:after {
    left: 22.5%;
}

.card-background .line.line-1:before,
.card-background .line.line-1:after {
    transition-delay: 0.3s;
}

.card-background .line.line-2:before {
    top: 32.5%;
}

.card-background .line.line-2:after {
    left: 50%;
}

.card-background .line.line-2:before,
.card-background .line.line-2:after {
    transition-delay: 0.15s;
}

.card-background .line.line-3:before {
    top: 55%;
}

.card-background .line.line-3:after {
    right: 22.5%;
}

/* ==============================================
   ANIMATED CHART (SVG)
   ============================================== */
/* Line chart animation on right card */
.chart-container {
    position: absolute;
    bottom: 0;
    left: -5%;
    right: -5%;
    width: 110%;
    height: 65%;
    z-index: 3;
    opacity: 0.95;
    padding: 0;
}

.line-chart {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 20px rgba(var(var(--bm-accent-rgb)), 0.25));
}

.chart-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

.chart-area {
    opacity: 0;
}

.chart-dots circle {
    cursor: pointer;
    transition: all 0.3s ease;
}

.chart-dots circle:hover {
    fill: rgba(var(var(--bm-neutral-1-rgb)), 1);
}

/* ==============================================
   ANIMATED BACKGROUND WRAPPER
   ============================================== */
/* Container for animated circle backgrounds */
.animated-bg-wrapper {
    position: absolute;
    inset: 0;
    background: transparent;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* ==============================================
   ENGAGEMENT SECTION (Middle Content)
   ============================================== */
/* Section with large title and mockup image */
.engagement-section {
    padding: 100px 94px;
    background: transparent;
    position: relative;
    display: flex;
    justify-content: left;
    z-index: 100;
    overflow: visible;
    max-width: 1920px;
    margin: 0 auto;
}

.engagement-content-box {
    width: 100%;
    max-width: 1732px;
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: left;
    text-align: left;
    position: relative;
    margin-left: 50px;
}

/* Large gradient title - edit font-size here */
.engagement-title {
    font-size: 80px;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.engagement-title .line1 {
    display: block;
    background: var(--engagement-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.engagement-title .line2,
.engagement-title .line3 {
    display: block;
    font-weight: 700;
    background: var(--engagement-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.engagement-description {
    font-size: 36px;
    font-weight: 300;
    line-height: 1.3;
    color: var(--text-primary);
    transition: var(--theme-transition);
    margin-bottom: 20px;
}

/* Device mockup image on right side */
.mockup-image-container {
    position: absolute;
    right: -70px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
    will-change: transform;
}

.mockup-image {
    width: 750px;
    height: auto;
    opacity: 0.9;
    filter: drop-shadow(0 20px 60px rgba(var(var(--bm-surface-rgb)), 0.3));
    rotate: -10deg;
}

/* ==============================================
   ANIMATED CIRCLES BACKGROUND
   ============================================== */
/* Pulsing circles in different sizes */
.engagement-bg-animation {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

/* Smallest animated circle */
#circle-small {
    -webkit-animation: circle-scale 3s ease-in-out infinite alternate;
    animation: circle-scale 3s ease-in-out infinite alternate;
    animation-timing-function: cubic-bezier(0.6, 0, 0.4, 1);
    animation-delay: 0s;
    position: absolute;
    top: 1200px;
    right: -150px;
    background: var(--circle-bg-1);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    opacity: 0.15;
    transition: var(--theme-transition);
}

/* Medium animated circle */
#circle-medium {
    -webkit-animation: circle-scale 3s ease-in-out infinite alternate;
    animation: circle-scale 3s ease-in-out infinite alternate;
    animation-timing-function: cubic-bezier(0.6, 0, 0.4, 1);
    animation-delay: 0.3s;
    position: absolute;
    top: 1050px;
    right: -300px;
    background: var(--circle-bg-2);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    opacity: 0.12;
    transition: var(--theme-transition);
}

/* Large animated circle */
#circle-large {
    -webkit-animation: circle-scale 3s ease-in-out infinite alternate;
    animation: circle-scale 3s ease-in-out infinite alternate;
    animation-timing-function: cubic-bezier(0.6, 0, 0.4, 1);
    animation-delay: 0.6s;
    position: absolute;
    top: 900px;
    right: -450px;
    background: var(--circle-bg-3);
    width: 900px;
    height: 900px;
    border-radius: 50%;
    opacity: 0.09;
    transition: var(--theme-transition);
}

/* Extra large animated circle */
#circle-xlarge {
    -webkit-animation: circle-scale 3s ease-in-out infinite alternate;
    animation: circle-scale 3s ease-in-out infinite alternate;
    animation-timing-function: cubic-bezier(0.6, 0, 0.4, 1);
    animation-delay: 0.9s;
    position: absolute;
    top: 750px;
    right: -600px;
    background: var(--circle-bg-3);
    width: 1200px;
    height: 1200px;
    border-radius: 50%;
    opacity: 0.06;
    transition: var(--theme-transition);
}

/* Extra extra large animated circle */
#circle-xxlarge {
    -webkit-animation: circle-scale 3s ease-in-out infinite alternate;
    animation: circle-scale 3s ease-in-out infinite alternate;
    animation-timing-function: cubic-bezier(0.6, 0, 0.4, 1);
    animation-delay: 1.2s;
    position: absolute;
    top: 600px;
    right: -750px;
    background: var(--circle-bg-3);
    width: 1500px;
    height: 1500px;
    border-radius: 50%;
    opacity: 0.03;
    transition: var(--theme-transition);
}

@-webkit-keyframes circle-scale {
    0% {
        -webkit-transform: scale(1);
    }
    100% {
        -webkit-transform: scale(1.1);
    }
}

@keyframes circle-scale {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* ==============================================
   PATIENT SECTION (Two Large Cards)
   ============================================== */
/* Two 745px cards with background images */
.patient-section {
    padding: 100px 94px 50px 94px;
    display: flex;
    gap: 49px;
    background: transparent;
    position: relative;
    z-index: 1;
    justify-content: center;
}

/* Individual patient card styling */
.patient-card {
    background: var(--bg-card-1);
    border-radius: 30px;
    width: 745px;
    height: 745px;
    display: flex;
    align-items: flex-end;
    padding: 60px;
    transition: var(--theme-transition);
}

.patient-content {
    color: var(--text-light);
}

.patient-title {
    font-size: 58px;
    font-weight: 700;
    margin-bottom: 15px;
}

.patient-subtitle {
    font-size: 40px;
    font-weight: 300;
    margin-bottom: 30px;
}

.btn-learn {
    background: rgba(var(var(--bm-neutral-1-rgb)), 0.08);
    border: 1px solid rgba(var(var(--bm-neutral-1-rgb)), 0.35);
    color: var(--text-light);
    padding: 12px 32px;
    border-radius: 24.5px;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-learn:hover {
    background: rgba(var(var(--bm-accent-rgb)), 0.15);
    color: var(--text-light);
    border-color: rgba(var(var(--bm-accent-rgb)), 0.7);
    transform: translateY(-2px);
}

/* ==============================================
   LEFT PATIENT CARD (With Background Image)
   ============================================== */
/* Background image: bm_bg_left.png */
.patient-card.card-left-large {
    background-image: url("bm_bg_left.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-color: rgba(var(var(--bm-primary-dark-rgb)), 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(var(var(--bm-neutral-1-rgb)), 0.18);
}

[data-theme="dark"] .patient-card.card-left-large {
    border: none;
    background-color: rgba(var(var(--bm-primary-dark-rgb)), 0.1);
}

.patient-card.card-left-large::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(var(var(--bm-surface-rgb)), 0) 0%, rgba(var(var(--bm-primary-dark-rgb)), 1) 100%);
    border-radius: inherit;
    z-index: 0;
}

[data-theme="dark"] .patient-card.card-left-large::before {
    background: linear-gradient(180deg, rgba(var(var(--bm-surface-rgb)), 0) 0%, rgba(var(var(--bm-primary-dark-rgb)), 0.95) 100%);
}

.patient-card.card-left-large .patient-content {
    position: relative;
    z-index: 1;
}

.patient-card.card-left-large .btn-learn {
    background: rgba(var(var(--bm-neutral-1-rgb)), 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(var(var(--bm-neutral-1-rgb)), 0.3);
    padding: 16px 48px;
    font-size: 18px;
    border-radius: 30px;
    box-shadow: 0 8px 32px rgba(var(var(--bm-surface-rgb)), 0.1);
}

.patient-card.card-left-large .btn-learn:hover {
    background: rgba(var(var(--bm-neutral-1-rgb)), 0.9);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(var(var(--bm-surface-rgb)), 0.2);
}

/* ==============================================
   KPI BOXES (Floating Stats)
   ============================================== */
/* Floating statistic boxes on patient cards */
.kpi-box {
    position: absolute;
    top: -80px;
    right: 100px;
    background: rgba(var(var(--bm-accent-rgb)), 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px 30px;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(var(var(--bm-surface-rgb)), 0.2);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    will-change: transform;
}

.kpi-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(var(var(--bm-surface-rgb)), 0.3);
}

/* KPI Box Right - positioned at bottom-right edge */
.kpi-box-right {
    top: auto;
    bottom: 200px;
    right: -80px;
    background: rgba(var(var(--bm-primary-dark-rgb)), 0.8);
}

.kpi-label {
    color: var(--text-light);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 8px 0;
    text-align: left;
}

.kpi-value {
    color: var(--text-light);
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    text-align: left;
    line-height: 1;
}

/* ==============================================
   RIGHT PATIENT CARD (With Background Image)
   ============================================== */
/* Background image: bm_bg_right.png */
.patient-card.card-right-large {
    background-image: url("bm_bg_right.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    align-items: flex-start;
    background-color: rgba(var(var(--bm-primary-dark-rgb)), 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(var(var(--bm-neutral-1-rgb)), 0.18);
}

[data-theme="dark"] .patient-card.card-right-large {
    border: none;
    background-color: rgba(var(var(--bm-primary-dark-rgb)), 0.1);
}

.patient-card.card-right-large::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(var(var(--bm-primary-dark-rgb)), 1) 0%, rgba(var(var(--bm-surface-rgb)), 0) 100%);
    border-radius: inherit;
    z-index: 0;
}

[data-theme="dark"] .patient-card.card-right-large::before {
    background: linear-gradient(180deg, rgba(var(var(--bm-primary-dark-rgb)), 0.95) 0%, rgba(var(var(--bm-surface-rgb)), 0) 100%);
}

.patient-card.card-right-large .patient-content {
    position: relative;
    z-index: 1;
}

.patient-card.card-right-large .btn-learn {
    background: rgba(var(var(--bm-neutral-1-rgb)), 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(var(var(--bm-neutral-1-rgb)), 0.3);
    padding: 16px 48px;
    font-size: 18px;
    border-radius: 30px;
    box-shadow: 0 8px 32px rgba(var(var(--bm-surface-rgb)), 0.1);
}

.patient-card.card-right-large .btn-learn:hover {
    background: rgba(var(var(--bm-neutral-1-rgb)), 0.9);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(var(var(--bm-surface-rgb)), 0.2);
}

/* ==============================================
   FULL WIDTH PATIENT CARD
   ============================================== */
/* Large single card spanning full width */
.patient-section-full {
    padding: 20px 94px 100px 94px;
    background: var(--bg-primary);
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    transition: var(--theme-transition);
}

.patient-card-full {
    background: var(--bg-patient-full);
    border-radius: 30px;
    width: 1539px;
    height: 745px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 100px;
    position: relative;
    overflow: hidden;
    transition: var(--theme-transition);
}

.patient-card-full .patient-content {
    position: relative;
    z-index: 2;
    text-align: left;
    /*margin-left: 550px;*/
    left: 380px;
    width: 550px;
    top: 100px;
}

.patient-card-full .patient-title {
    color: var(--text-light);
    transition: var(--theme-transition);
}

.patient-card-full .patient-subtitle {
    color: var(--text-light);
    transition: var(--theme-transition);
}

.patient-card-full .btn-learn {
    background: rgba(var(var(--bm-neutral-1-rgb)), 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(var(var(--bm-neutral-1-rgb)), 0.3);
    padding: 16px 48px;
    font-size: 18px;
    border-radius: 30px;
    box-shadow: 0 8px 32px rgba(var(var(--bm-surface-rgb)), 0.1);
    color: var(--text-light);
}

.patient-card-full .btn-learn:hover {
    background: rgba(var(var(--bm-neutral-1-rgb)), 0.9);
    color: var(--text-light);
    transform: translateY(-2px);
}

.card-image-left {
    position: absolute;
    bottom: -300px;
    left: -90px;
    z-index: 1;
    pointer-events: none;
}

.card-image-left img {
    width: 90%;
    height: auto;
}

.card-image-right {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    pointer-events: none;
}

.card-image-right img {
    width: auto;
    height: auto;
    max-width: 100%;
    border-top-right-radius: 30px;
}

/* ==============================================
   SCROLLING TEXT MARQUEE
   ============================================== */
/* Large scrolling text animation */
.marquee-section {
    padding: 80px 0;
    background: var(--bg-primary);
    overflow: hidden;
    transition: var(--theme-transition);
}

.marquee {
    display: flex;
    white-space: nowrap;
    font-size: 170px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--marquee-color);
    opacity: var(--marquee-opacity);
    transform: translateZ(0);
    transition: var(--theme-transition);
}

.marquee-text {
    font-weight: 500;
    margin-right: 20px;
}

.marquee-text-bold {
    font-weight: 700;
    margin-right: 20px;
}

/* ==============================================
   CLOUD/VIDEO SECTION
   ============================================== */
/* Video background card with play button */
.cloud-section {
    padding: 100px 94px;
    background: var(--bg-primary);
    max-width: 1920px;
    margin: 0 auto;
    transition: var(--theme-transition);
}

.cloud-card {
    background: var(--bg-card-1);
    border-radius: 30px;
    width: 100%;
    height: 800px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    transition: var(--theme-transition);
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(var(var(--bm-surface-rgb)), 0.3) 0%, rgba(var(var(--bm-surface-rgb)), 0.6) 100%);
    z-index: 2;
}

.cloud-content {
    position: relative;
    z-index: 3;
    color: var(--text-light);
    padding: 60px 100px;
    width: 100%;
}

.play-button {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    cursor: pointer;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.cloud-card:hover .play-button {
    opacity: 1;
}

.cloud-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(var(var(--bm-surface-rgb)), 0.5);
}

.cloud-description {
    font-size: 28px;
    font-weight: 300;
    line-height: 1.4;
    text-shadow: 1px 1px 4px rgba(var(var(--bm-surface-rgb)), 0.5);
}

/* ==============================================
   NEWS TICKER (Bottom Bar)
   ============================================== */
/* Fixed bottom news ticker with rotating items */
.news-roller-section {
    background: var(--bg-news-roller);
    padding: 0;
    overflow: hidden;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    transform: translateY(0);
    transition:
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.3s ease;
    box-shadow: 0 -4px 20px rgba(var(var(--bm-surface-rgb)), 0.3);
}

.news-roller-section.hidden {
    transform: translateY(100%);
}

.news-roller-container {
    display: flex;
    align-items: center;
    max-width: 100%;
    height: 50px;
    margin: 0 auto;
}

.news-icon {
    flex-shrink: 0;
    width: 70px;
    height: 50px;
    background: linear-gradient(135deg, rgba(var(var(--bm-surface-rgb)), 1) 0%, rgba(var(var(--bm-primary-dark-rgb)), 1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.news-icon i {
    font-size: 16px;
    color: var(--text-light);
    opacity: 0.85;
    animation: pulse-icon 2s ease-in-out infinite;
    display: block;
}

@keyframes pulse-icon {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

.news-roller-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 30px;
}

.news-roller-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.news-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    opacity: 0;
    animation: slide-up-news 12s ease-in-out infinite;
    transform-origin: center center;
}

.news-item a {
    color: var(--text-light);
    font-style: italic;
    transition: color 0.3s ease;
}

.news-item a:hover {
    color: var(--bm-accent);
}

/* Pause animation when news roller is not visible */
.news-roller-section.paused .news-item {
    animation-play-state: paused;
}

.news-item:nth-child(1) {
    animation-delay: 0s;
}

.news-item:nth-child(2) {
    animation-delay: 4s;
}

.news-item:nth-child(3) {
    animation-delay: 8s;
}

.news-item strong {
    font-weight: 700;
    margin-left: 8px;
}

@keyframes slide-up-news {
    0% {
        transform: translateY(100%) translateX(0);
        opacity: 0;
    }
    8% {
        transform: translateY(0) translateX(0);
        opacity: 1;
    }
    25% {
        transform: translateY(0) translateX(0);
        opacity: 1;
    }
    33% {
        transform: translateY(-100%) translateX(0);
        opacity: 0;
    }
    100% {
        transform: translateY(-100%) translateX(0);
        opacity: 0;
    }
}

/* ==============================================
   FOOTER SECTION
   ============================================== */
/* Main footer with links and company info */
  .footer {
      background:
          radial-gradient(ellipse 0px 0px at 0% 0%, rgba(var(var(--bm-accent-rgb)), 0.0) 0%, transparent 0%),
          radial-gradient(ellipse 0px 0px at 00% 00%, rgba(var(var(--bm-neutral-1-rgb)), 0.00) 0%, transparent 0%), var(--bg-footer);
      padding: 0;
      color: var(--text-light);
      margin-top: auto;
      min-height: 64px;
      height: 64px;
      position: relative;
      transition: var(--theme-transition);
      width: 100%;
      display: flex;
      align-items: flex-end;
      justify-content: center;
  }

  .footer-bottom {
      text-align: center;
      padding: 12px 0;
      background: var(--bg-secondary);
      margin: 0;
      border-top: 1px solid rgba(var(var(--bm-surface-rgb)), 0.05);
      transition: var(--theme-transition);
      width: 100%;
      position: absolute;
      bottom: 0;
  }

.footer-bottom p {
    font-size: 12px;
    font-weight: 500;
    text-transform: none;
    color: var(--text-secondary);
    letter-spacing: 1px;
    transition: var(--theme-transition);
}

.footer-bottom a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--bm-accent);
}

/* ==============================================
   LOGO MARQUEE (Partner Logos)
   ============================================== */
/* Scrolling partner/client logos */
.logo-marquee {
    padding: 2.5rem 0;
    position: relative;
    background: transparent;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto 50px auto;
}

.logo-marquee--gradient {
    background-image: linear-gradient(90deg, var(--bg-primary) 5%, transparent 30%), linear-gradient(270deg, var(--bg-primary) 5%, transparent 30%);
    top: 2.5rem;
    height: 64px;
    left: 0;
    position: absolute;
    width: 100%;
    z-index: 1;
}

.logo-marquee--marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
}

.logo-marquee--marquee-group {
    animation: scroll-left 30s linear infinite;
    display: flex;
    flex-shrink: 0;
    width: auto;
}

@media (prefers-reduced-motion) {
    .logo-marquee--marquee-group {
        animation-play-state: paused;
    }
}

.logo-marquee--marquee-group img {
    height: 64px;
    padding: 0 40px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .logo-marquee--marquee-group img {
        height: 56px;
        padding: 0 30px;
    }
}

@media (max-width: 767.98px) {
    .logo-marquee--marquee-group img {
        height: 48px;
        padding: 0 20px;
    }
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

/* ==============================================
   RESPONSIVE BREAKPOINTS
   ============================================== */
/* All responsive styles have been moved to responsive.css */
/* Edit responsive.css for mobile/tablet layouts */

.header__input-icon {
    height: 31.5px;
    cursor: pointer;
}
.header__input-icon img {
    width: 16px;
    height: 16px;
}

@media (max-width: 991.98px) {
    .animated-bg-wrapper {
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        height: auto;
        max-height: none;
    }

    .hero-layout {
        padding: 70px 24px 40px;
    }
}
