:root {
    --primary-color: #007BFF; /* Define the primary color */
}

/* Reset some default browser styles */
body, h1, h2, p {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

header {
    background-color: #007BFF;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
}

header h1 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    background-color: #eee;
    padding: 1rem 0;
}

nav li {
    margin: 0 1rem;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem; /* Increased gap for better spacing */
}

.service-item {
    background-color: #fff;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color); /* Use the primary color variable */
}

.service-item h2 {
    font-size: 1.25rem; /* Increased heading font size */
    margin-bottom: 1rem; /* Increased space between heading and content */
}

.service-item p {
    font-size: 1rem; /* Adjust content font size */
}

footer {
    text-align: center;
    padding: 2rem 0;
    background-color: #333;
    color: #fff;
}

footer p {
    margin-bottom: 0.5rem;
}

.our-services {
    background-color: #f5f5f5;
    text-align: center;
    padding: 2rem 0;
}

.our-services h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color); /* Use the primary color variable */
}

.our-services p {
    font-size: 1rem;
    color: #777;
}