/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    border-bottom: 2px solid var(--ghana-gold);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-text h1 {
    font-size: 1.5rem;
    color: var(--gray-800);
    margin: 0;
}

.brand-text p {
    font-size: 0.75rem;
    color: var(--gray-600);
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-buttons {
    display: flex;
    gap: 10px;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-700);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
}

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

.hero-text {
    text-align: center;
}

.hero-text h1 {
    font-size: 3rem;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat {
    padding: 1rem;
}

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

.stat:nth-child(2) .stat-number {
    color: var(--ghana-gold);
}

.stat:nth-child(3) .stat-number {
    color: var(--danger-color);
}

.stat-label {
    color: var(--gray-600);
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--gray-100);
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--gray-600);
}

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

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

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

.service-card:nth-child(2) {
    border-left-color: var(--ghana-gold);
}

.service-card:nth-child(3) {
    border-left-color: var(--danger-color);
}

.service-card:nth-child(4) {
    border-left-color: var(--info-color);
}

.service-card:nth-child(5) {
    border-left-color: #9b59b6;
}

.service-card:nth-child(6) {
    border-left-color: var(--warning-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-card:nth-child(2) .service-icon {
    background-color: var(--ghana-gold);
}

.service-card:nth-child(3) .service-icon {
    background-color: var(--danger-color);
}

.service-card:nth-child(4) .service-icon {
    background-color: var(--info-color);
}

.service-card:nth-child(5) .service-icon {
    background-color: #9b59b6;
}

.service-card:nth-child(6) .service-icon {
    background-color: var(--warning-color);
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.service-card .btn {
    margin-top: 1rem;
    width: 100%;
}

.service-price {
    background-color: var(--gray-100);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-block;
}

/* Doctors Section */
.doctors {
    padding: 5rem 0;
    background-color: var(--white);
}

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

.doctor-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

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

.doctor-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.doctor-card:nth-child(2) .doctor-avatar {
    background: linear-gradient(135deg, var(--info-color), #2980b9);
}

.doctor-card:nth-child(3) .doctor-avatar {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.doctor-card h3 {
    font-size: 1.25rem;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.specialty {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.stars {
    color: var(--ghana-gold);
    font-size: 0.875rem;
}

.doctor-info {
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.info-item i {
    color: var(--primary-color);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.testimonials .section-header h2,
.testimonials .section-header p {
    color: var(--white);
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-stars {
    margin-bottom: 1.5rem;
    color: var(--ghana-gold);
    font-size: 1.25rem;
}

.testimonial blockquote {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial-author {
    font-size: 1rem;
}

.testimonial-author strong {
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    opacity: 0.8;
    font-size: 0.875rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--white);
}

/* Health Metrics Preview Section */
.health-preview {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fbff 0%, #e6f3ff 100%);
}

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

.metric-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(0, 102, 204, 0.1);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.2);
    border-color: #0066cc;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #0066cc 0%, #00a86b 100%);
}

.metric-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0066cc 0%, #00a86b 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.metric-icon i {
    color: white;
    font-size: 1.5rem;
}

.metric-content h3 {
    font-size: 1.125rem;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #0066cc, #00a86b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    font-family: 'Inter', monospace;
}

.metric-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.metric-status.normal {
    color: #38a169;
}

.metric-status.warning {
    color: #ed8936;
}

.metric-status.critical {
    color: #e53e3e;
}

.metric-status i {
    font-size: 1rem;
}

.preview-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background-color: #fffbf0;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

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

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

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

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

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

.footer-section ul li a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-section p {
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-info {
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-400);
}

.contact-item i {
    color: var(--primary-color);
    width: 16px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gray-700);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 1rem;
    text-align: center;
    color: var(--gray-400);
}

/* Mobile Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-brand {
        justify-content: center;
        font-size: 1.125rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-section ul li {
        margin-bottom: 0.375rem;
    }
    
    .contact-item {
        justify-content: center;
        font-size: 0.875rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 0.75rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
    
    .footer-bottom {
        font-size: 0.875rem;
        padding-top: 0.75rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1.5rem 0 0.75rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .footer-section {
        padding: 0 1rem;
    }
    
    .footer-brand {
        font-size: 1rem;
        gap: 8px;
    }
    
    .footer-section h4 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-section p {
        font-size: 0.875rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .footer-section ul li {
        margin-bottom: 0.25rem;
    }
    
    .footer-section ul li a {
        font-size: 0.875rem;
    }
    
    .contact-item {
        font-size: 0.8rem;
        margin-bottom: 0.375rem;
    }
    
    .contact-item i {
        width: 14px;
        font-size: 0.8rem;
    }
    
    .social-links {
        gap: 0.5rem;
        margin-top: 0.75rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
        line-height: 1.4;
        padding: 0.5rem 1rem 0;
    }
}

/* Extra small devices */
@media (max-width: 320px) {
    .footer-section {
        padding: 0 0.5rem;
    }
    
    .footer-brand {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-section h4 {
        font-size: 0.9rem;
    }
    
    .footer-section p {
        font-size: 0.8rem;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }
    
    .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-bottom {
        font-size: 0.75rem;
        padding: 0.5rem 0.5rem 0;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--box-shadow);
        flex-direction: column;
        padding: 1rem 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .nav-buttons {
        display: none;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .metrics-preview {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .preview-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .service-card,
    .doctor-card {
        padding: 1.5rem;
    }

    .testimonial {
        padding: 1.5rem;
    }

    .testimonial blockquote {
        font-size: 1rem;
    }
    
    .metrics-preview {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .metric-card {
        padding: 1.5rem;
    }
    
    .metric-value {
        font-size: 1.5rem;
    }
}
/* Fix for invisible metric values */
.metric-value {
    color: #0066cc !important;
    font-weight: 700 !important;
    font-size: 28px !important;
    font-family: 'Inter', monospace !important;
    -webkit-text-fill-color: #0066cc !important;
    background: none !important;
}

.metric-content h3 {
    color: #718096 !important;
}

.metric-status.normal {
    color: #38a169 !important;
}

.metric-status.stable {
    color: #ed8936 !important;
}

.metric-trend.up {
    color: #38a169 !important;
}

.metric-trend.down {
    color: #e53e3e !important;
}

.metric-trend.stable {
    color: #718096 !important;
}

.section-header h2 {
    color: #0066cc !important;
    -webkit-text-fill-color: #0066cc !important;
    background: none !important;
}