/* Healthcare IT Website Design System */
/* Colors: White, Teal, Blue, Dark Gray */
/* Fonts: Poppins, Inter, Roboto */

:root {
    /* Custom variables */
    --bg-secondary: #f5f5f5;
    --glass-border: rgba(0, 0, 0, 0.1);
    --accent-primary: #008080;
    --accent-danger: #dc3545;
    --accent-success: #28a745;
    --bg-tertiary: #e0e0e0;
    --text-muted: #666;

    /* Color Palette */
    --primary-color: #008080;
    --secondary-color: #0056b3;
    --accent-color: #20c997;
    --dark-gray: #333333;
    --light-gray: #f4f6f8;
    --white: #ffffff;
    --text-color: #444444;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-speed: 0.3s;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-lg) 0;
}

.text-center {
    text-align: center;
}

.grid {
    display: grid;
    gap: var(--spacing-md);
}

.flex {
    display: flex;
    gap: var(--spacing-sm);
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
    border: none;
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #006666;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    justify-content: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--dark-gray);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-bottom: var(--spacing-lg);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: #cccccc;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    color: #999999;
    font-size: 0.9rem;
}

/* Features Grid */
.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.features-grid .card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Solutions Section */
.solutions-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

/* Testimonials */
.testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Blog Article Styles */
.article-header {
    background-color: var(--light-gray);
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.category-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.content {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-sm);
}

.content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--dark-gray);
}

.content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content ul,
.content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
    list-style: disc;
}

.content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.cta-box {
    background-color: var(--light-gray);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    margin: 3rem 0;
}

.cta-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 1rem;
    transition: all var(--transition-speed);
}

.cta-btn:hover {
    background-color: #006666;
    transform: translateY(-2px);
}

.highlight-box {
    background-color: var(--light-gray);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-md);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section {
        padding: var(--spacing-md) 0;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .solution-image {
        order: -1;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}