/* =====================================================
   BHISI SCHEMES 
===================================================== */

.scheme {
  position: relative;
  padding: 40px 6% 100px;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(196, 145, 55, 0.12),
      transparent 35%
    ),
    linear-gradient(180deg, #fffdf8 0%, #f8f1e4 100%);

  overflow: hidden;
}

/* Decorative background glow */

.scheme::before {
  content: "";
  position: absolute;

  width: 400px;
  height: 400px;

  border-radius: 50%;

  background: rgba(193, 142, 45, 0.07);

  top: -220px;
  left: -150px;

  pointer-events: none;
}

/* =====================================================
   HEADING
===================================================== */

.scheme-heading {
  position: relative;
  text-align: center;

  max-width: 700px;

  margin: 0 auto 55px;
}

.scheme-eyebrow {
  display: block;

  margin-bottom: 12px;

  color: #b17b18;

  font-size: 11px;
  font-weight: 600;

  letter-spacing: 4px;

  text-transform: uppercase;
}

.scheme-heading h2 {
  margin: 0;

  color: #741b18;

  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(36px, 5vw, 40px);
  font-weight: 400;

  line-height: 1.1;
}

.scheme-title-line {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 10px;

  margin: 18px auto;
}

.scheme-title-line > span:not(.scheme-diamond) {
  display: block;

  width: 55px;
  height: 1px;

  background: #c89b45;
}

.scheme-diamond {
  color: #b47c18;

  font-size: 9px;
}

.scheme-heading p {
  max-width: 560px;

  margin: 0 auto;

  color: #6d6254;

  font-size: 15px;
  line-height: 1.8;
}

/* =====================================================
   CARD GRID
===================================================== */

.scheme-cards {
  position: relative;

  max-width: 1150px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 30px;

  align-items: stretch;
}

/* =====================================================
   CARD
===================================================== */

.scheme-card {
  position: relative;

  display: flex;
  flex-direction: column;

  overflow: hidden;

  text-decoration: none;

  color: inherit;

  background: #ffffff;

  border: 1px solid rgba(174, 126, 36, 0.18);

  border-radius: 18px;

  box-shadow: 0 10px 35px rgba(69, 46, 14, 0.08);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.scheme-card:hover {
  transform: translateY(-8px);

  border-color: rgba(174, 126, 36, 0.45);

  box-shadow: 0 22px 50px rgba(69, 46, 14, 0.15);
}

/* =====================================================
   IMAGE
===================================================== */

.scheme-image {
  position: relative;

  overflow: hidden;

  background: #f5efe4;

  aspect-ratio: 4 / 5;
}

.scheme-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: contain;

  transition: transform 0.5s ease;
}

.scheme-card:hover .scheme-image img {
  transform: scale(1.025);
}

/* Scheme badge */

.scheme-badge {
  position: absolute;

  left: 16px;
  bottom: 16px;

  padding: 7px 13px;

  background: rgba(255, 255, 255, 0.94);

  color: #8a5c0a;

  border-radius: 30px;

  font-size: 11px;
  font-weight: 600;

  letter-spacing: 0.6px;

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* =====================================================
   CARD CONTENT
===================================================== */

.scheme-content {
  flex: 1;

  display: flex;
  flex-direction: column;

  padding: 25px 24px 27px;
}

.scheme-content h3 {
  margin: 0 0 10px;

  color: #6f1b17;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 24px;
  font-weight: 500;
}

.scheme-content > p {
  margin: 0 0 22px;

  color: #74695c;

  font-size: 14px;
  line-height: 1.7;
}

/* =====================================================
   BUTTON
===================================================== */

.scheme-button {
  margin-top: auto;

  display: flex;

  align-items: center;
  justify-content: space-between;

  padding-top: 17px;

  color: #a56f0c;

  border-top: 1px solid #eee3d1;

  font-size: 13px;
  font-weight: 700;

  letter-spacing: 1px;

  text-transform: uppercase;
}

.scheme-button span {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 30px;
  height: 30px;

  border: 1px solid #c99a43;
  border-radius: 50%;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.scheme-card:hover .scheme-button span {
  background: #9d6b11;

  color: white;

  transform: translateX(3px);
}

/* =====================================================
   FEATURED / POPULAR CARD
===================================================== */

.scheme-card-featured {
  border-color: rgba(180, 126, 23, 0.38);
}

.featured-label {
  position: absolute;

  top: 16px;
  right: 16px;

  z-index: 3;

  padding: 7px 13px;

  border-radius: 30px;

  background: #761d18;

  color: white;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 1px;

  text-transform: uppercase;

  box-shadow: 0 5px 15px rgba(82, 18, 14, 0.2);
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {
  .scheme {
    padding: 70px 5% 80px;
  }

  .scheme-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {
  .scheme {
    padding: 55px 18px 65px;
  }

  .scheme-heading {
    margin-bottom: 35px;
  }

  .scheme-heading h2 {
    font-size: 36px;
  }

  .scheme-heading p {
    font-size: 14px;
  }

  .scheme-cards {
    grid-template-columns: 1fr;

    gap: 24px;

    max-width: 420px;
  }

  .scheme-card {
    border-radius: 15px;
  }

  .scheme-content {
    padding: 22px;
  }

  .scheme-content h3 {
    font-size: 22px;
  }
}
