/* Reset */
:root {
  --primary-color: #01684B;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
/* Premium Modern Preloader */
.preloader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: #0F0F0F;
  color: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.preloader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
}
.logo-wrapper {
  width: 90px;
  height: 90px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: logoPulse 2s ease-in-out infinite alternate;
}
.preloader-img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}
.brand-text {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #FFFFFF;
  margin-top: 0.4rem;
}
.brand-subtext {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.45);
}
.loader-track {
  width: 180px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 0.4rem;
  position: relative;
}
.loader-fill {
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #FFFFFF, transparent);
  border-radius: 3px;
  position: absolute;
  left: -40%;
  animation: barSlide 1.5s ease-in-out infinite;
}
.loading-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.2rem;
}

@keyframes logoPulse {
  0% { transform: scale(0.96); opacity: 0.85; }
  100% { transform: scale(1.04); opacity: 1; filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.2)); }
}
@keyframes barSlide {
  0% { left: -40%; }
  100% { left: 100%; }
}
/* Header */
.header {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  inline-size: 100%;
  background-color: #fff;
  box-shadow: 0px 6px 12px -3px rgba(4, 97, 165, 0.1);
}
.theme-dark .header{
   background-color: rgba(255, 255, 255, 0.15);
 }
 .header-end {
   color: #C3CAD9;
 }
 .theme-dark .header-end {
     color: #C3CAD9;
 }
.header-container {
  max-inline-size: 1290px;
  margin-inline: auto;
  padding: 1.45rem 1.6rem;
  border-radius: 0 0 0.625rem 0.625rem;
}
.header-top-line {
  padding: 1rem;
  background-color: #EDF4F2;
}
.theme-dark .header-top-line {
  background-color: #82CAB6;
}
.header .logo {
  max-block-size: 3.5rem;
}
@media (max-width: 1024px) {
  .header {
    display: none;
  }
}
.placeholder {
  block-size: 0.825rem;
  inline-size: 3rem;
  background-color: #F5F5F5;
  border-radius: 0.3rem;
}
.theme-dark .placeholder {
  background-color: rgba(224, 224, 224, 0.2);
}
.placeholder-wide {
  inline-size: 20rem;
}
/* Common Classes */
.d-flex {
  display: flex;
}
.align-items-center {
  align-items: center;
}
.justify-content-center {
  justify-content: center;
}
.justify-content-between {
  justify-content: space-between;
}
.flex-column {
  flex-direction: column;
}
.text-center {
  text-align: center;
}
.gap-3 {
  gap: 1rem;
}
.gap-4 {
  gap: 1.5rem;
}
.gap-5 {
  gap: 3rem;
}
@keyframes animloader {
  33% {
    background-size: 33.3333333333% 0%, 33.3333333333% 100%, 33.3333333333% 100%;
  }
  50% {
    background-size: 33.3333333333% 100%, 33.3333333333% 0%, 33.3333333333% 100%;
  }
  66% {
    background-size: 33.3333333333% 100%, 33.3333333333% 100%, 33.3333333333% 0%;
  }
}
@keyframes grayFade {
  0% {
    opacity: 0.5;
    filter: grayscale(1);
  }
  100% {
    opacity: 1;
    filter: grayscale(0);
  }
}