.herobanner_content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.herobanner_content p,
.herobanner_content small {
  text-align: center;
  color: white;
}
.herobanner_content_width {
  width: 80%;
}
.herobanner_content .title_custom {
  margin-bottom: 20px;
}

/* card section */

.tarot-section {
  text-align: center;
  padding: 80px 20px;
}

.tarot-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.subtitle {
  width: 80%;
  font-size: 18px;
  line-height: 1.7;
  color: #555;
  text-align: center;
  margin: 0 auto;
}

/* FAN CARDS */
.card_container {
  width: 650px;
  height: 300px;
  margin: 21px auto;
}
.card-fan {
  position: relative;
  margin-left: -120px;
}

.tarot-card {
  position: absolute;
  /* width: 200px;
  height: 322px; */

  width: 168px;
  height: 242px;

  background: url("../images/free-yes-or-no-tarot-card.webp") no-repeat
    center/cover;
  border-radius: 10px;
  top: 40px;
  left: 50%;
  transform-origin: bottom center;
  transition:
    filter 0.25s ease,
    box-shadow 0.25s ease;
  cursor: pointer;
  filter: brightness(0.85);
}

.tarot-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  border-radius: 10px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scale ONLY the inner layer */
.card-fan:hover .tarot-card:hover::after {
  transform: scale(1.08);
}
/* Positions */
.tarot-card:nth-child(1) {
  transform: translateX(-280px) rotate/fw(-35deg);
}
.tarot-card:nth-child(2) {
  transform: translateX(-230px) rotate(-28deg);
}
.tarot-card:nth-child(3) {
  transform: translateX(-180px) rotate(-20deg);
}
.tarot-card:nth-child(4) {
  transform: translateX(-130px) rotate(-12deg);
}
.tarot-card:nth-child(5) {
  transform: translateX(-80px) rotate(-5deg);
}
.tarot-card:nth-child(6) {
  transform: translateX(-10px) rotate(5deg);
}
.tarot-card:nth-child(7) {
  transform: translateX(60px) rotate(12deg);
}
.tarot-card:nth-child(8) {
  transform: translateX(120px) rotate(20deg);
}
.tarot-card:nth-child(9) {
  transform: translateX(180px) rotate(28deg);
}
.tarot-card:nth-child(10) {
  transform: translateX(240px) rotate(35deg);
}

.card-fan:hover .tarot-card {
  filter: brightness(0.6);
}
.card-fan:hover .tarot-card:hover {
  z-index: 10;
  filter: brightness(1.15);
}

.draw-btn {
  background: #5f8f7a;
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.draw-btn:hover {
  background: #4a7563;
}

/* RESULT SECTION */
.tarot-result {
  max-width: 900px;
  margin: 0 auto; /* REMOVE TOP MARGIN */
  max-height: 0; /* COLLAPSED */
  overflow: hidden; /* HIDE CONTENT */
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  transition:
    max-height 0.7s ease,
    opacity 0.5s ease,
    transform 0.5s ease;
}
#result {
  scroll-margin-top: 140px;
}
.tarot-result {
  padding-top: 20px;
}
.tarot-result.show {
  max-height: 2000px; /* Big enough to hold content */
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  margin-top: 80px; /* ADD SPACE ONLY WHEN VISIBLE */
}
.tarot-result h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.tarot-result .answer {
  margin-bottom: 5px;
  text-align: center;
}

.tarot-result .oneline {
  margin-bottom: 30px;
  color: #444;
  text-align: center;
}
.meaning-image img {
  margin-top: 0;
}
.meaning-title {
  font-size: 22px;
  margin-bottom: 30px;
  text-align: justify;
  margin-left: 30px;
}

.meaning-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  text-align: left;
}

.meaning-image img {
  width: 100%;
  max-width: 200px;
}

.meaning-content h5 {
  margin-bottom: 5px;
}

.meaning-content p {
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

.personal-link {
  display: inline-block;
  margin-bottom: 20px;
  color: black;
  text-decoration: none;
}

.personal-link:hover {
  text-decoration: underline;
}

/* card section */

/* blog section */

.blogs-section {
  padding: 80px 20px;
  background: #fbf7ef;
}

.blogs-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 32px;
  margin-bottom: 18px;
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: #fbf7ef;
  border: 1px solid #e2ddd3;
  border-radius: 12px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.blog-thumb {
  height: 220px;
  overflow: hidden;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin-top: 0;
}

.blog-content {
  padding: 20px 22px 26px;
}

.blog-meta {
  font-size: 14px;
  color: #6b6b6b;
  margin-bottom: 10px;
}

.blog-meta .author {
  color: black;
  margin-right: 10px;
}

.blog-content h3 {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.blog-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 18px;
}

.read-more {
  font-size: 14px;
  color: #000;
  text-decoration: underline;
}

/* blog section */

/* pricing section */
.pricing-section {
  padding: 90px 20px;
  background: #fbf7ef;
  text-align: center;
  padding-top: 0;
}

.pricing-section .container {
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-label {
  font-size: 14px;
  color: #777;
}

.pricing-title {
  font-size: 32px;
  margin: 10px 0 40px;
  margin-top:0;
}

/* Toggle */
.pricing-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 50px;
}

.toggle-label {
  font-size: 14px;
}

.toggle-switch {
  width: 48px;
  height: 26px;
  background: #4f8b74;
  border-radius: 50px;
  position: relative;
  cursor: pointer;
}

.toggle-circle {
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 4px;
  transition: 0.3s ease;
}

.toggle-switch.active .toggle-circle {
  left: 24px;
}

/* Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.pricing-card {
  background: white;
  border: 1px solid #ddd6cb;
  border-radius: 10px;
  text-align: left;
}

.pricing-card .small-title {
  font-size: 13px;
  color: #666;
}

.price {
  font-size: 34px;
  margin: 10px 0;
}

.price span {
  font-size: 14px;
  color: #666;
}

.pricing-card h4 {
  margin: 15px 0 10px;
}

.pricing-card .desc {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.pricing-card hr {
  border: none;
  border-top: 1px solid #ddd6cb;
  margin: 20px 0;
}

.suitable {
  font-weight: 600;
  margin-bottom: 10px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}

.pricing-card ul li {
  margin-bottom: 10px;
  padding-left: 22px;
  position: relative;
  font-size: 14px;
}

.pricing-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4f8b74;
}

/* Button */
.book-btn {
  background: #4f8b74;
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 50px;
  cursor: pointer;
}

.book-btn:hover {
  background: #3e7260;
}

.note {
  font-size: 12px;
  color: #777;
  margin-top: 12px;
}

/* Responsive */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
/* pricing section */

.faq-section {
  padding: 100px 20px;
  background: #fbf7ef;
  padding-top: 0;
}
.btn_custom_yellow {
  font-size: 16px;
}
.faq-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

/* Images */
.faq-images {
  position: relative;
}

.img-big img {
  width: 320px;
  height: 420px;
  object-fit: cover;
  border-radius: 180px;
}

.img-small {
  position: absolute;
  bottom: -30px;
  right: 0;
}

.img-small img {
  width: 220px;
  height: 280px;
  object-fit: cover;
  border-radius: 150px;
}

/* Content */
.faq-label {
  font-size: 14px;
  color: #777;
}

.faq-content h2 {
  font-size: 32px;
  margin: 10px 0 20px;
}

.faq-sub {
  color: #555;
  margin-bottom: 30px;
}

/* Accordion */
.faq-accordion {
  border: 1px solid #ddd6cb;
  border-radius: 10px;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid #ddd6cb;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  padding: 18px 20px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question .icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #ddd6cb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.newsletter-section {
  padding: 120px 20px;
  background: #fbf7ef;
  text-align: center;
  padding-top: 0;
}

.newsletter-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.newsletter-label {
  font-size: 14px;
  color: black;
  display: block;
  margin-bottom: 10px;
}
.form-group input:focus,
.message_field textarea:focus {
  border: 2px solid yellow !important;
  box-shadow: none;
}
.message_field textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 4px;
  border: 0;
  font-size: 14px;
}
.newsletter-title {
  font-size: 32px;
  margin-bottom: 50px;
}
footer.bg1 {
  padding-top: 0;
}
.pricing_container {
  padding: 30px;
  background: #ffd580;
  padding-bottom: 16px;
  margin-bottom: 17px;
}
.pricing_container_bottom {
  padding: 30px;
  padding-top: 0;
}
/* Box */
.newsletter-box {
  max-width: 420px;
  margin: 0 auto;
  border: 1px solid #4f8b74;
  border-radius: 6px;
  padding: 28px 26px 26px;
  background: #fbf7ef;
}

/* Form */
.form-group {
  text-align: left;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 13px;
  display: block;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid #d5d5d5;
  font-size: 14px;
}

/* Button */
.subscribe-btn {
  width: 100%;
  background: #4f8b74;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  margin-top: 10px;
}

.subscribe-btn:hover {
  background: #3f7360;
}

/* Text */
.privacy-text {
  font-size: 12px;
  color: #777;
  margin: 12px 0;
}

/* Checkbox */
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #333;
  justify-content: center;
}

.checkbox-row input {
  accent-color: #4f8b74;
}

/* Responsive */
@media (max-width: 992px) {
  .blogs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .faq-images {
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .img-small {
    position: static;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .card-fan {
    transform: scale(0.8);
  }
  .meaning-title{
      margin-left:0;
  }
  .tarot-card {
    width: 200px;
    height: 322px;
  }
  .herobanner_content_width {
    width: 100%;
  }
  .tarot-result .answer {
    text-align: left;
  }
  .blogs-section {
    padding: 50px 20px;
  }
  .meaning-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .tarot-section h2 {
    font-size: 24px;
  }
  .herobanner_content .title_custom {
    margin-bottom: 20px;
    margin-top: 10px;
    text-align: center;
    letter-spacing: normal;
    font-size: 20px;
  }
  .tarot-section {
    padding: 50px 20px;
  }
  .subtitle {
    width: 100%;
  }
  /* Container */
  .card-fan {
    width: 100%;
    max-width: 280px;
    height: 180px;
    margin: 0 auto 20px;
    position: relative;
  }

  /* All cards become flat stacked */
  .tarot-card {
    left: 50% !important;
    top: 0 !important;
    transform: translateX(-50%) !important;
  }

  /* Slight offset for stacking effect */
  .tarot-card:nth-child(1) {
    margin-left: -24px;
  }
  .tarot-card:nth-child(2) {
    margin-left: -18px;
  }
  .tarot-card:nth-child(3) {
    margin-left: -12px;
  }
  .tarot-card:nth-child(4) {
    margin-left: -6px;
  }
  .tarot-card:nth-child(5) {
    margin-left: 0px;
  }
  .tarot-card:nth-child(6) {
    margin-left: 6px;
  }
  .tarot-card:nth-child(7) {
    margin-left: 12px;
  }
  .tarot-card:nth-child(8) {
    margin-left: 18px;
  }
  .tarot-card:nth-child(9) {
    margin-left: 24px;
  }
  .tarot-card:nth-child(10) {
    margin-left: 30px;
  }

  /* Disable fancy hover on mobile */
  .card-fan:hover .tarot-card {
    filter: brightness(1);
  }

  .card-fan:hover .tarot-card:hover::after {
    transform: scale(1);
  }
  .card_container {
    width: unset;
    height: 296px;
  }
  .pricing-title {
    font-size: 24px;
  }
  .price {
    font-size: 28px;
  }
  .pricing-card h4 {
    font-size: 20px;
  }
  .img-big img,
  .img-small img {
    max-width: 100%;
    width: 217px;
    height: unset;
    margin-top: 0;
    margin-bottom: 7px;
  }
  .faq-grid{
          gap: 30px;
  }
  .img-big {
        display: none;
    }
  .pricing-section,
  .faq-section,
  .newsletter-section {
    padding-bottom: 50px;
  }
  .faq-content h2 {
    font-size: 24px;
  }
  .meaning-image img {
    float: none;
    margin-top: 0;
    margin-left: 0;
    margin-bottom: 0;
  }
  .personal-link {
    text-align: left;
  }
  .meaning-title {
    margin-bottom: 22px;
  }
  .meaning-image {
    text-align: left;
  }
  .meaning-content h5 {
    text-align: left;
  }
  .tarot-result .oneline {
    letter-spacing: normal;
    text-align: left;
  }
  .faq-item {
    text-align: left;
  }
  .tarot-result h3,
  .meaning-title {
    text-align: left;
  }
  .tarot-result.show {
    margin-top: 36px;
  }
}

/* Responsive */
@media (max-width: 600px) {
  .newsletter-title {
    font-size: 24px;
  }
  .blogs-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 24px;
  }
}
