/* HealthCarePathHub.com - Dark Mode Redesign */

/* CSS Variables for Dynamic Theming */
:root {
    /* Generated Palette: Deep Purple & Teal on Dark */
    --primary-main: #673AB7;
    --primary-light: #9575CD;
    --primary-dark: #512DA8;
    
    --secondary-main: #009688;
    --secondary-light: #4DB6AC;
    
    --accent-color: #FFC107; /* Amber for CTA */
    
    /* Dark Theme Backgrounds */
    --bg-body: #121212;
    --bg-surface: #1E1E1E;
    --bg-surface-alt: #252525;
    
    /* Text Colors */
    --text-primary: #E0E0E0;
    --text-secondary: #B0BEC5;
    --text-on-brand: #FFFFFF;
    
    /* Legacy Mapping for Structure Preservation */
    --primary-blue: var(--primary-main);
    --primary-green: var(--secondary-main);
    --accent-blue: var(--primary-light);
    --accent-green: var(--secondary-light);
    --light-blue: var(--bg-surface);
    --light-green: var(--bg-surface-alt);
    --text-dark: var(--text-primary);
    --text-light: var(--text-secondary);
    --white: var(--bg-body); /* Careful: Semantic meaning changed */
    --real-white: #FFFFFF;
    --light-gray: var(--bg-surface);
    --border-color: #424242;
    
    /* Visual Styles */
    --border-radius: 12px;
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --shadow-hover: 0 12px 48px 0 rgba(0, 0, 0, 0.5);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', 'Segoe UI', sans-serif; /* Updated Font */
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Rubik', sans-serif; /* Updated Font */
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }

p {
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: var(--accent-blue);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* Button Styles - Pill Shape */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-main), var(--primary-dark));
    border: none;
    color: var(--text-on-brand);
    padding: 14px 35px;
    border-radius: 50px; /* Rounded Pill */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-main));
    color: var(--text-on-brand);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-main), var(--secondary-light));
    border: none;
    color: var(--text-on-brand);
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: var(--text-on-brand);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-light);
    color: var(--primary-light);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-main);
    border-color: var(--primary-main);
    color: var(--text-on-brand);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Navigation Styles */
.navbar {
    background: rgba(18, 18, 18, 0.95); /* Glass effect dark */
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
    font-family: 'Rubik', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-light) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    margin: 0 8px;
    padding: 8px 16px !important;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
    background: rgba(255, 255, 255, 0.05);
}

.navbar-nav .nav-link.active {
    color: var(--text-on-brand) !important;
    background: linear-gradient(135deg, var(--primary-main), var(--primary-dark));
}

.dropdown-menu {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-hover);
}

.dropdown-item {
    color: var(--text-primary);
}

.dropdown-item:hover {
    background-color: var(--bg-surface-alt);
    color: var(--primary-light);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bg-body) 0%, #2c1a4d 100%); /* Deep purple gradient */
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(103, 58, 183, 0.2), transparent 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    line-height: 1.1;
}

.hero-title span {
    color: var(--primary-light);
    background: linear-gradient(to right, var(--primary-light), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Card Styles - Glass Effect */
.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-main), var(--secondary-main));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    background: var(--bg-surface-alt);
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 90px;
    height: 90px;
    background: rgba(103, 58, 183, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-light);
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary-main);
    color: var(--text-on-brand);
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1rem;
}

.service-card p {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Section Styles */
.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Trust Section */
.trust-section {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-item {
    text-align: center;
    padding: 2rem;
}

.trust-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 150, 136, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--secondary-main);
    font-size: 1.8rem;
}

/* Testimonials */
.testimonial-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    margin: 1rem;
    text-align: center;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-light);
    font-size: 1.1rem;
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: #000000;
    color: var(--text-secondary);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer h5 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer a {
    color: var(--text-secondary);
}

.footer a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: var(--text-secondary);
}

/* Form Styles */
.form-control {
    background-color: var(--bg-surface);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--border-radius);
    padding: 14px 18px;
    font-size: 1rem;
}

.form-control:focus {
    background-color: var(--bg-surface-alt);
    border-color: var(--primary-main);
    color: var(--text-primary);
    box-shadow: 0 0 0 0.25rem rgba(103, 58, 183, 0.25);
}

.form-label {
    color: var(--text-primary);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .section-padding { padding: 60px 0; }
}
