/* prevent horizontal scroll */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Circular Hero */
.circular-hero {
  background: linear-gradient(135deg, #800000, #b22222);
  color: white;
  text-align: center;
  padding: 80px 20px;
}
.circular-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}
.circular-hero .subheadline {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.circular-hero .description {
  max-width: 600px;
  margin: 0 auto 30px auto;
  font-size: 1.1rem;
}
.circular-hero .hero-buttons a {
  margin: 10px;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}
.btn-primary {
  background-color: #ffd700;
  color: #800000;
}
.btn-secondary {
  background-color: white;
  color: #800000;
  border: 2px solid #ffd700;
}
.btn-tertiary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

/* Problem Section */
.circular-problem {
  padding: 80px 20px;
  background: #f9f9f9;
}
.circular-problem h2,
.container h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.circular-problem p.text-lg {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.circular-problem ul.problem-bullets {
  list-style: disc;
  margin-left: 20px;
}

/* Solution Section */
.circular-solution {
  padding: 0 20px;
  text-align: center;
}

/* Phases */
.circular-phases {
  padding: 20px 20px;
  background: #f9f9f9;
  margin-top: 20px;
}
.phase-grid {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}
.phase-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.phase-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}
.phase-card ul {
  list-style: circle;
  margin-left: 20px;
}

/* CTA Center */
.cta-center {
  text-align: center;
  margin-top: 30px;
}

/* Impact Section */
.circular-impact {
  padding: 20px 20px;
  text-align: center;
}
.impact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}
.impact-item {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  width: 220px;
}
.impact-item i {
  font-size: 2.5rem;
  color: #ffd700;
  margin-bottom: 15px;
}
.metric {
  font-size: 2rem;
  font-weight: 700;
  color: #800000;
}
.label {
  font-size: 1rem;
  color: #555;
  margin-top: 5px;
}
.empower-text {
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .phase-grid {
    display: grid;
  }
}

/* Tools / Why Partner Section */
.partner-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 30px 0;
}

.tool-card {
  flex: 1 1 200px;
  max-width: 220px;
  text-align: center;
  margin: 15px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card img {
  width: 80px;
  margin-bottom: 15px;
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

/* specifically keep your large images nice on desktop */
.circular-solution img {
  max-width: 800px !important;
}

.solution-diagram img {
  max-width: 500px !important;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* images must be fluid */
.circular-solution img,
.solution-diagram img,
.partner-logos img,
.tool-card img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}
/* Partners Logos */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 40px 0;
}

.partner-logos img:hover {
  filter: grayscale(0);
  transform: scale(1.1);
}
/* phase layout: stack on small screens */
@media (max-width: 768px) {
  .phase-grid {
    display: flex !important;
    flex-direction: column !important;
  }

  .impact-item {
    width: 100% !important;
    max-width: 320px;
  }
}

/* headings scale better on phones */
.circular-hero h1,
.circular-problem h2,
.container h2 {
  font-size: clamp(1.8rem, 5vw, 3rem);
}
/* CTA Section */
.cta-section {
  background: #f7f7f7;
  padding: 60px 0;
  text-align: center;
}

.cta-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 40px;
  gap: 30px;
}

.cta-card {
  background: #fff;
  flex: 1 1 280px;
  max-width: 320px;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.cta-card h4 {
  color: #800000;
  margin-bottom: 15px;
}

.cta-card p {
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
}

.btn-primary {
  background-color: #800000;
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background-color: #a30000;
}

/* Responsive */
@media (max-width: 900px) {
  .partner-tools,
  .cta-cards {
    flex-direction: column;
    align-items: center;
  }
}
