/* Reset and setup */
body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden !important; /* only hides horizontal overflow */
    font-family: sans-serif;
    background-color: #150a2e
 !important;
    scroll-behavior: smooth;
   
  }
  .header-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 45px 20px;
    /* background: url('/img/backgroung_img1.png') no-repeat center center; */
    background-size: cover;
  }

.navbar-custom {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 1.2rem;
}

.navbar-custom a {
  position: relative;
  padding-bottom: 5px;
  color: white;
  text-decoration: none;
   transition: color 0.2s ease-in-out; 
}

.navbar-custom a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background-color: #ffc107;
  /* transition: 0.3s ease; */
}

/* Hover effect */
.navbar-custom a:hover {
  color: #ffc107;
}

.navbar-custom a:hover::after {
  width: 100%;
}

/* Active link style */
.navbar-custom a.active {
  color: #ffc107;
}

.navbar-custom a.active::after {
  width: 100%;
}


.crystal-intro {
  /* background: linear-gradient(to bottom, #0f0c29, #302b63, #24243e); */
  padding: 80px 20px;
  text-align: center;
  color: white;
  font-family: 'Poppins', sans-serif;
}


 .icon-circle {
  width: 95px !important;
  height: 95px !important;
   background: linear-gradient(to right, #3c32a8, #622fb9);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem !important;
 
  color: white;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.crystal-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.crystal-subtitle {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 10px;
  line-height: 1.6;
  margin-top: 20px;
  padding-left: 15px;
}
.crystal-subtitle1 {
  font-size: 1.25rem;
  color: #ccccff;
  margin-bottom: 20px !important;
}
.btn-journey {
  display: inline-block;
    background: linear-gradient(to right, #4338CA, #7C3AED);
  color: white !important;
  padding: 10px 70px !important;
  border-radius: 40px !important;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

.btn-journey:hover {
  /* background: linear-gradient(90deg, #8e7eff, #6a5af9); */
    background: linear-gradient(90deg, #6054ba, #6a5af9);
}

.back-link {
  margin-top: 20px;
 
}

.back-link a {
  color: #bbb;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s ease-in-out;
}

.back-link a:hover {
  color: #ffc107;
}
/* =========== tarot card======= */
.card-section {
  display: none;
  padding: 0 20px 30px;
  background: #150a2e;
  text-align: center;
  overflow-x: hidden;
}

.cards-deck {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  overflow-x: auto;
  padding: 37px 20px 20px;
}

.tarot-card {
  width: 180px;
  height: 280px;
  background-image: url('/img/one-card-tarot.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  border: 2px solid #d3b46f;
  margin-left: -120px; /* 80% overlap */
  transition: transform 0.3s ease;
  position: relative;
  cursor: pointer;
  z-index: 1;
}

.tarot-card:first-child {
  margin-left: 0;
}

.tarot-card.selected {
  transform: translateY(-30px) scale(1.05);
  z-index: 1;
}

.select-btn {
  margin-top: 30px;
  padding: 14px 28px;
  font-size: 18px;
  font-weight: 600;
   background: linear-gradient(to right, #4338CA, #7C3AED);
  color: white !important;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  /* display: none; */
  transition: background-color 0.3s ease;
}

.select-btn:hover {
   background: linear-gradient(90deg, #6054ba, #6a5af9);
  /* background-color: #b89e5c; */
}

.reading-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #150a2e;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.card-results {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 800px;
  margin-bottom: 10px !important;
}

.reading-card {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  /* background-color: rgba(255, 255, 255, 0.05); */
  padding: 25px;
  border-radius: 12px;
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
  text-align: left;
}

.reading-card img {
  width: 180px;
  height: auto;
  border-radius: 8px;
  border: 2px solid #d3b46f;
  flex-shrink: 0;
}

.reading-text {
  flex-grow: 1;
}

.reading-text h2 {
  font-size: 24px;
  margin: 0 0 8px;
  color: #fff;
}

.reading-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #ccc;
}

.reading-text p strong {
  display: block;
  margin-bottom: 10px;
  color: #FDE68A;
  /* color: #d3b46f; */
}
/* =====popup miodel=== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 40, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: linear-gradient(to bottom, #0e0e24, #111132);
  padding: 40px 30px;
  border-radius: 20px;
  color: #ffffff;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  position: relative;
  font-family: 'Poppins', sans-serif;
}

.modal-content h3 {
  color: #fff !important;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.modal-content p {
  font-size: 1rem;
  color: #ddddff;
  margin-top: 10px;
}

.insight-box {
    background: linear-gradient(to right, #3c32a8, #622fb9);
  color: white;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  margin: 20px 0;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
}

.btn-primary {
  background-color: #7c5fff;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.3s ease;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(124, 95, 255, 0.4);
}

.btn-primary:hover {
  background-color: #624ad8;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  cursor: pointer;
  font-size: 24px;
  color: #aaa;
  transition: color 0.2s;
}

.close-btn:hover {
  color: white;
}
.para{
  text-align: left !important;
}
.book-now-btn{
     background: linear-gradient(to right, #4338CA, #7C3AED) !important;
      /* background: linear-gradient(to right, #6a5acd, #8a2be2); */

      border: none;
      color: white !important;
      padding: 10px 30px !important;
      border-radius: 15px !important; 
}
/* =========== mobile view part of the section====== */
.mobile-menu-toggler {
  display: none;
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 26px;
  color: rgb(214, 210, 210);
  cursor: pointer;
  z-index: 1100;
}

@media (max-width: 768px) {
      .mobile-hide-br {
    display: none;
  }
  .mobile-menu-toggler {
   
    display: block !important;
  }
   .header-section {
    height: 80vh !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 10px !important;
     background-color: #150a2e
 !important;
    /* background: url('/img/backgroung_img3.png') no-repeat center center; */
    background-size: cover;
  }
.navbar-custom a::after {
  display: none !important;
  text-decoration: underline !important;
}
  .navbar-custom {
    flex-direction: column;
    text-align: left !important;
    gap: 5px;
    padding: 10px 0;
    position: absolute;
    top: 20px;
    right: 0;
    width: 100%;
    display: none;
    z-index: 1000;
    background: none; /* No background */
    backdrop-filter: none;
    background-color: #1E1B4B !important;
  }

  .navbar-custom.active {
    display: flex;
  }

  .navbar-custom a {
    font-size: 1rem; /* Smaller font size */
    padding: 6px 18px;
    
  }
  .crystal-intro {
    padding: 60px 15px;
  }

  .icon-circle {
    width: 70px !important;
    height: 70px !important;
    font-size: 1.8rem !important;
  }

  .crystal-title {
    font-size: 2rem !important;
    padding-top: 5px !important;
  }

  .crystal-subtitle1 {
    font-size: 0.95rem !important;
    line-height: 1.5;
    text-align: center !important;
    margin-bottom: 1px !important;
  }

  .btn-journey {
    font-size: 0.95rem !important;
    padding: 8px 25px !important;
    border-radius: 12px !important;
     /* margin-top: 10px !important; */
  margin-bottom: 15px !important;
  }

  .back-link {
    margin-top: 12px;
  }

  .back-link a {
    font-size: 0.9rem;
  }
}
@media (max-width: 768px) {
  /* Smaller tarot card size */
  .tarot-card {
    width: 120px;
    height: 180px;
    margin-left: -80px;
  }

  /* Smaller select button */
  .select-btn {
    font-size: 15px !important;
    padding: 10px 20px !important;
    margin-top: 20px;
  }

  /* Column layout for reading results */
  .reading-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    padding: 20px;
    text-align: left;
  }

  .reading-card img {
    width: 50%;
    height: 50% !important;
    border-radius: 10px;
    /* margin-bottom: 10px; */
  }

  .reading-text h2 {
    font-size: 1.4rem 
    !important;
    margin-top: 5px;
  }

  .reading-text p {
    font-size: 0.98rem !important;
    line-height: 1.5;
  }

  .reading-section {
    padding: 10px 10px;
  }
}

/* ====== last section====== */
@media (max-width: 768px) {
  .modal-content {
    padding: 25px 20px;
    max-width: 95%;
    width: 95%;
    font-size: 0.9rem;
    overflow-y: auto;
    max-height: 90vh;
  }

  .modal-content h3 {
    font-size: 1.5rem;
  }

  .modal-content p {
    font-size: 0.95rem;
    line-height: 1.4;
    
  }

  .insight-box {
    font-size: 0.9rem;
    padding: 12px 15px;
      margin: 10px 0 !important;
  }

  .btn-primary,
  .book-now-btn {
    font-size: 0.95rem !important;
    padding: 10px 20px !important;
    border-radius: 10px !important;
  }

  .close-btn {
    font-size: 22px;
    top: 10px;
    right: 15px;
  }
 
  .icon-circle.purple {
    margin-bottom: 15px !important;
  }
  .test-para{
    margin: 10px 0;
  }
}
