:root {
  --page-bg: #f9f9fb;
  --card-bg: #ffffff;
  --accent: #7048e8;
  --accent-light: #ece7ff;
  --text-dark: #1e1e25;
  --text-muted: #555;
}

/* Base styles */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--page-bg);
  color: var(--text-dark);
  line-height: 1.6;
}

/* Hero Banner */
.services-hero {
  background: linear-gradient(135deg, #eceaff, #f5f3ff);
  padding: 40px 24px;
  text-align: center;
}

.services-hero h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.services-hero p {
  font-size: 18px;
  color: var(--text-muted);
}

/* Pricing Section */
.pricing {
  padding: 80px 24px;
  background-color: #f3f0ff;
  text-align: center;
}

.pricing h2 {
  font-size: 28px;
  margin-bottom: 48px;
  color: var(--text-dark);
}

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  max-width: 90%;
  margin: 0 auto;
}

.pricing-card {
  background-color: var(--card-bg);
  border: 1px solid #e4e4ec;
  border-radius: 8px;
  width: 280px; /* slightly less padding */
  max-width: 280px;    /* fixed, smaller size instead of percentage */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease;
}


.pricing-card:hover {
  transform: translateY(-6px);
}

.pricing-card.highlight {
  border: 2px solid var(--accent);
}

.pricing-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--accent);
}

.price {
  font-size: 32px;
  font-weight: 700;
  margin: 16px 0;
  color: var(--text-dark);
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 15px;
}

.pricing-card ul li {
  margin-bottom: 8px;
}

/* Services Section */
.services-list {
  padding: 64px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  place-items: center;
}

.service-card {
  background-color: var(--card-bg);
  border: 1px solid #e3e3e9;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease;
  max-width: 280px;
  width: 100%;
  margin: 0 auto;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card h2 {
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* About Section */
.about-snippet {
  background-color: #f3f0ff;
  padding: 64px 24px;
  text-align: center;
}

.about-snippet h2 {
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.about-snippet p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 16px;
  color: var(--text-muted);
}

/* CTA Section */
.services-cta {
  background-color: #f6f4fe;
  padding: 64px 24px;
  text-align: center;
}

.services-cta h2 {
  font-size: 24px;
  margin-bottom: 24px;
}

.cta {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.cta:hover {
  background-color: #8d5aff;
}

.ctabutton {
  padding-top: 10px;
}

/* Profile */
.profile-container {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-text {
  max-width: 600px;
}

.title {
  margin-top: -10px;
  font-style: italic;
  color: var(--text-muted);
}

/* Responsive Layout */
@media (max-width: 768px) {
  .services-hero h1 {
    font-size: 28px;
  }

  .about-snippet h2,
  .services-cta h2 {
    font-size: 22px;
  }

  .pricing-grid {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    max-width: 90%;
  }

  .services-list {
    padding-left: 0;
    padding-right: 0;
  }
}
