:root {
    /* Brand Colors based on premium medical aesthetic */
    --primary: #0a2540; /* Deep Navy */
    --primary-light: #163c63;
    --secondary: #0081a7; /* Medical Teal */
    --accent: #fdf0d5; /* Soft Warm Accent */
    
    /* Neutrals */
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --text-main: #334155;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

.text-center { text-align: center; }
.text-white { color: var(--white); }

/* Buttons */
.btn-primary, .btn-primary-small, .btn-secondary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-primary:hover {
    background-color: #006b8a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary-small {
    background-color: var(--secondary);
    color: var(--white);
    padding: 10px 20px;
    font-size: 0.95rem;
}

.btn-primary-small:hover {
    background-color: #006b8a;
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary);
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-secondary:hover {
    background-color: var(--bg-color);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 14px 30px;
    font-size: 1.1rem;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.15rem;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

/* Add a filter to make the logo white when header is transparent, 
   assuming the logo is dark. If the logo is already colored, we might skip this.
   I will use a trick: brightness filter. */
#navbar:not(.scrolled) .logo img {
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn-primary-small) {
    font-weight: 500;
    color: var(--white);
    font-size: 1rem;
}

#navbar.scrolled .nav-links a:not(.btn-primary-small) {
    color: var(--text-main);
}

.nav-links a:not(.btn-primary-small):hover {
    color: var(--secondary);
}

.mobile-menu-btn {
    display: none;
    color: var(--white);
    cursor: pointer;
}

#navbar.scrolled .mobile-menu-btn {
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background-image: url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 37, 64, 0.9) 0%, rgba(10, 37, 64, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 24px;
    margin: 0 auto;
    text-align: center;
}

.hero .badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: var(--accent);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero h1 {
    color: var(--white);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-inline: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 24px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 48px;
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary);
    color: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.experience-badge .number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 8px;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.check-list {
    list-style: none;
    margin-top: 32px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.1rem;
    font-weight: 500;
}

.check-list i {
    color: var(--secondary);
}

/* Benefits Section */
.benefits {
    background-color: var(--primary);
    color: var(--white);
}

.benefits .section-desc {
    margin: 0 auto 60px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(0, 129, 167, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--secondary);
}

.benefit-card h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Services / Timeline */
.services {
    background-color: var(--bg-color);
}

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

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    height: 100%;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 48px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    font-family: var(--font-heading);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.timeline-content {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.timeline-content h4 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.timeline-content p {
    color: var(--text-muted);
}

/* CTA Section */
.cta {
    padding: 0;
}

.cta-container {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 24px;
    padding: 80px 40px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(50px);
    position: relative;
    z-index: 10;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 32px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Footer */
footer {
    background-color: var(--bg-color);
    padding-top: 150px;
    padding-bottom: 40px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 24px;
    /* Since background is light, we don't invert the logo here */
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: var(--primary);
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .about-grid { grid-template-columns: 1fr; }
    .about-image { max-width: 600px; margin: 0 auto; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .cta-actions { flex-direction: column; }
    .contact-info { flex-direction: column; gap: 16px; }
    .benefits-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    
    .cta-container {
        padding: 40px 24px;
        transform: translateY(0);
        border-radius: 0;
    }
    
    footer {
        padding-top: 60px;
    }
}
