:root {
    --bg-color: #f4f4f4;
    --text-color: #333;
    --accent-color: #ff4d6d;
    --card-bg: #ffffff;
}

.dark-mode {
    --bg-color: #1a1a1a;
    --text-color: #f4f4f4;
    --accent-color: #ff4d6d;
    --card-bg: #2a2a2a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.3s, color 0.3s;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: bold;
}

/* Navbar */

.navbar {
    background-color: var(--bg-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

.navbar-nav {
    display: flex;
    list-style-type: none;
}

.nav-item {
    margin-left: 1.5rem;
}

.nav-link {
    font-size: 1.3rem;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--accent-color);
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.toggle-slider {
    margin-top: 5px;
    position: relative;
    width: 40px;
    height: 20px;
    background-color: #ccc;
    border-radius: 20px;
    transition: 0.3s;
}

.toggle-slider:before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    left: 1px;
    top: 1px;
    background-color: white;
    transition: 0.3s;
}

.dark-mode .toggle-slider {
    background-color: var(--accent-color);
}

.dark-mode .toggle-slider:before {
    transform: translateX(20px);
}


/* Hero Section */
.hero {
    padding: 150px 0 100px;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-color), var(--accent-color));
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 10rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-color);
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 80px 0;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--text-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-color);
}

.service-card h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.service-card h3 a:hover {
    color: var(--accent-color);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--card-bg);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--text-color);
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-color);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--text-color);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.testimonial-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.testimonial-card p {
    margin-bottom: 20px;
    color: var(--text-color);
}

.testimonial-card .author {
    font-weight: bold;
    color: var(--accent-color);
}

.testimonial-card .rating {
    color: gold;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--text-color);
}

.contact form {
    max-width: 500px;
    margin: 0 auto;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.contact textarea {
    height: 150px;
}

.contact button {
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 4px;
}

.contact button:hover {
    background-color: #e63e5c;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-icons a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-color);
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    color: var(--text-color);
    background-color: var(--bg-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .services h2,
    .about h2,
    .testimonials h2,
    .contact h2 {
        font-size: 2rem;
    }

    .navbar-nav {
        display: none;
    }

    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-brand {
        margin-bottom: 1rem;
    }

    .theme-toggle {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

    .services-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .contact form {
        width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.3rem;
    }

    .services-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

