body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f4f7fa;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: background 0.3s, color 0.3s;
}

header {
    background: #0077ff;
    color: white;
    text-align: center;
    padding: 1rem;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column; 
    gap: 20px;
    padding: 20px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #005fcc;
    color: white;
    padding: 10px 20px;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.dark-toggle {
    border: none;
    background: white;
    color: #005fcc;
    border-radius: 6px;
    padding: 5px 10px;
    cursor: pointer;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.card h2 {
    margin-bottom: 1rem;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-top: 8px;
    font-size: 16px;
}

button {
    padding: 10px 16px;
    margin-top: 10px;
    border: none;
    border-radius: 8px;
    background: #0077ff;
    color: white;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    background: #005fcc;
}

.progress {
    width: 100%;
    background: #eee;
    border-radius: 8px;
    margin: 10px 0;
    height: 20px;
}

#progressBar {
    height: 100%;
    background: #0077ff;
    border-radius: 8px;
    width: 100%;
    transition: width 0.3s;
}

.services {
    text-align: left;
    margin: 10px 0;
}

.service {
    margin: 8px 0;
    padding: 8px;
    border-radius: 6px;
    background: #f1f1f1;
    transition: background 0.3s;
}

footer {
    text-align: center;
    padding: 1rem;
    background: #eee;
    font-size: 14px;
}

body.dark {
    background: #1a1a1a;
    color: #eee;
}

body.dark header {
    background: #222;
}

body.dark .navbar {
    background: #333;
}

body.dark .card {
    background: #2a2a2a;
    color: #eee;
}

body.dark footer {
    background: #222;
}

body.dark .service {
    background: #2a2a2a;
    color: #eee;
}