/* 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) !important;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem !important;
 
  color: white;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}
.icon-circle i{
  font-size: 40px !important;
}

.crystal-title {
  font-size: 2.5rem !important;
  font-weight: bold;
  margin-bottom: 25px;

}

.crystal-subtitle {
  font-size: 1.1rem !important;
  color: #ccc;
  margin-bottom: 50px;
  line-height: 1.6;
}
.crystal-subtitle1 {
  font-size: 1.25rem !important;
  color: #ccccff;
  margin-bottom: 20px !important;
}

.btn-journey {
  display: inline-block;
    background: linear-gradient(to right, #4338CA, #7C3AED);
  color: white !important;
  padding: 12px 30px !important; 
  border-radius: 15px !important;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  margin-top: 20px !important;
  margin-bottom: 15px !important;
}

.btn-journey:hover {
  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;
}


/* =========== quiz question section========= */
.quiz-section {
  padding: 60px 20px;
  text-align: center;
  color: white;
  font-family: 'Poppins', sans-serif;

}
.quiz-container {
  max-width: 600px;
  margin: 0 auto;
   
}
.progress-bar {
  height: 6px;
 
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
  border-radius: 5px;
}
.progress-fill {
  height: 100%;
  background: #6a5af9;
  border-radius: 5px;
  width: 0%;
  transition: width 0.4s ease;
}
.question-card {
    background:#1A0B3D !important;
  /* background: rgba(255, 255, 255, 0.05); */
  padding: 40px;
  border-radius: 20px;
  transition: all 0.5s ease;
  opacity: 0;
  transform: translateX(100%);
  position: absolute;
  width: 100%;
}
.question-card.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}
.question-card.exit-left {
  opacity: 0;
  transform: translateX(-100%);
  transition: all 1s ease;
}
.question-card h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
}
.options button {
  display: block;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: none;
  padding: 12px;
  margin: 10px auto;
  width: 80%;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}
.options button:hover {
  background: #6a5af9;
}
.result-box img {
  width: 100px;
  margin-bottom: 20px;
}

.crystal-message-box {
  /* background: linear-gradient(145deg, #2c2d4d, #1b1c3a); */
     /* background: linear-gradient(to right, #4338CA, #7C3AED); */
       background: linear-gradient(to right, #3c32a8, #622fb9);
  padding: 25px 40px !important;
  border-radius: 12px;
  color: #fff;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  line-height: 1.6;
}
#resultTitle1{
  font-size: 1.9rem !important;
  margin-bottom: 20px !important;
}
.heading-para{
  font-size: 1.1rem !important;
}
.heading-text{
   font-size: 0.95rem !important;
}
.btn-journey {
background-color: #4d3cc1;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(77, 60, 193, 0.4);
  transition: background 0.3s ease;
}

.btn-journey:hover {
   background-color: #3b2ca7;
}


.btn-grey {
  background-color: #44425b;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
}

.btn-grey:hover {
  background-color: #333144;
}
/* ===== color of the icons===== */
.icon-circle {
 background: #5e4bff;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-circle i {
  font-size: 32px;
  color: white;
}

.result-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}
.btn-gray {
 background: rgba(255, 255, 255, 0.3) !important;
  color: white !important;
  padding: 10px 20px !important;
  border-radius: 10px !important;
  border: none;
  cursor: pointer;
  height: 50px !important;
  margin-top: 20px !important;
}
.btn-gray:hover {
  background: rgba(99, 98, 98, 0.3) !important;
}
.below-heading {
  margin: 15px 0 25px;
}


/* ============== popup message======= */
.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 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #fff !important;
}

.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);
}
.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; 
}

.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;
}


/* =========== 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: 85vh !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: 1.8rem !important;
    padding-top: 5px !important;
  }

  .crystal-subtitle1 {
    font-size: 0.95rem !important;
    line-height: 1.5;
    text-align: center !important;
  }


   .new-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: 15px;
  }

  .back-link a {
    font-size: 0.9rem;
  }
}
/* ============= quiz-question section=== */
/* Mobile view adjustments */
@media screen and (max-width: 768px) {
  .quiz-section {
    padding: 30px 22px;
  }

  .question-card {
    padding: 25px 15px;
  }

  .question-card h3 {
    font-size: 1.1rem;
  }

  .options button {
    width: 100%;
    font-size: 0.95rem;
    padding: 10px;
  }
}
/* ============ result displayed section=========== */
@media screen and (max-width: 768px) {
  .crystal-message-box {
    padding: 15px 15px !important;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 10px;
  }
  
  .icon-circle {
    width: 70px !important;
    height: 70px !important;
    font-size: 1.8rem !important;
    margin-bottom: 15px;
  }
  #resultTitle1{
  font-size: 1.3rem !important;
  margin-bottom: 20px !important;
}
.heading-para{
  font-size: 0.98rem !important;
}
.heading-text{
   font-size: 0.95rem !important;
}
.btn-journey{
      font-size: 0.9rem !important;
    padding: 10px 15px !important;
    margin: 5px;
    display: inline-block;
}
.result-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  /* margin-top: 20px; */
}
.btn-gray {
 background: rgba(255, 255, 255, 0.3) !important;
  color: white !important;
  padding: 10px 20px !important;
  border-radius: 13px !important;
  border: none;
  cursor: pointer;
  height: 45px !important;
   font-size: 0.91rem !important;
  /* margin-top: 20px !important; */
}
.btn-gray:hover {
  background: rgba(99, 98, 98, 0.3) !important;
}

}

/* ====== 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;
  }
  .test-para{
    margin: 10px 0;
  }
}

