﻿/* ----- NOVA HEALTH DESIGN SYSTEM - MODERN REDESIGN ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Core Colors - Updated Brand Colors */
    --nova-deep: #083B77;
    --nova-azure: #1E8DB0;
    --nova-emerald: #29A87C;
    --nova-gold: #F59E0B;
    --nova-purple: #8B5CF6;
    --nova-cyan: #00D4FF;
    --nova-charcoal: #1F2937;
    --nova-steel: #6B7280;
    --nova-cloud: #F9FAFB;
    --nova-white: #FFFFFF;
    --nova-border: #E5E7EB;
    --nova-bg: #FFFFFF;
    --nova-card-bg: #FFFFFF;
    --nova-text-primary: #1F2937;
    --nova-text-secondary: #6B7280;
    /* Color Aliases */
    --deep-ink: var(--nova-deep);
    --azure: var(--nova-azure);
    --emerald: var(--nova-emerald);
    --gold: var(--nova-gold);
    --purple-muted: var(--nova-purple);
    --cyan-bright: var(--nova-cyan);
    --charcoal: var(--nova-charcoal);
    --slate: var(--nova-steel);
    --cloud: var(--nova-cloud);
    --pure-white: var(--nova-white);
    --border-light: var(--nova-border);
    --bg-main: var(--nova-bg);
    --card-bg: var(--nova-card-bg);
    --text-primary: var(--nova-text-primary);
    --text-secondary: var(--nova-text-secondary);
    /* Gradients - Updated with new brand colors */
    --gradient-primary: linear-gradient(135deg, #083B77, #1E8DB0);
    --gradient-accent: linear-gradient(135deg, #1E8DB0, #00D4FF);
    --gradient-gold: linear-gradient(135deg, #F59E0B, #FBBF24);
    --gradient-purple: linear-gradient(135deg, #8B5CF6, #A78BFA);
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Dark Theme - Updated with new brand colors */
[data-theme="dark"],
[data-theme="black"] {
    --nova-deep: #083B77;
    --nova-azure: #1E8DB0;
    --nova-emerald: #29A87C;
    --nova-gold: #F59E0B;
    --nova-purple: #8B5CF6;
    --nova-cyan: #00D4FF;
    --nova-charcoal: #111827;
    --nova-steel: #9CA3AF;
    --nova-cloud: #1F2937;
    --nova-white: #1F2937;
    --nova-border: #374151;
    --nova-bg: #111827;
    --nova-card-bg: #1F2937;
    --nova-text-primary: #F9FAFB;
    --nova-text-secondary: #D1D5DB;
    /* Update aliases for dark mode */
    --bg-main: var(--nova-bg);
    --card-bg: var(--nova-card-bg);
    --text-primary: var(--nova-text-primary);
    --text-secondary: var(--nova-text-secondary);
    --border-light: var(--nova-border);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.5);
}

/* Base Styles */
body {
    font-family: "Inter", sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Navbar Styles */
.nh-navbar {
    position: sticky;
    top: 0;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 100;
    padding: var(--space-md) 0;
}

.nh-navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-xl);
}

.nh-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.5rem;
    font-weight: 700;
}

    .nh-logo i {
        color: var(--azure);
        font-size: 1.75rem;
    }

    .nh-logo span {
        color: var(--text-primary);
    }

.nh-nav-links {
    display: flex;
    gap: var(--space-xl);
    flex: 1;
    justify-content: center;
}

    .nh-nav-links a {
        color: var(--text-secondary);
        text-decoration: none;
        transition: var(--transition-fast);
        font-weight: 500;
    }

        .nh-nav-links a:hover {
            color: var(--azure);
        }

.nh-btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

/* Container */
.nh-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    width: 100%;
}

/* Typography */
.nh-text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.nh-section {
    padding: var(--space-4xl) 0;
    position: relative;
}

.nh-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-3xl);
}

.nh-section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--azure);
    background: rgba(30, 141, 176, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    backdrop-filter: blur(4px);
}

.nh-section-tag-light {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.nh-section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.nh-section-title-light {
    color: white;
}

.nh-section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.nh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

    .nh-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .nh-btn:hover::before {
        width: 300px;
        height: 300px;
    }

.nh-btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 10px 20px -8px rgba(30, 141, 176, 0.4);
}

    .nh-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 20px 30px -8px rgba(30, 141, 176, 0.6);
    }

.nh-btn-outline {
    background: transparent;
    color: var(--azure);
    border: 2px solid var(--azure);
}

    .nh-btn-outline:hover {
        background: var(--azure);
        color: white;
        transform: translateY(-2px);
    }

.nh-btn-light {
    background: white;
    color: var(--deep-ink);
}

    .nh-btn-light:hover {
        background: rgba(255, 255, 255, 0.9);
        transform: translateY(-2px);
    }

.nh-btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.nh-btn-block {
    width: 100%;
}

/* Hero Section */
.nh-hero {
    position: relative;
    padding: var(--space-4xl) 0 var(--space-5xl);
    background: linear-gradient(135deg, var(--nova-cloud), var(--bg-main));
    overflow: hidden;
}

    .nh-hero::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 80%;
        height: 200%;
        background: radial-gradient(circle, rgba(30, 141, 176, 0.05) 0%, transparent 70%);
        pointer-events: none;
    }

.nh-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.nh-hero-content {
    position: relative;
    z-index: 2;
}

.nh-hero-badge {
    margin-bottom: var(--space-lg);
}

.nh-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(30, 141, 176, 0.1);
    border: 1px solid rgba(30, 141, 176, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--azure);
    backdrop-filter: blur(4px);
}

.nh-hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.nh-hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 600px;
}

.nh-hero-stats {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.nh-stat-item {
    display: flex;
    flex-direction: column;
}

.nh-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--azure);
    line-height: 1.2;
}

.nh-stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.nh-hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.nh-hero-visual {
    position: relative;
    z-index: 2;
}

.nh-dashboard-preview {
    position: relative;
}

.nh-preview-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition-base);
}

    .nh-preview-image:hover {
        transform: perspective(1000px) rotateY(0deg);
    }

.nh-floating-card {
    position: absolute;
    background: var(--card-bg);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-light);
    animation: float 3s ease-in-out infinite;
}

.nh-card-1 {
    top: 20%;
    left: -10%;
}

.nh-card-2 {
    bottom: 20%;
    right: -10%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.nh-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: var(--bg-main);
    line-height: 0;
}

/* Portals Grid */
.nh-portals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.nh-portal-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

    .nh-portal-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-accent);
        transform: scaleX(0);
        transition: var(--transition-base);
    }

    .nh-portal-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-2xl);
        border-color: transparent;
    }

        .nh-portal-card:hover::before {
            transform: scaleX(1);
        }

.nh-portal-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: var(--space-lg);
}

.nh-portal-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.nh-portal-card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.nh-portal-features {
    list-style: none;
}

    .nh-portal-features li {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--text-secondary);
        margin-bottom: 0.75rem;
        font-size: 0.95rem;
    }

    .nh-portal-features i {
        color: var(--emerald);
        font-size: 1rem;
    }

/* AI Section */
.nh-ai-section {
    background: var(--gradient-primary);
    padding: var(--space-4xl) 0;
    color: white;
    position: relative;
    overflow: hidden;
}

    .nh-ai-section::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 80%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        pointer-events: none;
    }

.nh-ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.nh-ai-content {
    position: relative;
    z-index: 2;
}

.nh-ai-description {
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    opacity: 0.9;
    line-height: 1.6;
}

.nh-ai-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.nh-metric-box {
    text-align: center;
}

.nh-metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1.2;
}

.nh-metric-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

.nh-ai-visual {
    position: relative;
    z-index: 2;
}

.nh-ai-graph {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 300px;
}

/* Channels Grid */
.nh-channels-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-md);
}

.nh-channel-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    text-align: center;
    transition: var(--transition-base);
}

    .nh-channel-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
        border-color: var(--azure);
    }

.nh-channel-icon {
    width: 48px;
    height: 48px;
    background: rgba(30, 141, 176, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--azure);
    margin: 0 auto var(--space-md);
}

.nh-channel-card h4 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.nh-channel-status {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: rgba(41, 168, 124, 0.1);
    color: var(--emerald);
    border-radius: var(--radius-full);
    display: inline-block;
}

/* USSD Section */
.nh-ussd-section {
    background: linear-gradient(135deg, var(--deep-ink), var(--charcoal));
    padding: var(--space-4xl) 0;
    color: white;
}

.nh-ussd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.nh-ussd-description {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--space-xl);
}

.nh-ussd-codes {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.nh-code-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-2xl);
    padding: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-base);
}

    .nh-code-card:hover {
        transform: translateX(10px);
        background: rgba(255, 255, 255, 0.15);
    }

.nh-code {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: monospace;
    color: var(--gold);
}

.nh-code-desc {
    font-size: 1rem;
    opacity: 0.9;
}

/* Modules Grid */
.nh-modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.nh-module-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    transition: var(--transition-base);
    text-align: center;
}

    .nh-module-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-2xl);
    }

    .nh-module-card i {
        font-size: 3rem;
        color: var(--azure);
        margin-bottom: var(--space-lg);
    }

    .nh-module-card h3 {
        font-size: 1.5rem;
        margin-bottom: var(--space-sm);
        color: var(--text-primary);
    }

    .nh-module-card p {
        color: var(--text-secondary);
        margin-bottom: var(--space-lg);
    }

    .nh-module-card ul {
        list-style: none;
        text-align: left;
    }

    .nh-module-card li {
        color: var(--text-secondary);
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

        .nh-module-card li::before {
            content: '✓';
            color: var(--emerald);
            font-weight: 700;
        }

/* Testimonials Section */
.nh-testimonials-section {
    background: linear-gradient(135deg, var(--cloud), var(--bg-main));
}

.nh-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.nh-testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    transition: var(--transition-base);
}

    .nh-testimonial-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-xl);
    }

.nh-testimonial-rating {
    color: var(--gold);
    margin-bottom: var(--space-lg);
}

    .nh-testimonial-rating i {
        margin-right: 0.25rem;
    }

.nh-testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.nh-testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

    .nh-testimonial-author img {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        object-fit: cover;
    }

    .nh-testimonial-author h4 {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
        color: var(--text-primary);
    }

    .nh-testimonial-author p {
        font-size: 0.875rem;
        color: var(--text-secondary);
    }

/* CTA Section */
.nh-cta-section {
    background: var(--gradient-primary);
    padding: var(--space-4xl) 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

    .nh-cta-section::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -10%;
        width: 120%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        pointer-events: none;
    }

.nh-cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.nh-cta-description {
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    opacity: 0.9;
}

/* Footer */
.nh-footer {
    background: var(--charcoal);
    color: white;
    padding: var(--space-3xl) 0 var(--space-xl);
}

.nh-footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.nh-footer-section h4 {
    margin-bottom: var(--space-lg);
    color: var(--azure);
}

.nh-footer-section a,
.nh-footer-section p {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: var(--space-sm);
    transition: var(--transition-fast);
}

    .nh-footer-section a:hover {
        color: var(--azure);
    }

.nh-footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Modal Styles */
.nh-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

    .nh-modal-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.nh-modal-container {
    background: var(--card-bg);
    border-radius: var(--radius-2xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-2xl);
    transform: scale(0.9);
    transition: var(--transition-base);
    border: 1px solid var(--border-light);
}

.nh-modal-large {
    max-width: 700px;
}

.nh-modal-small {
    max-width: 400px;
}

.nh-modal-overlay.active .nh-modal-container {
    transform: scale(1);
}

.nh-modal-header {
    padding: var(--space-xl);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--card-bg);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    z-index: 10;
}

    .nh-modal-header h3 {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--text-primary);
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

        .nh-modal-header h3 i {
            color: var(--azure);
        }

.nh-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

    .nh-modal-close:hover {
        color: var(--azure);
        background: rgba(30, 141, 176, 0.1);
    }

.nh-modal-body {
    padding: var(--space-xl);
}

/* Form Styles */
.nh-form-group {
    margin-bottom: var(--space-lg);
}

    .nh-form-group label {
        display: block;
        margin-bottom: var(--space-xs);
        font-weight: 500;
        color: var(--text-primary);
    }

    .nh-form-group input,
    .nh-form-group select,
    .nh-form-group textarea {
        width: 100%;
        padding: 0.875rem 1rem;
        border-radius: var(--radius-lg);
        border: 2px solid var(--border-light);
        background: var(--bg-main);
        color: var(--text-primary);
        font-size: 1rem;
        transition: var(--transition-fast);
        font-family: inherit;
    }

        .nh-form-group input:focus,
        .nh-form-group select:focus,
        .nh-form-group textarea:focus {
            outline: none;
            border-color: var(--azure);
            box-shadow: 0 0 0 3px rgba(30, 141, 176, 0.1);
        }

        .nh-form-group input::placeholder,
        .nh-form-group textarea::placeholder {
            color: var(--text-secondary);
            opacity: 0.5;
        }

.nh-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.nh-form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--space-lg);
}

    .nh-form-checkbox input[type="checkbox"] {
        width: auto;
        accent-color: var(--azure);
    }

    .nh-form-checkbox label {
        font-size: 0.875rem;
        color: var(--text-secondary);
    }

/* Tour Options */
.nh-tour-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.nh-tour-option {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition-base);
}

    .nh-tour-option:hover {
        border-color: var(--azure);
        background: rgba(30, 141, 176, 0.05);
        transform: translateX(10px);
    }

    .nh-tour-option i {
        font-size: 2rem;
        color: var(--azure);
        width: 48px;
        text-align: center;
    }

    .nh-tour-option h4 {
        font-size: 1.125rem;
        margin-bottom: 0.25rem;
        color: var(--text-primary);
    }

    .nh-tour-option p {
        color: var(--text-secondary);
        font-size: 0.875rem;
    }

/* Success Modal */
.nh-success-icon {
    text-align: center;
    margin-bottom: var(--space-lg);
}

    .nh-success-icon i {
        font-size: 4rem;
        color: var(--emerald);
    }

.nh-modal-body.nh-text-center h4 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.nh-modal-body.nh-text-center p {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

/* AI Modal */
.nh-ai-modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.nh-ai-modal-visual {
    height: 200px;
}

.nh-ai-modal-features h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.nh-ai-modal-features ul {
    list-style: none;
    margin-bottom: var(--space-xl);
}

.nh-ai-modal-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

    .nh-ai-modal-features li i {
        color: var(--azure);
        font-size: 1.25rem;
    }

/* Floating Action Button */
.nh-floating-action-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-2xl);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition-base);
    z-index: 90;
}

    .nh-floating-action-btn:hover {
        transform: scale(1.1) rotate(360deg);
    }

/* Responsive Design */
@media (max-width: 1200px) {
    .nh-portals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nh-channels-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .nh-hero-grid,
    .nh-ai-grid,
    .nh-ussd-grid,
    .nh-footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .nh-hero-visual {
        order: -1;
    }

    .nh-modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nh-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nh-ai-modal-content {
        grid-template-columns: 1fr;
    }

    .nh-nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .nh-section {
        padding: var(--space-3xl) 0;
    }

    .nh-hero-stats {
        flex-wrap: wrap;
    }

    .nh-portals-grid,
    .nh-modules-grid,
    .nh-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .nh-channels-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nh-ai-metrics {
        grid-template-columns: 1fr;
    }

    .nh-hero-actions {
        flex-direction: column;
    }

        .nh-hero-actions .nh-btn {
            width: 100%;
        }

    .nh-form-row {
        grid-template-columns: 1fr;
    }

    .nh-floating-card {
        display: none;
    }

    .nh-footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-xl);
    }
}

@media (max-width: 480px) {
    .nh-channels-grid {
        grid-template-columns: 1fr;
    }

    .nh-code-card {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    [data-aos="fade-up"].aos-animate {
        opacity: 1;
        transform: translateY(0);
    }

[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    [data-aos="fade-right"].aos-animate {
        opacity: 1;
        transform: translateX(0);
    }

[data-aos="fade-left"] {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    [data-aos="fade-left"].aos-animate {
        opacity: 1;
        transform: translateX(0);
    }

[data-aos="zoom-in"] {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    [data-aos="zoom-in"].aos-animate {
        opacity: 1;
        transform: scale(1);
    }

[data-aos="flip-left"] {
    opacity: 0;
    transform: perspective(400px) rotateY(90deg);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    [data-aos="flip-left"].aos-animate {
        opacity: 1;
        transform: perspective(400px) rotateY(0);
    }

/* Loading States */
.nh-btn-loading {
    position: relative;
    color: transparent !important;
}

    .nh-btn-loading::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        border: 2px solid white;
        border-top-color: transparent;
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: var(--azure);
    border-radius: var(--radius-full);
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--deep-ink);
    }

/* Toast notification styles */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    z-index: 10000;
    animation: slideIn 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.toast-success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.toast-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.toast-info {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Button loading state */
.btn-loading {
    opacity: 0.7;
    cursor: not-allowed;
}

