:root {
    --primary-color: #27ae60;
    --secondary-color: #2c3e50;
    --background-color: #ecf0f1;
    --text-color: #34495e;
    --card-background: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --logo-text-color: #2c3e50;
}

[data-theme="dark"] {
    --primary-color: #2ecc71;
    --secondary-color: #ecf0f1;
    --background-color: #2c3e50;
    --text-color: #bdc3c7;
    --card-background: #34495e;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    --logo-text-color: #ecf0f1;
}

body {
    font-family: 'Roboto', 'Noto Sans Devanagari', sans-serif;
    margin: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--primary-color);
    color: white;
    padding: 1rem 0 2rem;
    text-align: center;
    border-bottom: 5px solid #219d55;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
}

.logo img {
    width: 150px;
    height: auto;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-switcher button {
    background: none;
    border: 1px solid white;
    color: white;
    padding: 0.5rem 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.lang-switcher button.active {
    background: white;
    color: var(--primary-color);
}

.theme-switcher .switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.theme-switcher .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 28px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--secondary-color);
}

input:checked + .slider:before {
    transform: translateX(22px);
}

.header-content h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
}

.header-content p {
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

main {
    padding: 2rem 0;
}

section {
    background-color: var(--card-background);
    margin-bottom: 2rem;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: background-color 0.3s;
}

h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--background-color);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s;
}

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

.card h3 {
    margin-top: 0;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

#contact a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

#contact a:hover {
    text-decoration: underline;
}

footer {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
    transition: background-color 0.3s;
}