/* OwnersPath Frontend Styles - Inspired by Level4Finance design */

:root {
    --primary: #1a3a5c;
    --primary-light: #2c5f8a;
    --accent: #28a745;
    --accent-hover: #218838;
    --dark: #1a1a2e;
    --light-bg: #f4f7fa;
    --card-shadow: 0 2px 15px rgba(0,0,0,0.08);
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
}

/* Navbar */
.navbar-ownerspath {
    background: var(--primary);
    padding: 0.8rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.navbar-ownerspath .navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.navbar-ownerspath .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    transition: color 0.2s;
}
.navbar-ownerspath .nav-link:hover {
    color: #ffffff !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #3a7bc8 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,218.7C672,235,768,245,864,234.7C960,224,1056,192,1152,176C1248,160,1344,160,1392,160L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"/></svg>') no-repeat bottom;
    background-size: cover;
}
.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}
.hero-section p.lead {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}
.btn-hero {
    background: var(--accent);
    color: white;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    transition: all 0.3s;
}
.btn-hero:hover {
    background: var(--accent-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40,167,69,0.4);
}

/* Service Cards */
.services-section {
    padding: 4rem 0;
    background: var(--light-bg);
}
.services-section h2 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.service-card {
    background: var(--white);
    border: none;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
    box-shadow: var(--card-shadow);
    height: 100%;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.service-card .icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.8rem;
}
.service-card h5 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.8rem;
}
.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Path Section */
.path-section {
    padding: 4rem 0;
    background: var(--white);
}
.path-section h2 {
    color: var(--primary);
    font-weight: 700;
}
.path-card {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
}
.path-card:hover {
    border-color: var(--primary);
    box-shadow: var(--card-shadow);
}
.path-card .step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}
.path-card h5 {
    color: var(--primary);
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}
.cta-section h2 {
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Footer */
.footer-ownerspath {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 2rem 0;
}
.footer-ownerspath a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}
.footer-ownerspath a:hover {
    color: white;
}

/* Dashboard styles (post-login) */
.dashboard-welcome {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}
.stat-card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s;
}
.stat-card:hover {
    transform: translateY(-3px);
}

/* Login Page */
.login-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
}
.login-card .card-body {
    padding: 2.5rem;
}
.btn-login {
    background: var(--primary);
    color: white;
    font-weight: 600;
    padding: 0.6rem;
    border-radius: 8px;
    border: none;
    transition: all 0.3s;
}
.btn-login:hover {
    background: var(--primary-light);
    color: white;
}
