/* Loader styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  .loader-content {
    text-align: center;
    position: relative;
  }
  
  .loader-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
  }
  
  .loader-icon img {
    width: 100%;
    height: auto;
    animation: bounce 2s infinite;
  }
  
  .loader-progress {
    position: relative;
    width: 100px;
    height: 10px;
    background: #ddd;
    border-radius: 5px;
    overflow: hidden;
  }
  
  .progress-bar {
    width: 100%;
    height: 100%;
    background: #007bff;
    border-radius: 5px;
    position: absolute;
    left: 0;
    top: 0;
    animation: progress 2s infinite;
  }
  
  /* Bounce animation */
  @keyframes bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-20px);
    }
  }
  
  /* Progress bar animation */
  @keyframes progress {
    0% {
      width: 0;
    }
    50% {
      width: 100%;
    }
    100% {
      width: 0;
    }
  }
  
  /* Hide loader after page load */
  .loader-hidden {
    opacity: 0;
    visibility: hidden;
  }
  