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

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    color: #333;
}


.bmi-calculator {
    background-color: var(--Pure-White, #fff);
  display: flex;
  flex-direction: column;
  /* padding: 77px 0; */
}



.calculator-wrapper {
    align-self: center;
    display: flex;
    width: 100%;
    max-width: 1160px;
    flex-direction: column;
}

@media (max-width: 991px) {
    .calculator-wrapper {
        max-width: 100%;

    }
    /* .bmi-header{
        border-radius: 32px;
        background-color: #E7F5FE; 
        padding: 0 0 0 0 ;
    } */
}
/* --padding-left: 215px;

box-shadow: inset -var(--padding-left) 0 0 0 ;  */
/* Added 10px blur */
/* .bmi-header{
    border-radius: 32px;
    background-color: #E7F5FE; 
    
padding: 140px;
margin-left: 10px ;

    --padding-left: 400px;
    --negative-padding-left: calc(-1 * var(--padding-left));
    
    box-shadow: inset var(--negative-padding-left) 0 0 0 var(--Pure-White, #fff); 
} */
/* Base styles for all screen sizes */
.bmi-header {
    border-radius: 32px;
    background-color: #E7F5FE;
}

/* Styles for desktop screens */
@media (min-width: 992px) {
    .bmi-header {
        --padding-left: 400px;
        --negative-padding-left: calc(-1 * var(--padding-left));
        box-shadow: inset var(--negative-padding-left) 0 0 0 var(--Pure-White, #fff); 
        padding: 140px;
        margin-left: 10px;
    }
}

/* No padding for mobile and tablet screens */
@media (max-width: 991px) {

/* Center text inside the header */
    
    .bmi-header {
        padding: 0;
        margin-left: 0;
        box-shadow: none;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center; /* Center text inside the header */
    }
    
    .logo {
        aspect-ratio: 1; /* Maintain aspect ratio */
        object-fit: contain; /* Ensure the image fits within the specified width and height */
        width: 64px; /* Set a specific width for the logo */
        display: block; /* Ensure it behaves as a block element */
    }
}
/* .logo {
    aspect-ratio: 1;
    object-fit: auto;
    object-position: center;
    width: 64px;
} */



.content-container {
    margin-top: 28px;
}

@media (max-width: 991px) {
    .content-container {
        max-width: 100%;
    }
}

.two-column-layout {
    gap: 20px;
    display: flex;
}

@media (max-width: 991px) {
    .two-column-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
}

.left-column {
    display: flex;
    flex-direction: column;
    line-height: normal;
    width: 50%;
    margin-left: 0;
    border-radius: 32px;
    /* background-color: #E7F5FE; */
}


@media (max-width: 991px) {
    .left-column {
        width: 100%;
    }
}

.text-content {
    display: flex;
    margin-top: 99px;
    flex-direction: column;
}

@media (max-width: 991px) {
    .text-content {
        max-width: 100%;
        margin-top: 40px;
    }
}

.main-heading {
    color: #253347;
    letter-spacing: -3.2px;
    font: 600 64px/70px Inter, sans-serif;
}

@media (max-width: 991px) {
    .main-heading {
        max-width: 100%;
        font-size: 40px;
        line-height: 48px;
    }
}

.description {
    color: #5e6e85;
    margin-top: 35px;
    font: 400 16px/24px Inter, sans-serif;
}

@media (max-width: 991px) {
    .description {
        max-width: 100%;
    }
}

.right-column {
    display: flex;
    flex-direction: column;
    line-height: normal;
    width: 50%;
    margin-left: 20px;
}

@media (max-width: 991px) {
    .right-column {
        width: 100%;
        margin: 0px;
    }
}

.calculator-box {
    border-radius: 16px;
    box-shadow: 16px 32px 56px 0 rgba(143, 174, 207, 0.25);
    background-color: #fff;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    width: 100%;
    margin-top: 1px;
    padding: 32px;
}

@media (max-width: 991px) {
    .calculator-box {
        max-width: 100%;
        margin: 20px;
        margin-top: 32px;
        padding: 0 20px;
    }
}

.calculator-title {
    color: #253347;
    letter-spacing: -1.2px;
    font: 600 24px Inter, sans-serif;
}

@media (max-width: 991px) {
    .calculator-title {
        max-width: 100%;
    }
}

.unit-toggle {
    display: flex;
    margin-top: 32px;
    gap: 20px;
}

@media (max-width: 991px) {
    .unit-toggle {
        flex-wrap: wrap;
    }
}

.unit-option {
    display: flex;
    gap: 18px;
    font-size: 16px;
    color: #253347;
    font-weight: 600;
    white-space: nowrap;
    line-height: 150%;
    flex: 1;
}

@media (max-width: 991px) {
    .unit-option {
        white-space: initial;
    }
}

.radio-button {
    stroke-width: 1px;
    border: 1px solid #d8e2e7;
    background-color: #fff;
    border-radius: 50%;
    width: 31px;
    height: 31px;
}

.unit-label {
    font-family: Inter, sans-serif;
    margin: auto 0;
}

.selected-unit {
    display: flex;
    gap: 18px;
    flex: 1;
}

.selected-indicator {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.indicator-wrapper {
    border-radius: 50%;
    background-color: rgba(52, 95, 246, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    padding: 0 8px;
}

/* .indicator-dot {
    border-radius:
} */

.indicator-dot {
    border-radius: 50%;
    background-color: #345ff6;
    width: 15px;
    height: 15px;
}

.selected-label {
    color: #253347;
    margin: auto 0;
    font: 600 16px/150% Inter, sans-serif;
}

.input-label {
    color: #5e6e85;
    margin-top: 50px;
    font: 400 14px/150% Inter, sans-serif;
}

@media (max-width: 991px) {
    .input-label {
        /* max-width: 100%; */

        max-width: 100%;
        text-align: left; /* Ensure the text is aligned to the left */
        display: block; /* Make sure the label is a block element */
        margin-bottom: 8px; 
    }
}

.input-group {
    display: flex;
    margin-top: 8px;
    gap: 20px;
    font-size: 24px;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: -1.2px;
}

@media (max-width: 991px) {
    .input-group {
        flex-wrap: wrap;
        white-space: initial;
    }
}

.input-wrapper {
    border-radius: 12px;
    border: 1px solid #d8e2e7;
    background-color: #fff;
    display: flex;
    gap: 20px;
    flex: 1;
    padding: 20px 24px;
}

.input-wrapper:hover {
    border-color: #345ff6 ;


}

@media (max-width: 991px) {
    .input-wrapper {
        white-space: initial;
        padding: 0 20px;
    }
}

.input-value {
    color: #253347;
    font-family: Inter, sans-serif;
    flex: 1;
    border: none;
}

.input-unit {
    color: #345ff6;
    font-family: Inter, sans-serif;
}

/* default messgae befor calculat BMI */

.default-result-box {
    justify-content: center;
    border-radius: 16px 999px 999px 16px;
    background: linear-gradient(90deg, #345ff6 0%, #587dff 100%);
    display: flex;
    margin-top: 32px;
    flex-direction: column;
    color: var(--Pure-White, #fff);
    padding: 32px;
  }
  @media (max-width: 991px) {
    .default-result-box {
      max-width: 100%;
      padding: 0 20px;
    }
  }
  .default-result-box-title {
    letter-spacing: -1.2px;
    font: 600 24px Inter, sans-serif;
  }
  @media (max-width: 991px) {
    .default-result-box-title {
      max-width: 100%;
    }
  }
  .default-result-box-description {
    margin-top: 16px;
    font: 400 14px/150% Inter, sans-serif;
  }
  @media (max-width: 991px) {
    .default-result-box-description {
      max-width: 100%;
    }
  }

/* AFTER CALCULATE BMI */
.result-box {
    justify-content: center;
    border-radius: 16px 999px 999px 16px;
    background: linear-gradient(90deg, #345ff6 0%, #587dff 100%);
    margin-top: 32px;
    padding: 32px;
}

@media (max-width: 991px) {
    .result-box {
        max-width: 100%;
        padding: 0 20px;
    }
}

.result-content {
    gap: 20px;
    display: flex;
}

@media (max-width: 991px) {
    .result-content {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
}

.result-text {
    justify-content: center;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    color: #fff;
    font-weight: 600;
}

@media (max-width: 991px) {
    .result-text {
        margin-top: 40px;
    }
}

.result-label {
    font: 16px/150% Inter, sans-serif;
}

.result-value {
    letter-spacing: -3.2px;
    margin-top: 8px;
    font: 64px/110% Inter, sans-serif;
}

@media (max-width: 991px) {
    .result-value {
        font-size: 40px;
    }
}

.result-description {
    color: #fff;
    align-self: stretch;
    margin: auto 0;
    font: 400 14px/21px Inter, sans-serif;
}

@media (max-width: 991px) {
    .result-description {
        margin-top: 40px;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


  /* Style for the radio buttons */
  .radio-container {
    display: inline-block;
    position: relative;
    padding-left: 30px;
    margin-right: 15px;
    cursor: pointer;
}

.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 50%;
}
.checkmark:hover {
    border-color: #345ff6;
}
.radio-container:hover input ~ .checkmark {
    background-color: #ccc;
    border-color: #345ff6;
}

.radio-container:hover input ~ .checkmark:hover {
    /* background-color: #ccc; */
    border-color: #345ff6;
}

.radio-container input:checked ~ .checkmark {
  
    background-color: rgba(52, 95, 246, 0.15);

}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.radio-container input:checked ~ .checkmark:after {
    display: block;
}

.radio-container .checkmark:after {
    top: 6px;
    left: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2196F3;
}

/* Second Section  */

.bmi-calculator-info-section {
    margin-top: 120px;
    
  }

  @media (max-width: 991px) {
    .bmi-calculator-info-section {
      max-width: 100%;
      margin-top: 40px;
    }
  }


/* Wrapper styles */
.bmi-calculator-info-wrapper {

    gap: 20px;
    display: flex;
}

@media (max-width: 991px) {
    .bmi-calculator-info-wrapper  {
      flex-direction: column;
      align-items: stretch;
      gap: 0px;
    }
  }
/* Column styles */
.bmi-calculator-image-column-tt {
  
background-color: #E7F5FE;
--padding-top: 10px;
box-shadow: inset 0 0 0 var(--padding-top) lightGreen;
display: flex;
    flex-direction: column;
    line-height: normal;
    width: 56%;
    margin-left: 0px;
  }

  .bmi-calculator-image-column {
    border-radius: 32px;
    background-color: #E7F5FE;
    --padding-top: 215px;
    
    box-shadow: inset 0 var(--padding-top) 0 0 var(--Pure-White, #fff);
    display: flex;
    flex-direction: column;
    line-height: normal;
    width: 56%;
    margin-left: 0px;
}

  @media (max-width: 991px) {
    .bmi-calculator-image-column {
      width: 100%;
    }
  }

  .bmi-calculator-info-column{
    display: flex;
    flex-direction: column;
    line-height: normal;
    width: 44%;
    margin-left: 20px;
  }
  @media (max-width: 991px) {
    .bmi-calculator-info-column {
      width: 100%;
    }
  }
/* Image styles */
.bmi-calculator-info-image {
    /* width: 100%;
    object-fit: contain;
    object-position: center; */
    object-fit: auto;
    aspect-ratio: 1.05;
    object-position: center;
    width: 100%;
    margin-top: 52px;
    flex-grow: 1;
  }
  @media (max-width: 991px) {
    .bmi-calculator-info-image {
      max-width: 100%;
      margin-top: 40px;
    }
  }
/* Text wrapper styles */
.bmi-calculator-info-text-wrapper {
   
    display: flex;
    flex-direction: column;
    padding: 0 20px;
  }
  @media (max-width: 991px) {
    .bmi-calculator-info-text-wrapper {
        
      max-width: 100%;
      margin-top: 40px;
    }
  }
/* Icon styles */
.bmi-calculator-info-icon {

    aspect-ratio: 0.43;
    object-fit: auto;
    object-position: center;
    width: 85px;
    stroke-width: 1px;
    stroke: #acc1de;
    border-color: rgba(172, 193, 222, 1);
    border-style: solid;
    border-width: 1px;
    align-self: end;
  }
  @media (max-width: 991px) {
    .bmi-calculator-info-icon {
      /* margin-right: 7px; */
      display: none;
    }
    .bmi-limitations-icon-line {
        display: none;
    }
    .bmi-limitations-desktop-container{
        display: none;
    }
  }


@media (max-width: 1024px) {
    .bmi-calculator-info-icon {
        /* margin-right: 7px; */
        display: none;
    }
    .bmi-limitations-icon-line {
        display: none;
    }
    .bmi-limitations-desktop-container{
        display: none;
    }
     .bmi-limitations{
        display: block;
    }
}

/* Title styles */
.bmi-calculator-info-title {
 
    color: var(--Gunmetal, #253347);
    letter-spacing: -2.4px;
    margin-top: 36px;
    font: 600 48px/53px Inter, sans-serif;
  }
  @media (max-width: 991px) {
    .bmi-calculator-info-title {
      max-width: 100%;
      font-size: 40px;
      line-height: 49px;
    }
  }

/* Description styles */
.bmi-calculator-info-description {

    color: var(--Dark-Electric-Blue, #5e6e85);
    margin-top: 35px;
    font: 400 16px/24px Inter, sans-serif;
  }
  @media (max-width: 991px) {
    .bmi-calculator-info-description {
      max-width: 100%;
    }
  }


  /* Style of Health Tips  Section */

  .health-tips-container {
    align-items: center;
    margin-top: 120px;
    padding: 72px  116px 96px 116px;
    gap: 20px;
    display: flex;
    flex-shrink: 0;
    border-radius: 35px;

    /* opacity: 0.25; */
    background: var(--Gradient-1, linear-gradient(290deg, #D6E6FE 0%, rgba(214, 252, 254, 0.00) 100%));
  }
  @media (max-width: 991px) {
    .health-tips-container {
      flex-direction: column;
      align-items: stretch;
      gap: 0px;
    }
  }

  .health-tip {
    display: flex;
    flex-direction: column;
    line-height: normal;
    width: 33%;
    margin-left: 0px;
  }
  @media (max-width: 991px) {
    .health-tip {
      width: 100%;
    }
  }



  .health-tip-content {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    /* align-items: center; */
}

@media (max-width: 991px) {
    .health-tip-content {
        margin-top: 32px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .health-tip-image {
        margin-right: 16px; /* Adjust spacing between image and text as needed */
    }
    .health-tip-text {
        display: flex;
        flex-direction: column;
    }
}

.health-tip-image {
    aspect-ratio: 1;
    object-fit: auto;
    object-position: center;
    width: 64px;
}

.health-tip-title {
    color: var(--Gunmetal, #253347);
    letter-spacing: -1.2px;
    margin-top: 50px;
    font: 600 24px 'Inter', sans-serif;
}

@media (max-width: 991px) {
    .health-tip-title {
        margin-top: 0;
    }
}

.health-tip-description {
    color: var(--Dark-Electric-Blue, #5e6e85);
    margin-top: 31px;
    font: 400 16px/24px 'Inter', sans-serif;
}

@media (max-width: 991px) {
    .health-tip-description {
        margin-top: 8px; /* Adjust as needed */
    }
}



  /* Style of Limitaion of BMI   Section */


/* Adjust spacing between image and text as needed */

/* Adjust spacing as needed */



/* desighn layout for descktop  */
.bmi-limitations-desktop-container {
    display: grid;
    padding: 40px;
    /* grid-template-columns: repeat(3, 1fr); 3 equal columns */
    grid-template-columns: auto auto auto; /* Fit content width for each column */
    grid-template-rows: auto auto auto; /* 3 rows */
    gap: 20px; /* Space between items */
}

@media (max-width: 991px) {
    .bmi-limitations-desktop-container{
        display: none;
    }
    .bmi-limitations{
        display: block;
    }
}
@media (max-width: 991px) {
    .bmi-limitations-desktop-container{
        display: none;
    }
}

/* First row */
.bmi-limitations-header-desktop {
    grid-column: span 2; /* First column in the first row */
    grid-row: 1;
    /* margin-right: 20px; */
    padding-right: 90px;
    /* gap: 32px; */
}

.bmi-limitation-item-2 {
    grid-column: span 1; /* Second column in the first row, span two columns */
    grid-row: 1;
    margin-right: 200px;
    border-radius: 16px;
    box-shadow: 16px 32px 56px 0px rgba(143, 174, 207, 0.25);
    background-color: var(--Pure-White, #fff);
    display: flex;
    width: 100%;
    flex-grow: 1;
    flex-direction: column;
    /* margin: 0 auto;
    padding: 32px;/ */
    padding: 32px;
    /* margin-right: 100px; */
}

/* Second row */
.bmi-limitations-icon-line-item-3 {
    grid-column: span 1; /* First column in the second row */
    grid-row: 2;
}

.bmi-limitation-item-4 {
    grid-column: span 1; /* Second column in the second row */
    grid-row: 2;
}

.bmi-limitation-item-5{
    grid-column: span 1; /* Third column in the second row */
    grid-row: 2;
    
}

/* Third row */
.bmi-limitation-item-6 {
    grid-column: span 2; /* First column in the third row, span two columns */
    grid-row: 3;
}

.bmi-limitation-item-7 {
    grid-column: span 1; /* Second column in the third row */
    grid-row: 3;
}

/* Optional styling for items */
.item {
    background-color: #E7F5FE;
    padding: 20px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 8px;
}
/* end desighn layout for descktop */

/* limitaion for mobile and tablet */
.bmi-limitations {
    padding: 40px;
    /* display: none; */
}

.bmi-limitations-header {
    text-align: center;
    margin-bottom: 40px;
}

.bmi-limitations-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--Gunmetal, #253347);
}

.bmi-limitations-description {
    font-size: 18px;
    color: var(--Dark-Electric-Blue, #5e6e85);
    margin-top: 10px;
}

.bmi-limitations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}



.bmi-limitation-item {
    border-radius: 16px;
    box-shadow: 16px 32px 56px 0px rgba(143, 174, 207, 0.25);
    background-color: var(--Pure-White, #fff);
    display: flex;
    width: 100%;
    flex-grow: 1;
    flex-direction: column;
    margin: 0 auto;
    padding: 32px;/* Add spacing between items */
  }
  @media (max-width: 991px) {
    .bmi-limitation-item {
      margin-top: 40px;
      /* padding: 0 20px; */
      padding:  20px;

    }
  }
  .bmi-limitation-item:hover {
    transform: translateY(-5px);
  }

  .bmi-limitation-icon {
 
  display: flex;
  gap: 16px;
  font-size: 20px;
  color: var(--Gunmetal, #253347);
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: -1px;
}
@media (max-width: 991px) {
  .bmi-limitation-icon  {
    white-space: initial;
  }
}

  .bmi-limitation-icon img {
    aspect-ratio: 1;
  object-fit: auto;
  object-position: center;
  width: 32px;
  }

  .bmi-limitation-content {
    color: var(--Dark-Electric-Blue, #5e6e85);
  margin-top: 16px;
  font: 400 16px/24px Inter, sans-serif;
}

  .bmi-limitation-label {
    font-size: 20px;
    font-weight: bold;
    color: var(--Gunmetal, #253347);
  }

  .bmi-limitation-text {
    
        font-family: Inter, sans-serif;
        flex: 1;
        margin: auto 0;
      }

  @media (max-width: 991px) {
    .bmi-limitations {
      padding: 20px;
    }

    .bmi-limitations-title {
      font-size: 28px;
    }

    .bmi-limitations-description {
      font-size: 16px;
    }

    .bmi-limitations-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .bmi-limitations-desktop-container{
        /* display: none; */
        grid-template-columns: repeat(2, 1fr);

    }
  }

  @media (max-width: 600px) {
    .bmi-limitations-grid {
      grid-template-columns: 1fr;
    }
    .bmi-limitations-desktop-container{
        /* display: none; */
        grid-template-columns: 1fr;
    }
  }


  @media (min-width: 1024px) {
    .bmi-limitations {
        display: none;
    }
}