/* Global Styles */
:root {
    --primary-color: #1a5e3a;
    --primary-light: #2d6a4f;
    --primary-dark: #0f3b24;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: #f8f9fa;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-brand i {
    margin-right: 8px;
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    color: var(--text-color) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link-btn {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    font-weight: 500;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    margin-right: 1rem;
}

.hero-buttons .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.hero-buttons .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.hero-buttons .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.hero-buttons .btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(26, 94, 58, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.service-card h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.service-card p {
    color: #6c757d;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* Authentication Pages */
.auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.auth-card {
    background: var(--white);
    border-radius: 16px;
    padding: 3rem;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.auth-card h2 {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-subtitle {
    color: #6c757d;
    text-align: center;
    margin-bottom: 2rem;
}

.auth-card .form-group {
    margin-bottom: 1.5rem;
}

.auth-card label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #495057;
    margin-bottom: 0.5rem;
}

.auth-card .form-control {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

.auth-card .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 94, 58, 0.15);
}

.auth-card .btn-block {
    width: 100%;
    padding: 0.75rem;
    font-weight: 600;
    border-radius: 8px;
}

.auth-card .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.auth-card .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: #6c757d;
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.auth-copyright {
    text-align: center;
    margin-top: 2rem;
    color: #adb5bd;
    font-size: 0.85rem;
}

.forgot-password-link {
    float: right;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password-link:hover {
    text-decoration: underline;
}

/* Register Card */
.register-card {
    max-width: 500px;
}

/* Admin Dashboard */
.admin-dashboard .stat-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--white);
}

.stat-icon i {
    font-size: 28px;
}

.stat-info h3 {
    font-weight: 700;
    margin-bottom: 0;
    color: var(--primary-dark);
}

.stat-info p {
    margin-bottom: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.admin-dashboard .card {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-radius: 12px;
}

.admin-dashboard .card-header {
    background: var(--white);
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem;
    border-radius: 12px 12px 0 0;
}

.admin-dashboard .table {
    margin-bottom: 0;
}

.admin-dashboard .table th {
    font-weight: 600;
    color: #495057;
    border-top: none;
}

.admin-dashboard .badge {
    padding: 0.5rem 0.75rem;
    border-radius: 50px;
}

.admin-dashboard .btn-sm {
    padding: 0.35rem 0.65rem;
    margin: 0 0.2rem;
}

/* Footer */
footer {
    background-color: #1a1a2e;
    color: #f8f9fa;
    padding: 3rem 0 1rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.footer-section p {
    color: #adb5bd;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul a:hover {
    color: var(--white);
}

.footer-section ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: #adb5bd;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 50px 0;
        text-align: center;
    }
    
    .auth-card {
        padding: 2rem;
    }
    
    .hero-buttons .btn {
        margin-bottom: 0.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
