.main-banner {
  background-image: url(../images/banner-bg.jpg);
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 170px 0px 120px 0px;
}


body.home-page .main-banner#top {
  padding-top: 70px;

  padding-bottom: 160px;
}


body.home-page .home-hero .header-text {
  max-width: 100%;
  margin: 0;
}


body.home-page .home-hero .header-text h2 {
  font-size: 45px;
  line-height: 1.3;
  margin-bottom: 12px;
}
  
body.home-page .home-hero .hero-subtitle {
  font-size: 15px;
  line-height: 2.8;
  margin-bottom: 20px;
}

/* Buttons in hero */
body.home-page .home-hero .buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.home-page .home-hero .secondary-button a {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 25px;
  background: #ffffff;
  color: #7a6ad8;
  font-size: 14px;
  border: 1px solid #7a6ad8;
}

/* Right side hero card */
/* body.home-page .home-hero-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px 24px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin: 40px 0px;

} */

body.home-page .home-hero-card h4 {
  font-size: 18px;
  margin-bottom: 12px;
}

body.home-page .home-hero-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

body.home-page .home-hero-card li {
  font-size: 13px;
  margin-bottom: 6px;
  position: relative;
  padding-left: 18px;
}

body.home-page .home-hero-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #7a6ad8;
}

/* On small screens, stack hero nicely */
@media (max-width: 991.98px) {
  body.home-page .main-banner#top {
    padding-top: 60px;
  }

  body.home-page .home-hero-card {
    margin-top: 20px;
  }
}

/* Why Testmoz cards same height, cleaner spacing */
body.home-page #features .service-item {
  height: 100%;
}

body.home-page #features .service-item .main-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

body.home-page #features .feature-list {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

body.home-page #features .feature-list li {
  font-size: 13px;
  margin-bottom: 4px;
}

body.home-page .how-it-works {
  background: #f6f6ff;
}

body.home-page .how-it-works .how-subtitle {
  max-width: 620px;
  margin: 0 auto 20px;
  font-size: 14px;
}

body.home-page .how-it-works .how-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 16px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  height: 100%;
  /* all cards equal height in a row */
}

body.home-page .how-it-works .how-card h4 {
  font-size: 15px;
  margin-bottom: 8px;
}

body.home-page .how-it-works .how-card p {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 0;
}

body.home-page .how-it-works .step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #7a6ad8;
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

/* Login extra text */
body.home-page .login-notes {
  color: rgb(71, 71, 71);
  margin-top: 10px;
  padding-left: 18px;
}

body.home-page .login-notes li {
  font-size: 14px;
  margin-bottom: 4px;
}

body.home-page .login-hint {
  color: #fff;
  font-size: 12px;
  margin-top: 10px;
}

/* Login form spacing & borderless inputs */
body.home-page #login .contact-us-content fieldset {
  margin-bottom: 18px;
}
 
/* Button spacing so it does not stick to edges */
body.home-page #login .contact-us-content #login-submit {
  width: 100%;
  max-width: 260px;
  padding: 10px 0;
  margin-top: 18px;
  border: none;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
/* .username-wrapper{
  position: relative;
  display: flex;
  align-items: center;
    width: 100%;
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
} */
 
.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
  width: 100%;
  padding-right: 2.5rem;
  /* space for icon */
}

.password-toggle-btn {
  position: absolute;
  right: 0.75rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-toggle-btn i {
  font-size: 0.9rem;
  color: #6c757d; 
}

.password-toggle-btn:focus {
  outline: none;
}
/* Make the input fill its parent fieldset/container */
.contact-us-content fieldset {
  padding: 0;
  margin-bottom: 15px;
  border: none;              /* or keep your border here */
}
/* #username {
  width:500px;
  display: block;
  box-sizing: border-box;

} */
.contact-us-content input[type="text"],
.contact-us-content input[type="password"] {
  width: 100%;
  max-width: 560px;
  height: 48px;
  display: block;
  border: 1px solid #ccc;
  padding: 0 15px;
  box-sizing: border-box;
}/* --- 1. Fix overlay / stacking issue so form is always on top --- */

#login {
  position: relative;
  z-index: 1;
}

/* If section has decorative ::before/::after, they should never block clicks */
#login::before,
#login::after {
  pointer-events: none;
}

/* Entire form content above background / hero */
#login .contact-us-content *{

  z-index: 100;
}

/* Everything inside the form also above overlays */
#login .contact-us-content  {
  position: relative;
  z-index: 100;
}

/* Ensure no one is clipping the password icon */
#login .username-wrapper,
#login .password-wrapper {
  position: relative;
  width: 100%;
  overflow: visible;
}

/* --- 2. Clean fieldset & input styles --- */

#login .contact-us-content fieldset {
  margin: 0 0 18px;
  padding: 0;
  border: none;
}

/* Common input styles */
#login .contact-us-content input[type="email"],
#login .contact-us-content input[type="password"] {
  width: 100%;
  height: 48px;
  display: block;
  box-sizing: border-box;
  padding: 0 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background: #f8f8ff;
  font-size: 14px;
}

/* Extra right padding for password so text doesn't sit under icon */
#login .password-wrapper input[type="password"],
#login .password-wrapper input[type="email"] {
  padding-right: 2.5rem;
}

/* Focus state */
#login .contact-us-content input[type="email"]:focus,
#login .contact-us-content input[type="password"]:focus {
  background: #ffffff;
  box-shadow: 0 0 0 1px #7a6ad8;
  outline: none;
}

/* --- 3. Eye icon positioning --- */

.password-toggle-btn {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-toggle-btn i {
  font-size: 0.9rem;
  color: #6c757d;
}

.password-toggle-btn:focus {
  outline: none;
}

/* --- 4. Login button --- */

#login .contact-us-content #login-submit {
  width: 30%;
  padding: 8px 0;
  margin-top: 18px;
  border: none;
  border-radius: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
/* Make wrappers normal blocks (not flex) */
#login .username-wrapper,
#login .password-wrapper {
  position: relative;
  width: 100%;
  display: block;       
  overflow: visible;
}

html, body {
  zoom: 1.13 !important;
}
 
#backToTop{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.45);
  background:#7a6ad8;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 9999;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}

#backToTop.show{
  opacity: 1;
  transform: translateY(0);
}

#backToTop span{
  font-size: 18px; /* arrow only */
  line-height: 1;
  color: white;
}

#backToTop { pointer-events: auto; }

/* ===========================
   Visual FX layer (non-intrusive)
   - No font/color/layout/style changes
   - Pointer events disabled (UI stays clickable)
   - Effects are overlays + transforms only
   =========================== */

body.home-page {
  position: relative;
}

/* Full-page overlay (above content; non-interactive) */
#fx-layer {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  overflow: hidden;
}

/* Canvas particles fill the viewport */
#fx-layer canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Soft ambient light sweeps (very subtle; does not alter authored colors) */
#fx-ambient {
  position: absolute;
  inset: -20%;
  opacity: 0.38;
  mix-blend-mode: soft-light;
  background:
    radial-gradient(circle at 20% 25%, rgba(255,255,255,0.10), rgba(255,255,255,0) 55%),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,0.08), rgba(255,255,255,0) 60%),
    radial-gradient(circle at 45% 85%, rgba(255,255,255,0.07), rgba(255,255,255,0) 58%);
  transform: translate3d(0, 0, 0);
  animation: fx-ambient-drift 18s ease-in-out infinite alternate;
}

@keyframes fx-ambient-drift {
  0%   { transform: translate3d(-1.5%, -1.0%, 0) scale(1.02); }
  100% { transform: translate3d( 1.6%,  1.2%, 0) scale(1.05); }
}

/* Subtle film grain / noise overlay */
#fx-noise {
  position: absolute;
  inset: 0;
  opacity: 0.030;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  background-size: 260px 260px;
  animation: fx-noise-shift 6s linear infinite;
}

@keyframes fx-noise-shift {
  0%   { background-position: 0 0; }
  100% { background-position: 260px 260px; }
}

/* Cursor spotlight (moves with pointer) */
#fx-cursor {
  position: absolute;
  width: 440px;
  height: 440px;
  margin-left: -220px;
  margin-top: -220px;
  border-radius: 50%;
  opacity: 0;
  transform: translate3d(50vw, 40vh, 0);
  transition: opacity 220ms ease;
  mix-blend-mode: soft-light;
  background: radial-gradient(circle,
    rgba(255,255,255, calc(0.16 + (var(--fx-cursor-boost, 0) * 0.06))),
    rgba(255,255,255, 0) 62%
  );
}

/* Interactive glare overlay (injected) */
.fx-glare-host {
  /* keeps overlay positioned without affecting layout */
  isolation: isolate;
}
  
.fx-glare {
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: soft-light;
  background: radial-gradient(circle at var(--fx-x, 50%) var(--fx-y, 50%),
    rgba(255,255,255,0.22),
    rgba(255,255,255,0) 58%
  );
  transition: opacity 220ms ease;
}

.fx-glare-host:hover .fx-glare {
  opacity: 1;
}
   
/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  #fx-layer { display: none !important; }
  .fx-glare { display: none !important; }
}
    