/* --------------------------- Loader ------------------------------ */

.page-loader {
  position: fixed;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: transparent;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(15px);
  font-family: Arial, sans-serif;
}

.loader-box {
  text-align: center;
}

/* Logo with glow */
.loader-logo {
  width: 110px;
  margin: 0 auto 30px auto;
  border-radius: 18px;
  box-shadow:
    0 8px 15px rgba(0,0,0,0.25),
    0 15px 30px rgba(0,0,0,0.15),
    0 3px 5px rgba(0,0,0,0.2);
  animation: logoGlow 1.8s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  from { filter: drop-shadow(0 0 5px rgba(255,255,255,0.4)); }
  to { filter: drop-shadow(0 0 20px rgba(255,255,255,0.9)); }
}

/* Container for buttons */
.loading-words {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 360px; /* allow longer words */
  margin: 0 auto;
}

/* Base button style */
.loading-words span {
  position: relative;
  display: flex;
  align-items: center;
  height: 48px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding-left: 160px; /* space for left flag */
  padding-right: 56px; /* space for right icon block */
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  cursor: default;
  color: #222;
  user-select: none;

  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

/* Left colored flag */
.loading-words span::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  min-width: 160px; /* ensure long words fit */
  padding: 0 10px;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  background: #999;
  z-index: 1;
}

/* Right colored icon block */
.loading-words span::after {
  content: attr(data-icon);
  position: absolute;
  right: 0;
  top: 0;
  height: 48px;
  width: 48px;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  background: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  z-index: 1;
}

/* Assign colors per button */
.loading-words span:nth-child(1)::before,
.loading-words span:nth-child(1)::after {
  background: #ff647c; /* pink/red */
}

.loading-words span:nth-child(2)::before,
.loading-words span:nth-child(2)::after {
  background: #0d6efd; /* blue */
}

.loading-words span:nth-child(3)::before,
.loading-words span:nth-child(3)::after {
  background: #ffa26b; /* orange */
}

/* Slide-up animation */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Delay for sequential appearance */
.loading-words span:nth-child(1) { animation-delay: 0.4s; }
.loading-words span:nth-child(2) { animation-delay: 0.9s; }
.loading-words span:nth-child(3) { animation-delay: 1.4s; }

/* Smooth hide */
.page-loader.hide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

/* --------------------------- Loader ------------------------------ */


/*.brandbar {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  padding: 15px 0;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}*/
/* --------------------------- Header brand logo ------------------------------ */

.brandbar .container {
  max-width: 95%;
  margin: auto;
  padding: 0 15px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.brand .logo img {
  width: 80px;
  padding: 5px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow:
    0 4px 6px rgba(0,0,0,0.12),
    0 12px 24px rgba(0,0,0,0.18);
  transition: transform 0.3s ease;
}

.brand .logo img:hover {
  transform: scale(1.1);
}

.brand-info h1 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
}

.brand-info small {
  display: block;
  margin-top: 5px;
  color: #e0e0e0;
}

.brand-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.brand-actions .btn {
  background: #ffcc00;
  color: #1a1a1a;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.brand-actions .btn:hover {
  background: #e6b800;
  transform: translateY(-2px);
}
.hero{background:linear-gradient(135deg, #072e37, #135965);color:#fff;padding:26px 0;margin-bottom:16px;}
/* Responsive: Center everything on mobile */
@media (max-width: 768px) {
  .brand {
    flex-direction: column;
    text-align: center;
  }

  .brand-actions {
    margin-left: 0;
    justify-content: center;
  }

  .brand-info h1 {
    font-size: 1.2rem;
  }

  .brand-info small {
    font-size: 0.85rem;
  }
}

/* --------------------------- Header brand logo ------------------------------ */


/* --------------------------- Header page  ------------------------------ */




/* --------------------------- Header page  ------------------------------ */

/* --------------------------- Footer Css  ------------------------------ */

html, body {
  height: 100%;
}

/* Page wrapper flex layout */
.page-wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* Main content grows */
.page-content {
  flex: 1;
   background-color: #f6f8fb;
  background-image: url("https://library.iimsambalpur.ac.in/assets/img/bg.png"); /* use local image */
}

/* Footer styling */
.footer {
  background: #1a2332;
  color: #cfd6e0;
  padding: 24px 0;
  font-size: 14px;
}

.footer a {
  color: #cfd6e0;
}
.footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Footer pill */
.footer .pill {
  display: inline-block;
  padding: 6px 12px;
  background: #243244;
  border-radius: 20px;
  font-size: 13px;
}

/* --------------------------- Footer Css  ------------------------------ */
