/* Waymark Health Website Styles */
:root {
    /* Healthcare-focused color palette */
    --primary-health: #0B4D6B;      /* Deep Medical Blue */
    --secondary-health: #2E8BC0;    /* Vibrant Health Blue */
    --accent-health: #00A19C;       /* Medical Teal */
    --ember-fire: #FF6B35;          /* Ember Orange */
    --success-green: #28A745;       /* Clinical Success */
    align-items: center;
    min-height: 90px;
    --text-primary: #1A1A1A;        /* Deep Text */
    --text-secondary: #5A6C7D;      /* Muted Medical */
    --background-light: #F8FAFB;    /* Clean Clinical */
    --background-white: #FFFFFF;
    --border-subtle: #E1E8ED;       /* Soft Medical Border */
    --shadow-soft: 0 2px 12px rgba(11, 77, 107, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: var(--background-white);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 150px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative;
}

nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--secondary-health);
}

/* Dropdown Navigation */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--background-white);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 200px;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid var(--border-subtle);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: var(--background-light);
    color: var(--secondary-health);
}

/* Healthcare Hero Section */
.healthcare-hero {
    background: linear-gradient(135deg, var(--primary-health) 0%, var(--secondary-health) 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.healthcare-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.healthcare-hero .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-primary {
    background: var(--ember-fire);
    color: white;
    border: 2px solid var(--ember-fire);
}

.cta-primary:hover {
    background: var(--primary-health);
    color: #fff;
}

.cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-secondary:hover {
    background: white;
    color: var(--primary-health);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.healthcare-icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.healthcare-icon {
    font-size: 3rem;
    opacity: 0.8;
    animation: float 3s ease-in-out infinite;
}

.healthcare-icon:nth-child(2) {
    animation-delay: 0.5s;
}

.healthcare-icon:nth-child(3) {
    animation-delay: 1s;
}

.healthcare-icon:nth-child(4) {
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--background-white);
}

.about-section h2 {
    font-size: 2.5rem;
    color: var(--primary-health);
    text-align: center;
    margin-bottom: 1.5rem;
}

.intro-text {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: var(--background-light);
    border: 1px solid var(--border-subtle);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-health);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Ember EMR Showcase */
.ember-showcase {
    padding: 80px 0;
    background: var(--background-light);
}

.ember-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ember-header h2 {
    font-size: 2.5rem;
    color: var(--primary-health);
    margin-bottom: 1rem;
}

.ember-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.ember-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.ember-feature {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

.ember-feature:hover {
    transform: translateY(-5px);
}

.ember-feature .feature-icon {
    color: var(--ember-fire);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.ember-feature h3 {
    color: var(--primary-health);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.ember-cta {
    text-align: center;
}

/* Solutions Section */
.solutions-section {
    padding: 80px 0;
    background: var(--background-white);
}

.solutions-section h2 {
    font-size: 2.5rem;
    color: var(--primary-health);
    text-align: center;
    margin-bottom: 3rem;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    border: 1px solid var(--border-subtle);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
    color: var(--text-primary);
}

.solution-icon {
    color: var(--accent-health);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.solution-card h3 {
    color: var(--primary-health);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Global Section */
.global-section {
    padding: 80px 0;
    background: var(--background-light);
}

.global-section h2 {
    font-size: 2.5rem;
    color: var(--primary-health);
    text-align: center;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.global-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.global-card {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

.global-card:hover {
    transform: translateY(-5px);
}

.global-card h3 {
    color: var(--primary-health);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.global-card h3 i {
    color: var(--accent-health);
}

/* Product Page Styles */
.product-hero {
    background: linear-gradient(135deg, var(--primary-health) 0%, var(--secondary-health) 100%);
    color: white;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.product-hero .hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.product-hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    color: white;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-health);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat-highlight {
    text-align: center;
}

.stat-highlight .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--ember-fire);
}

.stat-highlight .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.product-preview {
    text-align: center;
    padding: 2rem;
}

.product-preview i {
    font-size: 4rem;
    color: var(--ember-fire);
    margin-bottom: 1rem;
}

.preview-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.highlight-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: var(--background-white);
}

.features-section h2 {
    font-size: 2.8rem;
    color: var(--primary-health);
    text-align: center;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}@media (min-width: 1400px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none; /* Simple responsive nav for now */
    }
}

.feature-card {
    background: var(--background-light);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(11, 77, 107, 0.15);
}

.feature-icon {
    color: var(--ember-fire);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--primary-health);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.feature-details {
    list-style: none;
    margin-top: 1rem;
}

.feature-details li {
    padding: 0.3rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.feature-details li:before {
    content: "✓";
    color: var(--success-green);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Portal Showcase */
.portal-showcase {
    padding: 100px 0;
    background: var(--background-light);
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.portal-features {
    margin-top: 2rem;
}

.portal-feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.portal-feature i {
    color: var(--accent-health);
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.portal-feature h4 {
    color: var(--primary-health);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.device-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-direction: column;
}

.phone-mockup, .tablet-mockup {
    text-align: center;
    padding: 1.5rem;
    background: var(--background-white);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.phone-mockup i, .tablet-mockup i {
    font-size: 3rem;
    color: var(--secondary-health);
    margin-bottom: 0.5rem;
}

/* Implementations Section */
.implementations-section {
    padding: 100px 0;
    background: var(--background-white);
}

.implementations-section h2 {
    font-size: 2.8rem;
    color: var(--primary-health);
    text-align: center;
    margin-bottom: 1rem;
}

.implementations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.implementation-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.implementation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(11, 77, 107, 0.15);
}

.country-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.country-header i {
    color: var(--accent-health);
    font-size: 1.5rem;
}

.country-header h3 {
    color: var(--primary-health);
    font-size: 1.4rem;
}

.implementation-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.impl-stat {
    text-align: center;
}

.impl-stat .stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-health);
}

.impl-stat .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.key-features {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: var(--accent-health);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Technical Section */
.technical-section {
    padding: 100px 0;
    background: var(--background-light);
}

.technical-section h2 {
    font-size: 2.8rem;
    color: var(--primary-health);
    text-align: center;
    margin-bottom: 1rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-category {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.tech-category h3 {
    color: var(--primary-health);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.tech-category h3 i {
    color: var(--accent-health);
}

.tech-list {
    list-style: none;
}

.tech-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.tech-list li:last-child {
    border-bottom: none;
}

.tech-list li:before {
    content: "▸";
    color: var(--secondary-health);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--primary-health);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.cta-tertiary {
    padding: 1rem 2rem;
    background: transparent;
    color: white;
    text-decoration: none;
    border: 2px solid white;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-tertiary:hover {
    background: white;
    color: var(--primary-health);
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

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

.trust-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--ember-fire);
    margin-bottom: 0.5rem;
}

.trust-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--primary-health);
    color: white;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-button {
    padding: 1rem 2rem;
    background: var(--ember-fire);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-button:hover {
    background: var(--primary-health);
    border: 2px solid var(--primary-health);
    color: #fff;
}

.contact-button.secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.contact-button.secondary:hover {
    background: white;
    color: var(--primary-health);
    border-color: white;
}

/* Footer */
footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: var(--secondary-health);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #ccc;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-health);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

@media (min-width: 1400px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    
    nav ul {
        display: none; /* Simple responsive nav for now */
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .healthcare-hero h1 {
        font-size: 2.5rem;
    }
    
    .healthcare-hero .lead {
        font-size: 1.1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ember-features {
        grid-template-columns: 1fr;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .global-grid {
        grid-template-columns: 1fr;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav {
        flex-direction: column;
        padding: 1rem;
    }
    
    .contact-options {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
}