/* ================================
   Landing Pages & CRO Styles
================================ */

/* Stats Section */
.stats {
  background: var(--dark);
  color: white;
  padding: 60px 20px;
  text-align: center;
}
.stats-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}
.stat-item h3 {
  font-size: 2.5rem;
  color: var(--secondary);
  font-weight: 800;
  margin-bottom: 10px;
}
.stat-item p {
  color: #e5e7eb;
}

/* Generic Section */
.section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
}
.section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--dark);
  text-align: center;
  font-weight: 800;
}
.section h3 {
  font-size: 1.8rem;
  margin: 40px 0 15px;
  color: var(--dark);
  font-weight: 700;
  text-align: center;
}
.section p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #334155;
  line-height: 1.8;
  max-width: 750px;      /* ✅ prevent paragraphs stretching too wide */
  margin-left: auto;
  margin-right: auto;
  text-align: center;    /* ✅ actually center text */
  display: block;        /* ✅ remove flex */
}

/* CRO Intro Section */
.cro-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr; /* Text wider than image */
  gap: 3rem;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  background: #f9fafb;
  border-radius: 1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  max-width: 1200px;
  margin: 0 auto; /* Centers inside big screen */
}

.cro-intro-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #111827;
}

.cro-intro-content h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: #1f2937;
}

.cro-intro-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 1.25rem;
}

.cro-intro-visual {
  text-align: center;
}

.cro-intro-visual img {
  width: 100%;
  max-width: 420px;
  border-radius: 0.75rem;
  object-fit: contain;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Responsive Design */
@media (max-width: 992px) {
  .cro-intro {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 1.5rem;
  }

  .cro-intro-content {
    margin: 0 auto;
    max-width: 700px;
  }

  .cro-intro-visual img {
    margin-top: 2rem;
    max-width: 350px;
  }
}


/* Services Section */
.services-section {
  background: var(--light);
  padding: 80px 20px;
}
.services-section h2 {
  margin-bottom: 30px;
  text-align: center;
}
.services-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.service-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}
.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}
.service-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #334155;
}

/* Process Section */
.process-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}
.process-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--dark);
  font-weight: 800;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}
.process-item {
  text-align: center;
  padding: 30px 20px;
}
.process-step {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 20px;
}
.process-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--dark);
}
.process-item p {
  color: #334155;
  line-height: 1.7;
  font-size: 1rem;
}
/* Responsive for Process */
@media (max-width: 992px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* Key Elements Section */
.key-elements {
  background: var(--light);
  padding: 80px 20px;
}
.key-elements h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 800;
  color: var(--dark);
}
.key-elements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}
.key-card {
  background: white;
  padding: 30px 25px;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.key-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}
.key-card h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 700;
}
.key-card p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
}
.key-card::before {
  content: "⭐";
  font-size: 1.8rem;
  display: block;
  margin-bottom: 12px;
  color: var(--secondary);
}

/* Why Choose Section */
.why-choose {
  padding: 80px 20px;
  background: var(--light);
}
.why-choose h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 800;
  color: var(--dark);
}
.why-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.why-card {
  background: white;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}
.why-card::before {
  content: "✔️";
  font-size: 2rem;
  display: block;
  margin-bottom: 15px;
  color: var(--primary);
}
.why-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--dark);
}
.why-card p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
}

/* Industries Section */
.section-light {
  background: var(--light);
}
.section-narrow {
  max-width: 900px;
  margin: auto;
  text-align: center;
}
