* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --background: #fafaff;
  --foreground: #1f262e;
  --card: #ffffff;
  --card-foreground: #1f262e;
  --primary: #0da598;
  --primary-foreground: #ffffff;
  --secondary: #cbe6e4;
  --secondary-foreground: #0a766d;
  --muted: #f1f5f9;
  --muted-foreground: #65758b;
  --accent: #7ecec7;
  --border: #e1e7ef;
  --input: #e1e7ef;
  --success-light: #eef7f6;
  --text-light: #8a99a8;
  --white: #fdfdfd;
  --Primary: #017670;
  --black: #000308;
  --Light-grey: #e4e4e4;
  --Light-green: #d3f6f5;
}

body {
  font-family: "Nunito", -apple-system, Roboto, Helvetica, sans-serif;
  background: linear-gradient(135deg, var(--background), var(--success-light));
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 120px;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: #ffffff;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 2rem !important;
}
.language-switcher {
}

.language-dropdown {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.language-dropdown:hover {
  background: #f0f9ff;
}

@media (max-width: 768px) {
  .language-switcher {
    top: 70px;
    right: 15px;
  }

  .language-dropdown {
    padding: 6px 10px;
    font-size: 12px;
  }
}

.back-arrow {
  width: 24px;
  height: 24px;
  color: var(--muted-foreground);
}

.logo,
.logo-2 {
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  font-weight: bold;
  font-size: 14px;
}

.logo img {
  width: 10rem;
  height: 2.5rem;
}

.logo-2 img {
  width: 12.5rem;
}

.logo-text {
  font-weight: 600;
  font-size: 18px;
}

.logo-sub {
  color: var(--text-light);
  font-size: 14px;
  margin-left: 0.5rem;
}

@media (max-width: 768px) {
  .header {
    padding: 1rem;
  }
  .logo img {
    width: 7.5rem;
    height: 2rem;
  }

  .logo-2 img {
    width: 4rem;
    height: 4rem;
  }
}

.sip-badge {
  background: var(--success-light);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 500;
  color: #017670;
}

.progress-tracker-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  flex-wrap: nowrap;
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 1;
}

.progress-card {
  flex: 1;
  min-width: 200px;
  max-width: 200px;
  background: #ffffff;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  color: var(--muted-foreground);
  border: 1px solid var(--border);
  transition: all 0.2s ease-in-out;
}

.progress-card.active {
  background: #d3f6f5;
  /* border-color: var(--primary); */
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.15);
  color: var(--foreground);

  border: none;
  position: relative;
}
/* Create gradient border using pseudo-element */
.progress-card.active::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #4b31aa, #313daa, #1d8c88, #1d698c);
  border-radius: 10px;
  z-index: -1;
}

/* Ensure the card content is above the gradient border */
.progress-card.active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #d3f6f5;
  border-radius: 8px;
  z-index: -1;
}
.progress-card-icon {
  width: 48px;
  height: 48px;
  background: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.8rem auto 1rem;
  font-size: 20px;
  color: var(--primary);
  position: relative; /* For positioning tickmark */
  border-radius: 50%;
}

.progress-card.active .progress-card-icon {
  background: #d3f6f5 !important;
  color: var(--primary-foreground);
}

.progress-bar-container {
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 0.5rem;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s ease-in-out;
}

/* Enhanced progress bar for active card */
.progress-card.active .progress-bar-fill {
  background: linear-gradient(90deg, #4b31aa, #1d8c88);
  box-shadow: 0 2px 4px rgba(20, 184, 166, 0.3);
}

/* Make progress bar more prominent when active */
.progress-card.active .progress-bar-container {
  background: rgba(255, 255, 255, 0.5);
  height: 8px; /* Slightly thicker */
  border-radius: 4px;
}

/* Enhanced progress bar for completed card - same as active */
.progress-card.completed .progress-bar-fill {
  background: linear-gradient(90deg, #4b31aa, #1d8c88);
  box-shadow: 0 2px 4px rgba(20, 184, 166, 0.3);
}

/* Make progress bar more prominent when completed - same as active */
.progress-card.completed .progress-bar-container {
  background: rgba(255, 255, 255, 0.5);
  height: 8px; /* Slightly thicker */
  border-radius: 4px;
}

.completion-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #d3f6f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  font-size: 24px;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease-in-out;
}

.progress-card.completed {
  background: #d3f6f5; /* Same as active background */
  color: var(--foreground);
  /* Keep the existing border and shadow from active state if desired */
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.15);
}

.progress-card.completed .completion-icon {
  opacity: 1;
  transform: scale(1);
}

.progress-card.completed .progress-card-icon {
  color: var(--primary-foreground);
}

.progress-card-title {
  font-size: 14px;
  font-weight: 500;
}

.hero-section {
  padding: 2rem 1rem;
}

.hero-section {
  flex-grow: 1; /* Allow it to take up available space */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  position: relative; /* Needed for absolute positioning of question cards */
  overflow: hidden; /* Hide overflowing cards during transition */
  /* background: url("../images/cardbg.png") no-repeat center center; */
  background-size: cover; /* Ensure the image covers the entire section */
  background-color: #f6f4f1;
  width: 100%;
}

.hero-container {
  width: 100%;
  position: relative; /* For positioning question cards */
  display: flex; /* To center the active card */
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  background: var(--card);
  min-width: 30rem;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.1);
}

/* New form styles for questionnaire */

.question-container {
  background: var(--card);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  width: 100%; /* Use 100% width to fit max-width of container */
  /* max-width: 1650px; */
  min-height: 50rem;
  margin: 0 80px;
}
.question-card {
  padding: 2rem 20rem;
  width: 100%; /* Use 100% width to fit max-width of container */
  max-width: 1500px; /* Keep max-width for consistency */
  position: absolute; /* Use absolute positioning for transitions */
  top: 50%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Perfectly center without initial offset */
  opacity: 0;
  visibility: hidden; /* Hidden by default, will be shown by JS */
  transition: opacity 0.5s ease-out, transform 0.5s ease-out, visibility 0.5s;
  pointer-events: none; /* Disable interaction when not active */
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.question-card.active {
  opacity: 1;
  transform: translate(-50%, -50%); /* Perfectly center and show */
  visibility: visible; /* Make visible when active */
  pointer-events: all; /* Enable interaction when active */
}

/* Slide animations */
.question-card.slide-in-next {
  animation: slideInNext 0.5s forwards;
}

.question-card.slide-in-prev {
  animation: slideInPrev 0.5s forwards;
}

.question-card.slide-out-next {
  animation: slideOutNext 0.5s forwards;
}

.question-card.slide-out-prev {
  animation: slideOutPrev 0.5s forwards;
}

@keyframes slideInNext {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(100%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
  }
}

@keyframes slideInPrev {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(-100%); /* Start from above */
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
  }
}

@keyframes slideOutNext {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(-100%);
  }
}

@keyframes slideOutPrev {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(100%); /* Slide down and vanish */
  }
}

.question-title {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
}

.question-subtitle {
  font-size: 20px;
  color: var(--black);
  margin-bottom: 2.5rem;
  text-align: center;
  margin-top: -1rem;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  gap: 10px;
}

.option-label {
  display: block;
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  font-size: 16px;
  font-weight: 500;
  color: var(--foreground);
  min-width: 20rem;
}

.option-label.checkbox {
  padding: 0;
  border: none;
  background-color: unset;
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
}

.option-label.checkbox:hover {
  background: none !important;
}

.option-label input[type="checkbox"] {
  width: 20px;
  cursor: pointer;
}

.option-label input[type="checkbox"]:checked {
  accent-color: var(--Primary) !important;
  background: var(--Primary);
}

.option-label:hover {
  border-color: var(--primary);
  color: #000;
  background: var(--muted);
}

.option-label input[type="radio"] {
  display: none;
}

.option-label.is-selected {
  background: #d3f6f5;
  border-color: var(--primary);
  color: #017670;
  /* box-shadow: 0 8px 25px rgba(20, 184, 166, 0.4);  */
  /* transform: translateY(-2px);  */
  position: relative;
}

.option-label.is-selected::after {
  content: "";
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url(../images/icon-check.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.option-label span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
}

.navigation-buttons {
  display: flex;
  justify-content: center; /* Center the button group */
  margin-top: 5rem;
  gap: 20px; /* Gap between the two buttons */
}

.navigation-controls {
  /* This container is now just a wrapper, its styling will be minimal */
  display: flex;
  gap: 20px; /* Ensure gap is applied here too if needed, but individual buttons will have their own styling */
}

.nav-btn {
  background-color: var(--card); /* Green color */
  color: var(--primary-foreground); /* White arrows */
  border: none;
  border-radius: 5px; /* Pill shape */
  min-width: 45px; /* Adjusted width */
  width: fit-content;
  height: 45px; /* Increased height */
  padding: 0 1rem;
  font-size: 18px; /* Adjusted arrow size */
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Consistent shadow */
}
.nav-btn > p {
  margin-right: 6rem;
  color: #1f262e;
  font-weight: 400;
}

.nav-btn:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Remove specific prev/next styling as they are now identical */

.nav-btn.prev {
  background-color: #e4e4e4;
}
.nav-btn.prev,
.nav-btn.next {
  color: var(--primary-foreground);
}
.nav-btn.prev:hover,
.nav-btn.next:hover {
  background-color: rgba(20, 184, 166, 0.9);
}
.nav-btn.next {
  border: 2px solid transparent;
}

.nav-btn.next:hover {
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #4b31aa, #313daa, #1d8c88, #1d698c) border-box;
}

.nav-btn.next:hover > p {
  color: var(--Primary);
}

/* Shiver animation for invalid input */
@keyframes shiver {
  0% {
    transform: translate(-50%, -50%) translateX(0);
  }
  25% {
    transform: translate(-50%, -50%) translateX(-10px);
  } /* Increased shake distance */
  50% {
    transform: translate(-50%, -50%) translateX(10px);
  } /* Increased shake distance */
  75% {
    transform: translate(-50%, -50%) translateX(-7px);
  }
  100% {
    transform: translate(-50%, -50%) translateX(0);
  }
}

.shiver {
  animation: shiver 0.5s; /* Increased duration for heavier shake */
  border-color: red !important;
}

/* Custom alert message */
.custom-alert {
  background-color: #ffdddd;
  color: #d8000c;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  position: fixed; /* Position relative to the parent .hero-section */
  bottom: 5rem; /* Position above the bottom edge of hero-section */
  left: 50%;
  transform: translateX(-50%) translateY(100px); /* Start further below to slide up */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, visibility 0.3s;
  z-index: 1000; /* Ensure it's on top of other content */
  width: 80%; /* Adjust width as needed */
  max-width: 400px; /* Max width for better appearance */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.custom-alert.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0); /* Slide up to its final position */
  visibility: visible;
}

.intro-section {
  padding: 60px 120px;
  background: var(--white);
}

.intro-subtitle {
  color: #017670;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.intro-title {
  color: var(--black);
  font-size: 54px;
  font-weight: 700;
  margin-bottom: 24px;
}

.intro-description {
  color: #333;
  font-size: 24px;
  font-weight: 400;
  max-width: 1200px;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 120px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  border-radius: 16px;
  /* border: 1px solid rgba(1, 118, 112, 0.65); */
  border: 2px solid transparent;

  /* background: #fff; */
  background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #4b31aa, #313daa, #1d8c88, #1d698c) border-box;
  height: 100%;
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 32px;
  flex-shrink: 0;
}

.feature-text {
  color: #333;
  font-size: 20px;
  font-weight: 400;
}

.faq-section {
  background: #f5ffff;
  padding: 100px 120px;
}

.faq-subtitle {
  color: #017670;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.faq-title {
  color: var(--black);
  font-size: 54px;
  font-weight: 700;
  margin-bottom: 60px;
}

.faq-list {
  /* margin: 0 auto; */
}

.faq-item {
  border-bottom: 1px solid var(--Light-grey);
  padding: 20px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  min-height: 44px;
  padding: 8px 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(1, 118, 112, 0.1);
}

.faq-question h3 {
  color: var(--black);
  font-size: 24px;
  font-weight: 500;
  /* opacity: 0.76; */
}

.faq-answer {
  color: #333;
  font-size: 20px;
  font-weight: 400;
  margin-top: 20px;
  line-height: 1.6;
}

.faq-answer.hidden {
  display: none;
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.about-section {
  padding: 120px 120px 60px;
  background: var(--white);
}

.about-title {
  color: var(--black);
  font-size: 54px;
  font-weight: 700;
  margin-bottom: 32px;
}

.about-description {
  color: #333;
  font-size: 24px;
  font-weight: 400;
  max-width: 1200px;
  margin-bottom: 60px;
}

.about-content {
  display: flex;
  gap: 60px;
  align-items: center;
}

.about-image {
  width: 556px;
  height: 378px;
  border-radius: 16px;
  object-fit: cover;
}

.about-stats {
  flex: 1;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.stat-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.stat-text {
  color: #000;
  font-size: 32px;
  font-weight: 400;
}

.about-date {
  color: #333;
  font-size: 20px;
  font-weight: 400;
  margin-top: 32px;
}

.footer {
  background: #e1f6f5;
  padding: 120px 120px 60px;
}

.footer-content {
  display: flex;
  gap: 68px;
  margin-bottom: 60px;
}

.footer-section h4 {
  color: var(--black);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 13px;
}

.footer-section p {
  color: var(--black);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

.footer-logo {
  width: 193px;
  height: 46px;
  margin-bottom: 40px;
}

.disclaimer-section {
  border-top: 1px solid var(--Light-grey);
  padding-top: 32px;
  margin-bottom: 32px;
}

.disclaimer-title {
  color: var(--black);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.disclaimer-text {
  color: var(--black);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--Light-grey);
  padding-top: 32px;
}

.footer-legal {
  color: var(--black);
  font-size: 18px;
  font-weight: 400;
  opacity: 0.5;
  margin-bottom: 16px;
}

.footer-credit {
  color: var(--black);
  font-size: 18px;
  font-weight: 400;
  opacity: 0.29;
}

/* Mobile-first approach */
@media (max-width: 1200px) {
  .question-card {
    max-width: 100%;
    padding: 2rem 5rem;
  }

  .question-container {
    margin: 0 20px;
  }

  .progress-tracker-container {
    flex-direction: row;
    justify-content: space-around;
    gap: 0.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    padding: 2px;
    width: 90%;
    top: 10rem;
  }

  .progress-card {
    flex: 1; /* Allow cards to grow/shrink */
    min-width: fit-content;
  }

  .header,
  .intro-section,
  .faq-section,
  .about-section,
  .footer {
    padding-left: 60px;
    padding-right: 60px;
  }

  .about-section .about-content {
    flex-direction: column;
    gap: 32px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .feature-card {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .logo-text {
    font-size: 18px;
  }

  .question-container {
    min-height: 45rem;
    margin: 0;
  }

  .intro-section,
  .faq-section,
  .about-section,
  .footer {
    padding: 40px 20px;
  }

  .intro-title {
    font-size: 36px;
    margin-bottom: 16px;
  }

  .intro-subtitle {
    font-size: 16px;
  }

  .intro-description {
    font-size: 18px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 60px;
  }

  .feature-card {
    width: 100%;
    height: auto;
    min-height: 200px;
    padding: 20px;
  }

  .faq-title {
    font-size: 36px;
    margin-bottom: 40px;
  }

  .faq-question h3 {
    font-size: 18px;
    line-height: 1.4;
  }

  .faq-answer {
    font-size: 16px;
  }

  .about-title {
    font-size: 36px;
    word-break: break-all;
  }

  .about-description {
    font-size: 18px;
  }

  .about-content {
    flex-direction: column;
    gap: 32px;
  }

  .about-image {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .stat-item {
    align-items: flex-start;
  }

  .stat-text {
    font-size: 20px;
    line-height: 1.3;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 32px;
  }

  .footer-section h4 {
    font-size: 20px;
  }

  .footer-section p {
    font-size: 16px;
  }

  .modal-content {
    width: 95%;
    height: auto;
    max-height: 95vh;
    overflow-y: auto;
    padding: 30px 20px;
    margin: 10px;
  }

  .progress-indicators {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
  }

  .progress-step {
    width: 100px;
    height: 100px;
    flex: 1;
    min-width: 100px;
  }

  .progress-step .step-title {
    font-size: 14px;
  }

  .modal-title {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .modal-subtitle {
    font-size: 18px;
    margin-bottom: 32px;
  }

  .age-options {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 12px;
  }

  .age-option {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    height: 56px;
    font-size: 16px;
  }

  .modal-navigation {
    gap: 20px;
    margin-top: 32px;
    flex-direction: column-reverse;
    align-items: center;
  }

  .nav-button.next {
    width: 100%;
    max-width: 300px;
    height: 56px;
    order: 1;
  }

  .nav-button.back {
    order: 2;
  }

  .cta-button {
    width: 100%;
    max-width: 300px;
    padding: 16px 24px;
    font-size: 16px;
    margin: 0 auto;
    display: block;
  }
}

@media (max-width: 480px) {
  /* .header {
    padding: 0 16px;
    min-height: 70px;
  } */

  .intro-title {
    font-size: 28px;
  }

  .intro-subtitle {
    font-size: 14px;
  }

  .intro-description {
    font-size: 16px;
  }

  .faq-title {
    font-size: 28px;
  }

  .about-title {
    font-size: 28px;
  }

  .about-description {
    font-size: 16px;
  }

  .modal-content {
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    margin: 0;
    padding: 20px 16px;
  }

  .progress-indicators {
    gap: 4px;
  }

  .progress-step {
    width: 70px;
    height: 80px;
    min-width: 70px;
  }

  .progress-step .step-title {
    font-size: 12px;
  }

  .progress-step .step-icon {
    width: 40px;
    height: 40px;
  }

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

  .modal-subtitle {
    font-size: 16px;
  }

  .age-option {
    height: 48px;
  }

  .nav-button.next {
    height: 48px;
  }

  .stat-text {
    font-size: 18px;
  }
}

/* Touch targets and accessibility */
@media (hover: none) and (pointer: coarse) {
  .faq-question,
  .age-option,
  .nav-button,
  .cta-button {
    min-height: 44px;
  }

  .age-option {
    padding: 12px 16px;
  }
}

/* Landscape phone orientation */
@media (max-width: 768px) and (orientation: landscape) {
  .modal-content {
    max-height: 95vh;
    overflow-y: auto;
  }

  .progress-indicators {
    margin-bottom: 20px;
  }

  .modal-title {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .modal-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .dreams-grid {
    grid-template-columns: repeat(4, 1fr); /* Changed to 4 columns for mobile */
  }
}

@media (min-width: 768px) {
  .dreams-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.dream-card {
  background: var(--card);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: box-shadow 0.2s;
  border: 1px solid var(--border);
}

.dream-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.dream-image {
  width: 100%;
  aspect-ratio: 1;
  background: var(--muted);
  border-radius: 6px;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.dream-title {
  font-size: 14px;
  font-weight: 500;
}

.generate-btn {
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.generate-btn:hover {
  background: rgba(20, 184, 166, 0.9);
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.benefit-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 1.5rem;
}

.benefit-card-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.benefit-card-desc {
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-section h4 {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer-section p,
.footer-section address {
  font-size: 14px;
  color: var(--black);
  font-style: normal;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.disclaimer {
  margin-bottom: 1rem;
}

.disclaimer h5 {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.disclaimer p {
  font-size: 12px;
  color: var(--muted-foreground);
  line-height: 1.4;
}

.footer-credits {
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 1rem;
}

.footer-credits p {
  font-size: 12px;
  color: var(--muted-foreground);
}

/* General responsive adjustments */
img {
  max-width: 100%;
  height: auto;
  display: block; /* Remove extra space below images */
}

.hero-container {
  padding: 20px 10px; /* Adjust padding for smaller screens */
}

/* Mobile responsiveness (max-width: 768px) */
@media (max-width: 768px) {
  body {
    font-size: 15px; /* Slightly smaller base font size for mobile */
  }

  .header {
    padding: 1rem;
  }

  .logo img {
    width: 8rem;
  }

  .logo-sub {
    display: none; /* Hide sub-text on small screens */
  }

  .sip-badge {
    align-self: flex-end;
  }

  .progress-tracker-container {
    flex-direction: row;
    justify-content: space-around;
    gap: 0.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    width: 90%;
    top: 7.5rem;
    /* display: none; */
    /* position: sticky;
    top: 5rem; */
  }

  .progress-card {
    flex: 1; /* Allow cards to grow/shrink */
    padding: 0.5rem; /* Reduced padding */
    min-width: fit-content;
  }

  .progress-card-icon {
    width: 32px; /* Smaller icon size */
    height: 32px;
    font-size: 16px; /* Smaller icon font size */
    margin-bottom: 0.25rem; /* Reduced margin */
  }

  .completion-icon {
    font-size: 18px;
  }
  .completion-icon img {
    width: 60%;
  }

  .progress-card-title {
    font-size: 10px;
    display: none;
  }

  .progress-tracker-container {
    align-items: center;
  }

  .progress-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: fit-content;
  }

  .progress-card .progress-bar-container {
    display: none;
  }

  .progress-card.active .progress-bar-container {
    display: block;
  }
  .progress-card.active .progress-card-title {
    display: unset;
  }

  .progress-card-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .completion-icon {
    font-size: 20px;
  }

  .hero-container {
    align-items: flex-start;
    padding: 0 !important;
  }
  .hero-section {
    padding: 1rem;
  }

  .question-card {
    padding: 1.5rem;
  }

  .question-title {
    font-size: 20px;
    margin-bottom: 1rem;
  }

  .question-subtitle {
    font-size: 14px;
    margin-bottom: 1.5rem;
  }

  .form-input {
    width: 100%;
    min-width: 75vw !important;
  }

  .options-grid {
    grid-template-columns: 1fr;
  }

  .option-label {
    font-size: 14px;
    min-width: 75vw !important;
  }

  .submit-feedback {
    margin: 0 auto;
  }

  .option-label.checkbox {
    align-items: flex-start;
  }
  .option-label.checkbox input[type="checkbox"] {
    margin-top: 5px;
  }

  .navigation-buttons {
    flex-direction: column;
  }

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

  .dreams-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
  }

  .dream-card {
    padding: 0.5rem;
  }

  .dream-image {
    margin-bottom: 0.25rem;
  }

  .dream-title {
    font-size: 10px;
  }

  .dream-title {
    font-size: 12px;
  }

  .benefits-title {
    font-size: 20px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    padding: 1rem;
  }

  .benefit-card-title {
    font-size: 16px;
  }

  .benefit-card-desc {
    font-size: 13px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-section p {
    color: var(--black);
  }

  .footer-section h4 {
    margin-bottom: 0.5rem;
    color: var(--black);
  }

  .footer-bottom {
    padding-top: 1rem;
    margin-top: 1rem;
  }

  .disclaimer {
    margin-bottom: 0.75rem;
  }

  .disclaimer h5 {
    font-size: 13px;
  }

  .disclaimer p {
    font-size: 11px;
  }

  .custom-alert {
    width: 90%;
  }
}

/* Tablet and larger screens (min-width: 769px) */
@media (min-width: 769px) {
  .logo-icon {
    font-size: 16px;
  }

  .logo-text {
    font-size: 20px;
  }

  .logo-sub {
    font-size: 16px;
    margin-left: 1rem;
  }

  .progress-tracker-section {
    /* padding: 1.5rem 2rem; */
  }

  .progress-tracker-container {
    flex-direction: row;
    justify-content: space-around;
    gap: 1.5rem;
  }

  .progress-card-icon {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }

  .completion-icon {
    font-size: 28px;
  }

  .progress-card-title {
    font-size: 16px;
  }

  .hero-section {
    padding: 3rem 2rem;
  }

  .option-label {
    font-size: 18px;
  }

  .dreams-title {
    font-size: 36px;
  }

  .dreams-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
  }

  .dream-card {
    padding: 1.25rem;
  }

  .dream-image {
    margin-bottom: 1rem;
  }

  .dream-title {
    font-size: 15px;
  }

  .benefits-title {
    font-size: 28px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .benefit-card {
    padding: 2rem;
  }

  .benefit-card-title {
    font-size: 18px;
  }

  .benefit-card-desc {
    font-size: 15px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-section {
    text-align: left;
  }

  .footer-section h4 {
    margin-bottom: 0.75rem;
  }

  .footer-bottom {
    padding-top: 2rem;
    margin-top: 2.5rem;
  }

  .disclaimer {
    margin-bottom: 1rem;
  }

  .disclaimer h5 {
    font-size: 14px;
  }

  .disclaimer p {
    font-size: 12px;
  }

  .footer-credits {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
  }
}

/* Feedback Button for Results Card */
.feedback-btn {
  background: #017670;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: background-color 0.3s ease;
}

.feedback-btn:hover {
  background: #015a56;
}

/* Feedback Card Container */
#feedback-card {
  display: none;
  min-height: auto !important; /* Remove fixed height */
  height: auto !important;
  padding: 2rem 4rem !important; /* Adjust padding */
  max-height: 90vh; /* Maximum height to prevent overflow */
  overflow-y: auto; /* Allow scrolling if content is too tall */
  top: 10px !important; /* Position from top instead of center */
  transform: translate(-50%, 0) !important; /* Only center horizontally */
}

#feedback-card.active {
  display: block;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  min-height: auto !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.feedback-container {
  border-radius: 12px;
  width: 100%;
  position: relative;
  background: var(--card);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feedback-content-wrapper {
  padding: 2rem 10rem;
}

.feedback-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 0 16px;
  /* border-bottom: 1px solid #e5e5e5; */
  margin-bottom: 24px;
}

.feedback-title {
  font-size: 30px;
  font-weight: 700;
  color: #000308;
  margin: 0;
}

.feedback-back {
  background: #f5f5f5;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  color: #333;
  transition: background-color 0.3s ease;
  display: none;
}

.feedback-back:hover {
  background: #e5e5e5;
}

.feedback-content {
  padding: 0;
}

.feedback-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 2rem;
}

/* New Report Layout Styles */
.report-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e5e5;
}

.report-card-note {
  margin-bottom: 2rem;
}

.report-title {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.user-name {
  color: #8b5cf6; /* Purple color for name */
}

.report-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.download-btn {
  background: #0f766e;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  min-height: 2.5rem;
}

.share-btn {
  background: #f8f9fa;
  border: 1px solid #0f766e;
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Report Cards Container */
.report-cards-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.report-card {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-start;
  position: relative;
  flex-wrap: wrap;
}

.chart-img {
  margin: 0 auto;
  width: 6rem;
}

.report-card-left,
.report-card-right {
  flex: 1;
  min-width: 200px;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.card-icon {
  width: 24px;
  height: 24px;
}

.card-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

/* Gauge Section */
.gauge-section {
  margin-bottom: 24px;
}

.gauge-wrapper {
  height: 120px;
  margin-bottom: 16px;
}

.gauge-info {
  text-align: left;
}

.risk-badge,
.health-badge {
  display: inline-block;
  padding: 4px 12px 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff !important;
  font-weight: 600;
  position: relative;
}

.risk-badge::before,
.health-badge::before {
  /* content: ""; */
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: inherit;
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.risk-description,
.health-description {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
  margin: 0;
  margin-bottom: 15px;
}

/* Recommendations Section */
.recommendations-section {
  background: #d3f6f5;
  border-radius: 8px;
  padding: 16px;
}

.recommendations-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #0f766e;
}

.expert-icon {
  width: 20px;
  height: 20px;
}

.recommendations-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recommendations-list li {
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
}

.recommendations-list li::before {
  content: "•";
  color: #000;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Snapshot Section */
.snapshot-section {
  border-radius: 12px;
  margin-bottom: 32px;
  text-align: center;
}

.snapshot-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  text-align: left;
}

.snapshot-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.snapshot-card {
  background: white;
  border: 2px solid transparent; /* Change from 1px solid #e5e5e5 */
  border-radius: 8px;
  padding: 16px;
  text-align: left;
  position: relative; /* Add this for pseudo-element */
  background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #4b31aa, #313daa, #1d8c88, #1d698c) border-box;
}

/* Alternative method if the above doesn't work properly */
.snapshot-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #4b31aa, #313daa, #1d8c88, #1d698c);
  border-radius: 10px;
  z-index: -1;
}

.snapshot-label {
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}

.snapshot-value {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.take-assessment-btn {
  background: transparent;
  border: 2px solid #0f766e;
  color: #0f766e;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  width: fit-content;
  margin: 0 auto;
}

.notification {
  position: fixed;
  top: 3rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 1.5rem 2rem;
  background-color: #d3f6f5;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  z-index: 999;
  font-size: 16px !important;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .report-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .report-cards-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .snapshot-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .report-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .feedback-content-wrapper {
    padding: 1rem !important;
  }

  .notification {
    left: 1rem;
    right: 1rem;
    transform: unset;
  }

  .next-steps {
    position: relative !important;
    border-radius: 10px;
  }
}

/* Report Summary */
.report-summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 16px;
  /* border-bottom: 1px solid #e5e5e5; */
}
.summary-header {
  width: 100%;
}
.summary-header h3 {
  font-size: 30px;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: #000308;
}

.summary-header p {
  font-size: 20px;
  color: #666;
  margin: 0;
}

.summary-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.download-btn {
  background: #017670;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.share-btn {
  background: #f5f5f5;
  border: none;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  border: 1px solid #017670;
}

/* Risk Gauges */
.risk-gauges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.gauge-container {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  position: relative;
}

.gauge-container h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: #000308;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.gauge-container h4 img {
  width: 2rem;
}

.gauge-wrapper {
  position: relative;
  height: 120px;
  margin: 0 auto 8px;
}

#riskGaugeChart,
#healthGaugeChart {
  max-height: 120px;
  width: 100% !important;
}
#healthGaugeChart {
  width: 80% !important;
  margin: 0 auto;
}

.gauge-labels {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  color: #666;
  font-weight: bold;
}

/* Financial Snapshot */
.financial-snapshot {
  margin-bottom: 24px;
}

.financial-snapshot h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: #000308;
}

.snapshot-items {
  display: flex;
  gap: 10px;
}

.snapshot-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  border: 1px solid #e6e6e6;
  border-radius: 5px;
  padding: 1rem;
  flex: 1;
  color: #757575;
}

.snapshot-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.snapshot-dot.blue {
  background: #007bff;
}

.snapshot-dot.orange {
  background: #ffa500;
}
.snapshot-result {
  display: block;
  color: #000;
  font-weight: 600;
}
/* Recommendations */
.recommendations {
  background: #d3f6f5;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.recommendations-content {
  flex: 1;
}

.recommendations h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: var(--Primary);
}

.recommendations p {
  font-size: 18px;
  color: var(--Primary);
  margin: 0 0 12px 0;
}

.recommendations ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.recommendations li {
  font-size: 16px;
  color: #333;
  margin-bottom: 4px;
  position: relative;
  padding-left: 16px;
}

.recommendations li::before {
  content: "•";
  color: #000;
  position: absolute;
  left: 0;
}

.assessment-again-btn {
  border: 1px solid #017670 !important;
  background-color: transparent;
  color: #017670;
  border: none;
  padding: 12px 15px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  width: fit-content;
  margin: 0 auto;
}

.recommendations-icon {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recommendations-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Rating Section */
.rating-section {
  margin-bottom: 24px;
  padding: 24px 16px;
  border-radius: 8px;
  border-top: 1px solid #e6e6e6;
}

.rating-section h3 {
  font-size: 30px;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: #000308;
  text-align: center;
}

.rating-section > p {
  font-size: 20px;
  color: #666;
  margin: 0 0 16px 0;
  text-align: center;
}

/* .rating-stars {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.star {
  font-size: 30px;
  cursor: pointer;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.star.active,
.star:hover {
  opacity: 1;
} */

.rating-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 16px;
  padding: 10px;
}

.star {
  font-size: 32px;
  cursor: pointer;
  color: #e0e0e0;
  transition: all 0.2s ease;
  user-select: none;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.star:hover {
  color: #ffd700;
  transform: scale(1.1);
  text-shadow: 2px 2px 4px rgba(255, 215, 0, 0.3);
}

.star.active {
  color: #ffd700;
  text-shadow: 2px 2px 4px rgba(255, 215, 0, 0.4);
}

/* Interactive hover effect */
.rating-stars:not(.rated) .star:hover,
.rating-stars:not(.rated) .star:hover ~ .star {
  color: #e0e0e0;
}

.rating-stars:not(.rated) .star:hover {
  color: #ffd700;
}

/* Show preview of rating on hover */
.rating-stars .star:nth-child(1):hover,
.rating-stars .star:nth-child(2):hover ~ .star:nth-child(1),
.rating-stars .star:nth-child(3):hover ~ .star:nth-child(-n + 2),
.rating-stars .star:nth-child(4):hover ~ .star:nth-child(-n + 3),
.rating-stars .star:nth-child(5):hover ~ .star:nth-child(-n + 4) {
  color: #ffd700;
}

.feedback-input label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #000;
}

.feedback-input textarea {
  width: 100%;
  min-height: 80px;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  resize: vertical;
  margin-bottom: 12px;
  box-sizing: border-box;
  font-family: inherit;
}

.feedback-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feedback-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.feedback-checkbox input[type="checkbox"]:checked {
  accent-color: var(--Primary) !important;
  background: var(--Primary);
}

.feedback-checkbox label {
  font-size: 16px;
  margin: 0;
  cursor: pointer;
}

.submit-feedback {
  border: 1px solid #017670 !important;
  background-color: transparent;
  color: #017670;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  float: right;
}

/* Next Steps */
.next-steps {
  background: #017670;
  color: white;
  padding: 20px;
  /* border-radius: 8px; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

.next-steps .next-steps-text h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 5px;
}

.next-steps .next-steps-text p {
  font-size: 16px;
  opacity: 0.9;
}

.expert-session-btn {
  background: white;
  color: #017670;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.callback-request-section {
  margin: 1.5rem 0;
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #f9f9f9;
}

.callback-checkbox-label {
  display: flex;
  align-items: center;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 1rem;
}

.callback-checkbox-label input[type="checkbox"] {
  margin-right: 0.5rem;
  transform: scale(1.2);
}

.callback-checkbox-label input[type="checkbox"]:checked {
  accent-color: var(--Primary) !important;
  background: var(--Primary);
}
.time-slot-container {
  min-width: 15rem;
}

.time-slot-container label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.report-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.timer-display {
  color: #666;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .report-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .timer-display {
    text-align: center;
    order: 3;
  }
}

/* Enhanced dropdown styling */
.time-slot-dropdown {
  position: relative;
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  background: white;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.time-slot-dropdown:hover {
  border-color: #017670;
  background-color: #fafbfc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.time-slot-dropdown:focus {
  outline: none;
  border-color: #017670;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(1, 118, 112, 0.1);
}

.time-slot-dropdown:active {
  transform: translateY(1px);
}

/* Option styling (limited browser support) */
.time-slot-dropdown option {
  padding: 0.5rem;
  font-size: 14px;
  background: white;
  color: #333;
}

.time-slot-dropdown option:hover {
  background: #f8f9fa;
}

/* Disabled state */
.time-slot-dropdown:disabled {
  background-color: #f5f5f5;
  border-color: #e0e0e0;
  color: #999;
  cursor: not-allowed;
  opacity: 0.6;
}

.time-slot-dropdown:disabled:hover {
  border-color: #e0e0e0;
  box-shadow: none;
}

/* CSS overrides ONLY when feedback screen is open */
.feedback-mode .hero-section {
  min-height: auto !important;
  height: auto !important;
  padding: 0 !important;
}

.feedback-mode .hero-container {
  min-height: auto !important;
  height: auto !important;
  align-items: flex-start !important;
  padding-top: 1rem !important;
}

.feedback-mode .progress-tracker-section {
  display: none !important;
}

/* Ensure feedback content has proper spacing */
.feedback-mode .feedback-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Adjust feedback content spacing */
.feedback-content > * {
  margin-bottom: 20px;
}

.feedback-content > *:last-child {
  margin-bottom: 0;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .hero-container {
    /* padding: 0; */
  }

  .summary-header {
    text-align: center;
  }
  .summary-actions {
    justify-content: center;
    width: 100%;
  }
  .snapshot-items {
    display: block;
  }
  .snapshot-items .snapshot-item {
    margin-bottom: 1rem;
  }
  .feedback-content-wrapper {
    padding: 2rem 2rem;
  }

  .feedback-header {
    padding: 16px 0 12px;
    margin-bottom: 16px;
  }

  .feedback-title {
    font-size: 20px;
  }

  .report-summary {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .risk-gauges {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gauge {
    width: 100px;
    height: 50px;
  }

  .gauge-fill {
    width: 100px;
    height: 50px;
    border-width: 6px;
  }

  .gauge-needle {
    height: 30px;
  }

  .recommendations {
    flex-direction: column;
    /* text-align: center; */
  }

  .recommendations-icon {
    align-self: center;
  }

  .rating-section {
    padding: 0;
  }
  .feedback-checkbox {
    align-items: flex-start;
  }

  .next-steps {
    flex-direction: column;
  }
  .next-steps .next-steps-text {
    margin-bottom: 1rem;
  }

  #feedback-card {
    padding: 1rem !important;
    max-height: 95vh;
    top: 5px !important;
  }

  #feedback-card.active {
    padding: 1.5rem !important;
    margin: 0 1rem !important;
  }
}

@media (max-width: 480px) {
  .feedback-header {
    padding: 12px 0 8px;
    margin-bottom: 12px;
  }

  .feedback-title {
    font-size: 18px;
  }

  .gauge {
    width: 80px;
    height: 40px;
  }

  .gauge-fill {
    width: 80px;
    height: 40px;
    border-width: 4px;
  }

  .gauge-needle {
    height: 25px;
  }

  #feedback-card {
    padding: 0.5rem !important;
    margin: 0 10px;
    width: calc(100% - 20px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  #feedback-card.active {
    padding: 1rem !important;
    margin: 0 0.5rem !important;
  }
}

/* Desktop version override for PDF generation */
.pdf-mode {
  width: 1000px !important;
  max-width: none !important;
  padding: 40px !important;
  background: white !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.pdf-mode .report-cards-container {
  grid-template-columns: 1fr !important;
  gap: 30px !important;
}

.pdf-mode .snapshot-cards {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
}

.pdf-mode .report-card {
  flex-direction: row !important;
  align-items: flex-start !important;
}

.pdf-mode .gauge-wrapper {
  height: 150px !important;
}

/* Hide elements not needed in PDF */
.pdf-mode .report-actions,
.pdf-mode .rating-section,
.pdf-mode .next-steps {
  display: none !important;
}

/* Fix 1: Low Risk badge spacing */
.pdf-mode .risk-badge,
.pdf-mode .health-badge {
  margin: 8px 0 !important;
  padding: 4px 12px !important;
}

/* Fix 2: Take Assessment Again button spacing */
.pdf-mode .take-assessment-btn {
  display: none !important;
}

.footer-geojit {
  overflow: hidden;
  background-color: #fbfbfb;
}
.footer-geojit .nav-top-grid,
.footer-geojit .nav-bottom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 5rem;
  padding: 3rem 7.5rem;
  position: relative;
}
.footer-geojit .nav-top-grid::before,
.footer-geojit .nav-bottom-grid::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #c1c1c1;
}
.footer-geojit .nav-top-grid .nav-items .text-green,
.footer-geojit .nav-bottom-grid .nav-items .text-green {
  color: #017670;
}
.footer-geojit .nav-top-grid .nav-items .text-bold,
.footer-geojit .nav-bottom-grid .nav-items .text-bold {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 1.5rem;
}
.footer-geojit .nav-top-grid .nav-items a,
.footer-geojit .nav-bottom-grid .nav-items a {
  display: block;
  width: fit-content;
  text-decoration: none;
  color: #545454;
}
.footer-geojit .nav-top-grid .nav-items a:not(:last-child),
.footer-geojit .nav-bottom-grid .nav-items a:not(:last-child) {
  margin-bottom: 1rem;
}
.footer-geojit .nav-top-grid .nav-items a:hover,
.footer-geojit .nav-bottom-grid .nav-items a:hover {
  text-decoration: underline;
}
.footer-geojit .nav-top-grid .nav-address p,
.footer-geojit .nav-bottom-grid .nav-address p {
  font-size: 16px;
}
.footer-geojit .nav-top-grid .nav-address img,
.footer-geojit .nav-bottom-grid .nav-address img {
  width: 10rem;
  margin-bottom: 1rem;
}
.footer-geojit .nav-bottom-grid::before {
  content: none !important;
}
.footer-geojit .nav-bottom-grid .flex-a {
  display: flex !important;
  align-items: center;
  gap: 1rem;
}
.footer-geojit .nav-bottom-grid h3 {
  margin-bottom: 0.5rem;
}
.footer-geojit .nav-bottom-grid .mb-2 {
  margin-bottom: 2rem !important;
}
.footer-geojit .nav-bottom-grid .mb-1 {
  margin-bottom: 1rem !important;
}
.footer-geojit .nav-bottom-grid .grid-last-item h3 {
  color: #545454;
}
.footer-geojit .nav-bottom-grid .grid-last-item p {
  font-size: 16px !important;
  color: #545454;
}
.footer-geojit .investor-alert {
  padding: 3rem 7.5rem;
  background-color: #e1f6f5;
}
.footer-geojit .investor-alert h1 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.footer-geojit .investor-alert .para-bold {
  font-weight: 600;
  margin-bottom: 3rem;
  font-size: 18px;
}
.footer-geojit .investor-alert h3 {
  font-weight: 600;
  margin-bottom: 2rem;
}
.footer-geojit .investor-alert .grey-text-p {
  font-size: 16px;
  color: #545454;
  margin-bottom: 2rem;
}
.footer-geojit .investor-alert .grey-text-p span {
  font-weight: bold;
  color: #000;
}
.footer-geojit .investor-alert .text-grey-bold {
  color: #545454 !important;
  font-weight: bold;
}
.footer-geojit .investor-alert .text-green-d {
  color: #017670;
}

@media only screen and (max-width: 600px) {
  .footer-geojit .nav-top-grid,
  .footer-geojit .nav-bottom-grid {
    padding: 2rem 2rem;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1rem;
    overflow: hidden;
  }
  .footer-geojit .nav-top-grid a,
  .footer-geojit .nav-top-grid p,
  .footer-geojit .nav-bottom-grid a,
  .footer-geojit .nav-bottom-grid p {
    font-size: 14px !important;
  }
  .footer-geojit .nav-top-grid .text-bold,
  .footer-geojit .nav-bottom-grid .text-bold {
    font-size: 16px !important;
  }
  .footer-geojit .nav-top-grid {
    grid-template-areas: "a b" "c d" !important;
  }
  .footer-geojit .nav-top-grid .nav-items:nth-child(1) {
    grid-area: a;
  }
  .footer-geojit .nav-top-grid .nav-items:nth-child(2) {
    grid-area: d;
  }
  .footer-geojit .nav-top-grid .nav-items:nth-child(3) {
    grid-area: c;
  }
  .footer-geojit .nav-top-grid .nav-items:nth-child(4) {
    grid-area: b;
  }
  .footer-geojit .investor-alert {
    padding: 3rem 2rem;
  }
  .footer-geojit .investor-alert h1 {
    font-size: 20px;
  }
  .footer-geojit .investor-alert .para-bold {
    font-size: 14px !important;
  }
  .footer-geojit .investor-alert p {
    font-size: 14px !important;
  }
}

/*# sourceMappingURL=styles.css.map */

.btn-outline {
  background: transparent;
  border: 2px solid #017670;
  color: #017670;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  min-width: fit-content;
}

.btn-outline:hover {
  background: #017670;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(1, 118, 112, 0.2);
}

.btn-outline:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(1, 118, 112, 0.2);
}

.btn-outline:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(1, 118, 112, 0.1);
}

/* Size variations */
.btn-outline.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

.btn-outline.btn-lg {
  padding: 16px 32px;
  font-size: 18px;
}

/* Disabled state */
.btn-outline:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: transparent;
  color: #017670;
  transform: none;
  box-shadow: none;
}

.expert-session-popup {
  position: absolute;
  bottom: 76px;
  right: 20px;
  height: 220px;
  padding-top: 10px;
}

.expert-session-popup h3 {
  color: #1f262e;
  font-size: 1rem;
  font-weight: normal;
}

@media (max-width: 480px) {
  .expert-session-popup {
    right: 0px;
  }
}

.rating-submitted .feedback-input textarea,
.rating-submitted .feedback-input label,
.rating-submitted .feedback-checkbox,
.rating-submitted .submit-feedback {
  display: none !important;
}

.rating-submitted .rating-section {
  text-align: center;
  padding: 2rem 0;
}

.rating-submitted .rating-section::after {
  content: "Thank you for your feedback!";
  display: block;
  font-size: 18px;
  font-weight: bold;
  color: #017670;
  margin-top: 1rem;
}

/* Keep stars visible but indicate they're disabled */
.rating-submitted .star {
  cursor: default !important;
  opacity: 0.7;
}


@media (max-width: 1024px) {
  .hero-container {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .question-card {
    top: 40%;
    bottom: 40%
  }
}