/* --- Homepage Specific Styles --- */

/* --- Font and Color Overhaul for Mockup Match --- */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: 'ivyepic', 'Inter', Arial, sans-serif;
  background: #f7f6fa;
  color: #2d2c4e;
  line-height: 1.6;
}

/* --- Cross-Browser Compatible Transform Properties --- */
.benefit-icon {
  -webkit-transform: translate(61.827px, 263.900px) rotate(0.000deg) skew(0.000deg) scale(1.000, 1.000);
     -moz-transform: translate(61.827px, 263.900px) rotate(0.000deg) skew(0.000deg) scale(1.000, 1.000);
      -ms-transform: translate(61.827px, 263.900px) rotate(0.000deg) skew(0.000deg) scale(1.000, 1.000);
          transform: translate(61.827px, 263.900px) rotate(0.000deg) skew(0.000deg) scale(1.000, 1.000);
  -webkit-transform-origin: 0% 0%;
     -moz-transform-origin: 0% 0%;
      -ms-transform-origin: 0% 0%;
          transform-origin: 0% 0%;
  height: 11.20px;
  left: -11px;
  position: relative;
  top: 6px;
  width: 611.38px;
  margin-right: 0.5em;
  font-size: 1.2em;
  vertical-align: middle;
  color: #474787;
}

.results-row-group {
    display: flex;
    gap: 7px;
    margin-bottom: 20px;
    justify-content: space-between;
}

.benefit-icon-img {
  -webkit-transform: translate(0.000px, 0.099px) rotate(0.000deg) skew(0.000deg) scale(1.000, 1.000);
     -moz-transform: translate(0.000px, 0.099px) rotate(0.000deg) skew(0.000deg) scale(1.000, 1.000);
      -ms-transform: translate(0.000px, 0.099px) rotate(0.000deg) skew(0.000deg) scale(1.000, 1.000);
          transform: translate(0.000px, 0.099px) rotate(0.000deg) skew(0.000deg) scale(1.000, 1.000);
  -webkit-transform-origin: 0% 0%;
     -moz-transform-origin: 0% 0%;
      -ms-transform-origin: 0% 0%;
          transform-origin: 0% 0%;
  height: 12.86px;
  left: 0px;
  position: absolute;
  top: 0px;
  width: 13.92px;
}


/* --- Hero Section --- */
.hero {
  text-align: center;
  background: #f7f6fa;
  padding-bottom: 25px;
}

.hero h1 {
  font-family: 'ivyjournal', 'Inter', serif;
  font-size: 3rem;
  color: #2d2c4e;
  font-weight: 600;
  margin-bottom: 1.2rem;
  text-align: center;
  line-height: 1.15;
}

.hero .highlight {
  color: #474787;
}

.hero-bold {
  color: #474787;
  font-family: 'ivyjournal', 'Inter', serif;
  font-weight: 600;
}

.hero-italic {
  color: #121212;
  font-family: 'ivyjournal', 'Inter', serif;
  font-weight: normal;
}

.hero-you {
  font-style: italic;
}

.pricing-banner {
  background: #2d2c51;
  color: #fff;
  padding: 1rem 2rem;
  margin: 2.7rem 0;
  text-align: center;
  position: relative;
}

.pricing-banner-content {
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-text {
  font-family: 'ivyjournal', 'Inter', serif;
  font-weight: 600;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}

.hero-benefits {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-benefits .benefit-item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-family: 'ivyepic', 'Inter', Arial, sans-serif;
  font-size: 0.9rem;
  color: #474787;
  font-weight: 500;
}

.hero-benefits .checkmark {
  color: #474787;
  font-weight: bold;
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.hero-ctas {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  gap: 2rem;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.cta-card {
  border-radius: 3.2rem;
  padding: 6rem 1.7rem 4.7rem 2.2rem;
  width: 100%;
  max-width: 48%;
  text-align: left;
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  -moz-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  -moz-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right center;
  overflow: hidden;
}



.cta-quiz {
  background-image: url(../images/TTQ.png);
}

.cta-plans {
  background-image: url(../images/OP.png);
}

.cta-plans h2, .cta-plans p {
  color: #514a75 !important;
}

.cta-card p, .cta-card h2 {
  max-width: 330px;
}

.cta-card h2 {
  font-family: 'ivyjournal', 'Inter', serif;
  font-size: 2.4rem;
  color: #fff;
  margin-bottom: 0rem;
  font-weight: 600;
  top: -100px;
  position: relative;
}

.cta-card p {
  font-family: 'ivyepic', 'Inter', Arial, sans-serif;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 1.2rem;
  text-shadow: 0 1px 4px rgba(60, 40, 120, 0.18);
  text-transform: uppercase;
  font-weight: 500;
  top: -65px;
  position: relative;
}

.cta-img {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem auto;
  background: #f0f0f0;
  border-radius: 50%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

/* --- Button Styles --- */
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 2rem;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  margin-top: 1rem;
  -webkit-transition: background 0.2s ease, color 0.2s ease;
  -moz-transition: background 0.2s ease, color 0.2s ease;
  -o-transition: background 0.2s ease, color 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease;
  text-align: center;
  text-decoration: none;
  font-family: inherit;
}

.btn.quiz-btn {
  font-family: 'ivyepic', 'Inter', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #2d2c4e;
  background: #fff;
  border: none;
  -webkit-box-shadow: 2px 4px 8px rgb(114 102 148);
  -moz-box-shadow: 2px 4px 8px rgb(114 102 148);
  box-shadow: 2px 4px 8px rgb(114 102 148);
  padding: 0.8rem 4rem;
  border-radius: 2rem;
  margin-top: 1.2rem;
  -webkit-transition: background 0.2s ease, color 0.2s ease;
  -moz-transition: background 0.2s ease, color 0.2s ease;
  -o-transition: background 0.2s ease, color 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn.quiz-btn:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn.plans-btn {
  font-family: 'ivyepic', 'Inter', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  background: #3d316a;
  border: none;
  -webkit-box-shadow: 0px 1px 9px grey;
  -moz-box-shadow: 0px 1px 9px grey;
  box-shadow: 0px 1px 9px grey;
  padding: 0.8rem 5.7rem;
  border-radius: 2rem;
  margin-top: 1.2rem;
  -webkit-transition: background 0.2s ease, color 0.2s ease;
  -moz-transition: background 0.2s ease, color 0.2s ease;
  -o-transition: background 0.2s ease, color 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn.plans-btn:hover {
  background: #2d2c51;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(71, 71, 135, 0.4);
}
.btn.primary {
  background: #3d316a;
  color: #fff;
  padding: 0.8rem 4rem;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  border: 2px solid #3d316a;
}
.btn.secondary{
  width: max-content!important;
}
/* --- Results Section --- */
.results {
  background: #fff;
  padding: 4rem 0;
  text-align: center;
}

.results-main {
  font-family: 'ivyjournal', 'Inter', serif;
  color: #474787;
  font-size: 2.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.results-sub {
  font-family: 'ivyjournal', 'Inter', serif;
  color: #121212;
  font-size: 2.9rem;
  font-style: italic;
  font-weight: normal;
  display: block;
  margin-top: 0em;
}

.results-gallery {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: .4rem;
  margin: .5rem 0 .5rem 0;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.results-row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  -moz-box-orient: horizontal;
  -moz-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  gap: 2.2rem;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.results-item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
}


.results-item img {
  width: 160px;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 1.5rem;
  -webkit-box-shadow: 0 2px 16px rgba(60, 40, 120, 0.10);
  -moz-box-shadow: 0 2px 16px rgba(60,40,120,0.10);
  box-shadow: 0 2px 16px rgba(60, 40, 120, 0.10);
  margin-bottom: 0.3em;
}

.img-ref {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.8rem;
}

.before-after {
  color: #474787;
  font-family: 'ivyepic', 'Inter', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.3em;
  letter-spacing: 0.5px;
}

.results-ctas {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2rem;
}

.results-item.oversized img {
  width: 220px;
  height: 340px;
  border-radius: 2rem;
  -webkit-box-shadow: 0 4px 24px rgba(60, 40, 120, 0.13);
  -moz-box-shadow: 0 4px 24px rgba(60,40,120,0.13);
  box-shadow: 0 4px 24px rgba(60, 40, 120, 0.13);
}

.results-item.center {
  place-self: center;
}

.oversized-wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
}

/* --- BMI Section --- */
.bmi-section {
  background: #cecce6;
  padding: 3.5rem 0 3.5rem 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  -moz-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.bmi-calc-container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  gap: 2.5rem;
  width: 100%;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.bmi-calc, .bmi-info {
  background: #fff;
  border-radius: 2.5rem;
  -webkit-box-shadow: 0 4px 32px 0 rgba(60, 40, 120, 0.10);
  -moz-box-shadow: 0 4px 32px 0 rgba(60,40,120,0.10);
  box-shadow: 0 4px 32px 0 rgba(60, 40, 120, 0.10);
  padding: 2.7rem 2.2rem 0 2.2rem;
  min-width: 340px;
  max-width: 470px;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 0;
  -moz-box-flex: 1;
  -ms-flex: 1 1 0;
  flex: 1 1 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
  -moz-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  position: relative;
}

.bmi-calc {
  padding-bottom: 0;
  min-height: 480px;
}

.bmi-calc h3 {
  font-family: 'ivyjournal', 'Inter', serif;
  font-size: 2.1rem;
  color: #474787;
  font-weight: 600;
  margin-bottom: 2.2rem;
  line-height: 1.15;
  margin-top: 0;
}

.bmi-calc label {
  font-family: 'ivyepic', 'Inter', serif;
  font-size: 1.05rem;
  color: #514a75;
  font-weight: 500;
  margin-bottom: 0.7rem;
  margin-top: 1.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

#weightSlider {
  width: 100%;
  margin: 2rem 0 0.3rem 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  height: 8px;
  border-radius: 6px;
  background: -webkit-linear-gradient(90deg, #4d3576 0%, #ae5ea6 50%, #bfa6e0 100%);
  background: -moz-linear-gradient(90deg, #4d3576 0%, #ae5ea6 50%, #bfa6e0 100%);
  background: -o-linear-gradient(90deg, #4d3576 0%, #ae5ea6 50%, #bfa6e0 100%);
  background: linear-gradient(90deg, #4d3576 0%, #ae5ea6 50%, #bfa6e0 100%);
  outline: none;
  -webkit-box-shadow: 0 2px 8px rgba(60,40,120,0.07);
     -moz-box-shadow: 0 2px 8px rgba(60,40,120,0.07);
          box-shadow: 0 2px 8px rgba(60,40,120,0.07);
  -webkit-transition: background 0.3s ease;
     -moz-transition: background 0.3s ease;
       -o-transition: background 0.3s ease;
          transition: background 0.3s ease;
}

#weightSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
          appearance: none;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #4d3576;
  -webkit-box-shadow: 0 2px 8px rgba(60,40,120,0.10);
     -moz-box-shadow: 0 2px 8px rgba(60,40,120,0.10);
          box-shadow: 0 2px 8px rgba(60,40,120,0.10);
  cursor: pointer;
  -webkit-transition: border 0.2s ease;
     -moz-transition: border 0.2s ease;
       -o-transition: border 0.2s ease;
          transition: border 0.2s ease;
}

#weightSlider::-moz-range-thumb {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #4d3576;
  -webkit-box-shadow: 0 2px 8px rgba(60,40,120,0.10);
     -moz-box-shadow: 0 2px 8px rgba(60,40,120,0.10);
          box-shadow: 0 2px 8px rgba(60,40,120,0.10);
  cursor: pointer;
  -webkit-transition: border 0.2s ease;
     -moz-transition: border 0.2s ease;
       -o-transition: border 0.2s ease;
          transition: border 0.2s ease;
}

#weightSlider::-ms-thumb {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #4d3576;
  -webkit-box-shadow: 0 2px 8px rgba(60,40,120,0.10);
     -moz-box-shadow: 0 2px 8px rgba(60,40,120,0.10);
          box-shadow: 0 2px 8px rgba(60,40,120,0.10);
  cursor: pointer;
  -webkit-transition: border 0.2s ease;
     -moz-transition: border 0.2s ease;
       -o-transition: border 0.2s ease;
          transition: border 0.2s ease;
}

#weightSlider:focus {
  outline: none;
  -webkit-box-shadow: 0 0 0 2px #bfa6e0;
     -moz-box-shadow: 0 0 0 2px #bfa6e0;
          box-shadow: 0 0 0 2px #bfa6e0;
}

#weightDisplay {
  font-family: 'ivyjournal', 'Inter', serif;
  font-size: 2.7rem;
  color: #4d3576;
  font-weight: 600;
  margin: 0.7rem 0 0.7rem 0;
  letter-spacing: 0.01em;
  display: inline-block;
}

.bmi-calc .weight-unit {
  font-family: 'ivyepic', 'Inter', Arial, sans-serif;
  font-size: 1rem;
  color: #666;
  margin-left: 0.5rem;
}

.input-unit-wrapper {
  position: relative;
  display: inline-block;
  width: 40%;
}

    .input-unit-wrapper input[type="number"], .input-unit-wrapper select {
        width: 100%;
        padding: 1.1rem 0.5rem;
        border: 2px solid #d6d3e7;
        border-radius: 1rem;
        font-size: 1.5rem;
        background: #fff;
        color: #474787;
        text-align: left;
        font-family: 'ivyepic', 'Inter', Arial, sans-serif;
        font-weight: 100;
        -webkit-box-shadow: 0 2px 8px rgba(60, 40, 120, 0.07);
        -moz-box-shadow: 0 2px 8px rgba(60,40,120,0.07);
        box-shadow: 0 2px 8px rgba(60, 40, 120, 0.07);
        -webkit-transition: border 0.2s ease, -webkit-box-shadow 0.2s ease;
        -moz-transition: border 0.2s ease, -moz-box-shadow 0.2s ease;
        -o-transition: border 0.2s ease, box-shadow 0.2s ease;
        transition: border 0.2s ease, box-shadow 0.2s ease;
        text-align: left;
    }


        .input-unit-wrapper input[type="number"]::-webkit-outer-spin-button, .input-unit-wrapper select::-webkit-outer-spin-button,
        .input-unit-wrapper input[type="number"]::-webkit-inner-spin-button, .input-unit-wrapper select::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

    .input-unit-wrapper input[type="number"], .input-unit-wrapper select {
        -moz-appearance: textfield;
    }
select {
    appearance: none;
    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='%23a6a1b5' 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 20px center;
    background-size: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

    select:focus {
        border-color: var(--purple);
    }
.input-unit {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  right: 11px;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  color: #bfbfd6;
  font-family: 'ivyjournal', 'Inter', serif;
  font-size: 1.1rem;
  pointer-events: none;
}

.height-inputs {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  gap: 2rem;
  margin: 1.1rem 0 1.7rem 0;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.height-inputs input[type="number"] {
  width: 100%;
  padding: 1.1rem 0.5rem;
  border: 2px solid #d6d3e7;
  border-radius: 1rem;
  font-size: 1.5rem;
  background: #fff;
  color: #474787;
  text-align: left;
  font-family: 'ivyepic', 'Inter', Arial, sans-serif;
  font-weight: 700;
  -webkit-box-shadow: 0 2px 8px rgba(60, 40, 120, 0.07);
  -moz-box-shadow: 0 2px 8px rgba(60,40,120,0.07);
  box-shadow: 0 2px 8px rgba(60, 40, 120, 0.07);
  -webkit-transition: border 0.2s ease, -webkit-box-shadow 0.2s ease;
  -moz-transition: border 0.2s ease, -moz-box-shadow 0.2s ease;
  -o-transition: border 0.2s ease, box-shadow 0.2s ease;
  transition: border 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
}

.height-inputs input[type="number"]:focus {
  border: 2px solid #bfa6e0;
  outline: none;
  -webkit-box-shadow: 0 0 0 2px #bfa6e0;
     -moz-box-shadow: 0 0 0 2px #bfa6e0;
          box-shadow: 0 0 0 2px #bfa6e0;
}

    .height-inputs input[type="number"]::placeholder, .height-inputs select::placeholder {
        color: #bfbfd6;
        font-weight: 400;
    }

.height-inputs input + span {
  font-family: 'ivyepic', 'Inter', serif;
  font-size: 1.3rem;
  color: #000;
  margin-left: 0.3rem;
  margin-right: 1.2rem;
}

.bmi-result-bar {
  background: #6d5ca4;
  color: #fff;
  font-family: 'ivyepic', 'Inter', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  border-bottom-left-radius: 2.5rem;
  border-bottom-right-radius: 2.5rem;
  padding: 1.3rem 2.2rem 1.3rem 2.2rem;
  margin: 0 -2.2rem;
  margin-top: 2.2rem;
  text-align: left;
  letter-spacing: 0.01em;
}

#bmiValue {
  font-family: 'ivyjournal', 'Inter', serif;
  font-weight: 600;
}

.bmi-result-bar strong {
  font-size: 2.2rem;
  font-weight: 700;
}

.bmi-info {
    min-height: 480px;
    padding-bottom: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
    -moz-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -moz-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.bmi-info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2.2rem;
  max-width: 94%;
  -webkit-align-self: center;
  -ms-flex-item-align: center;
  align-self: center;
}

.bmi-info-table th {
  font-family: 'ivyepic', 'Inter', Arial, sans-serif;
  font-size: 1.15rem;
  color: #181828;
  font-weight: 600;
  text-align: left;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid #e6e2f8;
}

.bmi-info-table td {
  font-family: 'ivyepic', 'Inter', Arial, sans-serif;
  font-size: 1.15rem;
  color: #6d5ca4;
  font-weight: 600;
  padding: 1.1rem 0;
  border-bottom: 1px solid #e6e2f8;
}


.bmi-loss-label {
  font-family: 'ivyepic', 'Inter', serif;
  font-size: 1.1rem;
  color: #7d6db2;
  font-weight: 600;
  margin-top: 1.7rem;
  margin-bottom: 0.5rem;
  text-align: center;
  letter-spacing: 0.01em;
}

.bmi-loss {
  font-family: 'ivyjournal', 'Inter', Arial, sans-serif;
  font-size: 3.2rem;
  color: #4d3576;
  font-weight: 400;
  text-align: center;
  margin-bottom: 0.2rem;
}

.bmi-bar-chart-arrow {
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 22px solid #514a75;
  margin: 0 auto;
  display: block;
  position: relative;
  top: -10px;
  left: -160px;
  -webkit-transition: left 0.2s ease;
  -moz-transition: left 0.2s ease;
  -o-transition: left 0.2s ease;
  transition: left 0.2s ease;
}

.bmi-bar-chart {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
  -moz-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 0.3rem;
  height: 60px;
  margin: 0 auto 0 0;
  width: 100%;
}

.bmi-bar {
  width: 6px;
  border-radius: 3px;
  background: #cc96eb;
  height: 54px;
  -webkit-align-self: center;
  -ms-flex-item-align: center;
  align-self: center;
}
.bmi-bar-wave {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
  -moz-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 48px;
  gap: 4px;
  margin: 16px 0 0 0;
}
.bmi-bar.medium{
  height: 70px;
  background: #3d0559;
}
.bmi-bar.active {
  background: #474787;
}

.bmi-bar.short {
  height: 30px;
}

.bmi-bar.tall {
  height: 70px;
}

.bmi-bar.medium {
  height: 50px;
}


.bmi-info .bmi-bar-chart-label {
  font-family: 'ivyepic', 'Inter', Arial, sans-serif;
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  margin-top: 0.5rem;
}

.bmi-info-table-td {
  font-weight: 100 !important;
}

.doctor-section {
  background: #fff;
  padding: 2.5rem 1rem 2.5rem 1rem;
  text-align: center;
}
.doctor-heading {
  font-family: 'ivyjournal', 'Inter', serif;
  font-size: 2.7rem;
  color: #474787;
  font-weight: 600;
  margin-bottom: 2.7rem;
  text-align: center;
  line-height: 1.15;
  margin-top: 1rem;
}
.doctor-highlight {
  color: #474787;
  font-family: 'ivyjournal', 'Inter', serif;
  font-weight: 600;
}
.doctor-normal {
  font-style: normal;
  color: #18173a;
  font-family: 'ivyjournal', 'Inter', serif;
  font-weight: 400;
}
.doctor-italic {
  color: #18173a;
  font-family: 'ivyjournal', 'Inter', serif;
  font-style: italic;
  font-weight: 400;
}
.doctor-profile {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  -moz-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 3.5rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}
.doctor-image-col {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  min-width: 340px;
  max-width: 340px;
}
.doctor-image {
  width: 340px;
  -o-object-fit: cover;
  object-fit: cover;
  -webkit-box-shadow: 0 4px 24px rgba(60, 40, 120, 0.10);
  -moz-box-shadow: 0 4px 24px rgba(60,40,120,0.10);
  box-shadow: 0 4px 24px rgba(60, 40, 120, 0.10);
  margin-bottom: 1.2rem;
}
.doctor-name {
  font-family: 'ivyjournal', 'Inter', serif;
  color: #474787;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  text-align: center;
}
.doctor-credentials {
  font-family: 'ivyepic', 'Inter', Arial, sans-serif;
  color: #18173a;
  font-size: 1.1rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 0.7rem;
  letter-spacing: 0.01em;
}
.doctor-info-col {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -moz-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 320px;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  -moz-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}
.doctor-info-text {
  font-family: 'ivyepic', 'Inter', Arial, sans-serif;
  color: #18173a;
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 2.2rem;
  line-height: 1.6;
}
.doctor-info-text p {
  margin-bottom: 1.2rem;
  margin-top: -0.3rem;
}
.doctor-ctas {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  gap: 2rem;
  margin-top: 1.2rem;
}
.doctor-ctas .btn {
  font-size: 1.2rem;
  padding: 0.7rem 2.5rem;
  border-radius: 2rem;
  font-weight: 500;
  min-width: 200px;
}
.age-section {
  background: #aba9cc;
  padding: 3.5rem 1rem 2.5rem 1rem;
  text-align: center;
}
.age-heading {
  font-family: 'ivyjournal', 'Inter', serif;
  font-size: 2.7rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 3.5rem;
  text-align: center;
  line-height: 1.15;
  margin-top: 0rem;
}
.age-gallery {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr;
  grid-template-columns: repeat(3, 1fr);
  -ms-grid-rows: 1fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 2.2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.age-item {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 1.5rem;
  min-height: 180px;
  -webkit-box-shadow: 0 4px 24px rgba(60, 40, 120, 0.13);
  -moz-box-shadow: 0 4px 24px rgba(60,40,120,0.13);
  box-shadow: 0 4px 24px rgba(60, 40, 120, 0.13);
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
  -moz-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  overflow: hidden;
}
.age-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(128, 128, 128, 0.3) 0%, rgba(200, 200, 200, 0.1) 100%);
  border-radius: 1.5rem;
  z-index: 1;
}
.age-item span {
  font-family: 'ivyepic', 'Inter', Arial, sans-serif;
  color: #fff;
}
.age-label {
  width: 100%;
  text-align: right;
  font-family: 'ivyepic', 'Inter', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  padding: .6rem;
  position: absolute;
  bottom: 0;
  right: 6px;
  border-bottom-left-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
  z-index: 2;
}
.faq-section {
  background: #fff;
  padding: 1.5rem 1rem 4rem 1rem;
  text-align: center;
}
.faq-heading {
  font-family: 'ivyjournal', 'Inter', serif;
  font-size: 2.7rem;
  color: #474787;
  font-weight: 600;
  margin-bottom: 0.7rem;
  text-align: center;
  line-height: 1.15;
}
.faq-normal {
  font-style: normal;
  color: #18173a;
  font-family: 'ivyjournal', 'Inter', serif;
  font-weight: 400;
}
.faq-italic {
  color: #18173a;
  font-family: 'ivyjournal', 'Inter', serif;
  font-style: italic;
  font-weight: 400;
}
.faq-ctas {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 2rem;
  margin: 2.2rem 0 2.7rem 0;
}
.faq-ctas .btn {
  font-size: 1.2rem;
  padding: .7rem 2.5rem;
  border-radius: 2rem;
  font-weight: 600;
  min-width: 200px;
}
.faq-list {
  max-width: 1120px;
  margin: 0 auto;
  text-align: left;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 1.2rem;
}
.faq-item {
  background: #eceaf7;
  border-radius: 1.3rem;
  -webkit-box-shadow: 0 2px 12px rgba(60, 40, 120, 0.07);
  -moz-box-shadow: 0 2px 12px rgba(60,40,120,0.07);
  box-shadow: 0 2px 12px rgba(60, 40, 120, 0.07);
  padding: 0.2rem 0.7rem 0.2rem 1.5rem;
  -webkit-transition: -webkit-box-shadow 0.2s ease;
  -moz-transition: -moz-box-shadow 0.2s ease;
  -o-transition: box-shadow 0.2s ease;
  transition: box-shadow 0.2s ease;
  position: relative;
}
.faq-item.active {
  -webkit-box-shadow: 0 4px 24px rgba(60,40,120,0.13);
     -moz-box-shadow: 0 4px 24px rgba(60,40,120,0.13);
          box-shadow: 0 4px 24px rgba(60,40,120,0.13);
  background: #fff;
}
.faq-item.active .faq-plus {
  -webkit-transform: rotate(45deg);
     -moz-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
  color: #514a75;
}
.faq-item.active .faq-answer {
  display: block;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.25rem;
  font-family: 'ivyepic', 'Inter', Arial, sans-serif;
  font-weight: 700;
  color: #18173a;
  padding: 1.3rem 3.2rem 1.3rem 0;
  cursor: pointer;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  border-radius: 1.3rem;
  -webkit-transition: background 0.2s ease;
  -moz-transition: background 0.2s ease;
  -o-transition: background 0.2s ease;
  transition: background 0.2s ease;
}
.faq-plus {
  font-size: 2rem;
  color: #6c5ebf;
  font-weight: 700;
  margin-left: 1.2rem;
  -webkit-transition: -webkit-transform 0.2s ease;
  -moz-transition: -moz-transform 0.2s ease;
  -o-transition: transform 0.2s ease;
  transition: transform 0.2s ease;
}
.faq-answer {
  display: none;
  padding: 1.2rem 2.2rem 1.2rem 0;
  color: #474787;
  font-size: 1.1rem;
  font-family: 'ivyepic', 'Inter', Arial, sans-serif;
  font-weight: 500;
  border-top: 2px solid #e6e2f8;
  margin-top: 0.2rem;
}
.faq-answer-bold {
  font-weight: 700;
  color: #18173a;
}














/* --- Responsive Design --- */
@media (max-width: 1100px) {
  .cta-card p {
    font-size: 0.8rem;
    font-weight: 100;
    top: -12px;
    left: 11px;
  }
  
  .main-nav ul {
    gap: 1.5rem;
  }
  
  .gallery, .age-gallery {
    gap: 1rem;
  }
  
  .hero-ctas {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .cta-card {
    min-width: 83vw;
    max-width: 95vw;
    padding: 1.1rem 1.2rem 2.8rem;
    background-position: 75% 30%;
    margin: 0 auto;
    border-radius: 2rem;
  }
  
  .cta-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    top: 0;
    margin-top: 4px;
    left: 11px;
    line-height: 1.2;
    min-height: 70px;  }
  
  .doctor-profile {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 2rem;
  }
  
  .doctor-image-col, .doctor-image {
    max-width: 290px;
  }
  
  .doctor-image {
    width: 100%;
  }
  
  .doctor-name {
    font-size: 1.5rem;
  }
}
.header-top-bar {
  background: #2d2c51;
  color: #fff;
  font-family: 'ivyepic', 'Inter', Arial, sans-serif;
  font-weight: 100;
  letter-spacing: 1.3px;
  font-size: 0.9rem;
  padding: 14px;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  position: relative;
}
.header-top-bar-rotator {
  display: inline-block;
  white-space: nowrap;
  -webkit-animation: headerTopBarScroll 25s linear infinite;
  -moz-animation: headerTopBarScroll 25s linear infinite;
  animation: headerTopBarScroll 25s linear infinite;
  will-change: transform;
  min-width: 200%;
}
.header-top-bar .sep {
  margin: 0 1.7em;
  color: #fff;
  font-size: .8em;
}
@media (max-width: 900px) {
  #bmiForm {
    max-width: 80%;
    margin: auto;
}
.height-inputs input + span {
  margin-right: 1.3rem;
}
  
  .site-header {
    border-bottom: none;
  }


  .hero-italic {
    font-size: 2.2rem;
  }

  
  .hero {
    zoom: 0.9;
    padding: 0;
  }
  
  .hero h1 {
    font-size: 2.3rem;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
  }
  
  .pricing-banner {
    padding: 0.8rem 1rem;
    margin: 2rem 0;
  }
  
  .pricing-text {
    font-size: 1.4rem;
  }
  
  .hero-benefits {
    gap: 1rem;
    margin-bottom: 2rem;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-ctas {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 1.2rem;
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
    -moz-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
  }
  
  .btn.quiz-btn, .btn.plans-btn {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
    margin-top: 0;
    width: 180px;
    margin-left: 0.8rem;
    margin-bottom: 16px;
  }
  
  .bmi-calc-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 2rem;
  }
  
  .bmi-calc, .bmi-info {
    min-width: 0;
    max-width: 100vw;
    width: 82%;
    margin: auto;
    border-radius: 1rem;
    padding: 1rem 0.5rem 0.5rem 0.5rem;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    min-height: 510px;
  }
  
  .bmi-calc h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  
  .bmi-calc label {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    margin-top: 0.7rem;
    }
  
  #weightSlider {
    height: 6px;
  }
  
  #weightDisplay {
    font-size: 2rem;
    letter-spacing: 0;
  }

    .input-unit-wrapper input[type="number"], .input-unit-wrapper select {
        font-size: 1.1rem;
    }
  
  .input-unit {
    font-size: 0.9rem;
    right: 10px;
  }
  
  .height-inputs {
    gap: 2rem;
    margin: 0.7rem 0 1rem 0;
  }
  
  
  .bmi-result-bar {
    font-size: 1rem;
    margin: -8.2px -0.5rem;
    margin-top: 0.7rem;
    border-radius: 0 0 1rem 1rem;
  }
  
  
  
  .bmi-info-table th, .bmi-info-table td {
    font-size: 0.95rem;
    padding: 0.8rem 0.1rem;
  }
  
  .bmi-loss {
    font-size: 1.5rem;
  }
  
  .bmi-bar-chart-arrow {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 14px solid #514a75;
    top: -6px;
  }
  
  .bmi-bar {
    margin: 0 0.5px;
  }
  
  .bmi-info .bmi-bar-chart-label {
    font-size: 0.8rem;
  }
  
  .doctor-section {
    padding: 1.2rem 0.5rem 2.5rem 0.5rem;
    }
  
  .doctor-heading {
    font-size: 1.7rem;
    margin-bottom: 2rem;
    text-wrap-style: pretty;
  }
  
  .doctor-profile {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 1rem;
    max-width: 100vw;
    text-align: center;
  }
  
  .doctor-image-col {
    min-width: 0;
    max-width: 290px;
    width: 100%;
    margin: 0 auto;
    height: auto;
  }
  
  .doctor-image {
    width: 100%;
    max-width: 290px;
    height: auto;
    margin-bottom: 0.7rem;
  }
  
  .doctor-name {
    font-size: 1.5rem;
  }
  
  .doctor-credentials {
    font-size: 0.95rem;
  }
  
  .doctor-info-col {
    min-width: 0;
    width: 85%;
    text-align: left;
    margin: auto;
  }
  
  .doctor-info-text {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
  
  .doctor-ctas {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 0rem;
    margin-top: 0.7rem;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  
  .doctor-ctas .btn {
    font-size: 1rem;
    min-width: 200px;
    padding: 0.7rem 1.2rem;
  }
  
  .age-section {
    padding: 2rem 1rem 2.5rem 1rem !important;
  }
  
  .age-gallery {
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: repeat(2, 1fr);
  }
  
  .age-heading {
    font-size: 1.8rem;
    margin-bottom: 1.8rem;
  }
  
  .age-label {
    font-size: 0.85rem;
  }
  
  .age-item {
    min-height: 95px;
  }
  
  .faq-heading {
    font-size: 1.7rem;
  }
  
  .faq-ctas .btn {
    font-size: 1rem;
    min-width: 200px;
    padding: 0.7rem 1.2rem;
  }
  
  .faq-list {
    padding: 0 0.5rem;
  }
  
  .faq-question {
    font-size: 1rem;
    padding: 1rem 2.2rem 1rem 0;
  }
  
  .faq-answer {
    font-size: 0.95rem;
    padding: 0.7rem 1.2rem 0.7rem 0;
  }
  
  .faq-ctas {
    display: -ms-grid;
    display: grid;
    gap: 0;
  }
  
  .footer-container {
    flex-direction: column;
  }
  
  .footer-left, .footer-right {
    min-width: 0;
    width: 100%;
    padding: 2rem 1.2rem;
  }
  
  .footer-right {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1.2rem;
  }
  
  .footer-links-col {
    margin-right: 0;
    min-width: 0;
  }
  
  .footer-newsletter-heading {
    max-width: 360px;
  }
  
  .footer-newsletter-form {
    max-width: 330px;
    align-items: normal !important;
  }
  
  .footer-newsletter-label {
    text-align: left;
  }
  
  .footer-left {
    padding-left: 0 !important;
    align-items: center !important;
    text-align: center !important;
  }
}
.results-gallery h2 {
  margin-bottom: 2rem;
}
@media (max-width: 800px) {
  .results-row {
    gap: 1.2rem;
  }
  
  .input-unit-wrapper {
    width: 45%;
  }
  
  .before-after {
    font-size: 0.8rem;
  }
  
  .results-gallery h2 {
    zoom: 0.6;
  }
  
  .mobile-nav-overlay {
    display: none;
  }
}

@media (max-width: 600px) {
  .doctor-heading {
    font-size: 1.3rem;
  }
  
  .bmi-calc, .bmi-info {
    width: 95%;
  }
  
  .results-gallery h2 {
    zoom: 0.5;
  }
  
  .age-heading {
    font-size: 1.4rem;
  }
  
  .footer-left {
    zoom: 0.8;
  }
  
  .age-label {
    font-size: 0.65rem;
  }
  
  .cta-card p {
    margin-bottom: 35px;
    max-width: 240px;
    background-position: 35% 30%;
  }
  
  .cta-card {
    padding: 1.1rem 1.2rem 1.2rem;
    min-width: 100vw;
  }
  
  .pricing-banner {
    padding: 0.6rem 0.8rem;
    margin: 1.5rem 0;
  }
  
  .pricing-text {
    font-size: 1.2rem;
  }
  
  .bmi-calc label {
    font-size: 0.95rem;
  }
  
  .bmi-calc h3 {
    font-size: 1.6rem;
  }
  
  .results {
    padding: 1.2rem 0.5rem 3rem 0.5rem;
  }
  
  .results-gallery {
    gap: 0.7rem;
  }
  
  .results-item img {
    height: auto;
    -webkit-aspect-ratio: 3/5;
    aspect-ratio: 3 / 5;
    -o-object-fit: cover;
    object-fit: cover;
  }
  
  .results-ctas {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: .5rem;
    margin-top: 1.2rem;
    max-width: 250px;
    margin: auto;
  }
  .results-item.oversized, .results-item.oversized img {
    height: auto;
    border-radius: 1.2rem;
  }
  
}

@media (max-width: 400px) {
  .main-nav a {
    font-size: 0.85rem;
    padding: 0.75rem 0;
  }
}

@media (min-width: 900px) {

}


.bmi-bar.active {
  background: #474787;
}

.contentIframeClass {
  width: 100%;
  height: 100%;
  border: none;
  overflow: hidden;
}

.dummyIFrameClass {
  display: none;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}


/* --- Header Top Bar Animation --- */
@keyframes headerTopBarScroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

@-webkit-keyframes headerTopBarScroll {
  0% {
    -webkit-transform: translateX(0%);
  }
  100% {
    -webkit-transform: translateX(-50%);
  }
}

@-moz-keyframes headerTopBarScroll {
  0% {
    -moz-transform: translateX(0%);
  }
  100% {
    -moz-transform: translateX(-50%);
  }
}