/* General body and container */
body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #ffe6f0, #fff0f5);
  margin: 0;
  padding: 30px 20px;
  color: #444;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 10px 20px;
}

/* Header */
header h1 {
  font-size: 3.5rem;
  color: #ff4081; /* brighter pink */
  margin-bottom: 0.2em;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-shadow: 1px 1px 5px #ffc1e3;
  font-family: 'Baloo 2', cursive;
}

.tagline {
  font-size: 1.3rem;
  color: #a982b9; /* soft purple */
  margin-bottom: 2.5em;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Stats Section */
.stats-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1.2em;
  color: #ba68c8; /* medium purple */
  text-shadow: 1px 1px 3px #e1bee7;
}

/* Cards container with gap and wrap */
.stats-cards {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  flex-wrap: wrap;
}

/* Individual stat card */
.stat-card {
  flex: 1 1 260px;
  background: linear-gradient(145deg, #fff0f5, #ffd6e8);
  border-radius: 25px;
  padding: 2.5rem 2rem;
  box-shadow:
    0 6px 8px rgba(255, 105, 180, 0.15),
    inset 0 -3px 8px #fff8f8;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: default;
  position: relative;
}

.stat-card:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow:
    0 14px 30px rgba(255, 105, 180, 0.35),
    inset 0 -5px 15px #fff0f8;
}

/* Card color variants with pastel gradients */
.stat-card.pink {
  background: linear-gradient(135deg, #fce4ec, #ffd1e6);
  color: #ad1457;
  box-shadow: 0 8px 18px #f48fb1aa;
}

.stat-card.purple {
  background: linear-gradient(135deg, #ede7f6, #d1c4e9);
  color: #512da8;
  box-shadow: 0 8px 18px #9575cdaa;
}

.stat-card.teal {
  background: linear-gradient(135deg, #e0f2f1, #b2dfdb);
  color: #00695c;
  box-shadow: 0 8px 18px #4db6acaa;
}

/* Card heading */
.stat-card h3 {
  font-size: 2.7rem;
  margin-bottom: 0.6rem;
  font-weight: 800;
  text-shadow: 1px 1px 4px #f8bbd0;
}

/* Card paragraph */
.stat-card p {
  font-size: 1.15rem;
  font-weight: 600;
  color: #555;
}

/* Buttons section */
.buttons-section {
  margin: 4rem 0 3rem;
}

/* General button style */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 35px;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: white;
  margin: 0 18px 18px 18px;
  box-shadow:
    0 6px 15px rgba(255, 105, 180, 0.45);
  transition: background 0.4s ease, transform 0.25s ease;
  cursor: pointer;
  font-family: 'Baloo 2', cursive;
  user-select: none;
}

.btn:hover {
  transform: scale(1.1);
  box-shadow:
    0 10px 25px rgba(255, 105, 180, 0.7);
}

/* Specific button colors */
.map-btn {
  background: #ff4081;
  border: 2px solid #f50057;
  box-shadow: 0 6px 18px #ff80abaa;
}

.map-btn:hover {
  background: #f50057;
  border-color: #ff1744;
  color: #fff0f5;
}

.sos-btn {
  background: #ff69b4;
  border: 2px solid #d81b60;
  box-shadow: 0 6px 18px #f48fb1aa;
}

.sos-btn:hover {
  background: #c2185b;
  border-color: #880e4f;
  color: #fff0f5;
}
.calc-btn {
  background-color: #e91e63;
  color: #fff;
  border: 2px solid #ff4c8b;
  box-shadow: 0 0 15px #ff4c8b88;
}

.calc-btn:hover,
.calc-btn:focus {
  background-color: #ff4c8b;
  box-shadow: 0 0 25px #ff4c8b;
  color: white;
}


/* Affirmation section */
.affirmation-section {
  margin-top: 3rem;
}

#affirmation-box {
  background: linear-gradient(135deg, #ffd1e6, #fce4ec);
  color: #ad1457;
  padding: 22px 35px;
  border-radius: 40px;
  font-style: italic;
  font-size: 1.35rem;
  max-width: 420px;
  margin: 0 auto 20px;
  box-shadow:
    0 8px 20px rgba(233, 30, 99, 0.3);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.affirm-btn {
  background: #ad1457;
  border: none;
  cursor: pointer;
  padding: 14px 32px;
  border-radius: 35px;
  font-weight: 700;
  font-size: 1.15rem;
  color: white;
  box-shadow: 0 6px 20px #ff4da6cc;
  transition: background 0.3s ease;
}

.affirm-btn:hover {
  background: #880e4f;
  color: #fff;
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .stats-cards {
    flex-direction: column;
    gap: 2.5rem;
  }
  .stat-card {
    padding: 2rem 1.5rem;
  }
  header h1 {
    font-size: 2.8rem;
  }
  .buttons-section {
    margin: 3rem 0 2rem;
  }
}
/* Why SafeCircle */
.why-section h2,
.tips-section h2,
.did-you-know h2,
.stories-section h2 {
  color: #ba68c8;
  font-family: 'Baloo 2', cursive;
  margin-bottom: 1em;
  font-weight: 700;
  font-size: 2rem;
  text-shadow: 1px 1px 3px #e1bee7;
}

.why-list,
.tips-list {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  text-align: left;
  color: #555;
  font-size: 1.15rem;
  line-height: 1.6;
  font-weight: 600;
}

.why-list li,
.tips-list li {
  margin-bottom: 1rem;
  padding-left: 30px;
  position: relative;
}

.why-list li::before,
.tips-list li::before {
  content: "🌸";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.3rem;
  transform: translateY(3px);
}

/* Did You Know box */
.did-you-know {
  background: #fce4ec;
  border-radius: 30px;
  padding: 20px 30px;
  color: #ad1457;
  max-width: 500px;
  margin: 2rem auto 3rem;
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 600;
  box-shadow: 0 5px 20px rgba(233, 30, 99, 0.2);
}

/* Real Stories */
.stories-section {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: left;
  color: #444;
}

.stories-section blockquote {
  background: #fdeef8;
  border-left: 6px solid #ff80ab;
  padding: 15px 20px;
  margin: 1.2rem 0;
  border-radius: 15px;
  font-style: italic;
  font-weight: 600;
  box-shadow: 0 4px 12px #ff80ab66;
  color: #7b2d60;
  font-family: 'Baloo 2', cursive;
}

/* Adjust blockquote quotes */
.stories-section blockquote::before {
  content: "“";
  font-size: 2.5rem;
  line-height: 0;
  vertical-align: top;
  color: #ff80ab;
  margin-right: 6px;
}
.did-you-know {
  background: #fce4ec;
  border-radius: 30px;
  padding: 20px 30px;
  color: #ad1457;
  max-width: 500px;
  margin: 2rem auto 3rem;
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 600;
  box-shadow: 0 5px 20px rgba(233, 30, 99, 0.2);
  position: relative;
  height: 4.5rem; /* fixed height for smooth transition */
  overflow: hidden;
}

.carousel {
  position: relative;
  height: 100%;
}

.carousel-item {
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  width: 100%;
  top: 0;
  left: 0;
  margin: 0;
}

.carousel-item.active {
  opacity: 1;
  position: relative;
}

