/* ─────────────── Base Styles ─────────────── */
body {
  font-family: Arial, sans-serif;
  background: #f0f4ff;
  padding: 0px;
  margin: 0px;
}

.page-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 4vw;
  box-sizing: border-box;
}

/* ─────────────── Title Section ─────────────── */







/* ─────────────── Pricing Section ─────────────── */
.pricing-section {
  margin: 50px auto 0;
  padding-top: 20px; /* ✅ Add padding instead of only margin-top */
  text-align: center;
  box-sizing: border-box;
  clear: both; /* ✅ Prevent layout issues from floating headers */
}

/* ─────────────── Toggle Group ─────────────── */
.billing-toggle-group {
  margin-bottom: 30px;
}

.toggle-title {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 18px;
}

.toggle-options {
  display: inline-flex;
  border: 2px solid;
  border-radius: 999px;
  overflow: hidden;
}

.toggle-options input[type="radio"] {
  display: none;
}

.toggle-options label {
  padding: 10px 20px;
  cursor: pointer;
  font-size: 14px;
  color: #182249;
  border-radius: 999px;
  min-width: 100px;
  text-align: center;
  transition: all 0.3s ease;
  white-space: nowrap;
}

input[type="radio"]:checked + label {
  background-color: #182249;
  color: white;
}

/* ─────────────── Pricing Cards ─────────────── */
.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
  align-items: stretch;
}

.card.plan {
  background: white;
  border-radius: 20px;
  padding: 20px;
  width: 400px;
  max-width: 100%;
  min-width: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card.plan:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(79, 70, 229, 0.3);
}

.card.plan h3 {
  font-size: 32px;
  margin: 10px 0;
  color: #182249;
}

.card.plan small {
  color: black;
  font-weight: bold;
  font-size: 22px;
}

.addon .price {
  font-size: 21px;
  font-weight: bold;
  margin: 0 10px 0;
  color: #faab1c;
}

.e1, .e2, .e3, .e4, .e5, .e6, .e7 {
  font-size: 16px;
  margin: 5px 0;
}

ul.features {
  margin: 20px 0;
  padding-left: 20px;
  color: #182249;
  text-align: left;
  font-size: 15px;
}

ul.features li {
  margin-bottom: 10px;
text-align: center;
    list-style: none;
}

.card.plan .btn-primary {
  background: #1e3a8a;
  margin-bottom: 30px;
  margin-top: 30px;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  margin-top: auto;
  align-self: center;
  transition: background 0.3s;
}

.card.plan .btn-primary:hover {
  background: #152466;
}

/* ─────────────── Card Animations ─────────────── */
.pricing-cards .card.plan {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.pricing-cards .card.plan:nth-child(1) { animation-delay: 0.1s; }
.pricing-cards .card.plan:nth-child(2) { animation-delay: 0.3s; }
.pricing-cards .card.plan:nth-child(3) { animation-delay: 0.5s; }
.pricing-cards .card.plan:nth-child(4) { animation-delay: 0.7s; }
.pricing-cards .card.plan:nth-child(5) { animation-delay: 0.9s; }
.pricing-cards .card.plan:nth-child(6) { animation-delay: 1.1s; }

/* ─────────────── Monthly / Yearly Toggle ─────────────── */
.plans-month,
.plans-year {
  display: none;
}

.plans-active {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* ─────────────── Compare Button ─────────────── */
.compare-button-wrapper {
  margin-top: 40px;
  text-align: center;
}

.compare-btn {
  margin-top: 40px;
  text-align: center;
  background: transparent;
  border: 2px solid #1e3a8a;
  color: #1e3a8a;
  padding: 12px 32px;
  font-weight: bold;
  border-radius: 100px;
  text-decoration: none;
  transition: 0.3s;
  display: inline-block;
  font-size: 16px;
}

.compare-btn:hover {
  background-color: #1e3a8a;
  color: white;
}

/* ─────────────── Add-Ons Section ─────────────── */
.addons-heading {
  text-align: center;
  margin-top: 80px;
  margin-bottom: 40px;
  padding: 0 4vw;
  color: #000;
  animation: fadeInUp 1s ease-out;
}

.addons-heading h3 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 16px;
  color: #182249;
}

.addons-heading p {
  font-size: 1.2rem;
  color: black;
  line-height: 1.5;
  margin-bottom: 8px;
  max-width: 800px;
  text-align: justify;
  margin-left: auto;
  margin-right: auto;
}

.addons-grid,
.addons-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
  max-width: 100%;
  box-sizing: border-box;
}

.addon {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
  font-size: 45px;
  color: #333;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.addon:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.addon-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
  margin: 18px auto;
  border-radius: 30px;
}

.addon-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #182249;
}

 .price {
  font-size: 21px;
  font-weight: bold;
  color: #faab1c;
  margin: 0;
}

.addon p {
  max-width: 540px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
  white-space: normal;
}

/* ─────────────── Addon Animations ─────────────── */
.addons-container .addon {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.addons-container .addon:nth-child(1) { animation-delay: 0.1s; }
.addons-container .addon:nth-child(2) { animation-delay: 0.3s; }
.addons-container .addon:nth-child(3) { animation-delay: 0.5s; }
.addons-container .addon:nth-child(4) { animation-delay: 0.7s; }
/* Add more as needed */

/* ─────────────── Animations ─────────────── */
.fadein {
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.animated-title {
  font-size: 32px;
  color: #222;
  animation: fadeInUp 1s ease-out;
}

.animated-subtitle {
  font-size: 16px;
  color: #666;
  animation: fadeInUp 1.5s ease-out;
}

/* ─────────────── Utility ─────────────── */
.hidden {
  display: none !important;
}

/* ─────────────── Mobile View ≤ 767px ─────────────── */
/* ─────────────── Mobile View 430px–767px ─────────────── */
@media (min-width: 430px) and (max-width: 767px) {
  .title h1 { font-size: 32px; }
  .title p { font-size: 16px; }

  .addons-container {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

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

  .card.plan {
    width: 100%;
    justify-content: center;
    margin: 0 auto;
    padding: 0 4vw;
    max-width: inherit;
    text-align: center;
  }

  .card.plan small {
    color: black;
    font-weight: bold;
    font-size: 16px;
  }

  .card.plan h3 {
    font-size: 32px;
    margin: 30px 0 10px;
  }

  .price {
    font-size: 21px; /* Match addon price */
    font-weight: bold;
    margin: 10px 0;
  }

  .e1,
  .e2,
  .e3,
  .e4,
  .e5,
  .e6,
  .e7 {
    font-size: 14px;
    margin: 4px 0;
  }

  ul.features {
    font-size: 14px;
    line-height: 1.5;
    padding-left: 0px;
    margin: 15px 0;
    text-align: center;
    list-style: none;
  }

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

/* ─────────────── Tablet View 768px–1150px ─────────────── */
@media (min-width: 768px) and (max-width: 1150px) {
  .title h1 { font-size: 24px; }
  .title p { font-size: 18px; }
  .addons-container {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }
  .addon { font-size: 22px; }
  .addon-title { font-size: 32px; }
  .addon .price { font-size: 26px; }
  .addon p { font-size: 18px; }

  .card.plan h3 {
    font-size: 2rem;
  }

  .price {
    font-size: 22px;
    font-weight: bold;
    margin: 12px 0;
  }

  .pricing-cards {
    padding: 0 15%;
  }

  .e1,
  .e2,
  .e3,
  .e4,
  .e5,
  .e6,
  .e7 {
    font-size: 16px;
    margin: 6px 0;
  }

  ul.features {
    font-size: 16px;
    line-height: 1.5;
    padding-left: 20px;
    margin: 18px 0;
  }

  ul.features li {
    margin-bottom: 10px;
  }
}

/* ─────────────── Desktop View ≥ 1151px ─────────────── */
@media (min-width: 1151px) {
  .addons-container {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }
  .title h1 { font-size: 32px; }
  .title p {
    font-size: 21px; /* same as base */
  }
.card.plan .price
  .addons-heading h3 { font-size: 2.5vw; }
  .addons-heading p {
    font-size: 21px;
    text-align: center;
  }
}
