/* Healthcare Practice Loans - CSS Styles */
/* Matching BriteCap.com styling with specified color scheme */

/* CSS Variables */
:root {
    --primary-navy: #00334f;
    --accent-orange: #e7803e;
    --text-dark: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --border-color: #e1e5e9;
    --shadow-light: 0 2px 10px rgba(0, 51, 79, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 51, 79, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 51, 79, 0.2);
    --gradient-primary: linear-gradient(135deg, var(--primary-navy) 0%, #004a6b 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-orange) 0%, #d16a29 100%);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
}

.btn-secondary:hover {
    background: var(--primary-navy);
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header */
.header {
    background: white;
    box-shadow: var(--shadow-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
}

.nav-brand h2 {
    color: var(--primary-navy);
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

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

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

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

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-navy);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.hero-text,
.hero-image {
    flex: 1;
    min-width: 0;
}

.hero-title {
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-cta {
    margin-bottom: 2rem;
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
}

.hero-icon {
    font-size: 8rem;
    color: var(--primary-navy);
    opacity: 0.1;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    color: var(--accent-orange);
    font-size: 1.2rem;
}

.floating-card span {
    font-weight: 600;
    color: var(--primary-navy);
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

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

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: white;
}

.benefits .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.benefits-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto;
}

.benefit-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    background: white;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    flex: 0 0 220px;
    width: 220px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

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

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

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

.benefit-card h3 {
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Who We Help Section */
.who-we-help {
    padding: 80px 0;
    background: var(--background-light);
}

.who-we-help .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.help-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto;
}

.help-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    text-align: center;
    flex: 0 0 220px;
    width: 220px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

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

.help-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

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

.help-card h3 {
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.help-card p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.how-it-works .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.step {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step {
    flex: 1;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step h3 {
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.step p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: var(--border-color);
    margin: 0 1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--background-light);
}

.testimonials .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonials-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    overflow-x: auto;
}

.testimonial-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    text-align: left;
    flex: 0 0 320px;
    width: 320px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.testimonial-content p {
    font-style: italic;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info h4 {
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stars {
    color: var(--accent-orange);
}

/* Final CTA Section */
.final-cta {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.indicator i {
    color: var(--accent-orange);
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: var(--primary-navy);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    margin-bottom: 2rem;
    align-items: start;
    justify-content: center;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.link-group h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.link-group a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: var(--accent-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 2rem;
        box-shadow: var(--shadow-medium);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.mobile-menu-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
    }
    
    .nav-menu .btn {
        margin-top: 1rem;
        width: 100%;
    }
}

/* Header Scroll Effect */
.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Animation Classes */
.animate-in {
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        gap: 2rem;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 3rem;
    }
    
    .step-connector {
        width: 2px;
        height: 60px;
        margin: 1rem 0;
    }
    
    .trust-indicators {
        gap: 2rem;
    }
}

/* Tablet styles */
@media (max-width: 1024px) {
    .benefits-grid,
    .help-grid,
    .testimonials-grid {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .benefit-card,
    .help-card {
        flex: 0 0 200px;
        width: 200px;
    }
    
    .testimonial-card {
        flex: 0 0 280px;
        width: 280px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .benefits-grid,
    .help-grid,
    .testimonials-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .benefit-card,
    .help-card {
        flex: 0 0 250px;
        width: 250px;
        max-width: 90vw;
    }
    
    .testimonial-card {
        flex: 0 0 300px;
        width: 300px;
        max-width: 90vw;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        justify-content: center;
        justify-items: center;
    }
    
    .footer-links {
        justify-content: center;
        gap: 2rem;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .floating-card {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .benefits-grid,
    .help-grid,
    .testimonials-grid {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .benefit-card,
    .help-card,
    .testimonial-card {
        padding: 1.2rem;
        width: 100%;
        max-width: 300px;
        flex: none;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
}