
body{
    background-color: black;
}
.formulation-page{
    display: flex;
    flex-direction: column;
  
}
.formulation-heading{
    display: flex;
    flex-direction: row;
   align-items: center;
    justify-content: space-around;
    padding-top: 30px;
   padding-bottom: 10%;
}
.formulation-heading .leftTo{
    flex-direction: column;
    
}
.formulation-heading h2{
    border-left: 8px solid rgb(54, 197, 245);
    height:50px;
    padding-left: 10px;
    color: white;
    font-weight:900;
}
.formulation-heading img{
    width: 30%;
    height: 300px;
    object-fit: contain;
 
}
.text-section{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding-bottom: 8%;
}

.first{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    color: white;
    width: 40%;
    
}
@media (min-width:550px){


.first h3{
   font-size: 40px;
}
.first p{
    font-size: 20px;
     width: 80%;
}

.second{
    width:25%;
    color:white
}
}
.second ul{
    margin-left: -50px;
    font-size: 30px;
    font-weight: 900;
   
}
.second li{
    list-style-type:none;
    padding: 10px;
}
.second .icon{
    width: 35px;
    object-fit: contain; 
}
.water{
  height: fit-content;
    display: flex;
    justify-content: space-around;
    padding-bottom: 8%;
}
.water img{
    width: 50%;
    object-fit: contain;
}
.onein4{
    font-size:60px;
    font-weight: 900;
    }
    .suffer{
        font-weight:300;
        font-size: 18px;
    }
.open-modal-btn {
    padding: 10px 20px;
    background-color: rgb(54, 197, 245);
    color: black;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
   margin-top: 50px;
  }
  
  .open-modal-btn:hover {
    background-color: #0056b3;
  }
  
/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
  }
  
  .modal-content {
    display: flex;
    align-items: center;
    background: #fff;
    width: 80%;
    max-width: 800px;
    height: fit-content;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    padding: 20px;
    animation: fadeIn 0.3s ease-in-out;
  }
  
  .modal-body {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
  }
  
  .nutrition-details {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    display: flex;
    flex-direction: column; /* Ensures content stacks vertically */
    justify-content: center; /* Centers the text vertically within its container */
    height: 100%; 
  }
  .scnd{
    padding-top: 50px;
  }
  .nutrition-facts {
    flex: 1;
  }
  .nutrition-facts {
    font-family: Arial, sans-serif;
    border: 2px solid #000;
    width: 300px;
    padding: 10px;
  }
  
  .nutrition-facts table {
    width: 100%;
    height: 100%;
    border-collapse: collapse;
    font-size: 14px;
  }
  
  .nutrition-facts th {
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 4px solid #000;
    padding-bottom: 5px;
  }
  

  .nutrition-facts .title{
   
    border-top: 3px solid #000;;
  }
  .nutrition-facts tr.calories td {
    font-size: 20px;
    font-weight: bold;
    border-bottom: 4px solid #000;
  }
  
  .nutrition-facts .sub-row td {
    padding-left: 15px;
    font-size: 13px;
  }
  
  .nutrition-facts p {
    font-size: 12px;
    margin-top: 10px;
    line-height: 1.5;
  }
  
  
  .close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    transition: color 0.3s;
  }
  
  .close:hover {
    color: red;
  }
  
 
  /* Animation */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: scale(0.95);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
  @media (max-width: 768px) {
    .formulation-heading {
      flex-direction: column;
      text-align: center;
    }
  
    .formulation-heading img {
      width: 70%;
      margin-top: 20px;
    }
  
    .text-section {
      flex-direction: column;
      gap: 20px;
    }
  
    .water {
      flex-direction: column;
      align-items: center;
      gap: 20px;
    }
  
    .modal-content {
      flex-direction: column;
    }
  }
  
  @media (max-width: 480px) {
    .first{
        width: 100%;
        display: flex; 
        flex-direction: column;
        align-items: center;
        justify-content: center;
       
    }
    .first p{

        font-size: 15px;
        width:50%;
        margin-left: 20%;
      
    }

    .first h3{
        width: 60%;
    }
    .onein4{
        font-size: 50px;
    }
    .second{
        display: flex;
        flex-direction: column;
        align-items: center;
        color:white
    }
    .water img{
        width: 90%;
    }
    .formulation-heading h2 {
        width: 60%;
      font-size: 20px !important;
    }
  
    .open-modal-btn {
      font-size: 16px;
    }
  
    .nutrition-facts {
      font-size: 12px;
    }
  }