/*@font-face {*/
/*  font-family: "DIN-Alternate";*/
/*  src: url("fonts/style.css") format("truetype");*/
/*  font-weight: 700;*/
/*  font-style: Bold;*/
/*}*/

@import url("./fonts/style.css");

/*.max-w-7xl {*/
/*    max-width: 120rem !important;*/
/*}*/

html.scvdTop {
  font-size: 16px;  
  color: #000;
}

body.scvdTop {
    /*font-size: 28px;*/
    font-family: 'Segoe UI Regular';
}

body.scvdTop #videoPopup{
    display: none !important;
}

body.scvdTop .font-bold {
    font-family: 'Segoe UI Bold';
}
body.scvdTop h2.text-center {
    color:#000;
}

body.scvdTop p {
    color:#000;
}
body.scvdTop .font12px li {
    font-size:12px;
}
body.scvdTop li {
    color:#000;
}
body.scvdTop .footer_bottom li {
    color:#fff;
}
body.scvdTop .black {
    color:#000;
}
body.scvdTop .text-\[\#FF6A00\] {
    color:#FF6A00 !important;
}


/*body.scvdTop .hidden {*/
/*    display:block !important;*/
/*}*/
body.scvdTop #quiz-result.hidden {
    display:none !important;
}
body.scvdTop #result-bottom-content.hidden {
    display:none !important;
}

body.scvdTop #buttonscroll {
    display:none !important;
}


/* Quiz + helper styles (from original) */

#quiz-question-container,
#quiz-result {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#quiz-result.hidden {
  opacity: 0;
  pointer-events: none;
}

.quiz-option {
  background: #f97316;
  color: #fff;
  font-family: "DIN Alternate", sans-serif;
  padding: 1rem;
  font-size: large;
  border-radius: 0.375rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.quiz-option:hover {
  background: #ea580c;
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.quiz-option.selected {
  background: linear-gradient(135deg, #16a34a, #22c55e) !important;
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.4);
}

.quiz-option:active {
  transform: scale(0.98);
}

@keyframes sunPulse {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.05) rotate(5deg);
  }
}

.sun-pulse {
  animation: sunPulse 0.5s ease-in-out;
}

.step-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background-color: #d1d5db;
  border: 3px solid #d1d5db;
  transition: all 0.4s ease;
  position: relative;
}

.step-dot.completed {
  background-color: #f97316;
  border-color: #f97316;
}

.step-dot.active {
  width: 18px;
  height: 18px;
  background-color: #f97316;
  border-color: #f97316;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(249, 115, 22, 0.1);
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.result-bounce {
  animation: bounceIn 0.6s ease-out forwards;
}

.confetti-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 20;
}

.confetti-piece {
  position: absolute;
  width: 8px;
  height: 12px;
  background: #ffd300;
  top: -20px;
  opacity: 0;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(300px) rotate(720deg);
    opacity: 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14px;
  }

  /* section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  } */


}

/* 3) Requirement grid cards – stack full-width */
@media (max-width: 640px) {
  /* Container takes full width */
  section.w-full.px-\[40px\].py-\[60px\] > div.w-\[80\%\] {
    width: 100%;
  }

  /* Override grid to vertical flow */
  section.w-full.px-\[40px\].py-\[60px\]
    .w-full.grid.gap-6.grid-cols-1.sm\:grid-cols-2.md\:grid-cols-3.lg\:grid-cols-5 {
    display: block;
  }

  section.w-full.px-\[40px\].py-\[60px\]
    .w-full.grid.gap-6.grid-cols-1.sm\:grid-cols-2.md\:grid-cols-3.lg\:grid-cols-5
    > div.flex.flex-col.items-center.gap-4 {
    width: 100%;
    max-width: 100%;
    margin-bottom: 24px;
    align-items: center;
  }

  /* Card wrapper fill width */
  section.w-full.px-\[40px\].py-\[60px\]
    .w-full.grid.gap-6.grid-cols-1.sm\:grid-cols-2.md\:grid-cols-3.lg\:grid-cols-5
    > div.flex.flex-col.items-center.gap-4
    > div.relative.w-full.max-w-\[220px\].h-\[300px\].rounded-xl.overflow-hidden,
  section.w-full.px-\[40px\].py-\[60px\]
    .w-full.grid.gap-6.grid-cols-1.sm\:grid-cols-2.md\:grid-cols-3.lg\:grid-cols-5
    > div.flex.flex-col.items-center.gap-4
    > div.relative.w-full.max-w-\[220px\].h-\[300px\].rounded-xl.overflow-hidden.bg-\[\#F5F5F5\] {
    max-width: 100%;
    width: 100%;
    height: auto;
  }

  section.w-full.px-\[40px\].py-\[60px\]
    .w-full.grid.gap-6.grid-cols-1.sm\:grid-cols-2.md\:grid-cols-3.lg\:grid-cols-5
    img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

/* 4) Vitamin sun section */
/* Vitamin section: simple stacked layout on mobile */
@media (max-width: 768px) {
  #vitamin-section {
    padding: 32px 16px;
    background-position: center top;
    height: auto;
  }

  #vitamin-section > .relative.z-10.w-full.h-full.max-w-7xl.mx-auto.flex {
    height: auto;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;
  }

  /* Headings: show only heading-1, static, full width */
  #vitamin-section .text-center.h-32.flex.items-center.justify-center.relative.w-full {
    height: auto;
    justify-content: center;
  }

  #heading-1,
  #heading-2 {
    position: static;
    opacity: 1 !important;
    transform: none !important;
  }

  #heading-2 {
    display: none; /* hide second heading on mobile */
  }

  /* Disable circle layout: show sun first, then lists as blocks */
  #vitamin-section > .relative.z-10 .relative.w-full.flex.justify-center.items-center.h-\[520px\].md\:h-\[510px\].overflow-visible {
    position: static;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  #sun-center {
    position: static;
    transform: none !important;
    scale: 1 !important;
    margin: 0 auto 16px auto;
  }

  /* Need & Deficient groups as normal vertical content */
  #group-need,
  #group-deficient {
    position: static;
    inset: auto;
    pointer-events: auto;
    opacity: 1 !important;
    width: 100%;
    height: auto;
  }

  /* Left/right popup containers become regular stacks */
  #group-need > div,
  #group-deficient > div {
    position: static;
    transform: none !important;
    margin-bottom: 16px;
  }

  #group-need .popup-left,
  #group-need .popup-right,
  #group-deficient .def-popup {
    transform: none !important;
    opacity: 1 !important;
    width: 100%;
    max-width: 100%;
    border-radius: 999px;
  }

  /* Icon + text row spacing */
  /* #group-need .popup-left,
  #group-need .popup-right {
    justify-content: space-between;
    width: 100%;
  } */
}

.popup-left  {
text-align: center;
justify-content: end;
gap: 20px;
}
.popup-right  {
justify-content: flex-start;
gap: 20px;
text-align: center;
}
/* 5) Doctors quotes layout */
@media (max-width: 768px) {
  section.relative.w-full.bg-white.px-\[40px\].py-\[60px\].overflow-hidden.font-\[DIN_Alternate\] {
    padding-inline: 16px;
  }

  section.relative.w-full.bg-white.px-\[40px\].py-\[60px\] .grid {
    row-gap: 24px;
  }

  section.relative.w-full.bg-white.px-\[40px\].py-\[60px\] .min-h-\[150px\] {
    padding-right: 16px;
    padding-left: 16px;
  }

  section.relative.w-full.bg-white.px-\[40px\].py-\[60px\]
    .absolute.right-\[-40px\],
  section.relative.w-full.bg-white.px-\[40px\].py-\[60px\]
    .absolute.left-\[-40px\] {
    position: static;
    margin-top: -32px;
    margin-bottom: 8px;
    align-self: center;
  }
}

/* 6) Quiz section mobile refinements */
@media (max-width: 640px) {
  #quiz-section {
    padding-inline: 16px;
  }

  #quiz-section h1 {
    font-size: 1.5rem;
  }

  #quiz-section #quiz-options-container {
    padding-inline: 0 !important;
  }

  #quiz-section .quiz-option {
    padding: 0.75rem;
    font-size: 0.9rem;
  }

  #step-indicator-wrapper {
    padding-block: 16px;
  }

  #step-indicator-container {
    max-width: 280px;
    padding-inline: 0;
  }
}

/* 7) Sunlight + Diet and references */
@media (max-width: 768px) {
  /* Sunlight + Diet section */
  section.bg-\[url\(\'images/card-bg.png\'\)\] {
    padding-inline: 16px;
    gap: 40px;
  }

  section.bg-\[url\(\'images/card-bg.png\'\)\] h2,
  section.bg-\[url\(\'images/card-bg.png\'\)\] p.text-\[60px\] {
    font-size: 2.2rem;
  }

  /* Stack cards vertically, each full width */
  section.bg-\[url\(\'images/card-bg.png\'\)\]
    .relative.flex.flex-col.md\:flex-row.gap-10.justify-center.z-10 {
    flex-direction: column;
    gap: 20px;
  }

  section.bg-\[url\(\'images/card-bg.png\'\)\]
    .relative.bg-white.rounded-xl.shadow-lg.w-full.md\:w-\[320px\].p-8,
  section.bg-\[url\(\'images/card-bg.png\'\)\]
    .relative.bg-white.rounded-xl.shadow-lg.w-full.md\:w-\[320px\].p-8.text-center {
    width: 100%;
    max-width: 100%;
  }

  /* References section */
  section.bg-\[#FFD800\] {
    padding-inline: 16px;
  }

  section.bg-\[#FFD800\] .max-w-\[55\%\] {
    max-width: 100%;
  }

  section.bg-\[#FFD800\] ul {
    padding-left: 18px;
  }

  section.bg-\[#FFD800\] img.h-\[100px\].sm\:h-\[125px\] {
    width: 100%;
    max-width: 360px;
  }

  section.bg-\[#FFD800\] img.absolute.bottom-\[20\%\] {
    height: 220px;
    right: -40px;
  }
}
@keyframes scroll-line {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 0;
  }
}

.animate-scroll-line {
  animation: scroll-line 1.8s ease-in-out infinite;
}
