:root {
    --primary: #14457B;
    --primary-light: #1a5699;
    --primary-dark: #0d2d4f;
    --secondary: #AF0100;
    --success: #059669;
    --border-radius: 12px;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f9fa;
}

.sidebar {
    width: 280px;
    background: #fff;
    position: fixed;
    height: 100vh;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    z-index: 1000;
}

.main-content {
    margin-left: 280px;
    padding: 20px 30px;
}

.top-navbar {
    background: var(--primary);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.nav-link {
    color: #6c757d;
    padding: 12px 20px;
    margin: 4px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
}

.nav-link:hover, .nav-link.active {
    background: var(--primary-light);
    color: #fff;
}

.nav-link i {
    font-size: 1.4rem;
}

.stat-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
}

.activity-timeline {
    position: relative;
}

.activity-item {
    padding: 16px;
    border-left: 2px solid var(--primary);
    margin-left: 24px;
    position: relative;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 16px;
}

.activity-item::before {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    left: -7px;
    top: 24px;
}

.chart-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    height: 100%;
}
.chart-card {
background: #fff;
border-radius: var(--border-radius);
padding: 24px;
box-shadow: 0 0 15px rgba(0,0,0,0.05);
height: 400px; /* Fixed height */
position: relative; /* Add this */
overflow: hidden; /* Add this */
}

.chart-container {
position: relative;
height: 300px; /* Fixed height for the chart */
width: 100%;
}

.hover-lift {
    transition: all 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
}

.btn-icon-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 69, 123, 0.1);
    border-radius: 10px;
}

.btn-primary .btn-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
}

.btn-light {
    background: #fff;
}

.btn-light:hover {
    background: #f8f9fa;
}

.card-title {
    color: #2c3e50;
    font-weight: 600;
}

/* New styles from index.php */
.navbar {
    background: var(--primary);
    padding: 1rem 0;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff10" fill-opacity="1" d="M0,160L48,176C96,192,192,224,288,224C384,224,480,192,576,165.3C672,139,768,117,864,128C960,139,1056,181,1152,186.7C1248,192,1344,160,1392,144L1440,128L1440,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"></path></svg>');
    background-size: cover;
    background-position: center;
}

/* Feature cards */
.feature-card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    background: rgba(20, 69, 123, 0.1);
    color: var(--primary);
}

/* Stats section */
.stats-section {
    background: #f8f9fa;
    padding: 80px 0;
}

/* Button styles */
.btn-primary {
    background: var(--primary);
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* Benefits section */
.benefits-section {
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    overflow: hidden;
}

.py-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.tracking-wide {
    letter-spacing: 0.1em;
}

/* Animation keyframes */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Media queries */
@media (max-width: 991.98px) {
    .success-rate-card {
        margin-top: 2rem;
    }
}

