/* ============================================
   SHARED CSS — Platform Technologies
   All shared components: design tokens, reset,
   navbar, footer, floating buttons, overlays,
   mobile menu, utilities, and page-scoped rules.

   CSS structure:
     shared.css          ← this file (all pages)
     page-home.css       ← index.html additions
     page-about.css      ← about.html additions
     page-features.css   ← features.html additions
     page-demo.css       ← demo.html additions
     page-security.css   ← security.html additions
     page-terms.css      ← terms.html additions
   ============================================ */

/* DESIGN SYSTEM TOKENS */
:root {
  /* MD3 Light Theme Colors */
  --md-sys-color-primary: rgb(16 82 19);
  --md-sys-color-primary-rgb: 16, 82, 19;
  --md-sys-color-surface-tint: rgb(44 107 41);
  --md-sys-color-on-primary: rgb(255 255 255);
  --md-sys-color-primary-container: rgb(44 107 41);
  --md-sys-color-primary-container-rgb: 44, 107, 41;
  --md-sys-color-on-primary-container: rgb(164 234 152);
  --md-sys-color-secondary: rgb(75 101 70);
  --md-sys-color-on-secondary: rgb(255 255 255);
  --md-sys-color-secondary-container: rgb(205 235 195);
  --md-sys-color-on-secondary-container: rgb(81 107 75);
  --md-sys-color-tertiary: rgb(0 76 108);
  --md-sys-color-tertiary-rgb: 0, 76, 108;
  --md-sys-color-on-tertiary: rgb(255 255 255);
  --md-sys-color-tertiary-container: rgb(0 101 142);
  --md-sys-color-on-tertiary-container: rgb(177 222 255);
  --md-sys-color-error: rgb(186 26 26);
  --md-sys-color-on-error: rgb(255 255 255);
  --md-sys-color-error-container: rgb(255 218 214);
  --md-sys-color-on-error-container: rgb(147 0 10);
  --md-sys-color-background: rgb(247 251 241);
  --md-sys-color-on-background: rgb(25 29 23);
  --md-sys-color-surface: rgb(247 251 241);
  --md-sys-color-on-surface: rgb(25 29 23);
  --md-sys-color-surface-variant: rgb(221 229 213);
  --md-sys-color-on-surface-variant: rgb(65 73 62);
  --md-sys-color-outline: rgb(113 122 108);
  --md-sys-color-outline-variant: rgb(192 201 186);
  --md-sys-color-shadow: rgb(0 0 0);
  --md-sys-color-scrim: rgb(0 0 0);
  --md-sys-color-inverse-surface: rgb(46 50 43);
  --md-sys-color-inverse-on-surface: rgb(239 242 232);
  --md-sys-color-inverse-primary: rgb(147 215 136);
  --md-sys-color-primary-fixed: rgb(174 244 161);
  --md-sys-color-on-primary-fixed: rgb(0 34 2);
  --md-sys-color-primary-fixed-dim: rgb(147 215 136);
  --md-sys-color-on-primary-fixed-variant: rgb(16 82 19);
  --md-sys-color-secondary-fixed: rgb(205 235 195);
  --md-sys-color-on-secondary-fixed: rgb(9 32 8);
  --md-sys-color-secondary-fixed-dim: rgb(178 207 168);
  --md-sys-color-on-secondary-fixed-variant: rgb(52 77 48);
  --md-sys-color-tertiary-fixed: rgb(199 231 255);
  --md-sys-color-on-tertiary-fixed: rgb(0 30 46);
  --md-sys-color-tertiary-fixed-dim: rgb(136 207 253);
  --md-sys-color-on-tertiary-fixed-variant: rgb(0 76 108);
  --md-sys-color-surface-dim: rgb(216 219 210);
  --md-sys-color-surface-bright: rgb(247 251 241);
  --md-sys-color-surface-container-lowest: rgb(255 255 255);
  --md-sys-color-surface-container-low: rgb(242 245 235);
  --md-sys-color-surface-container: rgb(236 239 230);
  --md-sys-color-surface-container-high: rgb(230 233 224);
  --md-sys-color-surface-container-highest: rgb(224 228 218);
  --md-sys-color-background-rgb: 247, 251, 241;
  
  /* Design System Tokens */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;
  
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
}

/* DARK THEME */
[data-theme="dark"] {
  --md-sys-color-primary: rgb(147 215 136);
  --md-sys-color-primary-rgb: 147, 215, 136;
  --md-sys-color-surface-tint: rgb(147 215 136);
  --md-sys-color-on-primary: rgb(0 58 5);
  --md-sys-color-primary-container: rgb(44 107 41);
  --md-sys-color-primary-container-rgb: 44, 107, 41;
  --md-sys-color-on-primary-container: rgb(164 234 152);
  --md-sys-color-secondary: rgb(178 207 168);
  --md-sys-color-on-secondary: rgb(30 54 27);
  --md-sys-color-secondary-container: rgb(52 77 48);
  --md-sys-color-on-secondary-container: rgb(161 189 152);
  --md-sys-color-tertiary: rgb(136 207 253);
  --md-sys-color-tertiary-rgb: 136, 207, 253;
  --md-sys-color-on-tertiary: rgb(0 52 76);
  --md-sys-color-tertiary-container: rgb(0 101 142);
  --md-sys-color-on-tertiary-container: rgb(177 222 255);
  --md-sys-color-error: rgb(255 180 171);
  --md-sys-color-on-error: rgb(105 0 5);
  --md-sys-color-error-container: rgb(147 0 10);
  --md-sys-color-on-error-container: rgb(255 218 214);
  --md-sys-color-background: rgb(17 20 15);
  --md-sys-color-on-background: rgb(224 228 218);
  --md-sys-color-surface: rgb(17 20 15);
  --md-sys-color-on-surface: rgb(224 228 218);
  --md-sys-color-surface-variant: rgb(65 73 62);
  --md-sys-color-on-surface-variant: rgb(192 201 186);
  --md-sys-color-outline: rgb(139 147 133);
  --md-sys-color-outline-variant: rgb(65 73 62);
  --md-sys-color-shadow: rgb(0 0 0);
  --md-sys-color-scrim: rgb(0 0 0);
  --md-sys-color-inverse-surface: rgb(224 228 218);
  --md-sys-color-inverse-on-surface: rgb(46 50 43);
  --md-sys-color-inverse-primary: rgb(44 107 41);
  --md-sys-color-primary-fixed: rgb(174 244 161);
  --md-sys-color-on-primary-fixed: rgb(0 34 2);
  --md-sys-color-primary-fixed-dim: rgb(147 215 136);
  --md-sys-color-on-primary-fixed-variant: rgb(16 82 19);
  --md-sys-color-secondary-fixed: rgb(205 235 195);
  --md-sys-color-on-secondary-fixed: rgb(9 32 8);
  --md-sys-color-secondary-fixed-dim: rgb(178 207 168);
  --md-sys-color-on-secondary-fixed-variant: rgb(52 77 48);
  --md-sys-color-tertiary-fixed: rgb(199 231 255);
  --md-sys-color-on-tertiary-fixed: rgb(0 30 46);
  --md-sys-color-tertiary-fixed-dim: rgb(136 207 253);
  --md-sys-color-on-tertiary-fixed-variant: rgb(0 76 108);
  --md-sys-color-surface-dim: rgb(17 20 15);
  --md-sys-color-surface-bright: rgb(54 58 52);
  --md-sys-color-surface-container-lowest: rgb(11 15 10);
  --md-sys-color-surface-container-low: rgb(25 29 23);
  --md-sys-color-surface-container: rgb(29 33 27);
  --md-sys-color-surface-container-high: rgb(39 43 37);
  --md-sys-color-surface-container-highest: rgb(50 54 48);
  --md-sys-color-background-rgb: 17, 20, 15;
}

/* RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-family);
    background: var(--md-sys-color-surface);
    color: var(--md-sys-color-on-surface);
    line-height: 1.5;
    overflow-x: clip; /* clip instead of hidden — preserves sticky positioning */
    overflow-y: visible; /* must be visible so sticky works on html scroll container */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1280px;
    padding: 0 64px;
    margin: 0 auto;
}

/* ── Unified sticky header wrapper ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(var(--md-sys-color-surface-variant-rgb, 235,240,233), 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .site-header {
    background: rgba(22, 27, 20, 0.92);
    border-bottom-color: rgba(255,255,255,0.07);
}

/* Navbar — sits inside .site-header (which is sticky); inherits glass effect */
.navbar {
    position: relative;
    top: auto;
    z-index: auto;
    padding: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    transition: none;
}

.nav-container {
    width: 100%;
    max-width: none;
    height: auto;
    padding: 16px 64px;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    transition: none;
    backdrop-filter: none;
}

.nav-container.scrolled {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

/* Contact Bar — flows inside .site-header, no separate sticky */
.contact-bar-container {
    position: relative;
    top: auto;
    width: 100%;
    z-index: auto;
    background: transparent;
}

.contact-bar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
    height: 32px;
    width: 100%;
    max-width: none;
    margin: 0;
    font-size: 11px;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    color: var(--md-sys-color-on-surface-variant);
    padding: 0 64px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 20px;
    height: 100%;
    cursor: pointer;
    border-radius: 0;
    border-right: 1px solid var(--md-sys-color-outline-variant);
    transition: background var(--transition-base);
    white-space: nowrap;
    color: var(--md-sys-color-on-surface-variant);
}

.contact-item:first-child {
    border-left: 1px solid var(--md-sys-color-outline-variant);
}

.contact-item a {
    color: var(--md-sys-color-on-surface-variant);
    text-decoration: none;
    font-weight: 500;
    font-size: 11.5px;
    transition: color var(--transition-base);
}

.contact-item:hover {
    background: rgba(var(--md-sys-color-primary-rgb), 0.06);
}

.contact-item a:hover {
    color: var(--md-sys-color-primary);
    text-decoration: none;
}

.logo {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.logo:hover {
    transform: scale(1.1);
}

.logo svg {
    width: 100%;
    height: 100%;
    color: var(--md-sys-color-primary);
}

.brand-name {
    color: var(--md-sys-color-on-surface);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    line-height: 23px;
    letter-spacing: -0.01em;
}

.nav-link {
    color: var(--md-sys-color-on-surface);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 4px 0;
    border-radius: 0;
    position: relative;
    transition: color var(--transition-base);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--md-sys-color-primary);
    background: transparent;
}

.nav-btn {
    padding: 5px 12px;
    background: var(--md-sys-color-primary-container);
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
    color: var(--md-sys-color-on-primary-container);
    transition: all var(--transition-base);
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 5;
}

.nav-btn:hover {
    background: var(--md-sys-color-on-primary);
    transform: translateY(-2px);
}

.nav-btn-contact {
    background: var(--md-sys-color-tertiary-container) !important;
    color: var(--md-sys-color-on-tertiary-container) !important;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.nav-btn-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--md-sys-color-tertiary);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    border-radius: 10px;
}

.nav-btn-contact::after {
    content: attr(data-text);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateX(-10px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--md-sys-color-on-tertiary);
    white-space: nowrap;
    font-weight: 500;
    font-size: 16px;
    z-index: 2;
    pointer-events: none;
}

.nav-btn-contact:hover {
    background: var(--md-sys-color-tertiary) !important;
    color: transparent !important;
    transform: translateY(-2px) scale(1.05);
    padding-left: 20px;
    padding-right: 20px;
    box-shadow: 0 8px 20px rgba(var(--md-sys-color-tertiary-rgb), 0.3);
}

.nav-btn-contact:hover::before {
    width: 100%;
}

.nav-btn-contact:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) translateX(0);
}

/* Hero Section */
.hero-section-original {
    position: relative;
    width: 100%;
    display: block;
    padding-top: clamp(16px, 2vw, 28px);
    padding-bottom: clamp(48px, 6vw, 80px);
    padding-left: 88px; /* offset for the in-hero sidebar */
    overflow-x: hidden;
    margin-top: 0;
    z-index: 1;
}

.hero-container-original {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 64px);
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Fixed Video Background */
.hero-video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.video-dark {
    display: none;
}

[data-theme="dark"] .video-light {
    display: none;
}

[data-theme="dark"] .video-dark {
    display: block;
}

.hero-blur-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    z-index: -1;
    pointer-events: none;
}

#content {
    position: relative;
    z-index: 2;
    background: var(--md-sys-color-background, #ffffff);
}

/* Platform Header */
.platform-header-original {
    text-align: center;
    margin-bottom: 18px;
}

.platform-title-original {
    color: var(--md-sys-color-primary);
    font-size: 52px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.platform-subtitle-original {
    color: var(--md-sys-color-primary-container);
    font-size: 19.5px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    display: block;
    margin-top: 6px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Middle Section */
.middle-section-original {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    height: 138px;
}

/* Consultant Section */
.consultant-section-original {
    flex: 1;
    padding: 16px;
    border-radius: 22.13px;
    background: var(--md-sys-color-surface-container-high);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--md-sys-color-outline-variant);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-base);
}

.consultant-section-original:hover {
    background: var(--md-sys-color-surface-container);
    box-shadow: 0 12px 40px rgba(var(--md-sys-color-primary-rgb), 0.15);
}

.consultant-content-original {
    text-align: center;
    width: 100%;
}

.consultant-title-original {
    color: var(--md-sys-color-on-surface);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 22px;
    font-family: 'Inter', sans-serif;
}

.consultant-logos-original {
    display: flex;
    gap: 22px;
    align-items: center;
    justify-content: center;
}

/* Mockup Section */
.mockup-section-original {
    flex: 1.5;
    padding: 16px;
    border-radius: 22.13px;
    background: var(--md-sys-color-surface-container-high);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    border: 1px solid var(--md-sys-color-outline-variant);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-base);
}

.mockup-section-original:hover {
    background: var(--md-sys-color-surface-container);
    box-shadow: 0 12px 40px rgba(var(--md-sys-color-primary-rgb), 0.15);
}

.mockup-content-original {
    display: flex;
    align-items: center;
    gap: 20.88px;
    width: 100%;
}

.mockup-small-logos-original {
    flex: 1;
    display: flex;
    gap: 20.88px;
    align-items: center;
}

.mockup-small-original {
    flex: 1;
    height: 84px;
    background: var(--md-sys-color-surface-container-low);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--md-sys-color-on-surface-variant);
    font-size: 12px;
    border: 1px solid var(--md-sys-color-outline-variant);
    backdrop-filter: blur(5px);
    transition: all var(--transition-base);
}

.mockup-small-original:hover {
    background: var(--md-sys-color-surface-container);
    border-color: var(--md-sys-color-primary);
}

.mockup-small-original img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    opacity: 0.85;
    transition: all var(--transition-base);
}

.mockup-small-original:hover img {
    opacity: 1;
    transform: scale(1.05);
}

/* Bottom Grid */
.bottom-grid-original {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.grid-item-original {
    flex: 1;
    height: 218px;
    background: var(--md-sys-color-surface-container-low);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--md-sys-color-on-surface);
    font-size: 14px;
    border: 1px solid var(--md-sys-color-outline-variant);
    transition: all var(--transition-base);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.grid-item-original:hover {
    transform: translateY(-4px);
    background: var(--md-sys-color-surface-container);
    border-color: var(--md-sys-color-primary);
    box-shadow: 0 10px 28px rgba(var(--md-sys-color-primary-rgb), 0.14);
}

/* Image Styling */
.consultant-logo {
    width: 54px;
    max-width: 54px;
    height: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: all var(--transition-base);
}

.consultant-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

[data-theme="dark"] .consultant-logo,
[data-theme="dark"] .mockup-small-original img {
    filter: brightness(0) invert(1);
}

.mockup-large-original {
    width: 120px;
    height: 112px;
    padding-top: 4px;
    border-radius: 13px;
    overflow: hidden;
}

/* Healthcare Cards */
.healthcare-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 14px 14px;
    text-align: center;
    color: var(--md-sys-color-on-surface);
    position: relative;
    overflow: hidden;
    height: 218px;
    gap: 0;
}

.healthcare-card.featured {
    border: 2px solid var(--md-sys-color-primary);
    position: relative;
    background: linear-gradient(160deg,
        rgba(var(--md-sys-color-primary-rgb), 0.1),
        rgba(var(--md-sys-color-primary-rgb), 0.03));
}

.healthcare-badge {
    position: absolute;
    top: 9px;
    right: 9px;
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(var(--md-sys-color-primary-rgb), 0.35);
}

.healthcare-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 100%;
}

.healthcare-card-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--md-sys-color-secondary-container);
    border-radius: 13px;
    margin-bottom: 6px;
    border: none;
    padding: 11px;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.25s ease;
}

.healthcare-card-icon i {
    color: var(--md-sys-color-on-secondary-container);
    font-size: 18px;
    display: block;
    line-height: 1;
}

.card-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(0) opacity(0.65);
}

.healthcare-card-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--md-sys-color-on-surface);
    line-height: 1.3;
}

.healthcare-card-desc {
    font-size: 11px;
    line-height: 1.55;
    margin: 0;
    color: var(--md-sys-color-on-surface-variant);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    max-height: 72px;
}

.grid-item-original:hover .healthcare-card-icon {
    transform: scale(1.08);
    background: var(--md-sys-color-primary-container);
}

.grid-item-original:hover .healthcare-card-icon i {
    color: var(--md-sys-color-on-primary-container);
}

.grid-item-original:hover .card-icon-img {
    filter: brightness(0) invert(0.9);
}

.grid-item-original:hover .healthcare-card-title {
    color: var(--md-sys-color-primary);
}

/* Contact Expandable Card */
.contact-expandable-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 90%;
    max-width: 500px;
    background: var(--md-sys-color-surface-container);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    border: 2px solid var(--md-sys-color-outline-variant);
}

.contact-expandable-card.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: all;
}

.contact-card-content {
    padding: 32px;
    position: relative;
}

.contact-card-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    color: var(--md-sys-color-on-surface);
    transition: all 0.3s ease;
}

.contact-card-close:hover {
    background: var(--md-sys-color-surface-variant);
    transform: rotate(90deg);
}

.contact-card-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--md-sys-color-on-surface);
    margin-bottom: 8px;
}

.contact-card-subtitle {
    font-size: 16px;
    color: var(--md-sys-color-on-surface-variant);
    margin-bottom: 24px;
}

.contact-card-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--md-sys-color-surface-container-low);
    border-radius: 12px;
    text-decoration: none;
    color: var(--md-sys-color-on-surface);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-card-item:hover {
    background: var(--md-sys-color-surface-variant);
    transform: translateX(4px);
    border-color: var(--md-sys-color-primary);
}

.contact-card-item .contact-card-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.contact-card-item span {
    font-size: 15px;
    font-weight: 500;
    flex: 1;
}

.contact-card-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.contact-card-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Scroll Indicator */
.scroll-chevron-container-integrated {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-chevron-container-integrated .scroll-chevron {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--md-sys-color-on-surface);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .container,
    .hero-container-original {
        padding: 0 32px;
    }
    
    .middle-section-original {
        flex-direction: column;
        height: auto;
    }
    
    .platform-title-original {
        font-size: 40px;
    }

    .bottom-grid-original {
        flex-wrap: wrap;
    }

    .grid-item-original {
        min-width: calc(50% - 6px);
    }

    .healthcare-card {
        height: auto;
        min-height: 196px;
        padding: 13px;
    }

    .healthcare-card-desc {
        max-height: 50px;
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .container,
    .hero-container-original {
        padding: 0 24px;
    }
    
    .consultant-logos-original {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .mockup-content-original {
        flex-direction: column;
    }
    
    .grid-item-original {
        min-width: 100%;
    }
    
    .healthcare-card {
        min-height: 180px;
        padding: 10px;
    }

    .healthcare-card-title {
        font-size: 13px;
    }
    
    .healthcare-card-desc {
        max-height: 50px;
    }
    
    .healthcare-card-icon {
        width: 40px;
        height: 40px;
        padding: 8px;
    }
    
    .nav-link {
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-bar {
        max-width: calc(100% - 24px);
        padding: 0 8px;
        gap: 6px;
    }
    
    .contact-item {
        padding: 4px 8px;
        font-size: 11px;
    }
    
    .healthcare-card {
        min-height: 164px;
        padding: 9px;
    }

    .healthcare-card-title {
        font-size: 12px;
    }

    .healthcare-card-desc {
        font-size: 10px;
        max-height: 40px;
    }
    
    .healthcare-card-icon {
        width: 36px;
        height: 36px;
        padding: 6px;
    }
}

/* Dark theme support */
[data-theme="dark"] .consultant-logo,
[data-theme="dark"] .mockup-small-original img {
    filter: brightness(0) invert(1);
}

[data-theme="dark"] .healthcare-card-icon {
    background: var(--md-sys-color-secondary-container);
}

[data-theme="dark"] .healthcare-card-icon i {
    color: var(--md-sys-color-on-secondary-container);
}

[data-theme="dark"] .card-icon-img {
    filter: brightness(0) invert(0.82);
}

[data-theme="dark"] .grid-item-original:hover .card-icon-img {
    filter: brightness(0) invert(1);
}

[data-theme="dark"] .healthcare-badge {
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
}
/* ============================================
   REST OF THE SECTIONS (Keep as is)
   ============================================ */

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    border: none;
}

.btn-primary:hover {
    opacity: 0.8;
}

.btn-secondary {
    background-color: var(--md-sys-color-on-secondary);
    color: var(--md-sys-color-on-surface);
    border: 1px solid var(--md-sys-color-outline);
}

.btn-secondary:hover {
    background-color: #e5e7eb;
}

.button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Trusted Section */
.trusted-section {
    padding: var(--spacing-4xl) 0;
    text-align: center;
}

.trusted-section h2 {
    margin-bottom: var(--spacing-md);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--md-sys-color-primary);
}

.trusted-section > p {
    max-width: 800px;
    margin: 0 auto var(--spacing-2xl);
    font-size: var(--text-lg);
    color: var(--md-sys-color-outline);
    line-height: 1.6;
}

/* Logos Scroll */
.logos-scroll-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 2rem 0;
    margin-top: var(--spacing-lg);
    border-radius: 16px;
    background: var(--md-sys-color-surface-container-highest);
}

.logos-scroll-container::before,
.logos-scroll-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logos-scroll-container::before {
    left: 0;
    background: linear-gradient(to right, var(--md-sys-color-surface), transparent);
}

.logos-scroll-container::after {
    right: 0;
    background: linear-gradient(to left, var(--md-sys-color-surface), transparent);
}

.logos-track {
    display: flex;
    gap: 3rem;
    padding: 0 2rem;
    animation: scrollLogos 8s linear infinite;
    width: max-content;
    user-select: none;
    -webkit-user-select: none;
    will-change: transform;
}

.logo-item {
    flex: 0 0 auto;
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: all 0.3s ease;
    border-radius: 16px;
}

.logo-item:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.logo-item img {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Healthcare Section - Minimal Modern */
.platform-healthcare-compact {
    padding: calc(var(--spacing-2xl) * 1.6) 0;
    background: linear-gradient(
        to bottom,
        var(--md-sys-color-surface-container-low),
        var(--md-sys-color-surface)
    );
    position: relative;
}

.platform-healthcare-compact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        var(--md-sys-color-outline-variant),
        transparent
    );
}

.platform-healthcare-compact-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.platform-healthcare-compact-header {
    text-align: center;
    margin-bottom: calc(var(--spacing-xl) * 1.4);
}

.platform-healthcare-compact-title {
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;
    letter-spacing: -.5px;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--md-sys-color-on-surface);
}

.platform-healthcare-compact-title-highlight {
    color: var(--md-sys-color-primary);
}

.platform-healthcare-compact-subtitle {
    font-size: clamp(15px, 1.1vw, 18px);
    color: var(--md-sys-color-on-surface-variant);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Cards Grid */
.platform-healthcare-compact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(18px, 2.2vw, 30px);
}

/* Card Base */
.platform-healthcare-compact-card {
    background: var(--md-sys-color-surface-container);
    border-radius: 24px; /* RETURNED BORDER RADIUS */
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--md-sys-color-outline-variant);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

/* Remove all gradient overlays and complex effects */
.platform-healthcare-compact-card::after {
    display: none;
}

/* Minimal Hover Effects */
.platform-healthcare-compact-card:hover {
    border-color: var(--md-sys-color-primary);
    transform: translateY(-4px);
}

/* Featured Card - Minimal */
.platform-healthcare-compact-card-featured {
    background: var(--md-sys-color-surface-container-low);
    border: 1px solid var(--md-sys-color-primary);
}

/* Badge - Minimal */
.platform-healthcare-compact-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
}

/* Icon Container - Clean */
.platform-healthcare-compact-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    color: white;
    font-size: 22px;
    transition: transform 0.2s ease;
}

/* Simple Solid Colors */
/* All icons have the same color for integrated version */
.platform-healthcare-compact-integrated .platform-healthcare-compact-icon-clinic,
.platform-healthcare-compact-integrated .platform-healthcare-compact-icon-surgery,
.platform-healthcare-compact-integrated .platform-healthcare-compact-icon-hospital {
    background: var(--md-sys-color-primary);
}

/* Regular version keeps different colors */
.platform-healthcare-compact-icon-clinic {
    background: var(--md-sys-color-primary);
}

.platform-healthcare-compact-icon-surgery {
    background: var(--md-sys-color-tertiary);
}

.platform-healthcare-compact-icon-hospital {
    background: var(--md-sys-color-error);
}

/* Minimal Icon Hover */
.platform-healthcare-compact-card:hover .platform-healthcare-compact-icon {
    transform: translateY(-2px);
}

/* Card Content */
.platform-healthcare-compact-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--md-sys-color-on-surface);
    margin-bottom: 8px;
}

.platform-healthcare-compact-card-desc {
    font-size: 14px;
    color: var(--md-sys-color-on-surface-variant);
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .platform-healthcare-compact-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .platform-healthcare-compact-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .platform-healthcare-compact-card {
        padding: 24px 20px;
    }
}

/* Features Preview */
.platform-features-compact {
    padding: var(--spacing-3xl) 0;
    background: var(--md-sys-color-surface);
    font-family: var(--font-family);
}

.platform-features-compact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.platform-features-compact-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto var(--spacing-2xl);
}

.platform-features-compact-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--md-sys-color-on-surface);
}

.platform-features-compact-subtitle {
    font-size: var(--text-lg);
    color: var(--md-sys-color-on-surface-variant);
    line-height: 1.6;
}

.platform-features-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.platform-features-compact-card {
    background: var(--md-sys-color-surface-container);
    border-radius: 24px;
    border: 1px solid var(--md-sys-color-outline-variant);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.platform-features-compact-card:hover {
    transform: translateY(-6px);
    border-color: var(--md-sys-color-primary);
    box-shadow: 0 12px 32px rgba(var(--md-sys-color-primary), 0.15);
}

.platform-features-compact-image {
    position: relative;
    height: 120px;
    overflow: hidden;
    background: linear-gradient(135deg, 
        var(--md-sys-color-surface-container-low) 0%, 
        var(--md-sys-color-surface-container) 100%);
}

.platform-features-compact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow);
}

.platform-features-compact-card:hover .platform-features-compact-image img {
    transform: scale(1.05);
}

.platform-features-compact-content {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.platform-features-compact-card-title {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--md-sys-color-on-surface);
    line-height: 1.3;
    min-height: 2.6em;
}

.platform-features-compact-card-desc {
    font-size: var(--text-sm);
    line-height: 1.5;
    color: var(--md-sys-color-on-surface-variant);
    margin-bottom: var(--spacing-md);
    flex: 1;
    min-height: 4.5em;
}

.platform-features-compact-link {
    color: var(--md-sys-color-primary);
    font-size: var(--text-sm);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: all var(--transition-base);
    margin-top: auto;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--md-sys-color-outline-variant);
}

.platform-features-compact-link:hover {
    color: var(--md-sys-color-primary-container);
    gap: var(--spacing-md);
}

.platform-features-compact-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.platform-features-compact-btn {
    display: inline-block;
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    padding: var(--spacing-lg) var(--spacing-2xl);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-base);
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    min-width: 200px;
}

.platform-features-compact-btn:hover {
    background: var(--md-sys-color-primary-container);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(var(--md-sys-color-primary), 0.3);
}

/* CTA Section */
.platform-cta-section {
    position: relative;
    width: 100%;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--md-sys-color-inverse-on-surface);
    text-align: center;
    min-height: 100vh;
    margin-top: 0;
    padding: 120px 0 60px 0;
}

.navbar.fixed-nav + main .platform-cta-section {
    padding-top: 140px;
}



.platform-cta-content-container {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    padding: 0 84px;
    box-sizing: border-box;
    height: 100%;
}

.platform-cta-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex: 1;
}

.platform-cta-title {
    width: 100%;
    max-width: 900px;
    text-align: center;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    margin-top: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    font-family: 'Inter', sans-serif;
    color: var(--md-sys-color-inverse-on-surface);
    letter-spacing: -0.5px;
}

.platform-cta-title br {
    display: none;
}

.platform-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.platform-cta-btn-primary,
.platform-cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 1.125rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.platform-cta-btn-primary {
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,0,0,.25), 0 4px 8px rgba(0,0,0,.1), 0 0 0 1px rgba(255,255,255,.1);
}

.platform-cta-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
    transition: left 0.7s;
}

.platform-cta-btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,.3), 0 8px 16px rgba(0,0,0,.15), 0 0 0 2px rgba(255,255,255,.2);
}

.platform-cta-btn-primary:hover::before {
    left: 100%;
}

.platform-cta-btn-primary:active {
    transform: translateY(-2px) scale(1);
}

.platform-cta-btn-secondary {
    background: transparent;
    color: var(--md-sys-color-on-surface);
    font-weight: 600;
    border: 2px solid var(--md-sys-color-on-surface);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.platform-cta-btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.05));
    opacity: 0;
    transition: opacity 0.3s;
}

.platform-cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.platform-cta-btn-secondary:hover::before {
    opacity: 1;
}

.platform-cta-btn-secondary:active {
    transform: translateY(-2px);
}

.platform-cta-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.platform-cta-image {
    width: 70%;
    max-width: 1000px;
    height: 300px;
    max-height: 500px;
    object-fit: contain;
    border-radius: 24px;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float-cta 6s ease-in-out infinite;
}

@keyframes float-cta {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Tablet Responsive (768px - 1024px) */
@media (max-width: 1024px) {
    .platform-cta-content-container {
        padding: 0 60px;
        gap: 60px;
    }
    
    .platform-cta-title {
        font-size: 2.8rem;
        max-width: 800px;
    }
    
    .platform-cta-image {
        width: 85%;
        height: 280px;
    }
    
    .platform-cta-text-content {
        gap: 30px;
    }
}

/* Small Tablet Responsive (600px - 768px) */
@media (max-width: 768px) {
    .platform-cta-section {
        padding: 100px 0 40px 0;
        min-height: 90vh;
    }
    
    .navbar.fixed-nav + main .platform-cta-section {
        padding-top: 120px;
    }
    
    .platform-cta-content-container {
        padding: 0 40px;
        gap: 50px;
    }
    
    .platform-cta-title {
        font-size: 2.4rem;
        margin-top: 10px;
        letter-spacing: -0.3px;
    }
    
    .platform-cta-title br {
        display: block;
    }
    
    .platform-cta-text-content {
        gap: 25px;
    }
    
    .platform-cta-buttons {
        gap: 15px;
    }
    
    .platform-cta-btn-primary,
    .platform-cta-btn-secondary {
        padding: 16px 32px;
        font-size: 1rem;
    }
    
    .platform-cta-image {
        width: 90%;
        height: 250px;
    }
    
    @keyframes float-cta {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-15px); }
    }
}

/* Mobile Responsive (480px - 600px) */
@media (max-width: 600px) {
    .platform-cta-section {
        padding: 80px 0 30px 0;
        min-height: 85vh;
    }
    
    .navbar.fixed-nav + main .platform-cta-section {
        padding-top: 100px;
    }
    
    .platform-cta-content-container {
        padding: 0 24px;
        gap: 40px;
    }
    
    .platform-cta-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-top: 0;
        letter-spacing: -0.2px;
    }
    
    .platform-cta-text-content {
        gap: 20px;
    }
    
    .platform-cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 10px auto 0;
    }
    
    .platform-cta-btn-primary,
    .platform-cta-btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 1rem;
    }
    
    .platform-cta-image {
        width: 100%;
        height: 200px;
        border-radius: 20px;
    }
    
    .platform-cta-image-container {
        padding: 10px 0;
    }
}

/* Small Mobile Responsive (below 480px) */
@media (max-width: 480px) {
    .platform-cta-section {
        padding: 70px 0 20px 0;
        min-height: 80vh;
    }
    
    .navbar.fixed-nav + main .platform-cta-section {
        padding-top: 90px;
    }
    
    .platform-cta-content-container {
        padding: 0 20px;
        gap: 30px;
    }
    
    .platform-cta-title {
        font-size: 1.75rem;
        line-height: 1.25;
    }
    
    .platform-cta-text-content {
        gap: 15px;
    }
    
    .platform-cta-buttons {
        max-width: 100%;
    }
    
    .platform-cta-btn-primary,
    .platform-cta-btn-secondary {
        padding: 14px 20px;
        font-size: 0.95rem;
        border-radius: 14px;
    }
    
    .platform-cta-image {
        height: 180px;
        border-radius: 16px;
    }
    
    @keyframes float-cta {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
    }
}

/* Ensure feature page primary CTAs behave well on mobile */
@media (max-width: 768px) {
    .feature-section-text .platform-cta-btn-primary {
        width: 100%;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
    }
}

/* Extra Small Mobile (below 360px) */
@media (max-width: 360px) {
    .platform-cta-title {
        font-size: 1.6rem;
    }
    
    .platform-cta-btn-primary,
    .platform-cta-btn-secondary {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .platform-cta-image {
        height: 160px;
    }
}

/* Landscape Mode */
@media (max-height: 600px) and (orientation: landscape) {
    .platform-cta-section {
        min-height: 120vh;
        padding: 100px 0 40px 0;
    }
    
    .platform-cta-content-container {
        gap: 40px;
    }
    
    .platform-cta-title {
        font-size: 2.2rem;
        margin-top: 10px;
    }
    
    .platform-cta-image {
        height: 180px;
    }
    
    .platform-cta-btn-primary,
    .platform-cta-btn-secondary {
        padding: 14px 28px;
    }
}

/* High-resolution screens */
@media (min-width: 1440px) {
    .platform-cta-content-container {
        max-width: 1400px;
    }
    
    .platform-cta-title {
        font-size: 4rem;
        max-width: 1000px;
    }
    
    .platform-cta-image {
        max-width: 1200px;
    }
}
/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 100px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
    align-items: flex-end;
    /* Never influence layout / cause horizontal scroll */
    width: 0;
    overflow: visible;
    pointer-events: none;
}

.floating-buttons > *,
.floating-buttons .contact-wrapper {
    pointer-events: auto;
}

.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background-color: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-surface);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.floating-btn img {
    width: 24px;
    height: 24px;
    display: block;
}

.floating-btn:hover {
    transform: translateY(-4px);
}

.contact-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding-top: 10px;
}

.contact-option {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
}

.contact-option[aria-label="Call"] { background-color: #007BFF; }
.contact-option[aria-label="Email"] { background-color: #E33F3F; }
.contact-option[aria-label="WhatsApp"] { background-color: #25D366; }

.contact-wrapper.expanded .contact-options {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
}

.contact-wrapper.expanded .contact-option {
    opacity: 1;
    transform: scale(1);
}

.contact-wrapper.expanded .contact-option:nth-child(1) { transition-delay: 0.05s; }
.contact-wrapper.expanded .contact-option:nth-child(2) { transition-delay: 0.1s; }
.contact-wrapper.expanded .contact-option:nth-child(3) { transition-delay: 0.15s; }

/* Social Links Enhanced */
.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--md-sys-color-surface-variant);
    color: var(--md-sys-color-on-surface-variant);
    text-decoration: none;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.5s ease;
}

.social-link:hover {
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    transform: translateY(-3px) rotate(5deg);
    box-shadow: 0 6px 16px rgba(var(--md-sys-color-primary), 0.3);
}

.social-link:hover::before {
    left: 100%;
}
/* Footer */
.footer {
    background: linear-gradient(180deg, var(--md-sys-color-surface-container), var(--md-sys-color-surface));
    padding: var(--spacing-4xl) 0 var(--spacing-3xl);
    font-size: var(--text-sm);
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-4xl);
    padding-top: var(--spacing-3xl);
    border-top: 1px solid var(--md-sys-color-surface-variant);
    margin-bottom: var(--spacing-3xl);
}

.footer-brand {
    max-width: 260px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-platform {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.6px;
    color: var(--md-sys-color-on-surface);
}

.logo-technologies {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--md-sys-color-primary);
    margin-top: 4px;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--md-sys-color-tertiary-container);
    color: var(--md-sys-color-on-tertiary-container);
    padding: 4px 10px 4px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
    width: fit-content;
}

.location-badge svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.footer-brand p {
    margin: var(--spacing-md) 0;
    line-height: 1.6;
    color: var(--md-sys-color-outline);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--md-sys-color-surface-container-high);
    color: var(--md-sys-color-outline);
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
}

.social-link:hover {
    background: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* LinkedIn specific styling */
.linkedin-link {
    background: transparent;
    border: 1.5px solid #0077B5;
    color: #0077B5;
}

.linkedin-link svg {
    fill: #0077B5;
}

.linkedin-link:hover {
    background: #0077B5;
    color: white;
    border-color: #0077B5;
}

.linkedin-link:hover svg {
    fill: white;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-column {
    min-width: 140px;
}

.footer-column h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    color: var(--md-sys-color-on-surface);
}

.footer-column a {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--spacing-sm);
    font-size: var(--text-sm);
    color: var(--md-sys-color-outline);
    transition: color var(--transition-base), transform var(--transition-base);
    text-decoration: none;
}

.footer-column a:hover {
    color: var(--md-sys-color-primary);
    transform: translateX(4px);
}

.footer-column a svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    opacity: 0.7;
    transition: opacity var(--transition-base);
}

.footer-column a:hover svg {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--md-sys-color-outline-variant);
    padding-top: var(--spacing-lg);
    font-size: var(--text-sm);
    color: var(--md-sys-color-outline);
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-bottom-links a {
    color: var(--md-sys-color-outline);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-bottom-links a:hover {
    color: var(--md-sys-color-primary);
}

.support-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: -20px;
}

.support-icon {
    width: 16px;
    height: 16px;
    color: var(--md-sys-color-primary);
}

/* ============================================
   RESPONSIVE DESIGN FOR FOOTER
   ============================================ */

/* Tablet Responsive (768px - 1024px) */
@media (max-width: 1024px) {
    .footer-content {
        gap: var(--spacing-3xl);
    }
    
    .footer-links {
        gap: 2rem;
    }
    
    .footer-brand {
        max-width: 240px;
    }
    
    .logo-platform {
        font-size: 28px;
    }
    
    .logo-technologies {
        font-size: 12px;
        letter-spacing: 2px;
    }
}

/* Small Tablet Responsive (600px - 768px) */
@media (max-width: 768px) {
    .footer {
        padding: var(--spacing-3xl) 0 var(--spacing-2xl);
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-2xl);
        padding-top: var(--spacing-2xl);
    }
    
    .footer-brand {
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .location-badge {
        margin: 8px auto 0;
    }
    
    .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-links {
        justify-content: space-between;
        gap: var(--spacing-xl);
        flex-wrap: wrap;
    }
    
    .footer-column {
        min-width: calc(50% - var(--spacing-xl));
    }
    
    .footer-column h4 {
        font-size: var(--text-sm);
        margin-bottom: var(--spacing-md);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
        padding-top: var(--spacing-md);
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-md);
    }
    
    .support-badge {
        margin-bottom: var(--spacing-md);
    }
}

/* Mobile Responsive (480px - 600px) */
@media (max-width: 600px) {
    .footer {
        padding: var(--spacing-2xl) 0 var(--spacing-xl);
    }
    
    .footer-content {
        gap: var(--spacing-xl);
    }
    
    .logo-platform {
        font-size: 24px;
    }
    
    .logo-technologies {
        font-size: 11px;
        letter-spacing: 1.5px;
    }
    
    .location-badge {
        font-size: 11px;
        padding: 3px 8px;
    }
    
    .footer-brand p {
        font-size: var(--text-xs);
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .footer-column {
        min-width: 100%;
        text-align: center;
    }
    
    .footer-column a {
        margin-bottom: var(--spacing-xs);
        justify-content: center;
    }
    
    .footer-column a:hover {
        transform: translateY(-2px);
    }
    
    .social-link {
        width: 32px;
        height: 32px;
    }
    
    .social-link svg {
        width: 16px;
        height: 16px;
    }
    
    .support-badge {
        font-size: 12px;
        padding: 4px 10px;
        margin-bottom: var(--spacing-sm);
    }
}

/* Small Mobile Responsive (below 480px) */
@media (max-width: 480px) {
    .footer {
        padding: var(--spacing-xl) 0 var(--spacing-lg);
    }
    
    .logo-platform {
        font-size: 22px;
    }
    
    .logo-technologies {
        font-size: 10px;
        letter-spacing: 1px;
    }
    
    .location-badge {
        font-size: 10px;
    }
    
    .footer-content {
        padding-top: var(--spacing-xl);
        margin-bottom: var(--spacing-xl);
    }
    
    .social-links {
        gap: var(--spacing-sm);
    }
    
    .social-link {
        width: 30px;
        height: 30px;
    }
    
    .social-link svg {
        width: 14px;
        height: 14px;
    }
    
    .footer-bottom {
        font-size: var(--text-xs);
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .support-badge {
        font-size: 11px;
        padding: 3px 8px;
    }
}

/* Dark theme adjustments */
[data-theme="dark"] .footer {
    background: linear-gradient(180deg, 
        var(--md-sys-color-surface-container-highest) 0%, 
        var(--md-sys-color-surface-container) 100%);
    border-top-color: var(--md-sys-color-outline);
}

[data-theme="dark"] .social-link:not(.linkedin-link) {
    background: var(--md-sys-color-surface-container-high);
}

[data-theme="dark"] .linkedin-link {
    border-color: #0077B5;
    color: #0077B5;
}

[data-theme="dark"] .linkedin-link svg {
    fill: #0077B5;
}

[data-theme="dark"] .linkedin-link:hover {
    background: #0077B5;
    color: white;
}

[data-theme="dark"] .linkedin-link:hover svg {
    fill: white;
}

/* Animation for newsletter success */
@keyframes newsletterSuccess {
    0% {
        transform: translateY(10px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.newsletter-success {
    background: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    animation: newsletterSuccess 0.3s ease;
    display: none;
}

.newsletter-success.show {
    display: block;
}

/* Fix for mobile hover states */
@media (hover: none) {
    .footer-column a:hover {
        transform: none;
    }
    
    .social-links a:hover {
        color: var(--md-sys-color-outline);
        background: var(--md-sys-color-surface-container-high);
        transform: none;
    }
    
    .linkedin-link:hover {
        background: transparent;
        color: #0077B5;
        border-color: #0077B5;
    }
    
    .linkedin-link:hover svg {
        fill: #0077B5;
    }
}

/* Landscape mode for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .footer {
        padding: var(--spacing-2xl) 0 var(--spacing-xl);
    }
    
    .footer-content {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .footer-brand {
        min-width: 40%;
        align-items: flex-start;
        text-align: left;
    }
    
    .location-badge {
        margin: 8px 0 0;
    }
    
    .footer-links {
        min-width: 55%;
        justify-content: flex-start;
    }
}

/* High-resolution screens */
@media (min-width: 1440px) {
    .footer-content {
        max-width: 1400px;
        margin: 0 auto var(--spacing-3xl);
    }
    
    .footer-brand {
        max-width: 300px;
    }
    
    .logo-platform {
        font-size: 36px;
    }
    
    .logo-technologies {
        font-size: 15px;
        letter-spacing: 3.5px;
    }
    
    .location-badge {
        font-size: 13px;
        padding: 5px 12px 5px 10px;
    }
    
    .location-badge svg {
        width: 15px;
        height: 15px;
    }
}

.healthcare-card-title {
    color: var(--md-sys-color-on-surface);
}

.healthcare-card-desc {
    color: var(--md-sys-color-on-surface-variant);
}

/* ============================================
   FEATURES PAGE - ENHANCED DESIGN
   Following Material Design 3 color system
   ============================================ */

/* Enhanced animations for features page */
@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* === FEATURES HERO SECTION === */
.features-hero {
    min-height: 60dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: -130px; /* navbar offset */
    padding: 80px 20px;
}

.features-hero .container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.feat-hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: auto;
    text-align: center;
    padding: 70px 50px;
    border-radius: 28px;
    background: color-mix(
        in srgb,
        var(--md-sys-color-surface-container) 75%,
        transparent
    );
    backdrop-filter: blur(22px) saturate(140%);
    border: 1px solid var(--md-sys-color-outline-variant);
    box-shadow: 0 40px 120px rgba(0, 0, 0, .12),
                inset 0 1px 0 rgba(255, 255, 255, .35);
}

.features-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.5px;
    background: linear-gradient(
        135deg,
        var(--md-sys-color-primary),
        var(--md-sys-color-tertiary)
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25),
                 0 4px 12px rgba(0, 0, 0, 0.2);
}

.features-hero p {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

/* === FEATURES NAVIGATION === */
.features-navigation {
    background: var(--md-sys-color-surface);
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
    position: sticky;
    top: 64px;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none; /* Hidden by default, shown on mobile */
}

.features-navigation-links {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 1rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.features-navigation-links::-webkit-scrollbar {
    display: none;
}

.feature-nav-item {
    padding: 0.75rem 1.5rem;
    background: var(--md-sys-color-surface-container-low);
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--radius-lg);
    color: var(--md-sys-color-on-surface);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    white-space: nowrap;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-nav-item:hover {
    background: var(--md-sys-color-surface-container);
    transform: translateY(-2px);
    border-color: rgb(164, 234, 152);
}

.feature-nav-item.active {
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    border-color: transparent;
}

.feature-nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.6s;
}

.feature-nav-item:hover::before {
    left: 100%;
}

/* ============================================
   FIXED FEATURES DROPDOWN - COMPATIBLE WITH YOUR JS
   ============================================ */

/* Desktop Features Dropdown - KEEP NAV-MENU FLEX */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Features Dropdown Container */
.nav-features-dropdown {
    position: relative;
}

/* Features Toggle Button - DESKTOP */
.nav-features-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: var(--md-sys-color-primary);
    border-radius: 10px;
    transition: all var(--transition-base);
    text-decoration: none;
    font-family: var(--font-family);
}

.nav-features-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Current page indicator for Features toggle */
.nav-features-toggle.nav-features-current {
    color: var(--md-sys-color-primary);
    font-weight: 600;
    position: relative;
}

.nav-features-toggle.nav-features-current::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--md-sys-color-primary);
    border-radius: 2px;
}

.nav-features-toggle .dropdown-icon {
    font-size: 10px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.nav-features-toggle[aria-expanded="true"] .dropdown-icon {
    transform: rotate(180deg);
}

/* Features Dropdown Menu - DESKTOP */
.features-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--md-sys-color-surface-container);
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: 14px;
    padding: 8px 0;
    min-width: 220px;
    z-index: 1000;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.features-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Feature Navigation Items */
.features-dropdown-menu .feature-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--md-sys-color-on-surface);
    text-decoration: none;
    font-size: 14px;
    transition: all var(--transition-base);
    border-left: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.features-dropdown-menu .feature-nav-item:hover {
    background: var(--md-sys-color-surface-variant);
    border-left-color: var(--md-sys-color-primary);
    padding-left: 20px;
}

.features-dropdown-menu .feature-nav-item.active {
    background: var(--md-sys-color-surface-variant);
    border-left-color: var(--md-sys-color-primary);
    color: var(--md-sys-color-primary);
    font-weight: 600;
}

.features-dropdown-menu .feature-nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--md-sys-color-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: top;
}

.features-dropdown-menu .feature-nav-item:hover::before,
.features-dropdown-menu .feature-nav-item.active::before {
    transform: scaleY(1);
}

/* ============================================
   MOBILE RESPONSIVE - CRITICAL FIX
   ============================================ */

@media (max-width: 768px) {
    /* Mobile Nav Menu */
    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0 20px 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    /* Mobile Features Dropdown Container */
    .nav-features-dropdown {
        width: 100%;
        border-bottom: 1px solid var(--md-sys-color-outline-variant);
    }
    
    /* Mobile Features Toggle Button */
    .nav-features-toggle {
        width: 100%;
        padding: 16px 20px;
        font-size: 18px;
        text-align: left;
        border-radius: 0;
        border-left: 4px solid transparent;
        justify-content: space-between;
        margin: 0;
    }
    
    .nav-features-toggle:hover {
        background: var(--md-sys-color-surface-variant);
        border-left-color: var(--md-sys-color-primary);
    }
    
    .nav-features-toggle .dropdown-icon {
        font-size: 12px;
    }
    
    /* Mobile Features Dropdown Menu */
    .features-dropdown-menu {
        position: static !important;
        width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        margin-top: 0 !important;
        background: var(--md-sys-color-surface-container-low) !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        padding: 0 !important;
    }
    
    .features-dropdown-menu.active {
        max-height: 500px;
        padding: 8px 0 !important;
    }
    
    /* Mobile Feature Navigation Items */
    .features-dropdown-menu .feature-nav-item {
        padding: 14px 20px 14px 40px;
        font-size: 16px;
        border-left: 4px solid transparent;
    }
    
    .features-dropdown-menu .feature-nav-item::before {
        content: '›';
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%) translateX(-10px);
        font-size: 18px;
        color: var(--md-sys-color-outline);
        opacity: 0;
        transition: all 0.3s ease;
        background: none;
    }
    
    .features-dropdown-menu .feature-nav-item:hover,
    .features-dropdown-menu .feature-nav-item.active {
        border-left-color: var(--md-sys-color-primary);
        background: var(--md-sys-color-surface-variant);
        padding-left: 50px;
    }
    
    .features-dropdown-menu .feature-nav-item:hover::before,
    .features-dropdown-menu .feature-nav-item.active::before {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
        color: var(--md-sys-color-primary);
    }
    
    /* Regular Nav Links in Mobile */
    .nav-link {
        text-align: left;
        padding: 16px 20px;
        font-size: 18px;
        border-radius: 0;
        border-left: 4px solid transparent;
        margin: 0;
        display: flex;
        align-items: center;
        color: var(--md-sys-color-on-surface);
        font-weight: 500;
        transition: all var(--transition-base);
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: var(--md-sys-color-surface-variant);
        border-left-color: var(--md-sys-color-primary);
    }
    
    /* Mobile Menu Button */
    .mobile-menu-btn {
        display: block !important;
        z-index: 1001;
    }
}

/* ============================================
   SMALL MOBILE ENHANCEMENTS
   ============================================ */

@media (max-width: 480px) {
    .nav-menu {
        padding: 80px 0 30px 0;
    }
    
    .nav-features-toggle {
        padding: 14px 16px;
        font-size: 16px;
    }
    
    .features-dropdown-menu .feature-nav-item {
        padding: 12px 16px 12px 36px;
        font-size: 15px;
    }
    
    .features-dropdown-menu .feature-nav-item:hover,
    .features-dropdown-menu .feature-nav-item.active {
        padding-left: 44px;
    }
    
    .features-dropdown-menu .feature-nav-item::before {
        left: 18px;
    }
    
    .nav-link {
        padding: 14px 16px;
        font-size: 16px;
    }
}

/* ============================================
   DARK THEME ADJUSTMENTS
   ============================================ */

[data-theme="dark"] .features-dropdown-menu {
    background: var(--md-sys-color-surface-container-high);
    border-color: var(--md-sys-color-outline);
}

[data-theme="dark"] .features-dropdown-menu .feature-nav-item:hover {
    background: var(--md-sys-color-surface-variant);
}

[data-theme="dark"] .nav-features-toggle:hover {
    background: var(--md-sys-color-surface-variant);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideDown {
    from {
        max-height: 0;
        opacity: 0;
    }
    to {
        max-height: 500px;
        opacity: 1;
    }
}

/* ============================================
   ACCESSIBILITY & REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    .features-dropdown-menu,
    .features-dropdown-menu.active,
    .features-dropdown-menu .feature-nav-item,
    .nav-features-toggle .dropdown-icon {
        transition: none !important;
        animation: none !important;
    }
    
    .nav-features-toggle[aria-expanded="true"] .dropdown-icon {
        transform: rotate(180deg) !important;
    }
}

/* Focus styles for accessibility */
.nav-features-toggle:focus-visible,
.features-dropdown-menu .feature-nav-item:focus-visible {
    outline: 2px solid var(--md-sys-color-primary);
    outline-offset: 2px;
}

/* === FEATURE DETAIL SECTIONS === */
.feature-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.feature-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-section.alt {
    background: var(--md-sys-color-surface-container-low);
}

.feature-section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 4vw, 5rem);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-section-text {
    order: 1;
    animation: slide-in-left 0.8s ease forwards;
}

.feature-section.alt .feature-section-text {
    order: 2;
    animation: slide-in-right 0.8s ease forwards;
}

.feature-section-image {
    order: 2;
    position: relative;
    animation: slide-in-right 0.8s ease forwards;
    animation-delay: 0.2s;
}

.feature-section.alt .feature-section-image {
    order: 1;
    animation: slide-in-left 0.8s ease forwards;
    animation-delay: 0.2s;
}

.feature-section h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(
        90deg,
        var(--md-sys-color-primary),
        var(--md-sys-color-tertiary)
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

.feature-section-subtitle {
    font-size: 1.125rem;
    color: var(--md-sys-color-outline);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

/* Feature Benefits Grid */
.feature-benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature-benefit-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--md-sys-color-surface-container);
    border-radius: var(--radius-xl);
    border: 1px solid var(--md-sys-color-outline-variant);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-benefit-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Staggered animations for benefit cards */
.feature-benefits-grid .feature-benefit-card:nth-child(1) {
    animation-delay: 0.2s;
}

.feature-benefits-grid .feature-benefit-card:nth-child(2) {
    animation-delay: 0.4s;
}

.feature-benefits-grid .feature-benefit-card:nth-child(3) {
    animation-delay: 0.6s;
}

.feature-benefit-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
}

.feature-benefit-content h3,
.feature-benefit-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--md-sys-color-on-surface);
}

.feature-benefit-content p {
    font-size: 0.875rem;
    color: var(--md-sys-color-outline);
    margin: 0;
    line-height: 1.5;
}

/* Feature Image Styling */
.feature-image-wrapper {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--md-sys-color-outline-variant);
}

.feature-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.feature-image-wrapper:hover img {
    transform: scale(1.03);
}

/* CTA Button Container */
.features-cta-container {
    text-align: center;
    margin-top: 3rem;
    padding: 0 20px;
}

.features-cta-container .btn-primary {
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-lg);
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.features-cta-container .btn-primary:hover {
    background: var(--md-sys-color-primary-container);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* === RESPONSIVE DESIGN === */

/* Tablet and below: Show mobile navigation, hide desktop dropdown */
@media (max-width: 768px) {
    .nav-features-dropdown {
        display: none;
    }
    
    .features-navigation {
        display: block;
        top: 64px;
    }
    
    .features-hero {
        padding: 60px 20px;
        min-height: 400px;
    }
    
    .feat-hero-content {
        padding: 45px 28px;
        margin: 0 20px;
    }
    
    .features-hero h1 {
        font-size: var(--text-3xl);
    }
    
    .features-hero p {
        font-size: var(--text-lg);
    }
    
    .feature-section-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 600px;
    }
    
    .feature-section-text,
    .feature-section.alt .feature-section-text {
        order: 1;
    }
    
    .feature-section-image,
    .feature-section.alt .feature-section-image {
        order: 2;
    }
    
    .features-navigation-links {
        justify-content: flex-start;
        padding: 0.75rem 0;
    }
    
    .feature-nav-item {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
    }
    
    .feature-benefit-card {
        padding: 1.25rem;
    }
    
    .feature-benefit-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}

/* Desktop: Show dropdown, hide mobile navigation */
@media (min-width: 769px) {
    .features-navigation {
        display: none;
    }
    
    .nav-features-dropdown {
        display: block;
    }
    
    .features-navigation-links {
        justify-content: center;
    }
}

/* Medium Desktop adjustments */
@media (max-width: 1024px) {
    .feature-section-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 600px;
    }
    
    .feature-section {
        padding: clamp(3rem, 6vw, 4rem) 0;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .features-hero h1 {
        font-size: 2rem;
    }
    
    .features-hero p {
        font-size: 1rem;
    }
    
    .feat-hero-content {
        padding: 35px 20px;
    }
    
    .feature-section h2 {
        font-size: 1.75rem;
    }
    
    .features-navigation-links {
        gap: 0.375rem;
    }
    
    .feature-nav-item {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .feature-section-subtitle {
        font-size: 1rem;
    }
    
    .feature-benefit-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .feature-benefit-icon {
        margin: 0 auto;
    }
    
    .features-cta-container .btn-primary {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .features-hero {
        padding: 40px 15px;
    }
    
    .feat-hero-content {
        padding: 30px 15px;
        margin: 0 10px;
    }
    
    .features-hero h1 {
        font-size: 1.75rem;
    }
    
    .feature-nav-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.7rem;
    }
}

/* Dark theme adjustments */
body [data-theme="dark"] .features-navigation {
    background: rgba(25, 29, 23, 0.8);
}

body [data-theme="dark"] .feature-nav-item:hover {
    background: var(--md-sys-color-surface-container-high);
}

body [data-theme="dark"] .feature-benefit-card:hover {
    background: var(--md-sys-color-surface-container-high);
}

/* Accessibility */
.feature-nav-item:focus-visible,
.feature-benefit-card:focus-within,
.nav-features-toggle:focus-visible {
    outline: 2px solid rgb(164, 234, 152);
    outline-offset: 4px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .feature-section,
    .feature-section-text,
    .feature-section-image,
    .feature-nav-item::before,
    .feature-image-wrapper img,
    .feature-nav-item:hover,
    .feature-benefit-card,
    .feature-benefit-card:hover,
    .features-cta-container .btn-primary:hover,
    .nav-features-toggle::before,
    .nav-features-toggle:hover {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
    
    .feature-section {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    .features-navigation,
    .features-cta-container .btn-primary,
    .nav-features-dropdown {
        display: none;
    }
    
    .feature-section {
        break-inside: avoid;
        padding: 2rem 0;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .features-hero {
        background: white !important;
        color: black !important;
    }
    
    .features-hero h1 {
        color: black !important;
        background: none !important;
        -webkit-background-clip: initial !important;
        background-clip: initial !important;
        text-shadow: none !important;
    }
}




/*********************************************DEMOPAGE************************************************************************/
/* ============================================
   DEMO PAGE - Premium WhatsApp Demo Section
   ============================================ */

.whatsapp-demo-section {
    padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 3vw, 2rem);
    background: var(--md-sys-color-surface);
    position: relative;
    overflow: hidden;
}

.whatsapp-demo-container {
    max-width: min(1200px, 95vw);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Grid Layout */
.whatsapp-demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(2rem, 4vw, 3rem);
    align-items: center;
}

/* Left Column - Content */
.whatsapp-demo-content {
    padding: clamp(1.5rem, 3vw, 2rem);
}

.section-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(var(--md-sys-color-primary-rgb), 0.1);
    color: var(--md-sys-color-primary);
    padding: clamp(0.5rem, 1vw, 0.75rem) clamp(1rem, 2vw, 1.5rem);
    border-radius: 100px;
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    font-weight: 600;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    border: 1px solid rgba(var(--md-sys-color-primary-rgb), 0.2);
}

.section-pill svg {
    width: clamp(10px, 1vw, 12px);
    height: clamp(10px, 1vw, 12px);
}

.whatsapp-demo-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    color: var(--md-sys-color-on-surface);
    letter-spacing: -0.01em;
}

.title-gradient {
    display: block;
    background: linear-gradient(135deg, 
        var(--md-sys-color-primary) 0%, 
        var(--md-sys-color-tertiary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.whatsapp-demo-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    color: var(--md-sys-color-on-surface-variant);
    line-height: 1.6;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    max-width: min(480px, 90vw);
}

/* Features List */
.whatsapp-demo-features {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: clamp(0.75rem, 1.5vw, 1rem);
}

.feature-icon {
    flex-shrink: 0;
    width: clamp(36px, 4vw, 40px);
    height: clamp(36px, 4vw, 40px);
    background: var(--md-sys-color-surface-container);
    border-radius: clamp(8px, 1vw, 12px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--md-sys-color-primary);
    border: 1px solid var(--md-sys-color-outline-variant);
}

.feature-icon svg {
    width: clamp(16px, 2vw, 20px);
    height: clamp(16px, 2vw, 20px);
}

.feature-text h4 {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 650;
    color: var(--md-sys-color-on-surface);
    margin-bottom: clamp(0.25rem, 0.5vw, 0.375rem);
}

.feature-text p {
    font-size: clamp(0.75rem, 1.2vw, 0.875rem);
    color: var(--md-sys-color-on-surface-variant);
    line-height: 1.5;
}

/* Instructions */
.demo-instructions {
    background: var(--md-sys-color-surface-container);
    border-radius: clamp(12px, 1.5vw, 16px);
    padding: clamp(1rem, 2vw, 1.5rem);
    border: 1px solid var(--md-sys-color-outline-variant);
}

.demo-instructions h4 {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 650;
    color: var(--md-sys-color-on-surface);
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
}

.demo-instructions ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(0.5rem, 1vw, 0.75rem);
}

.demo-instructions li {
    font-size: clamp(0.75rem, 1.2vw, 0.875rem);
    color: var(--md-sys-color-on-surface-variant);
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 1vw, 0.75rem);
}

.demo-instructions li::before {
    content: '';
    width: clamp(4px, 0.6vw, 6px);
    height: clamp(4px, 0.6vw, 6px);
    background: var(--md-sys-color-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Right Column - Premium Card */
.whatsapp-demo-card {
    background: var(--md-sys-color-surface);
    border-radius: clamp(20px, 2.5vw, 28px);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(var(--md-sys-color-outline-rgb), 0.1);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Card Header */
.whatsapp-brand {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 1.5vw, 1rem);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.whatsapp-icon img {
    width: clamp(48px, 6vw, 60px);
    height: clamp(48px, 6vw, 60px);
    object-fit: contain;
}

.brand-text {
    flex: 1;
}



.brand-status {
    font-size: clamp(0.75rem, 1.2vw, 0.875rem);
    color: var(--md-sys-color-primary);
    font-weight: 500;
}

/* Card Content */
.card-content {
    position: relative;
    z-index: 1;
}

/* Message Thread */
.message-thread {
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 1.5vw, 1rem);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.message {
    max-width: 85%;
    padding: clamp(0.75rem, 1.5vw, 1rem);
    border-radius: clamp(16px, 2vw, 20px);
    position: relative;
}

.message.received {
    align-self: flex-start;
    background: var(--md-sys-color-surface-container-low);
    border-bottom-left-radius: 4px;
}

.message.sent {
    align-self: flex-end;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-bottom-right-radius: 4px;
}

.message-content {
    font-size: clamp(0.75rem, 1.2vw, 0.875rem);
    line-height: 1.5;
    margin-bottom: clamp(0.25rem, 0.5vw, 0.375rem);
}

.message-time {
    font-size: clamp(0.625rem, 1vw, 0.75rem);
    opacity: 0.7;
    text-align: right;
}

/* WhatsApp CTA Button */
.whatsapp-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.75rem, 1.5vw, 1rem);
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: clamp(0.875rem, 1.5vw, 1rem) clamp(1.25rem, 2.5vw, 1.5rem);
    border-radius: clamp(12px, 1.5vw, 16px);
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    transition: all 0.3s ease;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    position: relative;
    overflow: hidden;
}

.whatsapp-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.6s ease;
}

.whatsapp-cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(37, 211, 102, 0.4);
}

.whatsapp-cta-btn:hover::before {
    left: 100%;
}

.btn-icon {
    width: clamp(16px, 2vw, 20px);
    height: clamp(16px, 2vw, 20px);
}

.btn-text {
    flex: 1;
    text-align: center;
}

.btn-arrow {
    font-weight: 700;
    transition: transform 0.3s ease;
}

.whatsapp-cta-btn:hover .btn-arrow {
    transform: translateX(8px);
}

/* Alternative Options */
.alt-options {
    text-align: center;
}

.option-divider {
    display: flex;
    align-items: center;
    margin: clamp(1rem, 2vw, 1.5rem) 0;
    color: var(--md-sys-color-on-surface-variant);
    font-size: clamp(0.75rem, 1.2vw, 0.875rem);
    font-weight: 500;
}

.option-divider::before,
.option-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--md-sys-color-outline-variant), 
        transparent);
}

.option-divider span {
    padding: 0 clamp(0.75rem, 1.5vw, 1rem);
    background: var(--md-sys-color-surface);
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: clamp(0.75rem, 1.5vw, 1rem);
}

.alt-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.5rem, 1vw, 0.75rem);
    padding: clamp(0.75rem, 1.5vw, 1rem);
    background: var(--md-sys-color-surface-container);
    border-radius: clamp(12px, 1.5vw, 16px);
    text-decoration: none;
    color: var(--md-sys-color-on-surface);
    font-weight: 500;
    font-size: clamp(0.75rem, 1.2vw, 0.875rem);
    transition: all 0.3s ease;
    border: 1px solid var(--md-sys-color-outline-variant);
}

.alt-option:hover {
    background: var(--md-sys-color-surface-container-low);
    border-color: var(--md-sys-color-primary);
    transform: translateY(-2px);
}

.option-icon {
    color: var(--md-sys-color-primary);
}

.option-icon svg {
    width: clamp(14px, 1.8vw, 18px);
    height: clamp(14px, 1.8vw, 18px);
}

/* ============================================
   PREVIEW SECTION
   ============================================ */
.preview-section {
    padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 3vw, 2rem);
    background: var(--md-sys-color-surface);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    max-width: min(700px, 90vw);
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
    color: var(--md-sys-color-on-surface);
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--md-sys-color-outline);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    max-width: min(1200px, 95vw);
    margin: 0 auto;
}

.preview-card {
    padding: clamp(1.25rem, 2.5vw, 2rem);
    border-radius: clamp(16px, 2vw, 24px);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--md-sys-color-outline-variant);
}

.preview-card:hover {
    transform: translateY(-10px);
    background: var(--md-sys-color-surface-container-low);
    border-color: var(--md-sys-color-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.preview-card-icon {
    width: clamp(48px, 5vw, 56px);
    height: clamp(48px, 5vw, 56px);
    border-radius: clamp(12px, 1.5vw, 14px);
    background: rgba(var(--md-sys-color-primary-rgb), 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    color: var(--md-sys-color-primary);
}

.preview-card-icon svg {
    width: clamp(20px, 2.5vw, 24px);
    height: clamp(20px, 2.5vw, 24px);
}

.preview-card-title {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: 650;
    margin-bottom: clamp(0.5rem, 1vw, 0.75rem);
    color: var(--md-sys-color-on-surface);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.preview-card-description {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    color: var(--md-sys-color-on-surface-variant);
    line-height: 1.6;
    flex: 1;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
/* === TESTIMONIALS SECTION === */
.demo-testimonials {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: var(--md-sys-color-surface);
    margin-top: -100px;
}

.demo-testimonials h2 {
    text-align: center;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    margin-bottom: 3rem;
    background: linear-gradient(90deg, 
        var(--md-sys-color-primary), 
        var(--neon-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--md-sys-color-surface-container);
    padding: 2rem;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--md-sys-color-outline-variant);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -1rem;
    left: 1rem;
    font-size: 4rem;
    color: var(--neon-primary);
    opacity: 0.2;
    font-family: serif;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--md-sys-color-on-surface);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--md-sys-color-on-surface);
}

.testimonial-author span {
    font-size: 0.875rem;
    color: var(--md-sys-color-outline);
}

/* ===== Typographic Stats ===== */
.stats-row {
    display: flex;
    justify-content: center;
    gap: var(--spacing-3xl);
    padding-top: var(--spacing-2xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(2.5rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--md-sys-color-on-primary);
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet/Mobile Stacking */
@media (max-width: 768px) {
    .whatsapp-demo-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .feature-item {
        justify-content: center;
        text-align: center;
    }
    
    .demo-instructions ul {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .whatsapp-cta-btn {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .btn-text {
        order: 1;
    }
    
    .btn-icon {
        order: 0;
    }
    
    .btn-arrow {
        order: 2;
    }
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .whatsapp-demo-section {
        padding: 2rem 1rem;
    }
    
    .preview-section,
    .demo-testimonials {
        padding: 2.5rem 1rem;
    }
    
    .section-title,
    .demo-testimonials h2 {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .preview-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .option-grid {
        grid-template-columns: 1fr;
    }
    
    .message {
        max-width: 95%;
    }
}

/* Small Mobile Optimization */
@media (max-width: 360px) {
    .whatsapp-demo-title {
        font-size: 1.5rem;
    }
    
    .whatsapp-demo-subtitle {
        font-size: 0.875rem;
    }
    
    .preview-card,
    .testimonial-card {
        padding: 1.25rem;
    }
    
    .preview-card-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 1rem;
    }
    
    .testimonial-text {
        font-size: 0.875rem;
    }
}

/* Touch Device Optimization */
@media (hover: none) and (pointer: coarse) {
    .whatsapp-cta-btn:hover,
    .alt-option:hover,
    .preview-card:hover,
    .testimonial-card:hover {
        transform: none;
    }
    
    .whatsapp-cta-btn:active,
    .alt-option:active,
    .preview-card:active,
    .testimonial-card:active {
        transform: scale(0.98);
    }
}

/* Dark Theme Adjustments */
body [data-theme="dark"] .whatsapp-demo-card,
body [data-theme="dark"] .preview-card,
body [data-theme="dark"] .testimonial-card {
    background: var(--md-sys-color-surface-container-high);
    border-color: var(--md-sys-color-outline);
}

body [data-theme="dark"] .alt-option {
    background: var(--md-sys-color-surface-container);
}

body [data-theme="dark"] .demo-instructions {
    background: var(--md-sys-color-surface-container);
}

/* Accessibility */
.whatsapp-cta-btn:focus-visible,
.alt-option:focus-visible,
.preview-card:focus-visible,
.testimonial-card:focus-visible {
    outline: 2px solid var(--md-sys-color-primary);
    outline-offset: 4px;
}

/* Reduce Motion */
@media (prefers-reduced-motion: reduce) {
    .whatsapp-cta-btn,
    .alt-option,
    .preview-card,
    .testimonial-card,
    .message,
    .feature-item {
        transition: none;
    }
    
    .whatsapp-cta-btn:hover,
    .alt-option:hover,
    .preview-card:hover,
    .testimonial-card:hover,
    .whatsapp-cta-btn:hover::before {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .whatsapp-demo-card,
    .preview-card,
    .testimonial-card {
        break-inside: avoid;
        border: 1px solid #ddd;
        box-shadow: none;
        page-break-inside: avoid;
    }
    
    .whatsapp-cta-btn,
    .alt-option {
        background: #f0f0f0 !important;
        color: #000 !important;
        border: 1px solid #ddd !important;
    }
    
    .message {
        background: #f9f9f9 !important;
        color: #000 !important;
        border: 1px solid #ddd;
    }
}


/***************************************** About Page - Vision & CEO *****************************************/
/* ============================================
   ABOUT PAGE - Vision & CEO
   ============================================ */

/* ----------------------------
   HERO SECTION
---------------------------- */
.page-hero-about {
    min-height: clamp(400px, 60dvh, 700px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: -130px;
    padding: clamp(60px, 10vw, 100px) 20px;
}

.hero-video-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    width: 100%;
    height: 70dvh;
        top: 0;
    left: 0;
}


.video-container1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.6s ease;
    opacity: 0.5;
}

.video-light { 
    display: block;
    opacity: 1;
        width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.6s ease;
    
}

.video-dark { 
    display: none;
    opacity: 0;
        width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.6s ease;
    
}

 [data-theme="dark"] .video-light { 
    display: none;
    opacity: 0;
        width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.6s ease;
    
}

 [data-theme="dark"] .video-dark { 
    display: block;
    opacity: 1;
        width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.6s ease;
    
}

.video-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.2), 
        rgba(0, 0, 0, 0.1), 
        rgba(0, 0, 0, 0.2)
    );
    transition: background 0.5s ease-in-out;
}

 [data-theme="dark"] .video-overlay {
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.5), 
        rgba(0, 0, 0, 0.3), 
        rgba(0, 0, 0, 0.5)
    );
}

.container-about {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: min(1200px, 90vw);
    padding: clamp(80px, 8vw, 92px) clamp(1rem, 5vw, 3rem) 0;
    margin: 0 auto;
}

.page-hero-about h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: text-fade-in-about 1s ease-out;
}

.page-hero-about p {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.95);
    max-width: min(700px, 90vw);
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
    animation: text-fade-in-about 1s ease-out 0.2s both;
}

@keyframes text-fade-in-about {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* ----------------------------
   VISION SECTION
---------------------------- */
.vision-section-about {
    padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 3vw, 2rem);
    text-align: center;
    background: var(--md-sys-color-surface-container);
}

.vision-section-about h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    color: var(--md-sys-color-on-surface);
}

.vision-section-about p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: min(800px, 90vw);
    margin: 0 auto clamp(2rem, 4vw, 3rem);
    line-height: 1.6;
    opacity: 0.95;
    color: var(--md-sys-color-on-surface-variant);
}

.vision-section-about img {
    max-width: min(800px, 95vw);
    width: 100%;
    height: auto;
    border-radius: clamp(12px, 2vw, 16px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* ----------------------------
   CEO SECTION
---------------------------- */
.ceo-section-about {
    padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 3vw, 2rem);
    text-align: center;
    background: var(--md-sys-color-surface);
}

.ceo-section-about h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    color: var(--md-sys-color-on-surface);
}

.ceo-card-about {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, 3vw, 2rem);
    max-width: min(900px, 95vw);
    margin: 0 auto;
}

.ceo-card-about img {
    width: clamp(180px, 30vw, 250px);
    height: clamp(180px, 30vw, 250px);
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.ceo-info-about {
    max-width: min(500px, 90vw);
    text-align: left;
    flex: 1;
    min-width: 280px;
}

.ceo-info-about h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    margin-bottom: clamp(0.5rem, 1vw, 0.75rem);
    color: var(--md-sys-color-on-surface);
}

.ceo-info-about p {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    line-height: 1.6;
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
    opacity: 0.9;
    color: var(--md-sys-color-on-surface-variant);
}

/* CEO Quote Styling */
.ceo-quote-about {
    font-style: italic;
    font-size: clamp(0.95rem, 1.8vw, 1.125rem);
    line-height: 1.6;
    margin: clamp(1rem, 2vw, 1.5rem) 0;
    padding: clamp(0.875rem, 1.5vw, 1rem) clamp(1rem, 2vw, 1.5rem);
    border-left: 4px solid var(--md-sys-color-primary);
    background: rgba(255, 255, 255, 0.05);
    color: var(--md-sys-color-on-surface-variant);
    border-radius: clamp(6px, 1vw, 8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.ceo-quote-about::before {
    content: "“";
    font-size: clamp(2rem, 3vw, 2.5rem);
    position: absolute;
    top: -10px;
    left: 10px;
    color: var(--md-sys-color-primary);
}

.ceo-quote-about::after {
    content: "”";
    font-size: clamp(2rem, 3vw, 2.5rem);
    position: absolute;
    bottom: -10px;
    right: 10px;
    color: var(--md-sys-color-primary);
}

.ceo-quote-about:hover {
    color: var(--md-sys-color-primary);
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

/* Social icon container */
.team-social-about {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(40px, 6vw, 48px);
    height: clamp(40px, 6vw, 48px);
    margin-top: clamp(0.75rem, 1.5vw, 1rem);
    border-radius: 50%;
    background-color: #0A66C2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    margin-right: clamp(4px, 1vw, 8px);
}

.team-social-about a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.team-social-about img {
    width: clamp(50%, 5vw, 60%);
    height: clamp(50%, 5vw, 60%);
    object-fit: contain;
    transition: transform 0.3s ease;
}

.team-social-about:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}



/*****************************/


/* Social icon container */
.team-social-about1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(45px, 5vw,45px); /* smaller */
    height: clamp(45px, 5vw, 45px); /* smaller */
    margin-top: clamp(0.5rem, 1vw, 0.75rem);
    border-radius: 50%;
    border: 2px solid transparent; /* outline color instead of background */
    background-color: transparent; /* remove solid background */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    margin-right: clamp(4px, 1vw, 6px);
}

  .team-social-about1 a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.team-social-about1 img {
    width: clamp(40%, 4vw, 50%);
    height: clamp(40%, 4vw, 50%);
    object-fit: contain;
    transition: transform 0.3s ease;
    border-radius: 50%;
    will-change: transform;
}

.team-social-about1:hover img {
    transform: scale(1.2);
}

.team-social-about1:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}


/* ----------------------------
   CTA SECTION
---------------------------- */
.cta-section-about {
    padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 3vw, 2rem);
    text-align: center;
    background: var(--md-sys-color-surface-container-low);
}

.cta-buttons-about {
    display: flex;
    justify-content: center;
    gap: clamp(0.75rem, 2vw, 1rem);
    flex-wrap: wrap;
}

.btn-primary-about,
.btn-secondary-about {
    padding: clamp(0.875rem, 1.5vw, 1rem) clamp(1.5rem, 3vw, 2rem);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    transition: all 0.3s ease;
    display: inline-block;
    min-width: min(200px, 80vw);
    text-align: center;
}

.btn-primary-about {
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    border: 2px solid var(--md-sys-color-primary);
}

.btn-primary-about:hover {
    background: var(--md-sys-color-primary-container);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-secondary-about {
    background: transparent;
    border: 2px solid var(--md-sys-color-primary);
    color: var(--md-sys-color-primary);
}

.btn-secondary-about:hover {
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ----------------------------
   RESPONSIVE DESIGN
   Using modern CSS techniques
---------------------------- */

/* Tablet Breakpoint (768px and below) */
@media (max-width: 768px) {
    .page-hero-about {
        min-height: clamp(300px, 50dvh, 400px);
        margin-top: -100px;
        padding: clamp(40px, 8vw, 60px) 15px;
    }
    
    .container-about {
        padding: clamp(60px, 8vw, 80px) 0 0;
    }
    
    .ceo-card-about {
        flex-direction: column;
        text-align: center;
    }
    
    .ceo-info-about {
        text-align: center;
        min-width: 100%;
    }
    
    .ceo-quote-about {
        text-align: center;
        margin: clamp(1rem, 2vw, 1.5rem) auto;
        max-width: 90%;
    }
    
    .cta-buttons-about {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-primary-about,
    .btn-secondary-about {
        width: 100%;
        max-width: 300px;
    }
}

/* Mobile Breakpoint (480px and below) */
@media (max-width: 480px) {
    .page-hero-about {
        min-height: clamp(250px, 40dvh, 300px);
        margin-top: -80px;
        padding: 30px 15px;
    }
    
    .container-about {
        padding: 70px 0 0;
    }
    
    .vision-section-about,
    .ceo-section-about,
    .cta-section-about {
        padding: 2.5rem 15px;
    }
    
    .ceo-card-about {
        gap: 1.5rem;
    }
    
    .ceo-quote-about {
        padding: 0.875rem 1rem;
        margin: 1rem auto;
    }
    
    .ceo-quote-about::before,
    .ceo-quote-about::after {
        font-size: 2rem;
    }
    
    .team-social-about {
        width: 40px;
        height: 40px;
        margin: 0.75rem 4px 0.75rem 0;
    }
    
    .team-social-about img {
        width: 50%;
        height: 50%;
    }
    
    .btn-primary-about,
    .btn-secondary-about {
        min-width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* Small Mobile Breakpoint (360px and below) */
@media (max-width: 360px) {
    .page-hero-about h1 {
        font-size: 1.75rem;
    }
    
    .page-hero-about p {
        font-size: 0.95rem;
    }
    
    .vision-section-about h2,
    .ceo-section-about h2 {
        font-size: 1.5rem;
    }
    
    .vision-section-about p {
        font-size: 0.9rem;
    }
    
    .ceo-card-about img {
        width: 160px;
        height: 160px;
    }
    
    .ceo-info-about h3 {
        font-size: 1.25rem;
    }
    
    .ceo-info-about p {
        font-size: 0.85rem;
    }
    
    .ceo-quote-about {
        font-size: 0.9rem;
        padding: 0.75rem 0.875rem;
    }
    
    .team-social-about {
        width: 36px;
        height: 36px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .ceo-quote-about:hover,
    .team-social-about:hover,
    .btn-primary-about:hover,
    .btn-secondary-about:hover {
        transform: none;
    }
    
    .ceo-quote-about:active,
    .team-social-about:active {
        transform: scale(0.98);
    }
    
    .btn-primary-about:active,
    .btn-secondary-about:active {
        transform: translateY(0);
    }
}

/* Dark Theme Adjustments */
body [data-theme="dark"] .ceo-quote-about {
    background: rgba(255, 255, 255, 0.03);
    color: var(--md-sys-color-on-surface-variant);
}

body [data-theme="dark"] .ceo-quote-about:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--md-sys-color-primary);
}

/* Accessibility */
.btn-primary-about:focus-visible,
.btn-secondary-about:focus-visible,
.team-social-about:focus-visible {
    outline: 2px solid var(--md-sys-color-primary);
    outline-offset: 4px;
}

/* Reduce Motion */
@media (prefers-reduced-motion: reduce) {
    .page-hero-about h1,
    .page-hero-about p,
    .ceo-quote-about,
    .btn-primary-about,
    .btn-secondary-about,
    .team-social-about,
    .hero-video {
        animation: none;
        transition: none;
    }
    
    .ceo-quote-about:hover,
    .btn-primary-about:hover,
    .btn-secondary-about:hover,
    .team-social-about:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .page-hero-about {
        background: white !important;
        color: black !important;
        min-height: auto;
        margin-top: 0;
        padding: 2rem 0;
    }
    
    .hero-video-container,
    .video-overlay,
    .team-social-about {
        display: none;
    }
    
    .page-hero-about h1 {
        color: black !important;
        text-shadow: none !important;
        font-size: 2.5rem;
    }
    
    .page-hero-about p {
        color: black !important;
        text-shadow: none !important;
        font-size: 1.25rem;
    }
    
    .btn-primary-about,
    .btn-secondary-about {
        display: none;
    }
    
    .vision-section-about img {
        max-width: 600px;
    }
}

/* Platform icon image fix */
.platform-healthcare-compact-icon img {
    width: 28px;
    height: 28px;
    display: block;
}

/* Slight boost so SVG/PNG icons stay clear on dark backgrounds */
[data-theme="dark"] .platform-healthcare-compact-icon img {
    filter: brightness(1.15) contrast(1.05);
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .ceo-card-about img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}




/* Add to your CSS file */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    padding: 8px 16px;
    z-index: 10000;
    text-decoration: none;
    border-radius: 0 0 4px 0;
    transition: top 0.3s;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* Ensure proper heading hierarchy in footer */
.footer-column h3 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    color: var(--md-sys-color-on-surface);
}

/* WhatsApp demo card improvements */
.whatsapp-demo-card {
    position: relative;
    /* Remove .card-spotlight styles if they exist */
}

/* Ensure proper contrast for accessibility */
.title-gradient {
    display: block;
    background: linear-gradient(135deg, 
        var(--md-sys-color-primary) 0%, 
        var(--md-sys-color-tertiary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Card Header - Reference exists but styling incomplete */
.brand-name { /* Inside .brand-text - missing proper styling */
    font-size: clamp(1.125rem, 1.5vw, 1.25rem);
    font-weight: 700;
    color: var(--md-sys-color-primary);
}

/* Message classes - Missing on dark theme */
[data-theme="dark"] .message.received {
    background: var(--md-sys-color-surface-container-high);
}

[data-theme="dark"] .message.sent {
    background: linear-gradient(135deg, #128C7E, #25D366);
}

/* Button states - Missing focus styles */
.whatsapp-cta-btn:focus,
.alt-option:focus,
.preview-card:focus {
    outline: 2px solid var(--md-sys-color-primary);
    outline-offset: 4px;
}


/* Feature navigation toggle states */
.nav-features-toggle.active {
    background: var(--md-sys-color-tertiary-container);
}

/* Feature section animation states */
.feature-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile menu backdrop */
.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
}

.mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* Floating buttons hidden state */
.nav-menu.active ~ .floating-buttons {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}



/* Nav container scroll state */
.nav-container.scrolled {
    background: rgba(131, 145, 131, 0.45);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
}


/* Active nav link */
.nav-link.active {
    background: rgba(255, 255, 255, 0.1);
}


/* Theme-specific video states */
[data-theme="dark"] .video-light {
    opacity: 0;
    visibility: hidden;
}

[data-theme="dark"] .video-dark {
    opacity: 1;
    visibility: visible;
}

/* Dark theme overlay adjustments */
[data-theme="dark"] .hero-blur-overlay {
    background: rgba(var(--md-sys-color-background-rgb, 17, 20, 15), 0.45);
}

[data-theme="dark"] .hero-blur-overlay::after {
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(var(--md-sys-color-background-rgb, 17, 20, 15), 0.2) 30%,
        rgba(var(--md-sys-color-background-rgb, 17, 20, 15), 0.3) 70%,
        rgba(var(--md-sys-color-background-rgb, 17, 20, 15), 0.4) 100%
    );
}


/* Expanded contact wrapper */
.contact-wrapper.expanded .contact-options {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
}

.contact-wrapper.expanded .contact-option {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animation delays */
.contact-wrapper.expanded .contact-option:nth-child(1) { 
    transition-delay: 0.05s; 
}
.contact-wrapper.expanded .contact-option:nth-child(2) { 
    transition-delay: 0.1s; 
}
.contact-wrapper.expanded .contact-option:nth-child(3) { 
    transition-delay: 0.15s; 
}


/* Missing button states */
.platform-features-compact-btn:focus {
    outline: 2px solid var(--md-sys-color-primary);
    outline-offset: 4px;
}



/* Button states missing */
.platform-cta-btn-primary:focus,
.platform-cta-btn-secondary:focus {
    outline: 2px solid var(--md-sys-color-primary);
    outline-offset: 4px;
}

/* Navbar with fixed nav */
.navbar.fixed-nav + main .platform-cta-section {
    padding-top: 140px;
}


/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .platform-letter,
    .tech-letter,
    .logo-platform-text,
    .logo-technologies-text,
    .tagline,
    .feature-section,
    .feature-nav-item::before,
    .feature-image-wrapper img,
    .feature-benefit-card,
    .whatsapp-cta-btn,
    .alt-option,
    .preview-card,
    .testimonial-card,
    .ceo-quote-about,
    .team-social-about {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
    
    .feature-section {
        opacity: 1 !important;
        transform: none !important;
    }
}



@media print {
    .features-navigation,
    .features-cta-container .btn-primary,
    .nav-features-dropdown,
    .hero-video-container,
    .video-overlay,
    .team-social-about,
    .whatsapp-cta-btn,
    .alt-option,
    .floating-buttons {
        display: none;
    }
    
    .feature-section,
    .whatsapp-demo-card,
    .preview-card,
    .testimonial-card {
        break-inside: avoid;
        border: 1px solid #ddd;
        box-shadow: none;
        page-break-inside: avoid;
    }
}



/* Demo page dark theme adjustments */
body [data-theme="dark"] .whatsapp-demo-card,
body [data-theme="dark"] .preview-card,
body [data-theme="dark"] .testimonial-card {
    background: var(--md-sys-color-surface-container-high);
    border-color: var(--md-sys-color-outline);
}

body [data-theme="dark"] .alt-option {
    background: var(--md-sys-color-surface-container);
}

body [data-theme="dark"] .demo-instructions {
    background: var(--md-sys-color-surface-container);
}

body [data-theme="dark"] .features-navigation {
    background: rgba(25, 29, 23, 0.8);
}

body [data-theme="dark"] .feature-nav-item:hover {
    background: var(--md-sys-color-surface-container-high);
}

body [data-theme="dark"] .feature-benefit-card:hover {
    background: var(--md-sys-color-surface-container-high);
}


/* Missing focus states */
.feature-nav-item:focus-visible,
.feature-benefit-card:focus-within,
.nav-features-toggle:focus-visible,
.whatsapp-cta-btn:focus-visible,
.alt-option:focus-visible,
.preview-card:focus-visible,
.testimonial-card:focus-visible,
.btn-primary-about:focus-visible,
.btn-secondary-about:focus-visible,
.team-social-about:focus-visible {
    outline: 2px solid rgb(164, 234, 152);
    outline-offset: 4px;
}


@media (hover: none) and (pointer: coarse) {
    .whatsapp-cta-btn:hover,
    .alt-option:hover,
    .preview-card:hover,
    .testimonial-card:hover,
    .ceo-quote-about:hover,
    .team-social-about:hover,
    .btn-primary-about:hover,
    .btn-secondary-about:hover {
        transform: none;
    }
    
    .whatsapp-cta-btn:active,
    .alt-option:active,
    .preview-card:active,
    .testimonial-card:active,
    .ceo-quote-about:active,
    .team-social-about:active {
        transform: scale(0.98);
    }
    
    .btn-primary-about:active,
    .btn-secondary-about:active {
        transform: translateY(0);
    }
}


@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .ceo-card-about img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}



/* ============================================
   ENHANCED MOBILE MENU STYLES
   ============================================ */

/* Mobile Menu Button - ADD THIS */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    transition: all var(--transition-base);
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--md-sys-color-primary);
    margin: 5px auto;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* Active state for hamburger menu */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Container - ENHANCE THIS */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        display: flex;
        visibility: hidden;
        pointer-events: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: var(--md-sys-color-surface);
        backdrop-filter: blur(40px);
        -webkit-backdrop-filter: blur(40px);
        padding: 100px 24px 40px;
        flex-direction: column;
        align-items: stretch;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    visibility 0s linear 0.4s;
        z-index: 1000;
        border-left: 1px solid var(--md-sys-color-outline-variant);
        margin: 0;
    }

    .nav-menu.active {
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    visibility 0s linear 0s;
    }
    
    /* Overlay when menu is open */
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: -1;
    }
    
    .nav-menu.active::before {
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        text-align: left;
        padding: 16px 20px;
        font-size: 18px;
        border-radius: 12px;
        margin-bottom: 8px;
        transition: all var(--transition-base);
        border: 1px solid transparent;
        display: flex;
        align-items: center;
        color: var(--md-sys-color-on-surface);
        font-weight: 500;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: var(--md-sys-color-surface-variant);
        border-color: var(--md-sys-color-outline-variant);
        transform: translateX(4px);
    }

    .nav-link::after,
    .nav-features-toggle::after {
        display: none !important;
    }

    .nav-link::before {
        content: '';
        width: 4px;
        height: 20px;
        background: var(--md-sys-color-primary);
        border-radius: 2px;
        margin-right: 12px;
        opacity: 0;
        transition: opacity var(--transition-base);
    }
    
    .nav-link.active::before {
        opacity: 1;
    }
    
    .nav-btn {
        width: 100%;
        text-align: center;
        padding: 16px 20px;
        margin-top: 16px;
        font-size: 18px;
        border-radius: 12px;
        order: 1;
        background: var(--md-sys-color-primary);
        color: var(--md-sys-color-on-primary);
        border: none;
        transition: all var(--transition-base);
    }
    
    .nav-btn:hover {
        background: var(--md-sys-color-primary-container);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(var(--md-sys-color-primary), 0.3);
    }
    
    /* Navbar adjustments for mobile */
    .navbar {
        padding: 12px 0 0;
        min-height: auto;
    }

    .nav-container {
        height: auto;
        padding: 14px 20px;
        border-radius: 0;
        max-width: none;
        margin: 0;
    }

    .contact-bar {
        padding: 0 20px;
    }
    
    .brand-name {
        font-size: 16px;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Close button */
    .menu-close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        background: var(--md-sys-color-surface-variant);
        border: none;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: var(--md-sys-color-on-surface);
        font-size: 20px;
        z-index: 1002;
        transition: all var(--transition-base);
    }
    
    .menu-close-btn:hover {
        background: var(--md-sys-color-error-container);
        color: var(--md-sys-color-on-error-container);
        transform: rotate(90deg);
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .nav-menu {
        width: 100%;
        max-width: none;
    }

    .brand-name {
        font-size: 15px;
    }
    
    .mobile-menu-btn {
        width: 40px;
        height: 40px;
    }
}

/* Animation keyframes */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}



[data-theme="dark"] .nav-link {
    color: var(--md-sys-color-on-surface);
}

[data-theme="dark"] .nav-link:hover {
    background: var(--md-sys-color-surface-variant);
}



@media (max-width: 768px) {
  .container {
    padding: 0 var(--spacing-md);
  }
}

/* terms.css - Platform Technologies Terms & Conditions */
/* ============================================
   TERMS & CONDITIONS PAGE STYLES - UPDATED
   Platform Technologies
   ============================================ */

/* Terms Page Specific Styles */
.pt-terms-page {
    background: var(--md-sys-color-background);
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 4rem;
}

.pt-terms-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pt-terms-header {
    text-align: center;
    margin-bottom: 4rem;
}

.pt-terms-icon {
    font-size: 4rem;
    color: var(--md-sys-color-primary);
    margin-bottom: 1.5rem;
}

.pt-terms-title {
    font-size: 3rem;
    color: var(--md-sys-color-on-surface);
    margin-bottom: 1rem;
    font-weight: 700;
}

.pt-legal-info {
    margin-bottom: 2rem;
}

.pt-terms-subtitle {
    color: var(--md-sys-color-on-surface-variant);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pt-terms-subtitle svg {
    width: 20px;
    height: 20px;
    fill: var(--md-sys-color-primary);
}

.pt-terms-acceptance {
    background: var(--md-sys-color-surface-variant);
    padding: 2rem;
    border-radius: var(--radius-xl);
    max-width: 800px;
    margin: 2rem auto 0;
    border: 1px solid var(--md-sys-color-outline-variant);
}

.pt-warning-alert {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fef3c7;
    border: 2px solid #f59e0b;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .pt-warning-alert {
    background: rgba(245, 158, 11, 0.2);
    border-color: #fbbf24;
}

.pt-warning-alert svg {
    width: 24px;
    height: 24px;
    fill: #92400e;
    flex-shrink: 0;
}

[data-theme="dark"] .pt-warning-alert svg {
    fill: #fbbf24;
}

.pt-warning-alert p {
    color: #92400e;
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

[data-theme="dark"] .pt-warning-alert p {
    color: #fef3c7;
}

/* Terms Content Layout */
.pt-terms-content-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Table of Contents */
.pt-terms-toc {
    position: sticky;
    top: 140px;
    align-self: start;
    background: var(--md-sys-color-surface);
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    height: fit-content;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .pt-terms-toc {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pt-toc-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--md-sys-color-on-surface);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--md-sys-color-primary);
}

.pt-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pt-toc-item {
    margin-bottom: 0.5rem;
}

.pt-toc-item a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--md-sys-color-on-surface-variant);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    font-size: 0.95rem;
    border-left: 3px solid transparent;
    font-weight: 500;
}

.pt-toc-item a:hover {
    background: var(--md-sys-color-surface-variant);
    color: var(--md-sys-color-on-surface);
    transform: translateX(5px);
    border-left-color: var(--md-sys-color-primary);
}

.pt-toc-active {
    background: var(--md-sys-color-primary-container) !important;
    color: var(--md-sys-color-on-primary-container) !important;
    border-left-color: var(--md-sys-color-primary) !important;
    font-weight: 600 !important;
}

/* Terms Details */
.pt-terms-details {
    background: var(--md-sys-color-surface);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--md-sys-color-outline-variant);
}

[data-theme="dark"] .pt-terms-details {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.pt-terms-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
}

.pt-terms-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.pt-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--md-sys-color-on-surface);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--md-sys-color-primary);
    letter-spacing: -0.02em;
}

.pt-subsection-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--md-sys-color-on-surface);
    margin: 2rem 0 1rem;
}

.pt-section-text {
    color: var(--md-sys-color-on-surface-variant);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.pt-section-text strong {
    color: var(--md-sys-color-on-surface);
    font-weight: 600;
}

.pt-terms-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pt-list-item {
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    position: relative;
    color: var(--md-sys-color-on-surface-variant);
    line-height: 1.6;
}

.pt-list-item:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--md-sys-color-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.pt-list-item strong {
    color: var(--md-sys-color-on-surface);
    font-weight: 600;
}

.pt-warning-box {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin: 2rem 0;
}

[data-theme="dark"] .pt-warning-box {
    background: rgba(245, 158, 11, 0.15);
    border-color: #fbbf24;
}

.pt-warning-title {
    color: #92400e;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
}

[data-theme="dark"] .pt-warning-title {
    color: #fbbf24;
}

.pt-warning-title svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.pt-warning-text {
    color: #92400e;
    margin-bottom: 1rem;
    line-height: 1.6;
}

[data-theme="dark"] .pt-warning-text {
    color: #fef3c7;
}

.pt-program-card {
    background: var(--md-sys-color-surface-variant);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid var(--md-sys-color-primary-container);
}

.pt-program-title {
    color: var(--md-sys-color-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
}

.pt-program-title i {
    color: var(--md-sys-color-primary);
    font-size: 1.5rem;
}

.pt-program-description {
    color: var(--md-sys-color-on-surface-variant);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.pt-contact-info {
    background: var(--md-sys-color-surface-variant);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid var(--md-sys-color-outline-variant);
}

.pt-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--md-sys-color-on-surface-variant);
}

.pt-contact-item:last-child {
    margin-bottom: 0;
}

.pt-contact-item strong {
    min-width: 140px;
    color: var(--md-sys-color-on-surface);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.pt-contact-item a {
    color: var(--md-sys-color-primary);
    text-decoration: none;
    transition: color var(--transition-base);
    font-weight: 500;
}

.pt-contact-item a:hover {
    color: var(--md-sys-color-primary-container);
    text-decoration: underline;
}

/* Buttons */
.pt-terms-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding-top: 3rem;
    border-top: 1px solid var(--md-sys-color-outline-variant);
    margin-top: 2rem;
}

.pt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.pt-btn-primary {
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
}

.pt-btn-primary:hover {
    background: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(16, 82, 19, 0.2);
}

.pt-btn-secondary {
    background: var(--md-sys-color-surface-variant);
    color: var(--md-sys-color-on-surface-variant);
    border: 2px solid var(--md-sys-color-outline-variant);
}

.pt-btn-secondary:hover {
    background: var(--md-sys-color-surface);
    border-color: var(--md-sys-color-primary);
    color: var(--md-sys-color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

/* Footer */
.pt-footer {
    background: var(--md-sys-color-surface-variant);
    padding: 3rem 0 1.5rem;
    margin-top: auto;
    border-top: 1px solid var(--md-sys-color-outline-variant);
}

.pt-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pt-footer-text {
    text-align: center;
    color: var(--md-sys-color-on-surface-variant);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.pt-footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--md-sys-color-outline-variant);
}

.pt-copyright {
    color: var(--md-sys-color-on-surface-variant);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.pt-footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.pt-footer-link {
    color: var(--md-sys-color-primary);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color var(--transition-base);
    font-weight: 500;
}

.pt-footer-link:hover {
    color: var(--md-sys-color-primary-container);
    text-decoration: underline;
}

/* Location Badge */
.pt-location-badge {
    background: #d4af37;
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
    vertical-align: middle;
}

[data-theme="dark"] .pt-location-badge {
    background: #fbbf24;
    color: #000;
}

/* Navbar */
.pt-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(var(--md-sys-color-background-rgb), 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
    transition: all 0.3s ease;
}

.pt-navbar.scrolled {
    background: rgba(var(--md-sys-color-background-rgb), 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Nav Container */
.pt-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Brand Section */
.pt-nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.pt-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--md-sys-color-primary), var(--md-sys-color-primary-container));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.pt-logo:hover {
    transform: scale(1.05);
}

.pt-logo svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.pt-brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--md-sys-color-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Navigation Menu */
.pt-nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.pt-nav-link {
    color: var(--md-sys-color-on-surface);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pt-nav-link i {
    font-size: 0.9rem;
    opacity: 0.8;
}

.pt-nav-link:hover {
    color: var(--md-sys-color-primary);
}

.pt-nav-link:hover i {
    opacity: 1;
}

.pt-nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--md-sys-color-primary);
    transition: width 0.3s ease;
}

.pt-nav-link:hover:after {
    width: 100%;
}

.pt-nav-active {
    color: var(--md-sys-color-primary);
    font-weight: 600;
}

.pt-nav-active:after {
    width: 100%;
    background: var(--md-sys-color-primary);
}

/* Navigation Button */
.pt-nav-btn {
    background: linear-gradient(135deg, var(--md-sys-color-primary), var(--md-sys-color-primary-container));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.pt-nav-btn:hover {
    background: linear-gradient(135deg, var(--md-sys-color-primary-container), var(--md-sys-color-primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 82, 19, 0.3);
}

.pt-nav-btn i {
    font-size: 1rem;
}

/* Mobile Menu Button */
.pt-mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.pt-mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--md-sys-color-on-surface);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.pt-mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.pt-mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.pt-mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   RESPONSIVE DESIGN - BREAKPOINTS
   ============================================ */

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .pt-terms-container,
    .pt-nav-container {
        max-width: 1200px;
    }
}

/* Desktop (1025px - 1199px) */
@media (max-width: 1199px) {
    .pt-terms-container,
    .pt-nav-container {
        max-width: 100%;
        padding: 0 1.5rem;
    }
    
    .pt-terms-content-wrapper {
        grid-template-columns: 250px 1fr;
        gap: 2.5rem;
    }
}

/* Tablet Landscape (769px - 1024px) */
@media (max-width: 1024px) {
    .pt-terms-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .pt-terms-toc {
        position: static;
        max-height: none;
        top: auto;
    }
    
    .pt-terms-header {
        margin-bottom: 3rem;
    }
    
    .pt-terms-title {
        font-size: 2.5rem;
    }
    
    .pt-terms-icon {
        font-size: 3.5rem;
    }
    
    .pt-nav-menu {
        gap: 1.5rem;
    }
    
    .pt-brand-name {
        font-size: 1.3rem;
    }
}

/* Tablet Portrait (601px - 768px) */
@media (max-width: 768px) {
    .pt-terms-page {
        padding-top: 100px;
        padding-bottom: 3rem;
    }
    
    .pt-terms-container {
        padding: 0 1.25rem;
    }
    
    .pt-terms-title {
        font-size: 2rem;
    }
    
    .pt-terms-icon {
        font-size: 3rem;
    }
    
    .pt-terms-details {
        padding: 1.75rem;
    }
    
    .pt-section-title {
        font-size: 1.5rem;
    }
    
    .pt-subsection-title {
        font-size: 1.125rem;
    }
    
    .pt-terms-acceptance {
        padding: 1.5rem;
    }
    
    .pt-warning-alert,
    .pt-warning-box,
    .pt-program-card,
    .pt-contact-info {
        padding: 1.5rem;
    }
    
    /* Mobile Menu Styles */
    .pt-mobile-menu-btn {
        display: flex;
    }
    
    .pt-nav-container {
        padding: 0.875rem 1.25rem;
    }
    
    .pt-nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--md-sys-color-background);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 2rem 2rem;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
        transition: right 0.3s ease;
        gap: 1.5rem;
        z-index: 1000;
    }
    
    .pt-nav-menu.active {
        right: 0;
    }
    
    .pt-nav-link {
        width: 100%;
        padding: 0.75rem 0;
        font-size: 1.1rem;
    }
    
    .pt-nav-link:after {
        display: none;
    }
    
    .pt-nav-btn {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }
    
    /* Buttons */
    .pt-terms-actions {
        flex-direction: column;
        align-items: center;
        padding-top: 2rem;
    }
    
    .pt-btn {
        width: 100%;
        max-width: 300px;
        padding: 0.875rem 1.5rem;
    }
    
    /* Footer */
    .pt-footer {
        padding: 2.5rem 0 1.25rem;
    }
    
    .pt-footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Contact Info */
    .pt-contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .pt-contact-item strong {
        min-width: auto;
    }
}

/* Mobile (481px - 600px) */
@media (max-width: 600px) {
    .pt-terms-page {
        padding-top: 90px;
        padding-bottom: 2.5rem;
    }
    
    .pt-terms-container {
        padding: 0 1rem;
    }
    
    .pt-terms-title {
        font-size: 1.75rem;
    }
    
    .pt-terms-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .pt-terms-subtitle {
        font-size: 1rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .pt-terms-details {
        padding: 1.5rem;
    }
    
    .pt-section-title {
        font-size: 1.375rem;
    }
    
    .pt-section-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .pt-terms-acceptance {
        padding: 1.25rem;
    }
    
    .pt-warning-alert {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem;
        gap: 0.75rem;
    }
    
    .pt-brand-name {
        font-size: 1.2rem;
    }
    
    .pt-logo {
        width: 35px;
        height: 35px;
        font-size: 1.125rem;
    }
    
    .pt-footer {
        padding: 2rem 0 1rem;
    }
    
    .pt-footer-text {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 1rem;
    }
    
    .pt-footer-container {
        padding: 0 1rem;
    }
}

/* Small Mobile (below 480px) */
@media (max-width: 480px) {
    .pt-terms-page {
        padding-top: 85px;
        padding-bottom: 2rem;
    }
    
    .pt-terms-title {
        font-size: 1.5rem;
    }
    
    .pt-terms-icon {
        font-size: 2rem;
    }
    
    .pt-terms-details {
        padding: 1.25rem;
    }
    
    .pt-section-title {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .pt-terms-list {
        margin: 1rem 0;
    }
    
    .pt-list-item {
        padding-left: 1.25rem;
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
    }
    
    .pt-warning-box,
    .pt-program-card,
    .pt-contact-info {
        padding: 1.25rem;
        margin: 1.5rem 0;
    }
    
    .pt-warning-title,
    .pt-program-title {
        font-size: 1.125rem;
    }
    
    .pt-nav-container {
        padding: 0.75rem 1rem;
    }
    
    .pt-nav-menu {
        width: 250px;
        padding: 70px 1.5rem 1.5rem;
    }
    
    .pt-logo {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .pt-brand-name {
        font-size: 1.1rem;
    }
    
    .pt-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* Extra Small Mobile (below 360px) */
@media (max-width: 360px) {
    .pt-terms-page {
        padding-top: 80px;
    }
    
    .pt-terms-container {
        padding: 0 0.875rem;
    }
    
    .pt-terms-title {
        font-size: 1.375rem;
    }
    
    .pt-terms-details {
        padding: 1rem;
    }
    
    .pt-nav-menu {
        width: 100%;
        right: -100%;
    }
    
    .pt-nav-menu.active {
        right: 0;
        width: 100%;
    }
    
    .pt-logo {
        width: 28px;
        height: 28px;
        font-size: 0.875rem;
    }
    
    .pt-brand-name {
        font-size: 1rem;
    }
}

/* Landscape Mode for Mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .pt-terms-page {
        padding-top: 90px;
        min-height: auto;
    }
    
    .pt-terms-toc {
        max-height: 300px;
    }
    
    .pt-nav-menu {
        max-height: 100vh;
        overflow-y: auto;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .pt-toc-item a:hover {
        transform: none;
        background: var(--md-sys-color-surface-variant);
    }
    
    .pt-nav-link:after {
        display: none;
    }
    
    .pt-btn-primary:hover,
    .pt-btn-secondary:hover,
    .pt-nav-btn:hover {
        transform: none;
    }
    
    .pt-nav-link:hover {
        color: var(--md-sys-color-on-surface);
    }
    
    .pt-nav-active {
        background: rgba(var(--md-sys-color-primary-rgb), 0.12);
        padding: 0.5rem 1rem;
        border-radius: var(--radius-lg);
    }
}

/* High-resolution screens */
@media (min-width: 1440px) {
    .pt-terms-container,
    .pt-nav-container {
        max-width: 1400px;
    }
    
    .pt-terms-content-wrapper {
        gap: 4rem;
    }
    
    .pt-terms-toc {
        max-width: 320px;
    }
    
    .pt-terms-details {
        padding: 3rem;
    }
}

/* Print Styles */
@media print {
    .pt-navbar,
    .pt-terms-toc,
    .pt-terms-actions,
    .pt-footer {
        display: none !important;
    }
    
    .pt-terms-page {
        padding-top: 0;
        padding-bottom: 0;
        background: white;
    }
    
    .pt-terms-content-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .pt-terms-details {
        border: none;
        box-shadow: none;
        padding: 0;
    }
    
    .pt-section-title {
        color: black;
    }
    
    a {
        text-decoration: none;
        color: black;
    }
}

/* Accessibility - Focus States */
.pt-toc-item a:focus-visible,
.pt-btn:focus-visible,
.pt-nav-link:focus-visible,
.pt-nav-btn:focus-visible {
    outline: 2px solid var(--md-sys-color-primary);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Footer Location Line */
.location-badge {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(8px, 1.2vw, 18px);

    padding-right: clamp(16px, 5vw, 80px);
    margin-top: 40px;

    background: none;
    border: none;
}

/* SVG */

.location-container {
    display: flex;
    align-items: center;
    gap: 8px; /* space between SVG and text */
}

.location-icon {
    width: 30px; /* adjust size as needed */
    height: auto;
    flex-shrink: 0;
}

.location-text {
    font-size: 12px;
    color: #555;
}


/* Dark Theme SVG */
[data-theme="dark"] .location-icon path {
    fill: #D4AF37;
}

/* Mobile → center it in footer */
@media (max-width: 768px){
    .location-badge{
        justify-content: center;
        padding-right: 0;
    }
}

/* ============================================
   ENTERPRISE UI NORMALIZATION LAYER
   Shared layout, sizing, alignment, and responsive cleanup
   ============================================ */

:root {
    --ui-shell-max-width: 100%;
    --ui-shell-narrow-width: 1320px;
    --ui-shell-pad-x: clamp(12px, 2vw, 24px);
    --ui-control-height: 44px;
    --ui-control-height-lg: 52px;
    --ui-header-height: 72px;
    --ui-surface-elevated: color-mix(in srgb, var(--md-sys-color-surface-container-low) 82%, transparent);
    --ui-surface-soft: color-mix(in srgb, var(--md-sys-color-surface-container) 88%, transparent);
    --ui-border-strong: color-mix(in srgb, var(--md-sys-color-outline) 55%, transparent);
    --ui-shadow-soft: 0 12px 36px rgba(0, 0, 0, 0.08);
    --ui-shadow-medium: 0 18px 44px rgba(0, 0, 0, 0.12);
}

body {
    color: var(--md-sys-color-on-surface);
}

.container,
.hero-container-original,
.whatsapp-demo-container,
.pt-terms-container,
.pt-footer-container,
.footer-content {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--ui-shell-pad-x) !important;
    padding-right: var(--ui-shell-pad-x) !important;
}

.container,
.hero-container-original,
.pt-terms-container,
.pt-footer-container {
    padding-left: var(--ui-shell-pad-x) !important;
    padding-right: var(--ui-shell-pad-x) !important;
}

.page-hero-about .container-about,
.vision-section-about .container-about,
.ceo-section-about .container-about {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--ui-shell-pad-x) !important;
    padding-right: var(--ui-shell-pad-x) !important;
}

.site-header {
    top: 0;
    z-index: 1100;
    background: color-mix(in srgb, var(--md-sys-color-surface) 84%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--md-sys-color-outline-variant) 78%, transparent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.page-home .site-header {
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .site-header {
    background: color-mix(in srgb, var(--md-sys-color-surface) 92%, transparent);
    border-bottom-color: color-mix(in srgb, var(--md-sys-color-outline) 40%, transparent);
}

.navbar {
    min-height: var(--ui-header-height);
}

.nav-container {
    min-height: var(--ui-header-height);
    max-width: 100%;
    margin: 0;
    padding: 14px var(--ui-shell-pad-x) !important;
    gap: 20px;
}

.page-home .nav-container {
    min-height: 64px;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.nav-brand {
    min-width: 0;
    gap: 12px;
}

.brand-name {
    font-size: 1rem;
    line-height: 1;
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.nav-link,
.nav-features-toggle,
.nav-btn {
    min-height: var(--ui-control-height);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.nav-link,
.nav-features-toggle {
    padding: 0 14px;
    color: var(--md-sys-color-on-surface-variant);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 0;
    box-shadow: none;
}

.nav-link::after,
.nav-features-toggle::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 6px;
    height: 2px;
    border-radius: 999px;
    background: var(--md-sys-color-primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition-base);
}

.nav-menu::before {
    display: none !important;
    content: none !important;
}

.nav-link:hover,
.nav-link.active,
.nav-link[aria-current="page"],
.nav-features-toggle:hover,
.nav-features-toggle.nav-features-current,
.nav-features-toggle[aria-current="page"] {
    color: var(--md-sys-color-primary);
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-link[aria-current="page"]::after,
.nav-features-toggle:hover::after,
.nav-features-toggle.nav-features-current::after,
.nav-features-toggle[aria-current="page"]::after {
    transform: scaleX(1);
}

.nav-btn {
    padding: 0 18px;
    border: 1px solid transparent;
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.nav-btn:hover,
.nav-btn.active,
.nav-btn[aria-current="page"] {
    background: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
    box-shadow: 0 10px 24px rgba(var(--md-sys-color-primary-rgb), 0.2);
    transform: translateY(-1px);
}

.nav-btn-contact {
    background: var(--md-sys-color-tertiary-container) !important;
    color: var(--md-sys-color-on-tertiary-container) !important;
    box-shadow: none;
}

.nav-btn-contact:hover {
    background: var(--md-sys-color-tertiary) !important;
    color: var(--md-sys-color-on-tertiary) !important;
    padding-left: 18px;
    padding-right: 18px;
    transform: translateY(-1px);
}

.nav-btn-contact::before,
.nav-btn-contact::after {
    display: none;
}

.contact-bar {
    min-height: 40px;
    padding: 0 var(--ui-shell-pad-x) !important;
    border-top: 1px solid color-mix(in srgb, var(--md-sys-color-outline-variant) 68%, transparent);
    color: var(--md-sys-color-on-surface-variant);
}

.page-home .contact-bar {
    min-height: 30px;
    font-size: 0.6875rem;
}

.page-home .contact-item {
    padding: 0 14px;
}

.page-home .contact-item a {
    font-size: 0.6875rem;
}

.contact-item {
    padding: 0 16px;
}

.contact-item a {
    font-size: 0.75rem;
}

.page-home .hero-section-original {
    padding-top: clamp(16px, 2vw, 28px);
    padding-bottom: clamp(48px, 8vw, 96px);
    padding-right: 0;
}

.hero-split {
    align-items: stretch;
    gap: clamp(28px, 4vw, 56px);
}

.hero-left,
.hero-right,
.feature-section-text,
.feature-section-image,
.whatsapp-demo-content,
.whatsapp-demo-card,
.pt-terms-details,
.pt-terms-toc {
    min-width: 0;
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.hero-right {
    display: flex;
    align-items: center;
}

.hero-ctas {
    gap: 14px;
}

.hero-btn-primary,
.hero-btn-secondary,
.platform-cta-btn-primary,
.btn-primary-about,
.btn-secondary-about,
.features-cta-container .btn-primary,
.pt-btn {
    min-height: var(--ui-control-height-lg);
    padding: 0 22px;
    border-radius: 14px;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.hero-btn-primary,
.platform-cta-btn-primary,
.btn-primary-about,
.features-cta-container .btn-primary,
.pt-btn-primary {
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    border: 1px solid transparent;
}

.hero-btn-secondary,
.btn-secondary-about,
.pt-btn-secondary {
    background: var(--md-sys-color-surface-container-low);
    color: var(--md-sys-color-on-surface);
    border: 1px solid var(--md-sys-color-outline-variant);
}

.hero-btn-primary:hover,
.hero-btn-secondary:hover,
.platform-cta-btn-primary:hover,
.btn-primary-about:hover,
.btn-secondary-about:hover,
.features-cta-container .btn-primary:hover,
.pt-btn:hover {
    transform: translateY(-1px);
}

.page-hero-about {
    min-height: clamp(360px, 56vh, 520px);
    margin-top: 0 !important;
    padding: clamp(88px, 11vw, 132px) var(--ui-shell-pad-x) clamp(64px, 9vw, 96px) !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container-about {
    padding-top: 0 !important;
}

.page-hero-about h1 {
    font-size: clamp(2.25rem, 5vw, 4rem);
    letter-spacing: -0.03em;
}

.page-hero-about p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 58ch;
}

.vision-section-about,
.ceo-section-about,
.cta-section-about,
.feature-section,
.whatsapp-demo-section,
.preview-section,
.demo-testimonials,
.pt-terms-page {
    padding-top: clamp(56px, 8vw, 88px);
    padding-bottom: clamp(56px, 8vw, 88px);
}

.vision-section-about,
.ceo-section-about,
.cta-section-about,
.whatsapp-demo-section,
.preview-section {
    padding-left: var(--ui-shell-pad-x);
    padding-right: var(--ui-shell-pad-x);
}

.ceo-card-about {
    align-items: stretch;
    justify-content: center;
    gap: clamp(24px, 3vw, 40px);
}

.ceo-info-about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    max-width: 560px;
}

.team-social-about,
.team-social-about1 {
    vertical-align: middle;
}

.features-navigation {
    position: sticky;
    top: calc(var(--ui-header-height) + 1px);
    z-index: 1050;
    background: color-mix(in srgb, var(--md-sys-color-surface) 92%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--md-sys-color-outline-variant) 72%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.features-navigation-links {
    gap: 12px;
    padding: 14px 0;
    scroll-padding-inline: var(--ui-shell-pad-x);
}

.feature-nav-item {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 700;
    border-color: color-mix(in srgb, var(--md-sys-color-outline-variant) 78%, transparent);
    background: var(--md-sys-color-surface-container-low);
}

.feature-nav-item:hover {
    background: var(--md-sys-color-surface-container);
    border-color: rgba(var(--md-sys-color-primary-rgb), 0.24);
}

.feature-nav-item.active,
.feature-nav-item[aria-current="page"] {
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    box-shadow: 0 10px 20px rgba(var(--md-sys-color-primary-rgb), 0.18);
}

.feature-section {
    padding-left: var(--ui-shell-pad-x);
    padding-right: var(--ui-shell-pad-x);
}

.feature-section-content {
    width: 100%;
    max-width: none;
    gap: clamp(32px, 5vw, 64px);
    padding-left: 0;
    padding-right: 0;
}

.feature-benefits-grid {
    gap: 16px;
}

.feature-benefit-card {
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 18px;
    background: var(--ui-surface-soft);
    box-shadow: none;
}

.feature-benefit-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--ui-shadow-soft);
}

.feature-benefit-content p {
    font-size: 0.9375rem;
    line-height: 1.65;
}

.feature-image-wrapper,
.whatsapp-demo-card,
.preview-card,
.testimonial-card,
.pt-terms-details,
.pt-terms-toc {
    border-radius: 24px;
    box-shadow: var(--ui-shadow-soft);
}

.whatsapp-demo-container,
.preview-grid,
.testimonials-grid {
    max-width: none;
}

.whatsapp-demo-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
    gap: clamp(24px, 4vw, 48px);
}

.whatsapp-demo-content {
    padding: clamp(8px, 2vw, 16px) 0;
}

.whatsapp-demo-title,
.section-title,
.demo-testimonials h2 {
    letter-spacing: -0.03em;
}

.feature-item {
    align-items: flex-start;
    gap: 14px;
}

.feature-text {
    min-width: 0;
}

.demo-instructions {
    margin-top: 28px;
    padding: 20px 22px;
    border-radius: 20px;
    background: var(--ui-surface-soft);
    border: 1px solid color-mix(in srgb, var(--md-sys-color-outline-variant) 76%, transparent);
}

.demo-instructions ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    padding-left: 18px;
}

.whatsapp-demo-card {
    padding: clamp(24px, 3vw, 32px);
    background: color-mix(in srgb, var(--md-sys-color-surface) 96%, transparent);
    border-color: color-mix(in srgb, var(--md-sys-color-outline-variant) 72%, transparent);
}

.card-header,
.card-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.message-thread {
    gap: 12px;
}

.message {
    max-width: 84%;
}

.whatsapp-cta-btn {
    min-height: 56px;
    margin-bottom: 0;
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.24);
}

.alt-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.option-divider {
    margin: 0;
}

.option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.alt-option {
    min-height: 52px;
}

.preview-card,
.testimonial-card {
    background: var(--ui-surface-soft);
}

.pt-terms-page {
    padding-left: var(--ui-shell-pad-x);
    padding-right: var(--ui-shell-pad-x);
    padding-top: clamp(48px, 6vw, 72px);
}

.pt-terms-header {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pt-terms-content-wrapper {
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: clamp(24px, 3vw, 40px);
    align-items: start;
    max-width: none;
}

.pt-terms-toc {
    top: calc(var(--ui-header-height) + 24px);
    background: color-mix(in srgb, var(--md-sys-color-surface) 96%, transparent);
}

.pt-terms-details {
    padding: clamp(24px, 4vw, 40px);
    background: color-mix(in srgb, var(--md-sys-color-surface) 98%, transparent);
}

.pt-terms-section {
    margin-bottom: 36px;
    padding-bottom: 28px;
}

.pt-section-text,
.pt-list-item {
    line-height: 1.7;
}

.nav-link:focus-visible,
.nav-btn:focus-visible,
.nav-features-toggle:focus-visible,
.feature-nav-item:focus-visible,
.hero-btn-primary:focus-visible,
.hero-btn-secondary:focus-visible,
.platform-cta-btn-primary:focus-visible,
.whatsapp-cta-btn:focus-visible,
.alt-option:focus-visible,
.pt-btn:focus-visible {
    outline: 3px solid rgba(var(--md-sys-color-primary-rgb), 0.35);
    outline-offset: 3px;
}

@media (max-width: 1024px) {
    .whatsapp-demo-grid,
    .feature-section-content,
    .pt-terms-content-wrapper {
        grid-template-columns: 1fr;
    }

    .whatsapp-demo-card,
    .pt-terms-details,
    .pt-terms-toc {
        box-shadow: var(--ui-shadow-soft);
    }

    .pt-terms-toc {
        position: static;
        max-height: none;
    }
}

@media (max-width: 900px) {
    .contact-bar-container {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        flex-shrink: 0;
    }

    .mobile-menu-btn span {
        margin: 0;
    }

    .nav-container {
        min-height: 68px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(340px, 100vw);
        height: 100dvh;
        padding: 88px 20px 28px !important;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 8px;
        background: color-mix(in srgb, var(--md-sys-color-surface) 96%, transparent);
        border-left: 1px solid color-mix(in srgb, var(--md-sys-color-outline-variant) 78%, transparent);
        box-shadow: -18px 0 40px rgba(0, 0, 0, 0.16);
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: transform var(--transition-base), opacity var(--transition-base), visibility var(--transition-base);
        max-width: none;
        margin: 0;
        display: flex !important;
        flex-wrap: nowrap;
    }

    .nav-menu.active {
        right: 0;
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link,
    .nav-features-toggle,
    .nav-btn {
        width: 100%;
        justify-content: flex-start;
        min-height: 48px;
        padding: 0 16px !important;
        margin: 0;
        border-radius: 14px;
        text-align: left;
        box-shadow: none;
    }

    .nav-btn {
        justify-content: center;
        margin-top: 4px;
        order: 0;
    }

    /* Contact button: match brand green on mobile */
    .nav-btn-contact {
        background: var(--md-sys-color-primary) !important;
        color: var(--md-sys-color-on-primary) !important;
        order: 0;
    }

    .nav-btn-contact::before,
    .nav-btn-contact::after {
        display: none !important;
    }

    .nav-link,
    .nav-features-toggle {
        background: transparent;
        border: 1px solid transparent;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active,
    .nav-link[aria-current="page"],
    .nav-features-toggle:hover,
    .nav-features-toggle.nav-features-current,
    .nav-features-toggle[aria-current="page"] {
        background: var(--md-sys-color-surface-variant);
        border-color: color-mix(in srgb, var(--md-sys-color-outline-variant) 80%, transparent);
        box-shadow: none;
    }

    .nav-features-dropdown {
        display: none !important;
    }

    .features-navigation {
        top: 68px;
    }

    .page-home .hero-split,
    .ceo-card-about {
        flex-direction: column;
    }

    .hero-right,
    .hero-left {
        width: 100%;
    }

    .hero-right {
        justify-content: stretch;
    }

    .feature-section-text,
    .feature-section.alt .feature-section-text,
    .feature-section-image,
    .feature-section.alt .feature-section-image {
        order: initial;
    }
}

@media (max-width: 768px) {
    .page-hero-about {
        min-height: 320px;
        padding-top: 96px !important;
        padding-bottom: 56px !important;
    }

    .page-hero-about h1 {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .features-navigation-links {
        gap: 8px;
        padding: 12px 0;
    }

    .feature-nav-item {
        min-height: 40px;
        padding: 0 14px;
        font-size: 0.8125rem;
    }

    .demo-instructions ul,
    .option-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-demo-grid {
        text-align: left;
    }

    .feature-item {
        justify-content: flex-start;
        text-align: left;
    }

    .whatsapp-cta-btn {
        flex-direction: row;
    }

    .btn-text {
        flex: initial;
    }

    .pt-terms-page,
    .feature-section,
    .vision-section-about,
    .ceo-section-about,
    .cta-section-about,
    .whatsapp-demo-section,
    .preview-section {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 480px) {
    :root {
        --ui-shell-pad-x: 14px;
    }

    .nav-container {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

    .brand-name {
        font-size: 0.9375rem;
    }

    .page-home .hero-ctas,
    .cta-buttons-about {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btn-primary,
    .hero-btn-secondary,
    .platform-cta-btn-primary,
    .btn-primary-about,
    .btn-secondary-about,
    .features-cta-container .btn-primary,
    .pt-btn {
        width: 100%;
    }

    .feature-benefit-card {
        align-items: flex-start;
        text-align: left;
    }

    .feature-benefit-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .whatsapp-demo-card,
    .preview-card,
    .testimonial-card,
    .pt-terms-details,
    .pt-terms-toc {
        border-radius: 20px;
    }

    .message {
        max-width: 92%;
    }
}

/* ============================================
   ADAPTIVE REDISTRIBUTION LAYER
   Reduce dead space and rebalance layouts across the site
   ============================================ */

:root {
    --ui-content-max: 1560px;
}

.container,
.hero-container-original,
.whatsapp-demo-container,
.pt-terms-container,
.pt-footer-container,
.footer-content {
    max-width: var(--ui-content-max);
}

.nav-container {
    max-width: 100%;
}

.page-home .hero-section-original {
    min-height: auto;
    display: block;
}

.page-home .hero-container-original {
    max-width: min(var(--ui-content-max), calc(100% - 24px));
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
}

.page-home .hero-split {
    display: grid;
    grid-template-columns: minmax(260px, 420px) minmax(320px, 1fr);
    align-items: center;
    gap: clamp(20px, 3vw, 48px);
    min-height: auto;
    width: 100%;
}

.page-home .hero-left {
    max-width: none;
    width: 100%;
    justify-content: center;
}

.page-home .hero-right {
    width: 100%;
    justify-content: stretch;
    align-items: stretch;
    padding-right: clamp(16px, 5.5vw, 80px);
}

.page-home .hero-right .bottom-grid-original {
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    grid-template-rows: repeat(2, minmax(180px, auto));
    gap: 18px;
    width: 100%;
    height: auto;
    max-width: 980px;
    margin-left: auto;
}

.page-home .hero-right .grid-item-original,
.page-home .hero-right .healthcare-card {
    height: auto !important;
    min-height: 180px !important;
}

.page-home .hero-right .healthcare-card {
    padding: 20px 18px 18px;
    justify-content: center;
}

.page-home .hero-right .healthcare-card-content {
    height: auto;
    justify-content: center;
}

.page-home .hero-right .healthcare-card-title {
    font-size: 1rem;
    line-height: 1.25;
    color: var(--md-sys-color-on-surface);
}

.page-home .hero-right .healthcare-card-desc {
    font-size: 0.875rem;
    line-height: 1.6;
    max-height: none;
    overflow: visible;
    display: block;
    -webkit-line-clamp: unset;
}

/* All hero cards — same frosted-glass background, same border */
.page-home .hero-right .grid-item-original {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.page-home .hero-right .healthcare-card.featured {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .page-home .hero-right .grid-item-original,
[data-theme="dark"] .page-home .hero-right .healthcare-card.featured {
    background: rgba(30, 40, 30, 0.82);
    border-color: rgba(255, 255, 255, 0.12);
}

.page-home .hero-headline {
    max-width: 12ch;
}

.page-home .hero-desc {
    max-width: 52ch;
}

.feature-section-content {
    grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.05fr);
    align-items: center;
}

.feature-benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.whatsapp-demo-grid {
    grid-template-columns: minmax(340px, 0.95fr) minmax(400px, 1.05fr);
    align-items: center;
}

.preview-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.footer-content {
    display: grid;
    grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(180px, 1fr));
    align-items: start;
    gap: clamp(20px, 3vw, 40px);
}

.footer-brand {
    max-width: none;
}

@media (max-width: 1280px) {
    .page-home .hero-split {
        grid-template-columns: minmax(260px, 400px) minmax(300px, 1fr);
    }

    .page-home .hero-right .bottom-grid-original {
        max-width: none;
    }
}

@media (max-width: 1100px) {
    .feature-section-content,
    .whatsapp-demo-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .page-home .hero-split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .page-home .hero-right {
        padding-right: 0;
    }

    .page-home .hero-right .bottom-grid-original {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .page-home .hero-section-original {
        min-height: auto;
    }

    .page-home .hero-split,
    .page-home .hero-right .bottom-grid-original,
    .feature-benefits-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .page-home .hero-right .grid-item-original,
    .page-home .hero-right .healthcare-card {
        min-height: 168px !important;
        height: auto !important;
    }

    .page-home .hero-right .bottom-grid-original {
        height: auto;
        grid-template-rows: none;
    }

    .page-home .hero-headline,
    .page-home .hero-desc {
        max-width: none;
    }
}

/* ============================================
   HERO REDESIGN — Two-Column Layout
   ============================================ */

.hero-split {
    display: flex;
    align-items: center;
    gap: 40px;
    min-height: calc(100vh - 160px);
    margin-bottom: 0;
}

.hero-left {
    flex: 0 0 50%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ── Right panel: 2×2 facility cards ── */
.hero-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-right .bottom-grid-original {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 0;
    width: 100%;
}

.hero-right .grid-item-original {
    height: 176px;
    min-width: unset;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hero-right .grid-item-original:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(var(--md-sys-color-primary-rgb), 0.18);
    border-color: var(--md-sys-color-primary);
    background: rgba(255, 255, 255, 0.97);
}

[data-theme="dark"] .hero-right .grid-item-original {
    background: rgba(30, 38, 28, 0.88);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

[data-theme="dark"] .hero-right .grid-item-original:hover {
    background: rgba(38, 48, 36, 0.96);
    border-color: var(--md-sys-color-primary);
}

.hero-right .healthcare-card {
    height: 176px;
    min-height: unset;
    padding: 18px 14px 14px;
}

.hero-right .healthcare-card.featured {
    background: linear-gradient(145deg,
        rgba(var(--md-sys-color-primary-rgb), 0.12),
        rgba(var(--md-sys-color-primary-rgb), 0.04));
    border: 2px solid rgba(var(--md-sys-color-primary-rgb), 0.5);
}

.hero-right .healthcare-card-icon {
    width: 40px;
    height: 40px;
    padding: 9px;
    border-radius: 11px;
    background: var(--md-sys-color-secondary-container);
    margin-bottom: 4px;
}

.hero-right .healthcare-card-title {
    font-size: 13px;
}

.hero-right .healthcare-card-desc {
    font-size: 10.5px;
    line-height: 1.5;
}

[data-theme="dark"] .hero-right .grid-item-original {
    background: rgba(30, 40, 30, 0.65);
    border-color: rgba(255,255,255,0.1);
}

[data-theme="dark"] .hero-right .grid-item-original:hover {
    background: rgba(40, 55, 40, 0.82);
}

/* Trust badge */
.hero-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(var(--md-sys-color-primary-rgb), 0.1);
    border: 1px solid rgba(var(--md-sys-color-primary-rgb), 0.22);
    color: var(--md-sys-color-primary);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    width: fit-content;
    letter-spacing: 0.02em;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--md-sys-color-primary);
    flex-shrink: 0;
    animation: hero-badge-pulse 2.4s ease-in-out infinite;
}

@keyframes hero-badge-pulse {
    0%, 100% { transform: scale(1);   opacity: 1; }
    50%       { transform: scale(1.6); opacity: 0.45; }
}

/* Headline */
.hero-headline {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--md-sys-color-on-surface);
    margin: 0;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

.hero-headline-accent {
    color: var(--md-sys-color-primary);
}

/* Description */
.hero-desc {
    font-size: clamp(13px, 1.5vw + 0.2rem, 16px);
    line-height: 1.75;
    color: var(--md-sys-color-on-surface-variant);
    max-width: 460px;
    margin: 0;
}

/* Certifications row */
.hero-certs {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-certs-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--md-sys-color-on-surface-variant);
    white-space: nowrap;
}

.hero-certs-logos {
    display: flex;
    align-items: center;
    gap: 18px;
}

.hero-cert-logo {
    height: 30px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-cert-logo:hover {
    opacity: 1;
    transform: scale(1.06);
}

[data-theme="dark"] .hero-cert-logo {
    filter: brightness(0) invert(0.82);
}

/* CTA buttons */
.hero-ctas {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    font-size: 14px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 100px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 18px rgba(var(--md-sys-color-primary-rgb), 0.38);
    white-space: nowrap;
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(var(--md-sys-color-primary-rgb), 0.5);
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--md-sys-color-primary);
    font-size: 14px;
    font-weight: 600;
    padding: 11px 24px;
    border-radius: 100px;
    text-decoration: none;
    border: 1.5px solid var(--md-sys-color-primary);
    transition: background 0.25s ease, transform 0.25s ease;
    white-space: nowrap;
}

.hero-btn-secondary:hover {
    background: rgba(var(--md-sys-color-primary-rgb), 0.08);
    transform: translateY(-2px);
}

/* Stats row */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 6px;
    border-top: 1px solid var(--md-sys-color-outline-variant);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hero-stat-num {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 800;
    color: var(--md-sys-color-primary);
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.hero-stat-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--md-sys-color-on-surface-variant);
    white-space: nowrap;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--md-sys-color-outline-variant);
    flex-shrink: 0;
}

/* Integration badges row */
.hero-integrations {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-integrations-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--md-sys-color-on-surface-variant);
    white-space: nowrap;
}

.hero-integrations-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-int-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--md-sys-color-surface-container-low);
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: 12px;
    padding: 14px 26px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-int-card:hover {
    background: var(--md-sys-color-surface-container);
    border-color: var(--md-sys-color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(var(--md-sys-color-primary-rgb), 0.14);
}

.hero-int-card img {
    height: 52px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
}

[data-theme="dark"] .hero-int-card img {
    filter: brightness(0) invert(0.82);
}

/* Responsive */
@media (max-width: 1100px) {
    .hero-split { gap: 24px; }
    .hero-left { flex: 0 0 48%; max-width: 100%; }
    .hero-right .grid-item-original,
    .hero-right .healthcare-card { height: 158px; min-height: unset; }
}

@media (max-width: 900px) {
    .hero-split {
        flex-direction: column;
        min-height: auto;
        gap: 32px;
        align-items: flex-start;
    }
    .hero-left { flex: none; max-width: 100%; }
    .hero-right { width: 100%; }
    .hero-right .bottom-grid-original { grid-template-columns: repeat(4, 1fr); }
    .hero-right .grid-item-original,
    .hero-right .healthcare-card { height: 150px; }
}

@media (max-width: 768px) {
    .hero-desc { max-width: 100%; }
    .hero-stats { gap: 16px; }
    .hero-integrations { flex-direction: column; align-items: flex-start; }
    .hero-right .bottom-grid-original { grid-template-columns: 1fr 1fr; }
    .hero-right .grid-item-original,
    .hero-right .healthcare-card { height: 160px; }
}

/* ============================================
   LOGOS LEFT SIDEBAR
   ============================================ */

/* Sidebar is scoped to the hero section — no body offset needed */

/* The sidebar container — absolute inside hero-section-original */
.logos-sidebar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 108px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    background: rgba(var(--md-sys-color-surface-variant-rgb, 235,240,233), 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-right: 1px solid var(--md-sys-color-outline-variant);
    overflow: hidden;
}

[data-theme="dark"] .logos-sidebar {
    background: rgba(22, 27, 20, 0.75);
}

/* "CLIENTS" rotated label at top */
.logos-sidebar__label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--md-sys-color-primary);
    padding: 10px 0;
    text-align: center;
    flex-shrink: 0;
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
}

/* Override the scroll container to fill remaining height */
.logos-sidebar .logos-scroll-container {
    position: relative;
    width: 100%;
    flex: 1;
    overflow: hidden;
    padding: 0;
    margin: 0;
    border-radius: 0;
    background: transparent;
}

/* Top and bottom fade masks */
.logos-sidebar .logos-scroll-container::before,
.logos-sidebar .logos-scroll-container::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 48px;
    z-index: 2;
    pointer-events: none;
}

.logos-sidebar .logos-scroll-container::before {
    top: 0;
    background: linear-gradient(to bottom, var(--md-sys-color-surface), transparent);
}

.logos-sidebar .logos-scroll-container::after {
    bottom: 0;
    top: auto;
    background: linear-gradient(to top, var(--md-sys-color-surface), transparent);
}

/* Vertical scrolling track */
.logos-sidebar .logos-track {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    width: 100%;
    height: max-content;
    animation: scrollLogosVertical linear infinite;
    will-change: transform;
}

/* Each logo card */
.logos-sidebar .logo-item {
    width: 100%;
    height: 74px;
    padding: 10px 12px;
    border-radius: 0;
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.logos-sidebar .logo-item:hover {
    background: var(--md-sys-color-surface-container-low);
    transform: none;
    box-shadow: none;
}

.logos-sidebar .logo-item img {
    max-height: 48px;
    max-width: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Vertical scroll keyframe */
@keyframes scrollLogosVertical {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* Dark mode adjustments */
[data-theme="dark"] .logos-sidebar {
    background: var(--md-sys-color-surface);
    border-right-color: var(--md-sys-color-outline-variant);
}

[data-theme="dark"] .logos-sidebar .logo-item img {
    filter: brightness(0) invert(0.75);
}

[data-theme="dark"] .logos-sidebar .logo-item:hover img {
    filter: brightness(0) invert(1);
}

/* ============================================
   GLOBAL RESPONSIVE OVERRIDES
   ============================================ */

/* ── 1280px — large desktop ── */
@media (max-width: 1280px) {
    .nav-container { padding: 16px 48px; }
    .contact-bar   { padding: 0 48px; }
    .hero-container-original { padding: 0 48px; }
}

/* ── 1024px — tablet landscape / small laptop ── */
@media (max-width: 1024px) {
    /* Sidebar hidden, hero left offset removed */
    .logos-sidebar { display: none; }
    .hero-section-original { padding-left: 0; padding-top: 24px; }

    /* Nav */
    .nav-container { padding: 14px 32px; }
    .contact-bar   { padding: 0 32px; }

    /* Hero */
    .hero-split { gap: 24px; }
    .hero-left  { flex: 0 0 50%; max-width: 100%; }

    /* Hero cards */
    .hero-right .grid-item-original,
    .hero-right .healthcare-card { height: 158px; min-height: unset; }

    /* Old middle section */
    .middle-section-original { flex-direction: column; height: auto; }
    .platform-title-original { font-size: 38px; }
    .bottom-grid-original    { flex-wrap: wrap; }
    .grid-item-original      { min-width: calc(50% - 6px); }
    .healthcare-card         { height: auto; min-height: 180px; }
}

/* ── 900px — tablet portrait ── */
@media (max-width: 900px) {
    .hero-split {
        flex-direction: column;
        gap: 28px;
        align-items: flex-start;
        min-height: auto;
    }
    .hero-left  { flex: none; max-width: 100%; }
    .hero-right { width: 100%; }
    .hero-right .bottom-grid-original { grid-template-columns: repeat(4, 1fr); }
    .hero-right .grid-item-original,
    .hero-right .healthcare-card { height: 140px; min-height: unset; }
    .hero-right .healthcare-card-title  { font-size: 11px; }
    .hero-right .healthcare-card-desc   { font-size: 9.5px; }
}

/* ── 768px — mobile landscape / large phone ── */
@media (max-width: 768px) {
    /* Header */
    .nav-container { padding: 12px 20px; gap: 16px; }
    .contact-bar   { padding: 0 20px; font-size: 10.5px; }
    .contact-item  { padding: 0 10px; }

    /* Brand */
    .brand-name  { font-size: 15px; }
    .logo        { width: 28px; height: 28px; }

    /* Hero */
    .hero-section-original  { padding-top: 24px; padding-bottom: 32px; }
    .hero-desc      { max-width: 100%; }
    .hero-certs     { flex-wrap: wrap; gap: 10px; }
    .hero-cert-logo { height: 24px; }
    .hero-ctas      { flex-wrap: wrap; gap: 10px; }
    .hero-btn-primary,
    .hero-btn-secondary { font-size: 13px; padding: 10px 20px; }
    .hero-integrations  { flex-direction: column; align-items: flex-start; gap: 8px; }
    .hero-int-card      { padding: 8px 12px; }
    .hero-int-card img  { height: 24px; }

    /* Hero right cards → 2 col */
    .hero-right .bottom-grid-original { grid-template-columns: 1fr 1fr; }
    .hero-right .grid-item-original,
    .hero-right .healthcare-card { height: 150px; min-height: unset; }

    /* Sections */
    .container { padding: 0 20px; }
    .hero-right .healthcare-card-title { font-size: 12px; }
    .hero-right .healthcare-card-desc  { font-size: 10px; }
}

/* ── 480px — small phone ── */
@media (max-width: 480px) {
    .nav-container  { padding: 10px 16px; }
    .contact-bar    { padding: 0 16px; font-size: 10px; height: 28px; }
    .contact-item   { padding: 0 8px; }

    .hero-headline  { font-size: 26px; }
    .hero-desc      { font-size: 13px; }
    .hero-trust-badge { font-size: 11px; padding: 4px 10px; }

    /* Hero cards single column */
    .hero-right .bottom-grid-original { grid-template-columns: 1fr 1fr; gap: 8px; }
    .hero-right .grid-item-original,
    .hero-right .healthcare-card { height: 140px; }

    /* Cert logos */
    .hero-cert-logo { height: 20px; }
}

