
/* ============================
   🌸 COMMUNITY BANNER
   ============================ */
/* 💎 Premium Matrimonial Banner */

/* Shine overlay */
.pr-brand-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.35),
    transparent
  );

  animation: shineSweep 6s ease-in-out infinite;
  pointer-events: none;
}

/* Shine animation */
@keyframes shineSweep {
  0% { left: -150%; }
  60% { left: 150%; }
  100% { left: 150%; }
}

.pr-brand-banner {
  position: fixed;
  top: 0;
  width: 100%;
  height: 46px;
  z-index: 1200;

  display: flex;
  align-items: center;
  justify-content: center;

  /* Glass gradient */
  background: linear-gradient(
    90deg,
    rgba(230,57,70,0.95),
    rgba(255,107,160,0.95)
  );

  backdrop-filter: blur(10px);

  box-shadow:
    0 6px 25px rgba(230,57,70,0.35),
    inset 0 1px 0 rgba(255,255,255,0.25);

  color: white;
  font-weight: 600;
  letter-spacing: .5px;
  font-size: 16px;

  transition: 0.3s ease;
}

/* Text */
.pr-banner-content {
  text-shadow: 0 0 10px rgba(255,255,255,0.35);
}

/* Close button */
.pr-close {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
  opacity: 0.85;
}

.pr-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Desktop */
body.banner-visible .navbar {
  top: 46px !important;
}

/* Mobile */
@media (max-width:768px){
  body.banner-visible .navbar {
    top: 40px !important; /* match mobile banner height */
  }
}

body.banner-visible {
  padding-top: 146px;
}
@media(max-width:768px){
  .pr-brand-banner{
    height:40px;
    font-size:14px;
  }

  body.banner-visible{
    padding-top:120px;
  }
}
/* ------------------------------------ */

/* Smooth page transition */
.page-wrapper {
  transition: opacity 0.25s ease;
}

.page-wrapper.fade-out {
  opacity: 0;
}

/* 🚫 Kill all Bootstrap spinners everywhere */
.spinner,
.spinner-border,
.spinner-grow {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
}



#interestLoader,
.spinner,
.spinner-border {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Loading CSS Starts Here */
/* 🔥 Global Loading Overlay (Merged & Clean) */
#loadingOverlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  z-index: 999999;

  display: none;               /* default hidden */
  align-items: center;
  justify-content: center;

  opacity: 0;                  /* for fade animation */
  transition: opacity 0.25s ease;
}

/* When visible */
#loadingOverlay.show {
  display: flex !important;
  opacity: 1;
}

/* Loader container */
.loader-wrapper {
  text-align: center;
  animation: fadeIn 0.3s ease-in-out;
}

/* Logo animation */
.logo-loader {
  width: 110px;
  height: auto;
  animation: pulseLogo 1.4s infinite ease-in-out;
  margin-bottom: 12px;
}

/* Optional text under loader */
#loadingOverlay p {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ff004c;
  letter-spacing: 0.4px;
}

/* Animations */
@keyframes pulseLogo {
  0%   { transform: scale(1);    opacity: 0.7; }
  50%  { transform: scale(1.08); opacity: 1;   }
  100% { transform: scale(1);    opacity: 0.7; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Loading CSS Ends Here */
/* //--------------------------------------------- */

.navbar {
  overflow: visible !important;
}

/* Move down ONLY when banner exists */
body.banner-visible .navbar {
  top: 38px;
}

main {
    flex: 1;
}
/* ❤️ Heart Loader */
.heart-loader {
  width: 60px;
  height: 60px;
  position: relative;
  animation: heartbeat 1.2s infinite;
}
.heart-loader::before,
.heart-loader::after {
  content: "";
  width: 30px;
  height: 45px;
  background: #ff4d6d;
  border-radius: 30px 30px 0 0;
  position: absolute;
  top: 0;
}
.heart-loader::before {
  left: 15px;
  transform: rotate(-45deg);
}
.heart-loader::after {
  left: -15px;
  transform: rotate(45deg);
}
@keyframes heartbeat {
  0% { transform: scale(1); }
  30% { transform: scale(1.3); }
  60% { transform: scale(1); }
  100% { transform: scale(1); }
}


 
    
    

    html, body {
     height: auto;
      background: #fffaf7;
      font-family: 'Poppins', sans-serif;
      scroll-behavior: smooth;
    }

    body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}
    /* 💞 Navbar */
    .glass-navbar {
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(230, 57, 70, 0.15);
      transition: all 0.3s ease;
    }

    .navbar-brand img {
      width: 200px;
      border-radius: 8px;
      transition: transform 0.2s ease;
    }
    

    .nav-link {
      color: #333 !important;
      font-weight: 500;
      transition: color 0.3s ease;
    }
    .nav-link:hover,
    .nav-item.active .nav-link {
      color: #e63946 !important;
    }

    /* 🌍 Language dropdown */
    #langDropdown {
      font-weight: 500;
      color: #333 !important;
    }
    .dropdown-item.active {
      background-color: #fde2e4;
      color: #e63946 !important;
    }
    .dropdown-item:hover {
      background-color: #fff0f2;
    }

    /* 💖 Footer */
    footer {
      background: linear-gradient(90deg, #e63946, #ff6b81);
      color: #fff;
      text-align: center;
      padding: 1.2rem 0;
      margin-top: auto;
      font-size: 0.9rem;
    }

    footer a {
      color: #ffe9e9;
      text-decoration: none;
      font-weight: 500;
    }
    footer a:hover { text-decoration: underline; }

    main.container { max-width: 900px; }

    /* Toast messages */
    .toast {
      border-radius: 10px;
      box-shadow: 0 3px 6px rgba(0,0,0,0.15);
      min-width: 250px;
    }

    /* ❤️ Floating Find Match Button */
    .floating-match-btn {
      position: fixed;
      bottom: 85px;
      right: 20px;
      background: linear-gradient(135deg, #e63946, #ff758f);
      color: white;
      font-weight: 600;
      border: none;
      border-radius: 50px;
      padding: 14px 28px;
      box-shadow: 0 6px 18px rgba(230,57,70,0.3);
      font-size: 1rem;
      z-index: 1050;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: all 0.25s ease;
    }
    .floating-match-btn:hover {
      background: linear-gradient(135deg, #ff5c74, #473637);
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(230,57,70,0.4);
      text-decoration: none;
      color: #fff;
    }
    @media (min-width: 992px) { .floating-match-btn { display: none; } }

    /* 🌸 Premium PyaraRishta Navbar */
.premium-navbar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 107, 160, 0.25);
}

/* Logo */



/* Nav links */
.nav-link.nav-animated {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #444 !important;
  position: relative;
  padding: 10px 14px;
  transition: color 0.3s ease;
}

.nav-link.nav-animated:hover {
  color: #ff4d6d !important;
}

/* Active underline */
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 8px;
  right: 8px;
  height: 3px;
  border-radius: 10px;
  background: linear-gradient(45deg, #ff6b81, #ff6b9f);
}

/* Icon styling */
.icon-pink {
  color: #ff6b9f;
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}
.nav-link:hover .icon-pink {
  transform: scale(1.15);
}

/* Dropdown */
.premium-dropdown {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 107, 160, 0.15);
}
.premium-dropdown .dropdown-item {
  padding: 10px 14px;
  font-weight: 500;
}
.premium-dropdown .dropdown-item:hover {
  background: #fff0f5;
}

/* 🌸 Premium PyaraRishta Navbar */
.premium-navbar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 107, 160, 0.25);
}

/* Logo */
.navbar-logo {
  height: 140px;
  object-fit: contain;
  transition: transform 0.2s ease;
}


/* Nav links */
.nav-link.nav-animated {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #444 !important;
  position: relative;
  padding: 10px 14px;
  transition: color 0.3s ease;
}

.nav-link.nav-animated:hover {
  color: #ff4d6d !important;
}

/* Active underline */
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 8px;
  right: 8px;
  height: 3px;
  border-radius: 10px;
  background: linear-gradient(45deg, #ff6b81, #ff6b9f);
}

/* Icon styling */
.icon-pink {
  color: #ff6b9f;
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}
.nav-link:hover .icon-pink {
  transform: scale(1.15);
}

/* Dropdown */
.premium-dropdown {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 107, 160, 0.15);
}
.premium-dropdown .dropdown-item {
  padding: 10px 14px;
  font-weight: 500;
}
.premium-dropdown .dropdown-item:hover {
  background: #fff0f5;
}

/* ============================
   MOBILE DROPDOWN SCROLL FIX
   ============================ */
@media (max-width: 768px) {

  /* Allow dropdowns to scroll */
  .dropdown-menu {
    max-height: 65vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  @media (max-width: 768px) {

  /* Allow dropdowns to scroll */
  .dropdown-menu {
    max-height: 65vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Lock background scroll when dropdown is open */
  body.dropdown-open {
    overflow: hidden;
  }

  
}


  /* Prevent body from stealing scroll */
  body {
    overflow-x: hidden;
  }

  /* Fix iOS zoom & focus issues */
  .dropdown-menu a,
  .dropdown-menu button {
    font-size: 16px;
  }
}


/* ============================
   MOBILE DROPDOWN HARD FIX
   ============================ */
@media (max-width: 768px) {

  .navbar {
    overflow: visible !important;
  }

  .dropdown-menu {
    position: fixed !important;
    top: 70px !important;           /* navbar height */
    left: 10px !important;
    right: 10px !important;
    max-height: calc(100vh - 90px);
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
}


/* ============================
   CLEAN NAVBAR TOGGLER (FIXED)
   ============================ */

.custom-toggler {
  border: none !important;
  background: transparent !important;
  padding: 8px !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Center icon */
.custom-toggler .toggler-icon {
  width: 26px;
  height: 2px;
  background-color: #ff004c;
  display: block;
  position: relative;
  transition: background-color 0.25s ease;
}

/* Top & bottom lines */
.custom-toggler .toggler-icon::before,
.custom-toggler .toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 26px;
  height: 2px;
  background-color: #ff004c;
  transition: transform 0.35s ease, top 0.35s ease, opacity 0.25s ease;
}

.custom-toggler .toggler-icon::before {
  top: -8px;
}

.custom-toggler .toggler-icon::after {
  top: 8px;
}

/* ============================
   OPEN STATE → CLOSE ICON
   ============================ */

.custom-toggler[aria-expanded="true"] .toggler-icon {
  background-color: transparent;
}

.custom-toggler[aria-expanded="true"] .toggler-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.custom-toggler[aria-expanded="true"] .toggler-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Remove tap highlight on mobile */
.custom-toggler:focus,
.custom-toggler:active {
  outline: none !important;
  box-shadow: none !important;
}


.navbar-brand {
  height: 100%;
  display: flex;
  align-items: center;
}

.navbar-logo {
  height: 95px;        /* visually large */
  width: auto;
  object-fit: contain;

  /* KEEP sharp look permanently */
  transform: scale(1.04);
  transform-origin: center;

  /* NO hover transform */
  transition: none;
}


.navbar-brand {
  height: 100%;
  display: flex;
  align-items: center;
}

.navbar-logo {
  height: 95px;           /* visually large & sharp */
  width: auto;
  object-fit: contain;

  /* permanent sharp look */
  transform: scale(1.04);
  transform-origin: center;

  /* absolutely no layout change */
  transition: none;
}

/* ✅ Accurate navbar spacing fix */
/* Default (no banner) */
body {
  padding-top: 100px;
}

/* When banner visible */
body.banner-visible {
  padding-top: 105px; /* navbar + banner */
}

/* Mobile */
@media (max-width:768px) {
  body {
    padding-top: 80px;
  }

  body.banner-visible {
    padding-top: 118px;
  }
}


/* ===========================
   LOGOUT CONFIRMATION MODAL
   =========================== */
   
.logout-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.logout-modal {
  width: 92%;
  max-width: 420px;
  padding: 24px;
  border-radius: 18px;
  text-align: center;
  animation: popIn .25s ease;
}

/* animation */
@keyframes popIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* show */
.logout-modal-overlay.show {
  display: flex;
}

/* ===========================
   LOGOUT CONFIRM MODAL FIX
   =========================== */

.logout-modal {
  background: rgba(255, 255, 255, 0.95) !important; /* solid glass */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.35);
}