/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Nunito Sans", sans-serif;
}

:root {
  /* sample colour */
  --dark-green: #0f3d33;
  --text-gray: #3f3f3f;
  --yellow: #f6f14d;
  --green-btn: #0f4d3c;
  --radial-yellow-gradient: linear-gradient(
    to right,
    #ffe550 0%,
    #f6c94d 0%,
    #fdfc47 100%
  );

  /* Primary Brand Colors */
  --color-home-bg: #f5f5f2;
  --color-primary: #ffca40;
  --color-primary-lighter: #ffe599;
  --color-primary-lighter-50: #fff2cb;
  --color-primary-darker: #cc9c2d;
  --color-primary-hover: #f5c036;
  --color-primary-active: #d9a52c;
  --color-primary-disabled: #e6d8a8;
  --color-primary-text-disabled: #8c8c8c;
  --color-black: black;
  --color-ash: rgb(56, 56, 56);
  --color-white: #ffffff;
  --feature-blue: rgb(182, 207, 207);
  --black-shadow: 0 -1px 1px rgba(8, 8, 8, 0.1) !important;
  --image-background: #f5f6f9;
  --thumb: #ffc107;
  --card-gradinet: linear-gradient(
    135deg,
    #f1eacff5 0%,
    #f3e48cf6 50%,
    #f7d765 120%
  );
  --card-blue: linear-gradient(
    135deg,
    #def4f8f5 0%,
    #dbf2faf6 50%,
    #f3e48cf6 120%
  );
  --card-overlay-gradient: linear-gradient(
    var(--card-white-overlay-start),
    var(--card-white-overlay-end)
  );
  --card-white-overlay-end: rgba(255, 255, 255, 0.45);
  --card-white-overlay-start: rgba(253, 253, 253, 0.55);
  /* --card-feature-shadow: 0 20px 30px rgba(33, 182, 199, 0.87); */

  --header-blue: radial-gradient(
    circle at top right,
    #fcf8ec 30%,
    #e0f1f8 65%,
    #e0f0f5 100%
  );
  --card-white-shadow: 0 10px 30px rgba(252, 248, 248, 0.08);
}

.thumb-badge {
  width: 30px;
  height: 30px;
  background-color: var(--thumb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.testimonial-user {
  border-radius: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.user-name {
  font-size: 14px;
  font-weight: 600;
}

.user-role {
  font-size: 12px;
}

/* ======= Affiliate Card ======= */

.affiliate-card {
  max-width: 820px;
  margin: 0 auto;
  border-radius: 18px;
  background: var(--black-primary, #0f172a);
  color: var(--color-white, #ffffff);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.affiliate-card .card-body {
  padding: 2rem;
}

.stars {
  color: var(--thumb);
  font-size: 22px;
  letter-spacing: 2px;
}

.testimonial-user {
  padding-top: 10px;
}

.user-role {
  font-size: 12px;
  color: #9ca3af;
}

.carousel-control-prev,
.carousel-control-next {
  width: 45px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

@media (max-width: 768px) {
  .affiliate-card .card-body {
    padding: 1.5rem;
  }

  .stars {
    font-size: 20px;
  }

  .affiliate-card .col {
    flex-direction: column;
    gap: 8px;
  }

  .affiliate-card .col .d-flex {
    justify-content: start !important;
  }

  .affiliate-card .col-12 {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .affiliate-card {
    border-radius: 14px;
  }

  .affiliate-card .card-body {
    padding: 1.2rem;
  }

  .user-avatar {
    width: 38px;
    height: 38px;
  }

  .user-name {
    font-size: 13px;
  }

  .user-role {
    font-size: 11px;
  }
}

.highlighter {
  color: var(--color-primary) !important;
}

.calculator-section .col-lg-8 {
  border-radius: 18px;
  padding: 30px;
  padding-top: 100px;
  height: 500px !important;
}

/* Constrain calculator width */
.calculator-section > .container {
  max-width: 1000px;
}

/* Keep it centered */
.calculator-section > .container {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .calculator-section > .container {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
}

.calculator-section .btn-light {
  padding: 8px 22px !important;
  font-size: 15px;
  line-height: 1.2;
}

.calculator-section .row.g-4 {
  --bs-gutter-x: 0.5rem;
}

.pricing-card {
  min-height: 650px !important;
}

.glass-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(238, 223, 12, 0.7),
    rgba(255, 255, 255, 0.1),
    rgba(250, 214, 12, 0.856)
  );
  z-index: -1;
  filter: blur(6px);
}

.glass-card {
  width: 420px;
  padding: 2.5rem;
  /* border-radius: 20px; */

  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-start-start-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  /* 
  box-shadow:
    0 10px 40px rgba(146, 138, 22, 0.788),
    inset 0 1px 1px rgba(211, 214, 4, 0.6); */

  position: relative;
  overflow: hidden;
}

