/* ===== Page Loader Styles ===== */
.page-loader {
          position: fixed;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
          display: flex;
          align-items: center;
          justify-content: center;
          z-index: 9999;
          opacity: 1;
          visibility: visible;
          transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hide {
          opacity: 0;
          visibility: hidden;
}

.loader-content {
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
}

.loader-logo-container {
          position: relative;
          width: 200px;
          height: 200px;
          display: flex;
          align-items: center;
          justify-content: center;
          margin-bottom: 30px;
}

.loader-logo {
          width: 140px;
          height: 140px;
          object-fit: contain;
          animation: logoFloat 3s ease-in-out infinite;
          filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.loader-ring {
          position: absolute;
          width: 220px;
          height: 220px;
          border: 4px solid rgba(0, 0, 0, 0.1);
          border-top: 4px solid #ff6b6b;
          border-right: 4px solid #4ecdc4;
          border-radius: 50%;
          animation: spin 2s linear infinite;
}

.loader-ring::before {
          content: '';
          position: absolute;
          width: 180px;
          height: 180px;
          border: 3px solid rgba(0, 0, 0, 0.08);
          border-top: 3px solid #ffd93d;
          border-radius: 50%;
          top: 17px;
          left: 17px;
          animation: spin-reverse 3s linear infinite;
}

.loader-ring::after {
          content: '';
          position: absolute;
          width: 140px;
          height: 140px;
          border: 3px solid rgba(0, 0, 0, 0.05);
          border-right: 3px solid #95e1d3;
          border-radius: 50%;
          top: 38px;
          left: 38px;

          .loader-text {
                    margin-top: 20px;
                    font-size: 14px;
                    color: #666;
                    font-weight: 500;
                    letter-spacing: 2px;
                    text-transform: uppercase;
                    font-family: 'Poppins', sans-serif;
          }

          .loader-dot {
                    display: inline-block;
                    animation: blink 1.4s infinite;
          }

          .loader-dot:nth-child(1) {
                    animation-delay: 0s;
          }

          .loader-dot:nth-child(2) {
                    animation-delay: 0.2s;
          }

          .loader-dot:nth-child(3) {
                    animation-delay: 0.4s;
          }

          /* ===== Animations ===== */
          @keyframes spin {
                    to {
                              transform: rotate(360deg);
                    }
          }

          @keyframes spin-reverse {
                    to {
                              transform: rotate(-360deg);
                    }
          }

          @keyframes logoFloat {

                    0%,
                    100% {
                              transform: translateY(0px);
                    }

                    50% {
                              transform: translateY(-15px);
                    }
          }

          @keyframes blink {

                    0%,
                    20%,
                    50%,
                    80%,
                    100% {
                              opacity: 1;
                    }

                    40% {
                              opacity: 0.3;
                    }

                    60% {
                              opacity: 0.5;
                    }
          }

          /* ===== Progress Bar ===== */
          .loader-progress {
                    width: 200px;
                    height: 3px;
                    background: rgba(0, 0, 0, 0.1);
                    border-radius: 10px;
                    margin-top: 30px;
                    overflow: hidden;
          }

          .loader-progress-bar {
                    height: 100%;
                    background: linear-gradient(90deg, #ff6b6b 0%, #4ecdc4 50%, #ffd93d 100%);
                    border-radius: 10px;
                    animation: progress 1.5s ease-in-out infinite;
          }

          @keyframes progress {
                    0% {
                              width: 0%;
                    }

                    50% {
                              width: 100%;
                    }

                    100% {
                              width: 0%;
                    }
          }

          /* ===== Responsive ===== */
          @media (max-width: 768px) {
                    .loader-logo-container {
                              width: 90px;
                              height: 90px;
                              margin-bottom: 20px;
                    }

                    .loader-logo {
                              width: 75px;
                              height: 75px;
                    }

                    .loader-ring {
                              width: 100px;
                              height: 100px;
                              border-width: 2px;
                    }

                    .loader-ring::before {
                              width: 80px;
                              height: 80px;
                              border-width: 1.5px;
                              top: 8px;
                              left: 8px;
                    }

                    .loader-ring::after {
                              width: 60px;
                              height: 60px;
                              border-width: 1.5px;
                              top: 18px;
                              left: 18px;
                    }

                    .loader-text {
                              font-size: 12px;
                              margin-top: 15px;
                    }

                    .loader-progress {
                              width: 150px;
                              margin-top: 20px;
                    }
          }