body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

/* ========== Navigation ========== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo img {
  width: 60px;
  height: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-links li a {
  color: black;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #ffcc00;
}

/* ========== Blog Grid / Services Cards ========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  color: #5e3ce8;
}

/* Container grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-auto-rows: auto;
  gap: 2rem;
  align-items: start; /* ensures cards align at top */
}

/* Make each card a flex column to allow stretching */
.blog-grid .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Image wrapper with fixed aspect ratio */
.banner-image {
  width: 100%;
  aspect-ratio: 16 / 9; /* maintains consistent height ratio */
  object-fit: cover;
  display: block; /* prevents inline spacing issues */
}

/* Ensure image fills its space properly */
.banner-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-8px);
}

.card .badge {
  background: #3b3be0;
  color: white;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  border-radius: 12px;
  margin: 0.8rem;
  align-self: flex-start;
}

.card h3 {
  font-size: 1.25rem;
  margin: 0.5rem 1rem 0;
  color: #333;
}

.card p,
.card ul {
  margin: 0.5rem 1rem;
  font-size: 0.9rem;
  color: #555;
}

.card a {
  margin: 1rem;
  color: #3b3be0;
  text-decoration: none;
  font-weight: bold;
}

/* Pill Styling */
.additional-services {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding: 2rem;
}

.pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 50px;
  font-weight: 500;
  color: #333;
  transition: all 0.3s ease;
}

.pill .dot {
  width: 10px;
  height: 10px;
  background: blueviolet;
  border-radius: 50%;
}
.pill:hover {
  background: #eaeaea;
  border-color: #5e3ce8;
  color: #5e3ce8;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.pill:hover,
.pill.active {
  border-color: #5e3ce8;
  color: #5e3ce8;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}

/* Process Section */
.step {
  text-align: center;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;

}

.step .number {
  background: #5e3ce8;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
    grid: 1 / 1 / auto / auto;
}

.step h4 {
  margin: 0.5rem 0;
  font-size: 1rem;
  font-weight: bold;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(to right, #5e3ce8, #b71c1c);
  color: #fff;
  text-align: center;
  padding: 4rem 2rem;
}

.cta-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.cta-btn {
  background: #fff;
  color: #5e3ce8;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 1rem;
  display: inline-block;
  transition: background 0.3s, color 0.3s;
}

.cta-btn:hover {
  background: #fcecec;
  color: #5e3ce8;
}


footer {
  background: linear-gradient(to right, #3a26d6, #b71c1c);
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.95rem;
  margin-top: 2rem;
}
footer a {
  color: #ffcc00;
  text-decoration: none;
}