:root {
    --primary-color: #1e5a96;
    --secondary-color: #2d7ab8;
    --accent-color: #4caf50;
    --warm-accent: #f39c12;
    --text-dark: #2c3e50;
    --text-light: #f8f9fa;
    --trust-blue: #0066cc;
    --calm-green: #27ae60;
    --support-purple: #8e44ad;
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: #f5f8fb;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 90, 150, 0.3);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(30, 90, 150, 0.88), rgba(45, 122, 184, 0.88)), url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    height: 85vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
    font-weight: 700;
}

.hero-section .lead {
    font-size: 1.25rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
    line-height: 1.8;
}

/* Divider */
.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    margin: 20px auto;
    border-radius: 2px;
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    background: white;
    border: 1px solid #e8f0f7;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(30, 90, 150, 0.12);
    border-color: var(--primary-color);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(30, 90, 150, 0.12), rgba(76, 175, 80, 0.12));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Process Cards */
.process-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(30, 90, 150, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border-left: 5px solid var(--accent-color);
}

.process-card:hover {
    box-shadow: 0 15px 40px rgba(30, 90, 150, 0.12);
    transform: translateY(-5px);
}

.process-number {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: bold;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(30, 90, 150, 0.25);
}

/* Case Cards */
.case-card {
    border-left: 5px solid var(--accent-color);
    transition: all 0.3s ease;
    background: white;
    border-radius: 12px;
}

.case-card:hover {
    box-shadow: 0 15px 40px rgba(30, 90, 150, 0.15);
    transform: translateY(-5px);
}

.case-card .badge {
    font-size: 0.75rem;
    padding: 8px 14px;
    font-weight: 600;
    background-color: var(--accent-color);
}

/* Compliance Cards */
.compliance-card {
    background: white;
    border-radius: 12px;
    border-top: 4px solid var(--accent-color);
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(30, 90, 150, 0.08);
}

.compliance-card:hover {
    box-shadow: 0 15px 40px rgba(30, 90, 150, 0.12);
    transform: translateY(-5px);
}

.compliance-card ul li {
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Insurance Partners Section */
.insurance-partner {
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(30, 90, 150, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.insurance-partner:hover {
    border-color: var(--accent-color);
    box-shadow: 0 12px 35px rgba(30, 90, 150, 0.12);
    transform: translateY(-5px);
}

.insurance-partner-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Reassurance Section */
.reassurance-box {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.08), rgba(39, 174, 96, 0.08));
    border-left: 5px solid var(--accent-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}

.reassurance-box h5 {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.reassurance-box p {
    color: var(--text-dark);
    margin-bottom: 0;
}

/* Support & Guidance Section */
.support-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(30, 90, 150, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--support-purple);
}

.support-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(30, 90, 150, 0.12);
}

.support-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(142, 68, 173, 0.1), rgba(155, 89, 182, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: var(--support-purple);
}

/* Login Container */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e9f7 100%);
}

.login-card {
    width: 100%;
    max-width: 420px;
    padding: 45px;
    border-radius: 15px;
    background: white;
    box-shadow: 0 15px 50px rgba(30, 90, 150, 0.15);
}

.login-card form input,
.login-card form textarea {
    border-radius: 8px;
    border: 1px solid #d4e9f7;
    padding: 12px 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.login-card form input:focus,
.login-card form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.3rem rgba(30, 90, 150, 0.15);
}

/* Dashboard Sidebar */
.dashboard-sidebar {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 100vh;
    color: white;
}

.dashboard-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 15px 20px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dashboard-sidebar .nav-link:hover,
.dashboard-sidebar .nav-link.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.15);
    border-left-color: var(--accent-color);
}

/* Status Badges */
.status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-active {
    background-color: #d1ecf1;
    color: #0c5460;
}

.status-recovered {
    background-color: #d4edda;
    color: #155724;
}

.status-closed {
    background-color: #e2e3e5;
    color: #383d41;
}

/* Navbar Enhancements */
.navbar {
    box-shadow: 0 2px 15px rgba(30, 90, 150, 0.1);
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.navbar-brand {
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    font-weight: 700;
}

/* Section Spacing */
section {
    padding-top: 70px;
    padding-bottom: 70px;
}

/* Background Colors */
.bg-light {
    background-color: #f0f6fb !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
        min-height: 400px;
    }

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

    .process-card {
        margin-bottom: 20px;
    }

    .login-card {
        padding: 30px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.service-card,
.case-card,
.compliance-card,
.support-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Alert Customization */
.alert {
    border-radius: 10px;
    border: none;
    background-color: #d1ecf1;
    color: #0c5460;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

/* Table Styling */
table {
    font-size: 0.95rem;
}

table thead {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
}

table tbody tr:hover {
    background-color: #f0f6fb;
}

/* Footer */
footer {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-top: 4px solid var(--accent-color);
}

footer a:hover {
    color: var(--accent-color) !important;
}

/* Text Styling */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
}

.lead {
    color: #555;
    font-weight: 500;
}

/* Trust Indicators */
.trust-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(39, 174, 96, 0.1));
    border-left: 4px solid var(--accent-color);
    padding: 12px 16px;
    border-radius: 6px;
    margin: 10px 0;
    font-weight: 600;
    color: var(--accent-color);
}
