:root {
    --bg: #fff;
    --text: #111;
    --primary: #111;
    --secondary: #fff;
    --accent: #222;
    --border: #ccc;
    --hover: #444;
    --card: #fff;
    --shadow: rgba(0,0,0,0.07);
}
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}
header {
    background: var(--primary);
    color: var(--secondary);
    padding: 0;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem;
}
.logo {
    font-size: 1.7rem;
    font-weight: bold;
    letter-spacing: 2px;
}
#theme-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    margin-right: 1rem;
    color: var(--secondary);
    transition: color 0.2s;
}
#theme-toggle:hover {
    color: var(--hover);
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}
.nav-links li a {
    color: var(--secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}
.nav-links li a:hover {
    color: var(--hover);
}
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.menu-toggle span {
    height: 3px;
    width: 25px;
    background: var(--secondary);
    margin: 4px 0;
    border-radius: 2px;
}
main {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 1rem;
}
section {
    margin-bottom: 2.5rem;
}
h1, h2 {
    color: var(--primary);
}
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.service-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    background: var(--card);
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow);
    padding: 1.5rem;
    border: 1px solid var(--border);
}
form {
    background: var(--card);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow);
    max-width: 400px;
    border: 1px solid var(--border);
}
label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
input, textarea {
    background: var(--secondary);
    color: var(--text);
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 1rem;
}
button {
    background: var(--primary);
    color: var(--secondary);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}
button:hover {
    background: var(--hover);
}
.waiting-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.waiting-list form {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.waiting-list input[type="email"] {
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 1rem;
}
.waiting-list button {
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    border: none;
    background: var(--primary);
    color: var(--secondary);
    font-size: 1rem;
    cursor: pointer;
}
@media (max-width: 800px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-links {
        flex-direction: column;
        width: 100%;
        display: none;
        gap: 1rem;
        margin-top: 1rem;
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: flex;
    }
    .services-list {
        flex-direction: column;
            .blogs-list {
        flex-direction: column;
        gap: 1.2rem;
    }
    main {
        padding: 0.5rem;
    }
    .service-card,
    .blog-card {
        min-width: 0;
        max-width: 100%;
    }
    .waiting-list form {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    }
}
/* Dark theme */
body[data-theme="dark"] {
    --bg: #111;
    --text: #f5f5f5;
    --primary: #fff;
    --secondary: #111;
    --accent: #eee;
    --border: #333;
    --hover: #fff;
    --card: #181818;
    --shadow: rgba(255,255,255,0.03);
    

}

.blogs-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.blog-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}
.blog-card a {
    display: block;
    color: inherit;
    text-decoration: none;
    padding: 1.2rem 1rem 1rem 1rem;
    height: 100%;
}
.blog-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: var(--primary);
}
.blog-card p {
    margin: 0 0 0.7rem 0;
    color: var(--text);
    font-size: 1rem;
}
.blog-card .author {
    font-size: 0.95rem;
    color: var(--accent);
}
.blog-card:hover {
    box-shadow: 0 4px 16px var(--shadow);
    transform: translateY(-4px) scale(1.02);
}
@media (max-width: 800px) {
    .blogs-list {
        flex-direction: column;
        gap: 1.2rem;
    }
}