:root {
    --primary-color: #20c997; /* Teal primary color */
    --secondary-color: #6c757d; /* Example secondary color */
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333333; /* Dark grey text */
    --font-family: 'Inter', sans-serif;
    --container-width: 960px;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: #fff;
    color: var(--dark-color);
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.navbar .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.navbar .logo:hover {
    text-decoration: none;
}
/* Logo styling for better proportions */
.navbar .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 6px 0;
}
.navbar .logo:hover {
    text-decoration: none;
}
.navbar .logo-img {
    height: 36px;
    width: auto;
    margin-right: 12px;
}
.navbar .logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    display: inline-block;
}

.navbar nav ul {
    display: flex;
}

.navbar nav ul li {
    margin-left: 20px;
}

.navbar nav ul li a {
    color: var(--dark-color);
    font-weight: 400;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.navbar nav ul li a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('https://via.placeholder.com/1500x600.png?text=AI+Background') no-repeat center center/cover; /* Even lighter overlay */
    color: #fff;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(90deg, #17a2b8, #20c997, #17a2b8); /* Teal gradient colors */
    background-size: 200% auto; /* Make gradient wider than text */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient-animation 5s linear infinite; /* Apply animation */
}

@keyframes gradient-animation {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

.hero-section .subtitle {
    font-size: 1.2rem;
    margin: 0 auto 2rem auto; /* Center the block horizontally */
    max-width: 600px;
    font-weight: 300;
    color: var(--text-color); /* Use dark grey text color */
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 14px 30px; /* Increased vertical padding */
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 700; /* Made font bold */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Added shadow */
    transform: translateY(0);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; /* Updated transition */
}

.cta-button:hover {
    background: #17a673; /* Darker shade of teal */
    text-decoration: none;
    transform: translateY(-2px); /* Lift button slightly */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25); /* Increase shadow */
}

/* Content Sections */
.content-section {
    padding: 60px 0;
}

.content-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-color);
}

.content-section p {
    max-width: 700px;
    margin: 0 auto 20px auto;
    text-align: center;
    font-weight: 300;
}

/* Ensure centering for the 'Who We Are' paragraph */
#about p {
    text-align: center;
}

.bg-light {
    background-color: var(--light-color);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.service-item {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.service-item p {
    font-size: 0.95rem;
    text-align: center;
    font-weight: 400;
}

/* Contact Section */
#contact p {
    font-size: 1.1rem;
}
#contact strong {
    font-weight: 600;
}
#contact a {
    font-weight: 600;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: #ccc;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer p {
    font-size: 0.9rem;
    font-weight: 300;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section .subtitle {
        font-size: 1rem;
    }
    .navbar .container {
        flex-direction: column;
    }
    .navbar nav ul {
        margin-top: 10px;
        justify-content: center;
    }
    .navbar nav ul li {
        margin: 0 10px;
    }
}