:root {
    --primary: #003087;
    --accent: #00a651;
    --dark: #002266;
    --light: #f8f9fa;
    --gray: #f1f3f5;
}

* { margin:0; padding:0; box-sizing:border-box; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

header {
    /*background: linear-gradient(135deg, var(--primary), #002266);*/
    background: linear-gradient(330deg, var(--primary), #ffffff);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

nav {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 5px;
}

.logo { font-size: 1.9rem; font-weight: bold; }

.logo img {
    max-width: 25%;
    z-index: 1100;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.hero {
    background: linear-gradient(rgba(0,48,135,0.8), rgba(0,48,135,0.8)), url('https://picsum.photos/id/1015/1920/800') center/cover;
    color: white;
    text-align: center;
    padding: 140px 20px;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
}


/* BUTTONS */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 166, 81, 0.4);
}

.container { max-width: 1300px; margin: 0 auto; padding: 2rem; }

.card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.card:hover {
    transform: translateY(-8px);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

        .services {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin: 4rem 0;
        }
        
        .card {
            background: white;
            border-radius: 8px;
            padding: 2rem;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            text-align: center;
        }
        
        footer {
            background: #002266;
            color: white;
            text-align: center;
            padding: 3rem 0;
            margin-top: 4rem;
        }
        
        /* Login Modal */
        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.6);
        }
        
        .modal-content {
            background-color: #fefefe;
            margin: 5% auto;
            padding: 30px;
            border-radius: 8px;
            width: 90%;
            max-width: 420px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.2);
        }

.section-title {
    text-align: center;
    margin: 3rem 0 2rem;
    font-size: 2.4rem;
    color: var(--primary);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* Dashboard specific */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

/* DASHBOARD SPECIFIC */
.balance-card {
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

/* TABLES */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.table th, 
.table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.table th {
    background: var(--gray);
    font-weight: 600;
}

.positive { color: #00a651; font-weight: 600; }
.negative { color: #e63939; font-weight: 600; }

/* Mobile Menu */
.mobile-menu {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #003087;
        padding: 1rem;
    }
    .nav-links.active { display: flex; }
    .mobile-menu { display: block; }
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 420px;
}

/* FOOTER */
footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 3rem 0;
    margin-top: 4rem;
}

/* RESPONSIVE - MOBILE MENU */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--primary);
        padding: 1rem 2rem;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .hero {
        padding: 100px 20px;
    }
}

/* UTILITY CLASSES */
.text-center {
    text-align: center;
}

.mt-3 { margin-top: 3rem; }
.mb-3 { margin-bottom: 3rem; }

/* Form Inputs */
input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    margin: 8px 0 20px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--accent);
}