/* styles.css */

:root {
    --background-color: #f4f4f4;
    --text-color: #333;
    --header-background: #35424a;
    --button-background: #35424a;
    --button-hover-background: #2c3e50;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
}

/* Dark mode styles */
body.dark-mode {
    --background-color: #1a1a1a;
    --text-color: #f4f4f4;
    --header-background: #222;
    --button-background: #444;
    --button-hover-background: #555;
}

header {
    background: var(--header-background);
    color: #ffffff;
    padding: 10px 0;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
}

h1, h2 {
    color: #35424a;
}

main {
    padding: 20px;
}

section {
    background: #ffffff;
    margin: 20px 0;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

footer {
    text-align: center;
    padding: 10px 0;
    background: #35424a;
    color: #ffffff;
    position: relative;
    bottom: 0;
    width: 100%;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin: 10px 0 5px;
}

input, textarea {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    padding: 10px;
    background: var(--button-background);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
    background: var(--button-hover-background);
    transform: scale(1.05);
}

section#home {
    text-align: center;
}

section#home h1 {
    margin-bottom: 20px;
}

section#home p {
    margin-bottom: 20px;
}

section#home .featured-services {
    margin-bottom: 20px;
}

section#home .featured-services h2 {
    margin-bottom: 10px;
}

section#home .featured-services ul {
    list-style: none;
    padding: 0;
}

section#home .featured-services ul li {
    margin-bottom: 5px;
}

section#home .latest-articles {
    margin-bottom: 20px;
}

section#home .latest-articles h2 {
    margin-bottom: 10px;
}

section#home .latest-articles ul {
    list-style: none;
    padding: 0;
}

section#home .latest-articles ul li {
    margin-bottom: 5px;
}

section#home .mind-development {
    margin-bottom: 20px;
}

section#home .mind-development h2 {
    margin-bottom: 10px;
}

section#home .mind-development p {
    margin-bottom: 5px;
}

.service-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

html {
    scroll-behavior: smooth;
}

.book-cover {
    width: 100px;
    height: auto;
    border-radius: 5px;
    margin-left: 10px;
    transition: transform 0.2s ease;
}

.book-cover:hover {
    transform: scale(1.1);
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    margin: 0 10px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #2c3e50;
}