/* ==========================================================================
   Manoj Digital Seva — Jan Seva Kendra, Balipal
   Palette and layout derived from the approved reference comp.
   ========================================================================== */

:root {
  /* Brand blues */
  --navy: #0b2f74;          /* "MANOJ", headings */
  --blue-deep: #0f3a9b;     /* top bar, footer */
  --blue: #1553c9;          /* buttons, badge, features bar */
  --blue-bright: #1a73e8;   /* "DIGITAL" in the wordmark */
  --red: #e8452c;           /* "SEVA" in the wordmark */
  --amber: #f48c06;

  /* Hero background ramp — sampled from hero-person.png's own edge pixels so
     the photo bleeds into the page with no visible seam. Change these only
     if that asset is replaced. */
  --hero-edge-top: #4dace5;
  --hero-edge-mid: #6ab3e3;
  --hero-edge-bottom: #73b5e2;

  --ink: #101828;
  --muted: #475467;
  --line: #e4e9f2;
  --white: #fff;

  --shadow-sm: 0 2px 10px rgba(11, 47, 116, 0.07);
  --shadow-md: 0 10px 28px rgba(11, 47, 116, 0.14);
  --radius: 8px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1240px, 92%);
  margin-inline: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   Top bar
   ========================================================================== */

.top-bar {
  background: var(--blue-deep);
  color: var(--white);
  font-size: 0.8rem;
  padding: 9px 0;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem 1.75rem;
  flex-wrap: wrap;
}

.top-bar i {
  margin-right: 7px;
  opacity: 0.95;
}

.top-bar-right a {
  transition: color 0.2s;
}

.top-bar-right a:hover {
  color: var(--amber);
}

/* ==========================================================================
   Header + wordmark
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 14px rgba(11, 47, 116, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 10px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 14px);
  min-width: 0;
}

/* logo.png is a centred circular badge on a landscape canvas — crop to a
   square so the surrounding white margin doesn't inflate the header. */
.logo-mark {
  width: 66px;
  height: 66px;
  object-fit: cover;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  display: flex;
  align-items: baseline;
  gap: 0.38em;
  font-size: clamp(0.95rem, 4.6vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.w-navy { color: var(--navy); }
.w-blue { color: var(--blue-bright); }
.w-red  { color: var(--red); }

.logo-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: clamp(0.56rem, 0.95vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.09em;
  color: var(--navy);
  white-space: nowrap;
}

.logo-tag::before,
.logo-tag::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--navy);
  opacity: 0.85;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.45rem;
  color: var(--blue);
  cursor: pointer;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-link > i {
  font-size: 1rem;
  color: var(--blue);
}

.nav-link.active > i {
  color: currentColor;
}

.nav-link:hover {
  color: var(--blue);
}

.nav-link.active {
  padding: 11px 26px;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.nav-dropdown-btn .fa-chevron-down {
  font-size: 0.62rem;
  color: currentColor;
  transition: transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-btn .fa-chevron-down {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 232px;
  padding: 8px 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 50;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu a {
  display: block;
  padding: 10px 22px;
  font-size: 0.83rem;
  font-weight: 500;
}

.dropdown-menu a:hover {
  background: #eef4ff;
  color: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 26px;
  border: 0;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(21, 83, 201, 0.38);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  /* Top layer: white scrim over the copy, fully transparent by 50% so the
     photo's own background colour shows through underneath it.
     Bottom layer: the vertical blue ramp matching the photo's left edge. */
  background:
    linear-gradient(90deg,
      #fbfdff 0%,
      #f5fafe 24%,
      rgba(238, 247, 253, 0.72) 40%,
      rgba(255, 255, 255, 0) 50%),
    linear-gradient(180deg,
      var(--hero-edge-top) 0%,
      var(--hero-edge-mid) 55%,
      var(--hero-edge-bottom) 100%);
}

.hero-visual {
  position: absolute;
  inset: 0 0 0 auto;
  width: 52%;
  /* Dissolve the photo's own rectangle edges into the gradient above. */
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0, #000 6%),
    linear-gradient(180deg, #000 0, #000 92%, transparent 100%);
  mask-image:
    linear-gradient(90deg, transparent 0, #000 6%),
    linear-gradient(180deg, #000 0, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 48%) minmax(0, 52%);
}

.hero-content {
  grid-column: 1;
  max-width: 570px;
  padding: 58px 0 92px;
}

.hero-eyebrow {
  font-size: clamp(1.05rem, 1.9vw, 1.5rem);
  font-weight: 500;
  color: var(--ink);
}

.hero-title {
  margin: 2px 0 14px;
  font-size: clamp(2.25rem, 5.6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.t-navy { color: var(--navy); }
.t-ink  { color: var(--ink); }

.hero-subtitle {
  font-size: clamp(0.98rem, 1.5vw, 1.22rem);
  font-weight: 400;
  color: var(--muted);
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2.75rem;
}

.hero-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 4px 10px;
  text-align: center;
}

/* Hairline separators between the four proof points, as in the comp. */
.hero-feature + .hero-feature {
  border-left: 1px solid rgba(11, 47, 116, 0.16);
}

.hero-feature i {
  font-size: 1.85rem;
  color: var(--navy);
}

.hero-feature span {
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}

/* ==========================================================================
   Services
   ========================================================================== */

.services {
  padding: 0 0 54px;
  background: var(--white);
}

/* Straddles the hero/services seam. */
.section-badge {
  position: relative;
  z-index: 5;
  width: fit-content;
  margin: -25px auto 34px;
  padding: 13px 46px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 8px 20px rgba(21, 83, 201, 0.3);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 18px 8px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #b9d3f7;
  box-shadow: var(--shadow-md);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
}

.service-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* Assets ship on a flat white background; multiply drops it against the
     white card so the artwork reads as a cut-out. */
  mix-blend-mode: multiply;
}

.service-card h3 {
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}

.services-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--blue);
  text-align: center;
}

.services-note .rule {
  flex: 1;
  max-width: 210px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

/* ==========================================================================
   Features bar
   ========================================================================== */

.features-bar {
  background: var(--blue);
  padding: 30px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 6px 1.4rem;
  color: var(--white);
}

.feature-item + .feature-item {
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.feature-item i {
  font-size: 2.35rem;
  flex-shrink: 0;
}

.feature-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.feature-item p {
  font-size: 0.82rem;
  line-height: 1.4;
  opacity: 0.92;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--blue-deep);
  color: var(--white);
  padding: 44px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.75rem 2.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* The badge artwork has a white background, so give it a white chip rather
   than inverting it into a solid blob. */
.footer-mark {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
  background: var(--white);
  flex-shrink: 0;
}

.footer-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.footer-text strong {
  font-size: 1.02rem;
  font-weight: 700;
}

.footer-text span {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  opacity: 0.75;
}

.footer-contact {
  font-style: normal;
}

.footer-contact p {
  margin-bottom: 6px;
  font-size: 0.88rem;
  opacity: 0.92;
}

.footer-contact i {
  width: 20px;
  color: var(--amber);
}

.footer-contact a:hover {
  color: var(--amber);
}

.footer-badge img {
  width: 116px;
  height: auto;
  padding: 10px 14px;
  background: var(--white);
  border-radius: var(--radius);
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
  opacity: 0.62;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  /* Icons in the nav cost real width — shrink the wordmark and tighten the
     nav so the VLE LOGIN button still fits on one line down to 1024px. */
  .nav { gap: 1rem; }
  .nav-link.active { padding: 10px 18px; }
  .btn { padding: 11px 18px; }
  .logo-mark { width: 60px; height: 60px; }
  .logo-name { font-size: clamp(0.95rem, 4.6vw, 1.6rem); }
}

@media (max-width: 1024px) {
  .hero {
    /* Stacked layout — drop the horizontal scrim, keep a soft vertical wash. */
    background: linear-gradient(180deg, #f7fbff 0%, #e9f4fd 100%);
  }

  .hero-visual {
    position: static;
    width: 100%;
    -webkit-mask-image: linear-gradient(180deg, #000 0, #000 88%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0, #000 88%, transparent 100%);
    -webkit-mask-composite: source-over;
    mask-composite: add;
  }

  .hero-visual img { height: auto; }

  .hero-inner { grid-template-columns: 1fr; }

  .hero-content {
    max-width: 640px;
    margin-inline: auto;
    padding: 28px 0 84px;
    text-align: center;
  }

  .hero-features { max-width: 540px; margin-inline: auto; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .feature-item:nth-child(3) { border-left: 0; }

  .feature-item:nth-child(n + 3) {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
  }

  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .top-bar-inner { flex-direction: column; text-align: center; }
  .top-bar-right { justify-content: center; }

  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    inset: 0 -100% 0 auto;
    width: min(320px, 86vw);
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    gap: 1.1rem;
    padding: 84px 24px 24px;
    background: var(--white);
    box-shadow: -6px 0 26px rgba(0, 0, 0, 0.14);
    transition: right 0.3s ease;
    overflow-y: auto;
    z-index: 200;
  }

  .nav.open { right: 0; }

  .nav-link.active { text-align: center; }

  .nav-dropdown-btn { width: 100%; justify-content: space-between; }

  .dropdown-menu {
    position: static;
    display: none;
    transform: none;
    min-width: 0;
    margin-top: 6px;
    background: #eef4ff;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-dropdown.open .dropdown-menu { display: block; }

  .nav-login { justify-content: center; }

  .hero-features { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0; }

  .hero-feature:nth-child(3) { border-left: 0; }

  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .services-note { flex-direction: column; gap: 0.75rem; }
  .services-note .rule { max-width: 130px; }

  .features-grid { grid-template-columns: 1fr; }

  .feature-item { border-left: 0 !important; }

  .feature-item:nth-child(n + 2) {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
  }
}

@media (max-width: 520px) {
  .header-inner { gap: 0.75rem; }
  .logo-mark { width: 48px; height: 48px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-badge { padding: 11px 32px; font-size: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Login page (login.html)
   ========================================================================== */

.page-login {
  background: linear-gradient(165deg, #eff7fd 0%, #e4f0fb 48%, #d8eaf9 100%);
}

.login-main {
  position: relative;
  overflow: hidden;
  padding: 42px 0 0;
}

/* Soft concentric arcs bleeding off the right edge, as in the comp. */
.login-main::before,
.login-main::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: repeating-radial-gradient(circle,
    rgba(255, 255, 255, 0.75) 0 2px, rgba(255, 255, 255, 0) 2px 34px);
}

.login-main::before {
  top: -190px;
  right: -230px;
  width: 720px;
  height: 720px;
  opacity: 0.85;
}

.login-main::after {
  bottom: 40px;
  left: -350px;
  width: 520px;
  height: 520px;
  opacity: 0.32;
}

.login-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 3.5rem;
}

/* -- Left column ---------------------------------------------------------- */

.login-eyebrow {
  font-size: clamp(1.05rem, 1.9vw, 1.5rem);
  font-weight: 500;
  color: var(--ink);
}

.login-title {
  margin: 2px 0 12px;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.login-tagline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  font-weight: 500;
  color: var(--ink);
}

.login-tagline .dash {
  width: 26px;
  height: 2px;
  background: var(--navy);
  opacity: 0.6;
}

.login-tagline .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.login-visual {
  width: 100%;
  max-width: 620px;
  height: auto;
  margin: 26px 0 8px;
  /* The crop carries its own pale-blue field — dissolve every edge into the
     page so it reads as artwork rather than a pasted rectangle. */
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0, #000 9%, #000 94%, transparent 100%),
    linear-gradient(180deg, transparent 0, #000 7%, #000 92%, transparent 100%);
  mask-image:
    linear-gradient(90deg, transparent 0, #000 9%, #000 94%, transparent 100%),
    linear-gradient(180deg, transparent 0, #000 7%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.login-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 0.5rem;
}

.login-points li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 4px 10px;
  text-align: center;
}

.login-points li + li {
  border-left: 1px solid rgba(11, 47, 116, 0.16);
}

.login-points i {
  font-size: 1.9rem;
  color: var(--navy);
}

.login-points span {
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
}

/* -- Login card ----------------------------------------------------------- */

.login-card {
  padding: clamp(26px, 3.4vw, 46px);
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 18px 52px rgba(11, 47, 116, 0.14);
}

.login-card-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.login-avatar {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 1.85rem;
  flex-shrink: 0;
}

.login-card-head h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.login-welcome {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--muted);
  text-align: center;
}

.login-sep {
  margin: 24px 0 26px;
  border: 0;
  border-top: 1px solid var(--line);
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  margin-bottom: 9px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--ink);
}

.field-control {
  position: relative;
}

.field-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #98a2b3;
  pointer-events: none;
}

.field input {
  width: 100%;
  height: 56px;
  padding: 0 52px 0 50px;
  border: 1px solid #dfe6f0;
  border-radius: 9px;
  background: #fbfcfe;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}

.field input::placeholder {
  color: #98a2b3;
}

.field input:hover {
  border-color: #c6d5ea;
}

.field input:focus {
  border-color: var(--blue);
  background: var(--white);
}

.pw-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 12px;
  background: none;
  border: 0;
  font-size: 1rem;
  color: #98a2b3;
  cursor: pointer;
  transition: color 0.2s;
}

.pw-toggle:hover {
  color: var(--blue);
}

.form-status {
  margin: -6px 0 14px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #b42318;
  min-height: 1.2em;
}

.btn-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  height: 58px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(180deg, #1a5fd6 0%, #103e9f 100%);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  cursor: pointer;
  transition: filter 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-login:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(16, 62, 159, 0.35);
}

.or-sep {
  position: relative;
  margin: 24px 0;
  text-align: center;
}

.or-sep::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--line);
}

.or-sep span {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.btn-register {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  height: 54px;
  border: 1.5px solid #16a34a;
  border-radius: 9px;
  background: var(--white);
  color: #16a34a;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-register:hover {
  background: #f0fdf4;
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.18);
}

.forgot-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 20px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue);
}

.forgot-link:hover {
  color: var(--blue-deep);
  text-decoration: underline;
}

/* -- Trust bar + copyright ------------------------------------------------ */

.trust-bar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 46px;
  padding: 22px 8px;
  background: #123f9e;
  border-radius: 12px;
  color: var(--white);
  box-shadow: 0 14px 34px rgba(11, 47, 116, 0.22);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 6px 1.35rem;
}

.trust-item + .trust-item {
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.trust-item i {
  font-size: 2.2rem;
  flex-shrink: 0;
}

.trust-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.trust-item p {
  font-size: 0.82rem;
  line-height: 1.4;
  opacity: 0.92;
}

.login-copyright {
  position: relative;
  z-index: 1;
  padding: 26px 0 30px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

/* -- Login responsive ----------------------------------------------------- */

@media (max-width: 1024px) {
  .login-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* The form is why someone opened this page — lead with it. */
  .login-card { order: -1; }

  .login-pitch { text-align: center; }

  .login-tagline { justify-content: center; }

  .login-visual { margin-inline: auto; }

  .login-points { max-width: 540px; margin-inline: auto; }

  .trust-bar { grid-template-columns: repeat(2, 1fr); gap: 4px 0; }

  .trust-item:nth-child(3) { border-left: 0; }

  .trust-item:nth-child(n + 3) {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
  }
}

@media (max-width: 768px) {
  .login-main::before,
  .login-main::after { display: none; }

  .login-points { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0; }

  .login-points li:nth-child(3) { border-left: 0; }

  .trust-bar { grid-template-columns: 1fr; }

  .trust-item { border-left: 0 !important; }

  .trust-item:nth-child(n + 2) {
    margin-top: 1.1rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
  }
}

@media (max-width: 360px) {
  .btn-register {
    gap: 8px;
    font-size: 0.84rem;
    letter-spacing: 0.03em;
  }
}
