:root {
  --primary: #2c3e50;
  --secondary: #3498db;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
}

.navbar {
  background: var(--primary);
  padding: 1rem;
}

.navbar ul {
  display: flex;
  justify-content: center;
  list-style: none;
}

.navbar a {
  color: white;
  text-decoration: none;
  padding: 1rem;
  transition: color 0.3s;
}

.navbar a:hover {
  color: var(--secondary);
}

.hero {
  background: #f8f9fa;
  padding: 4rem 2rem;
  text-align: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1rem;
}

input, textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

button {
  background: var(--secondary);
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

footer {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 2rem;
}

/* Service Cards Styling */
.service-card {
  text-align: center;
  padding: 2rem;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.service-icon {
  color: var(--secondary);
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

.service-card:hover .service-icon {
  color: var(--primary);
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}

.service-card p {
  color: #666;
  font-size: 0.95rem;
}

/* Responsive Grid Adjustments */
@media (max-width: 768px) {
  .services-grid {
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .service-card {
      padding: 1.5rem;
  }
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.btn-primary {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
}

/* Adjust button size */
.btn-consultation {
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  width: auto;
  display: inline-block;
  margin-top: 1.5rem;
}