:root {
  --primary-color: #28A745; /* Green */
  --accent-color: #FF9800;  /* Orange */
  --background-color: #F9F9F9;
  --text-color: #333;
  --nav-height: 60px;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.5;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  padding: 0 1rem;
  min-height: var(--nav-height);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  flex-wrap: wrap;
}

.navbar a {
  color: var(--text-color);
  text-decoration: none;
  margin: 0 0.75rem;
  font-weight: bold;
  transition: color 0.3s;
  font-size: clamp(0.9rem, 1vw, 1.1rem);
}

.navbar a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: clamp(60px, 10vw, 120px) 20px;
  background: var(--accent-color);
  color: white;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 2rem;
}

.cta-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.9rem 2rem;
  font-size: clamp(0.9rem, 1vw, 1.1rem);
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: background-color 0.3s, transform 0.3s;
}

.cta-btn:hover {
  background-color: #1e7e34;
  transform: translateY(-2px);
}

/* About Section */
.about-preview {
  padding: clamp(40px, 8vw, 80px) 20px;
  text-align: center;
  background: #fff;
  border-radius: 8px;
  margin: 40px auto;
  max-width: 900px;
}

.about-preview h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.about-preview p {
  max-width: 60ch;
  margin: 0 auto 20px auto;
}

.learn-more {
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

.learn-more:hover {
  color: #1e7e34;
}

/* Services Section */
.services {
  padding: clamp(40px, 8vw, 80px) 20px;
  text-align: center;
  
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services h2 {
  margin-bottom: 2rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.service-card {
  background-color: #221f1f;
  padding: 2vh;
  box-shadow: 0 4px 6px rgba(224, 8, 8, 0.1);
  border-radius: 8px;
  text-align: center;
  align-items: center;
}

.service-card h3 {
  margin-top: 0;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.service-card p {
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.6;
}

/* Footer */
footer {
  background-color: #ffffff;
  text-align: center;
  padding: 20px;
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}

footer a {
  margin: 0 10px;
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: var(--primary-color);
}
.services-preview ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* centers the items */
  gap: 1.5rem;
}

.services-preview li {
  background-color: #fff;
  padding: 20px;
  max-width: 280px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center;
}
#service-title {
  text-align: center;
  align-self: center;
  margin: 40px 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--primary-color);
}
/* Center the Our Services heading */
#service-title, 
.services h2 {
  text-align: center;
  margin-bottom: 2.5rem; /* more breathing space */
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  color: var(--primary-color);
  font-weight: bold;
}

/* Give space before the Explore link */
.services .learn-more {
  display: inline-block;
  margin-top: 2.5rem; /* separates from cards */
  padding: 0.8rem 1.5rem;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  font-size: 1rem;
}

.services .learn-more:hover {
  background-color: var(--primary-color);
  color: #fff;
}
