:root {
    --ec-navy: #070b19;
    --ec-slate-900: #0f172a;
    --ec-slate-800: #1e293b;
    --ec-slate-600: #475569;
    --ec-slate-400: #94a3b8;
    --ec-bg-light: #f8fafc;
    --ec-blue: #2563eb;
    --ec-blue-dark: #1d4ed8;
    --ec-cyan: #06b6d4;
    --ec-emerald: #10b981;
    --ec-indigo: #4f46e5;
    --ec-border: #e2e8f0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--ec-slate-900);
    background-color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .font-display {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

/* Navbar */
.ec-navbar {
    background: rgba(7, 11, 25, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
    z-index: 1030;
}

.ec-navbar .nav-link {
    color: rgba(226, 232, 240, 0.85) !important;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.5rem 0.85rem !important;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.ec-navbar .nav-link:hover,
.ec-navbar .nav-link.active {
    color: #ffffff !important;
}

.ec-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

/* Hero Section */
.ec-hero {
    position: relative;
    background: radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.24), transparent 45%),
                radial-gradient(circle at 85% 25%, rgba(6, 182, 212, 0.18), transparent 40%),
                linear-gradient(160deg, #050814 0%, #0f172a 55%, #111c38 100%);
    color: #ffffff;
    padding: 7.5rem 0 5.5rem;
    overflow: hidden;
}

.ec-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
    pointer-events: none;
}

.ec-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.42rem 1rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.16);
    border: 1px solid rgba(56, 189, 248, 0.32);
    color: #7dd3fc;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.ec-gradient-text {
    background: linear-gradient(90deg, #60a5fa 0%, #22d3ee 55%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ec-btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    color: #ffffff !important;
    font-weight: 600;
    padding: 0.82rem 1.6rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ec-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -6px rgba(37, 99, 235, 0.55);
}

.ec-btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff !important;
    font-weight: 600;
    padding: 0.82rem 1.5rem;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.ec-btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.45);
}

/* Hero Preview Dashboard Card */
.ec-dashboard-card {
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.55);
}

.ec-mini-stat {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1rem;
}

/* Section Headers */
.ec-section {
    padding: 5.5rem 0;
}

.ec-section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ec-blue);
    background: rgba(37, 99, 235, 0.08);
    padding: 0.38rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 0.9rem;
}

/* Solution Cards */
.ec-card {
    background: #ffffff;
    border: 1px solid var(--ec-border);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.ec-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -14px rgba(15, 23, 42, 0.12);
    border-color: rgba(37, 99, 235, 0.35);
}

.ec-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 1.35rem;
}

.ec-icon-blue { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
.ec-icon-cyan { background: rgba(6, 182, 212, 0.12); color: #0891b2; }
.ec-icon-indigo { background: rgba(79, 70, 229, 0.1); color: #4f46e5; }
.ec-icon-emerald { background: rgba(16, 185, 129, 0.12); color: #059669; }
.ec-icon-amber { background: rgba(245, 158, 11, 0.12); color: #d97706; }
.ec-icon-rose { background: rgba(244, 63, 94, 0.1); color: #e11d48; }
.ec-icon-violet { background: rgba(139, 92, 246, 0.12); color: #7c3aed; }

.ec-feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
}

.ec-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.9rem;
    color: var(--ec-slate-600);
    margin-bottom: 0.55rem;
}

.ec-feature-list li i {
    color: var(--ec-emerald);
    margin-top: 2px;
}

/* Healthcare Dark Showcase */
.ec-health-section {
    background: linear-gradient(180deg, #0b1120 0%, #0f172a 100%);
    color: #ffffff;
    padding: 5.5rem 0;
    position: relative;
}

.ec-health-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    display: flex;
    flex-direction: column;
}

.ec-health-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(34, 211, 238, 0.45);
}

/* Contact Section */
.ec-contact-info-box {
    background: linear-gradient(155deg, #0f172a 0%, #1e3a8a 100%);
    color: #ffffff;
    border-radius: 22px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.25);
}

.ec-contact-form-card {
    background: #ffffff;
    border: 1px solid var(--ec-border);
    border-radius: 22px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px -15px rgba(15, 23, 42, 0.08);
}

.ec-form-control {
    border: 1px solid #cbd5e1;
    border-radius: 11px;
    padding: 0.72rem 1rem;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ec-form-select {
    border: 1px solid #cbd5e1;
    border-radius: 11px;
    padding: 0.72rem 2.25rem 0.72rem 1rem;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ec-form-control:focus,
.ec-form-select:focus {
    border-color: var(--ec-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

/* Floating WhatsApp Button */
.ec-whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1040;
    background: #10b981;
    color: #ffffff !important;
    border-radius: 999px;
    padding: 0.75rem 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ec-whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(16, 185, 129, 0.52);
}

.ec-footer {
    background: #050814;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.validation-message {
    color: #dc2626;
    font-size: 0.82rem;
    margin-top: 0.3rem;
    font-weight: 500;
}
