/*Footer styling css */
/* Footer Section */
.fh3{
    text-align: left;
}
footer {
    margin-bottom: 3%;
    background-color: #fff;
    margin-top: 40px;
    padding: 20px;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
  }
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
  }
  .footer-section {
    flex: 1;
    min-width: 220px;
  }
  .footer-section h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #007BFF;
  }
  .footer-section p {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #555;
  }
  .footer-section a {
    color: #007BFF;
    font-size: 0.95rem;
  }
  .footer-section a:hover {
    text-decoration: underline;
  }
  .footer-section ul {
    list-style: none;
  }
  /*Terms and conditions modal styling. */
    .modal-terms {
      display: none;
      position: fixed;
      z-index: 999;
      top: 15px; 
      left: 0;
      width: 100%; 
      height: 100%;
      background: rgba(0,0,0,0.5);  
      justify-content: center;

      font-family: Arial, sans-serif;
      font-size: 10px; /* Small font to discourage extensive reading */
      line-height: 1.4;
      color: #333;
      margin: 20px;
    }
    .terms-content {
      background: #f7fffd;
      padding: 20px;
      border-radius: 8px;
      max-width: 500px;
      width: 90%;
      box-shadow: 0 2px 10px rgba(0,0,0,0.2);
      text-align: left;
    }
    .ht {
      font-size: 12px;
      margin-top: 20px;
      margin-bottom: 10px;
      text-align: left;
    }
    .tsection {
      margin-bottom: 20px;
    }

  /* FAQ Modal */
   .modal-bg {
      display: none;
      position: fixed;
      z-index: 999;
      top: 15px; 
      left: 0;
      width: 100%; 
      height: 100%;
      background: rgba(0,0,0,0.5);  
      justify-content: center;
    }
    
    .modal-content {
      background: #bddbd5;
      padding: 20px;
      border-radius: 8px;
      max-width: 500px;
      width: 90%;
      box-shadow: 0 2px 10px rgba(0,0,0,0.2);
      text-align: left;
    }
    .modal-content h3 {
      margin-bottom: 15px;
    }
    .modal-content ul {
      list-style: none;
      margin-bottom: 20px;
    }
    .modal-content li {
      margin-bottom: 20px;
    }
    .modal-content strong {
      color: #007BFF;
    }
    .close-btn {
      background-color: #dc3545;
      color: #fff;
      border: none;
      padding: 10px 16px;
      border-radius: 4px;
      cursor: pointer;
      margin-bottom: 10%;
    }
    .close-btn:hover {
      background-color: #c82333;
    }

    @media (max-width: 600px) {
      .footer-content {
        flex-direction: column;
        align-items: flex-start;
      }
    }
    @media screen and (max-height:890px){
    .modal-content, .terms-content{
      height:auto;
      bottom:0;
      overflow:auto;
    }
    }