/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Dark Mode */
body.dark-mode {
    background-color: #121212;
    color: #f0f0f0;
}

body.dark-mode .about-section {
    background-color: #1e1e1e;
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.1);
}

body.dark-mode .about-section p {
    color: #a0a0a0;
}

body.dark-mode .feature {
    background: #2a2a2a;
    box-shadow: 0px 2px 5px rgba(255, 255, 255, 0.05);
}

body.dark-mode .how-it-works li {
    background: #2a2a2a;
    box-shadow: 0px 2px 5px rgba(255, 255, 255, 0.05);
}

body.dark-mode #darkModeToggle {
    background-color: #333;
    color: #fff;
}

/* Header */
.header {
    background-color: #222;
    color: white;
    padding: 15px;
    text-align: center;
}

.header .logo {
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    color: #00c853;
}

.navigation ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.navigation li {
    display: inline;
}

.navigation a {
    text-decoration: none;
    color: white;
    font-size: 18px;
}

.navigation a:hover,
.navigation a.active {
    color: #00e676;
    border-bottom: 2px solid #00c853;
}

/* About Section */
.about-section {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.about-section h1, .about-section h2 {
    color: #00c853;
    text-align: center;
}

.about-section p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    text-align: justify;
}

/* Features Grid */
.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.feature h3 {
    color: #00c853;
    font-size: 18px;
    margin-bottom: 10px;
}

/* How It Works */
.how-it-works {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.how-it-works li {
    background: #f9f9f9;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.how-it-works li strong {
    color: #00c853;
}

/* Footer */
.footer {
    background-color: #222;
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: 30px;
}

/* Dark Mode Toggle */
#darkModeToggle {
    position: fixed;
    top: 16px;
    right: 16px;
    padding: 8px 12px;
    border-radius: 6px;
    border: none;
    background-color: #f0f0f0;
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-features {
        grid-template-columns: repeat(1, 1fr);
    }
}
