
/* ================================
   Stats Section
================================ */
.stats {
  background: var(--dark);
  color: white;
  text-align: center;
}

.stats-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.stats-item h2 {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 10px;

  /* Reserve space to prevent shifts */
  min-height: 3.6rem; /* matches font-size * line-height */
}

.stats-item p {
  font-size: 1.1rem;
  color: #e2e8f0;

  /* Reserve space to prevent shifts */
  min-height: 1.4rem; 
}

/* ================================
   Services Section
================================ */
#services {
  background: #f9fafb;
  padding: 80px 20px;
}

.services-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.services-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--dark);
}

.services-header p {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.6;
}

.services-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-card .icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f0f7ff;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.service-card p {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 15px;
  line-height: 1.6;
}

.service-card a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.service-card a:hover {
  text-decoration: underline;
}
        

/* ================================
   Portfolio Section
================================ */
/* ================================
   Portfolio Section
================================ */
#portfolio {
  background: #fff;
  padding: 80px 20px;
}

.portfolio-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.portfolio-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--dark);
}

.portfolio-header p {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.6;
}

.portfolio-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.portfolio-card {
  background: #f9fafb;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.portfolio-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary);
  font-weight: 700;
}

.portfolio-card p {
  color: #475569;
  font-size: 1rem;
}

/* ================================
   Testimonials Section
================================ */
#testimonials {
  background: #f8fafc;
}

.testimonials-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.testimonial-card p {
  color: #64748b;
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial-card h3 {
  color: var(--dark);
}

.testimonial-card span {
  display: block;
  color: #64748b;
  font-size: 0.95rem;
}

/* ================================
   Why Choose Us Section
================================ */
#why-choose-us {
  background: #ffffff;
}

.why-container {
  max-width: 1000px;
  margin: auto;
  display: grid;
  gap: 25px;
}

.why-card {
  background: #f9fafb;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.why-card.alt {
  background: #fff;
  border-left: 5px solid var(--primary);
  border-radius: 8px;
}

.why-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.why-card p {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.6;
}

/* FAQ Section */
#faqs {
  padding: 80px 20px;
  background: #f8fafc;
}

.faq-container {
  max-width: 1000px;
  margin: auto;
}

#faqs h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #0f172a;
  text-align: center;
}

.faq-link {
  color: #4338ca;
  font-weight: 600;
  text-decoration: none;
}

.faq-link:hover {
  text-decoration: underline;
}
