/* Modal container */
  .modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 990;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    
  }
  .modal-open {
    overflow: hidden;
    display: flex;
   }
   .modal-2{
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease; 
   }
   .modal-container{
     position: fixed;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     transition: all 0.6s ease-in-out;
     z-index: 999;
     transition: transform 0.3s ease, opacity 0.3s ease;
   }
   /* Bounce animation */
@keyframes bounce {
    0% {
      transform: translateX(-50%);
    }
    50% {
      transform: translateX(-60%);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  /* Modal content */
  .modal-content {
    position: relative;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    height: 450px;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  
  /* Left part */
  .left-part {
    height: 100%;
    width: 50%;
  }
  
  .left-part img {
    height: 100%;
    max-width: 100%;
  }

  /* Right part */
  .right-part {
    width: 50%;
    padding-left: 20px;
    position: relative;
  }
  
  
   .right-part-logo{
     display: flex;
     justify-content: center;
  }
 
 
  .right-part-logo img {
    max-width: 100%;
    width: 70%;
    height: 60px;
    height: auto;
    /*margin-left: 25%;*/
  }
  
 .right-part h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .right-part form {
    margin-bottom: 20px;
  }
  
  .form-group {
    margin-bottom: 15px;
  }
  
  .right-part input[type="text"],
  .right-part input[type="email"],
  .right-part input[type="tel"] {
    width: 90%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
  }
  .right-part button{
    width: 95%;
    border-radius: 4px;
    padding: 10px;
    border: 1px solid #ccc;
  }
  .right-part  button {
    background-color: #006699;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
  }
  
  .right-part  button:hover {
    background-color: #006699;
    transition: all 0.9 ease-in;
    transform: scale(1.04);
  }
  
  .right-part p {
    font-size: 15px;
    font-weight:600;
    margin-top:5px;
  }
  
  .right-part a {
    color: #007bff;
  }
  
  .right-part  a:hover {
    color: #0056b3;
  }
  
  /* Modal close button */
  .modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 34px;
    cursor: pointer;
  }
  
  /* Responsiveness */
  @media (max-width: 768px) {
    .modal-content {
        height: 600px;
      padding: 15px 10px;
    }
    .modal-container{
      width: 80%;
    }
    .right-part {
      width: 100%;
      padding-left: 0;
    }
  }
  
  /* Spinner code */
  .loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font: 26px/1.5 Monospace;
    color: #FFE05D;
    perspective: 100px;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.475);
    display: none;
  }
  .loading-container{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    text-align: center;
  }
  .loader {
    height: 0px;
    width: 0px;
    padding: 15px;
    border: 6px solid #ccc;
    border-right-color: #888;
    border-radius: 22px;
    -webkit-animation: rotate 1s infinite linear;
    /* left, top and position just for the demo! */
    position: absolute;
    left: 50%;
    top: 50%;
  }
  .loader-text{
    margin-top: 150px;
    margin-left: 35px;
  }
  @-webkit-keyframes rotate {
    /* 100% keyframe for  clockwise. 
       use 0% instead for anticlockwise */
    100% {
      -webkit-transform: rotate(360deg);
    }
  }
  
  
  
  
  
  

  